Hi!
Is it possible to make hassio a modbus slave device in order to control it from a different system?
What could be done to make it possible?
Hi!
Is it possible to make hassio a modbus slave device in order to control it from a different system?
What could be done to make it possible?
You can control home assistant over REST Api if this is what you are looking for.
https://developers.home-assistant.io/docs/en/external_api_rest.html
I don’t know if anyone’s done that directly, but I once played briefly (in another context) with the modbus-tk Python library.
They have some example master and slave code, and I guess you could modify the slave example fairly easily to call Home Assistant APIs or webhooks, publish MQTT events, or whatever…
Well, probably that would be the right way. But not easy.
interested in this topic.
I just switches from FHEM to HA.
In FHEM it was possible to map variables to certain modbus registers (as a modbus slave).
So a SCADA system could communicate with FHEM and read/write it’s variables.
Looking for some solution on HA.
One way would be this modbus integrations other would be OPC UA.
In the NODE RED you can make a modbus simulated slave. Then it would be a matter of linking to HA, but preferable in bidirectional way (read/write).
Working on it https://github.com/home-assistant/core/pull/47043
Need to convince the code owners that HA needs slave support.
Do you know if this is allready implemented? I’m trying to connect to a modbus master with modbus tcp, but I’m not able to get a connection…