No, you don’t need those unless you are trying to import a remote MQTT device into HE.
You can just create a virtual device directly in HE , enable it within my app for MQTT publishing and it will update state real-time on MQTT and you can control it by using that same topic with /set appended. E.g. homie/coosa-island/opengate/onoff/set. The payload should be true or false.
You’re on the right track so don’t explore creating virtual devices within my app.
If you outline for me what you’re aiming to achieve I’ll try and help you more specifically...
OK well that is what I have done. 2 test I'm just trying 2 control 2 virtual devices with MQTT. . I can flip them on in devices and I see the publish. I have not been able to turn them on via the MQTT Explorer. The big project is I have written a mqtt plugin for a elgato stream deck which i plan to use 2 control and show states of hubitat devices. I have deleted and added the app and/or client and rebooted several times trying 2 fix the connection error. I tried all combinations I could come up with
and you are using a control topic (homie/coosa-island/opengate/onoff/set) that ends in /set - have you got rid of those null messages in the log via a restart ?
Let me look that over - it sometimes happens if you have two clients trying to connect to the broker with the same clientID. You did do the delete of the client driver device and then restart ?
If you are using custom topics from your project then you will need to explore using virtual devices from my app - but if you can publish to a homie topic , like my app is doing it should work directly, maybe even being auto discovered by HE.
Yes, you are using the latest version - no problems - it's just this (your) question is posted in an older, not related topic . This topic was really an OT around the HE inbuilt MQTT driver.
Could someone direct a dummy to a general procedure to install MQTT Interface - Hubitat Documentation
on my Hubitat? I do have a mqtt broker working on several Raspberry Pi's and would like to interface them with my Hubitat.