HASwitchPlate / openHASP

HomeAutomation Switchplate based on lvgl for ESP32

Home Page:https://www.openhasp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mqtt control

fifa255 opened this issue · 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?

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

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

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.