Fehler im Fhem Log zu MQTT_Device

Begonnen von slor, 12 April 2017, 12:45:46

Vorheriges Thema - Nächstes Thema

slor

Habe eine ganze Reihe von diesen Einträgen im Fhem Log:
Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 183.
Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 184


Noch jemand?
Fhem auf Raspberry Pi 4
CCU3 mit RaspberryMatic mit HMCCU an FHEM
HMCCU, Telegram, Conbee2 und Hue/Tradfri/Osram Lampen AQARA Sensoren, HomeConnect

eisler

Hallo slor,

wie hast du das MQTT DEVICE konfiguriert?

Grüße
Stephan




slor

Was willst du wissen?
define Sonoff_S20_01 MQTT_DEVICE
attr Sonoff_S20_01 IODev MQTTBroker
attr Sonoff_S20_01 devStateIcon ON:rc_GREEN:OFF OFF:rc_RED:ON Offline:rc_BLUE:OFF
attr Sonoff_S20_01 publishSet On Off cmnd/S20_01/POWER
attr Sonoff_S20_01 subscribeReading_state stat/s20_01/POWER
attr Sonoff_S20_01 subscribeReading_presence tele/s20_01/LWT
attr Sonoff_S20_01 qos at-least-once
attr Sonoff_S20_01 retain 1
attr Sonoff_S20_01 room MQTT
attr Sonoff_S20_01 stateFormat {ReadingsVal($name,"presence","") eq "Offline" ? "Offline" : ReadingsVal($name,"state","")
attr Sonoff_S20_01 webCmd On:Off
Fhem auf Raspberry Pi 4
CCU3 mit RaspberryMatic mit HMCCU an FHEM
HMCCU, Telegram, Conbee2 und Hue/Tradfri/Osram Lampen AQARA Sensoren, HomeConnect