MODBUS and Home Assistant with just a Bash script, mbpoll and MQTT Discovery(Swegon CASA)
I have done some MODBUS interfaces before using Node-RED with both MODBUS TCP and RTU. But getting fond of Home Assistant(HA) with MQTT and autodiscovery it was time to challenge the Node-RED solution. So no Node-RED and no extra software to babysit. One small Bash script, run from cron, that reads a Swegon CASA FTX over MODBUS RTU and shows up in Home Assistant as a ready-made device.