I’m just getting started using OpenHAB3 but I’ve been using openHAB for years now.
I’m trying to figure out how I can send commands to homie devices using MQTTfx.
I am seeing all the required messages for my nodes but I can’t figure out how I can publish a command to tell my relay to turn on.
Hello @denominator
I did publish the topic as instructed and it was received by the Subscribe in MQTT.fx but the relay didn’t turn on.
Hi @rossko57
At this point I don’t actually have a openHAB Item linked to the discovered thing.
OH3 did discover 3 nodes and created channels for them as seen here.
I do this so the relay doesn’t require the broker to be controlled.
Normally before attempting to use the homie convention I would send a MQTT command from OH to the relay or GPIO Pin the relay is attached to, thus controlling the relay with OH as well as the ability to just press the button on the device it’s self.
I could test using MQTT.fx by publishing this and it would turn on the relay.
But now I don’t know what the payload should be.
As mentioned the Topic = homie/ESP3812C3/Relay/power/set
Payload Message = true
Doesn’t do anything.
I feel like I should give up on homie but I like the idea of devices being auto generated.
I like MQTT Explorer better - especially for Homie and HA MQTT devices. It allows inspection of the Homie device and all the settings and types for nodes and properties.