geert-jan wrote:Hi,
the MQTT plugin contains almost all the functionality you need. If you create a device, and enable that device at the MQTT Publish page the MQTT commands will be sent out when the device value/string changes. By adding the ON and OFF buttons to that device you can change the device state via the homeseer web interface or HSTouch.
The MQTT topic is default /homeseer/<device id>, and that is not what you need (e.g. home/openHAB/out/Samsung_mute/command). There is already a feature request to define an own topic instead of using the default topic.
A possible alternative is to use a script, and create the MQTT message yourself, just as in the MQTT control page. However, I checked the code and saw that I do not expose this interface yet.
Regards,
Geert-Jan
Hi All,
This is my first post on this forum. I have been reading the whole thread, and I think that my problem is related to the above quote, but I'm at and end where I cannot find the solution my self.
I have been playing with the MQTT plugin, and everything seems to be working. But I have one issue that I cannot figure out (Maybe its more a HS problem than related to the Plugin.

)
The setup:
HS3 PRO on Windows 10
Broker running on the same PC
Test device: ESP8266 (Sonoff reprogrammed to MQTT)
The problem:
A: I cannot assign On/Off buttons in the HS device list to this device. I have added them in the Status Graphics under the device but they do now show up. So I cannot control the device from Device management list. (2 status [On/Off] and 2 control lines [On/Off])
B: Then I tried to make a manual device and Publish it to the following Topic: "stat/Andreas-Lampe/POWER" I have checked the String and/or Value in the left colums, this is sending values to the broker, but I need "On" or "Off" but it's sending 100 or 0.
C: I then made an event that send "On" when device changes on(100), and send "Off" when device changes off(0) - This works, but I'll ikke to avoid to have to get extra devices and scrits for each MQTT device I have to control.
I hope this makes sense to you guys, let me know if you need more information in order to help me along.
/Steffen