openHASP icon indicating copy to clipboard operation
openHASP copied to clipboard

mqtt control

Open fifa255 opened this issue 1 year ago • 2 comments

Does openhasp support publishing to mqtt topics?

I would like to control some mqtt devices directly from the display rather than having to be dependent on homeassistant. Is this a possibility with openhasp currently?

fifa255 avatar Apr 27 '24 10:04 fifa255

openhasp now already sends mqtt commands when a control is activated.

https://www.openhasp.com/0.7.0/commands/mqtt/

marsman7 avatar Apr 27 '24 14:04 marsman7

openHASP was concieved to be controlled by an Home Automation system. There isn't any intelligence or coding that happens on the device. So, you can add your custom code to the firmware to make it do what you want...

A controller would need to know the topics but also the format of the messages to send and respond too. This is very specific for each device, so you need custom event handlers for that.

Home Automation systems exist to abstract away these specific protocols and formats.

fvanroie avatar Apr 27 '24 14:04 fvanroie