You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of having an API everything is done using MQTT. There is a Insteon server that talks to the PLM and to the MQTT broker. The CLI commands send MQTT to the broker which request the server to do various actions. This results in the CLI being completely decoupled from the sever code. The decoupling also allows the CLI and server to be on different machines.
MQTT works really well as a transport because various other people have written MQTT servers for their hardware. By using a common protocol for the MQTT commands you can control devices from multiple vendors using a common platform. https://www.home-assistant.io/docs/mqtt/discovery/
Of course I prefer Go since it is far smaller and faster than Python.
The text was updated successfully, but these errors were encountered:
Have you looked at: https://github.com/TD22057/insteon-mqtt
That's an Insteon implementation similar to yours but written in Python.
Instead of having an API everything is done using MQTT. There is a Insteon server that talks to the PLM and to the MQTT broker. The CLI commands send MQTT to the broker which request the server to do various actions. This results in the CLI being completely decoupled from the sever code. The decoupling also allows the CLI and server to be on different machines.
MQTT works really well as a transport because various other people have written MQTT servers for their hardware. By using a common protocol for the MQTT commands you can control devices from multiple vendors using a common platform.
https://www.home-assistant.io/docs/mqtt/discovery/
Of course I prefer Go since it is far smaller and faster than Python.
The text was updated successfully, but these errors were encountered: