Issue with FHEM and UniPi-relays



  • 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



  • 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



  • 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" }