MQTT and Homematic

Hello

i have a question about the configuration in house.items.

Switch Licht_EG_Leselampe “Licht Leselampe” (EG_Kueche) {homematic=“address=LEQ09XXXX,channel=1,parameter=STATE” mqtt="<[mosquitto:/test:command:default]" }

Is send the following Messages to the MQTT-Broker :
/test On
/test OFF
/test ON

But the Lamp doesn’t accept the command , whats is the correct syntax in the house.items ?

Best regards Joachim

i would assume you’d have to add a “,” before mqtt, wouldn’t you?

Many thanks Thomas , this was the Issue :grin:

2016-05-24 12:34:42 - Licht_EG_Leselampe received command ON
2016-05-24 12:34:43 - Licht_EG_Leselampe received command OFF
2016-05-24 12:34:44 - Licht_EG_Leselampe state updated to OFF
2016-05-24 12:34:45 - Licht_EG_Leselampe received command ON
2016-05-24 12:34:45 - Licht_EG_Leselampe state updated to ON

Switch Licht_EG_Leselampe “Licht Leselampe” (EG_Kueche) {homematic=“address=LEQ0929030,channel=1,parameter=STATE”, mqtt="<[mosquitto:/test:command:default]" }

Best regards Joachim

1 Like