Hi Guy’s, OK, I find homeystripts Goby Gooch. What I want to do is take homeassistant/variable/mode = “Home” from mqtt payload and set the variable Mark in homey to “Home”, as of the result from mqtt payload. Any help much appreciated.
I’m afraid not many understand what you are asking, or it is just me
Can you add a description of what you have in mind? Add some links, code snippets?
Maybe some MQTT Explorer screenshots?
Hi, sorry it was a bit of a rush, basically I have a variable called “Mode” in Home Assistant which runs through different states of the day, like “Morning”, “Day”, “Evening” etc, I want to share this variable with homey to keep everything in since, so I’ve publish this variable to mqtt and is visible under topic homeassistant/variable/mode with the payload being what the variable “Mode” is set at, which at this time is “Day”, I want to set the same named variable “Mode” in homey to the payload from topic homeassistant/variable/mode in mqtt set by Home Assistant. I hope this is more clear. Regards Mark
Better!
When you have MQTT in place, this should do the trick:
The logic card’s selected tag for the topic’s value/payload/message, is a local tag
Hi thanks for that, that looks so easy now. Been using Home Assistant for years now, getting my head round this is so different. I want to use the 2 together because homey just hasn’t the devices and complex automations Home Assistant has. So thanks again.
Yeah it took me quite a while to get MQTT. Just yesterday I discovered that sending data on topic one/two/three/
results in no data in HA (but the values show up in MQTT Explorer), while it does using one/two/three
I also use best of both: HAmey
Here’s an integration tutorial I wrote, once I finally figured it out.
OMG, all what I’ve been doing with mqtt has just been wiped out. I’ve been doing mqtt 3 day thinking I’ve cracked it now, HAC, making things so much easier, this is a game changer. Thanks for the info. Appreciate it so much
Do you mean a HA entity?
Then it’s perhaps easier to use the HA community app and add a sensor device to Homey offering several flow trigger.