That would be great! HA has MODBUS integration so if it could be reached via TCP/IP that would be wonderful - no extra hardware required. I was thinking how to get RS485 MODBUS to TCP/IP - here is one that maps RS485 to TCP/IP. Probably could also be done with ESP or similar. Perhaps another thing to look into.
these two very small devices in pair work with esphome in home assistant
it would be the perfect solution to control the kronoterm in rs485, but it would take someone able to get their hands on the code
- M5STACK ATOM Lite - Aliexpress, M5STACK store, documentation
- M5STACK ATOM RS-485 Base - Aliexpress, M5STACK store, documentation
While I’m thinking of a purely local solution (MODBUS) I implemented some basic control in these two projects:
kronoterm-cloud-api
Python API client for cloud.kronoterm.com.
Install: pypi
kronoterm-cloud-relay
Local relay between cloud.kronoterm.com and local network.
Install: clone the repo and follow README.md
It is run locally (on RPi, …) and exposes REST API to the local network.
cloud.kronoterm.com, as the back-end for relay, could easily be replaced with MODBUS implementation. Right now the simplest solution (but not the cheapest) I’m thinking of is HA-RESTful ↔ LAN ↔ REST-API ↔ RPi ↔ RS485USB.