issue with FHEM and UniPi-relays

bemilic
Posts: 2
Joined: Mon Dec 28, 2015 8:08 pm

issue with FHEM and UniPi-relays

Postby bemilic » Mon Dec 28, 2015 8:17 pm

Without any configuration- change (except Raspberry- and FHEM-Updates) FHEM suddenly can not set all the relay's.

In FHEM-Log you see this entry after setting relay5 in FHEM:
2015.12.28 20:01:13 3: set relays0 PortA3 % : wrong value: % for "set relays0 PortA3" use one of: off,on
2015.12.28 20:01:13 3: n_Relay5 return value: wrong value: % for "set relays0 PortA3" use one of: off,on

Has anyone an idea what happend?

regards
Bernd
bemilic
Posts: 2
Joined: Mon Dec 28, 2015 8:08 pm

Re: issue with FHEM and UniPi-relays

Postby bemilic » Tue Dec 29, 2015 4:49 pm

found the mistake!
The changes with FHEM 5.7 (2015.11.15) are responsible.
@ and % in notify are not longer allowed as well as %NAME, %EVENT.

Until now you has to use $NAME, $EVENT.

Example for a UniPi Relay DEV:
old: Relay5 { fhem "set relays0 PortA3 %" }
new: Relay5 { fhem "set relays0 PortA3 $EVENT" }

Return to “Fhem.de”

Who is online

Users browsing this forum: No registered users and 1 guest