[SOLVED] EnOcean XML functions are not available

Begonnen von claudio, 04 März 2018, 03:44:55

Vorheriges Thema - Nächstes Thema

claudio

Hi all

I need your help once again guys !

recently, I got theses message in the logfile :


2018.03.04 02:29:57 2: EnOcean XML functions are not available.
...
2018.03.04 02:29:59 2: EnOcean EnO_switch_FSB14 XML functions are not available
2018.03.04 02:29:59 2: EnOcean FSR14_01_A XML functions are not available
2018.03.04 02:29:59 2: EnOcean FSR14_01_B XML functions are not available
2018.03.04 02:29:59 2: EnOcean FSR14_02_A XML functions are not available
2018.03.04 02:29:59 2: EnOcean FSR14_02_B XML functions are not available
2018.03.04 02:29:59 2: EnOcean FSR14_03_A XML functions are not available
2018.03.04 02:29:59 2: EnOcean FSR14_03_B XML functions are not available
2018.03.04 02:29:59 2: EnOcean FSR14_04_A XML functions are not available
2018.03.04 02:29:59 2: EnOcean FSR14_04_B XML functions are not available
2018.03.04 02:29:59 2: EnOcean FSR14_05_A XML functions are not available
2018.03.04 02:29:59 2: EnOcean FSR14_05_B XML functions are not available
2018.03.04 02:29:59 2: EnOcean FSR14_06_A XML functions are not available
2018.03.04 02:29:59 2: EnOcean FSR14_06_B XML functions are not available


EnOcean appear to work correctly until this afternoon when I've tried to add some new eltako FSR14-2x to my cabinet.

The teach in wouldn't work

set FSR14_05_B teach produce nothing, the FSR14-2x don't receive anything. The exact same procedure worked before.

Have you any ideas of the problem ?

rudolfkoenig

You did not installed XML::Simple.
Dont know about the consequences, though.

claudio

Zitat von: rudolfkoenig am 04 März 2018, 09:17:20
You did not installed XML::Simple.
Dont know about the consequences, though.

Hi thanks for your suggestion.
Since I can't get it to work, I've reinstalled perl entirely. This is what I did for future reference (as I will forget it) :

PS : please note this was done on an arm router (tomato shibby firmware) where fhem and entware-ng are installed.
others systems may behave differently.

#first update the package list
opkg update

#install perl from scratch from entware-ng
opkg install perlbase-cpan
opkg install perlbase-devel
opkg install perlbase-data
opkg install perlbase-compress
opkg install perlbase-perlio
opkg install perlbase-json-pp
opkg install perlbase-digest
opkg install perlbase-math
opkg install perl-uri
opkg install perl-cgi
opkg install perl-dev
opkg install perl-www
opkg install perlbase-dumpvalue

#this will install most perl related stuff from entware-ng
for pkg in `opkg list | grep perl | cut -d' ' -f1 | grep -v Multiple`; do opkg install $pkg; done

#json is required by many modules
cpanm -n install JSON

#IO::Socket::SSL is required by telegram module
cpanm -n install IO::Socket::SSL

#unzip is required since busybox unzip doesn't have all options
opkg install unzip

#Math::Pari, Crypt::Rijndael, Crypt::Random are required for enocean Cryptographic functions
cpanm -n install Math::Pari
cpanm -n install Crypt::Rijndael
cpanm -n install Crypt::Random

opkg install xmlstarlet

#required by enocean stuff
cpanm -n install XML::Simple