Error:Modul 24_NETIO230 deactivated

Begonnen von magicteddy, 24 Januar 2018, 13:09:52

Vorheriges Thema - Nächstes Thema

magicteddy

Moin,

ich weiß nicht genau wann das Problem auftrat aber die Steckdosenleiste will nicht mehr mit FHEM:

BEGIN not safe after errors--compilation aborted at ./FHEM/24_NETIO230.pm line 1391, <$fh> line 268.
Type of arg 1 to keys must be hash or array (not hash element) at ./FHEM/24_NETIO230.pm line 136, near "}) "
2018.01.24 13:02:10 0: Experimental keys on scalar is now forbidden at ./FHEM/24_NETIO230.pm line 136, <$fh> line 268.


-teddy
FHEM auf Dell t20 mit Ubuntu 17.10, Homematic, MiiLight,  Max Fensterkontakte, Intertechno Steckdosen und FB. 433 Mhz  CUL V 1.26.02 a-culfw Build: 20, MapleCUN V 1.23.07 a-culfw sowie HMLAN D-firmware 0.964

dev0

Wenn Du dieses Modul ( https://github.com/ddtlabs/NETIO230/blob/master/FHEM/24_NETIO230.pm ) verwendest, dann ändere mal bitte Zeile 136 wie folgt und geb bescheid ob das ausreichte. Ist ungetestet, komme gearde nicht dazu.

alt: foreach my $socketNum (keys $hash->{SOCKETS}) {
neu: foreach my $socketNum (keys %{ $hash->{SOCKETS} }) {

magicteddy

FHEM auf Dell t20 mit Ubuntu 17.10, Homematic, MiiLight,  Max Fensterkontakte, Intertechno Steckdosen und FB. 433 Mhz  CUL V 1.26.02 a-culfw Build: 20, MapleCUN V 1.23.07 a-culfw sowie HMLAN D-firmware 0.964

Maista

Hallo dev0,

danke bei mir hats ebenso geholfen.

Gruss Gerd