Hi all!
I switched recently from openhab to Pidome. I switched ESP easy configuration to Pidome's MQTT broker, however things are working only one way now. Sensors values are correctly transmitted from ESP to MQTT server (/hooks/deivces/17/group/temp), but I can't find the right way to switch a GPIO output on the ESP from MQTT. I can see that ESP subscribes to the topic /Home/ but whatever I send to that topic, it has no effect.
I don't know how to address the ESP in the first place. I tried searching for "Home" in the source code, but failed miserably. Can anyone suggest what to do or where to look (i was successfully controlling GPIOs e.g. /myesp/cmd pulse,12,1,1000 on openhab configuration).
Thank you for any suggestions and regards
oversc0re.
PiDome MQTT topics
Moderators: grovkillen, Stuntteam, TD-er
Re: PiDome MQTT topics
Check the subscribe template in tools/advanced. I have no idea how Pidome work, but you usually want the subscribe to be unique, so you can publish to that unit not all units, but for testing I guess it doesn't matter. Also make sure when you plubish it is exactly the same as what you subscribe to, for example the leading "/". You should see any messages received in the log. I have 2 tools I use for troubleshooting MQTT messages, MyMQTT on my android phone and Node Red on my Raspberry Pi 3. Both can be configured to subscribe to all, but MyMQTT is easier for sending test messages. IMO
See the Pidome section here there is a note in red, which is usually important.
http://www.esp8266.nu/index.php/EasyProtocols
There has also been some recent activity in the forum on this topic, take a look at these, I think there may be something there. Start with the second one first, I think.
http://www.esp8266.nu/forum/viewtopic.p ... 8&start=40
http://www.esp8266.nu/forum/viewtopic.php?f=5&t=721
See the Pidome section here there is a note in red, which is usually important.
http://www.esp8266.nu/index.php/EasyProtocols
There has also been some recent activity in the forum on this topic, take a look at these, I think there may be something there. Start with the second one first, I think.
http://www.esp8266.nu/forum/viewtopic.p ... 8&start=40
http://www.esp8266.nu/forum/viewtopic.php?f=5&t=721
Re: PiDome MQTT topics
Hello,
Thank you for your reply. I knew most of the things, but I didn't know that I can change the subscribe templates here:
I ended up using OpenHAB MQTT settings with Pidome's publish template and it works!
Thanx for help,
Over.
Thank you for your reply. I knew most of the things, but I didn't know that I can change the subscribe templates here:
I tested lots of combinations with MQTT settings but I wasn't able to get a command through.Drum wrote:Check the subscribe template in tools/advanced.
I ended up using OpenHAB MQTT settings with Pidome's publish template and it works!
Thanx for help,
Over.
Who is online
Users browsing this forum: Ahrefs [Bot] and 13 guests