xury wrote: The most convenient thing would be to just leave Domoticz and let it run.
This is what I have done. However, I am not making Domoticz available via mqtt (for now)
To start with:
1. I changed the type of one of the mysensors gateways from Lan to MQTT, controlling the pond hardware. This is set up on a Sonoff 4ch.
2. I changed only the gateway type to mqtt in the domotics. As a result, I have not lost anything.
3. in HA I have added
mysensors:
gateways:
- device: mqtt
# persistence_file: 'config/mysensors1.json'
topic_in_prefix: 'oczko-out'
topic_out_prefix: 'oczko-in'
- device: mqtt
# persistence_file: 'config/mysensors1.json'
topic_in_prefix: 'ventus-out'
topic_out_prefix: 'ventus-in'
optimistic: false
persistence: true
retain: true
.
so that ( I think) both systems run in parallel and update each other. Why mysensors? - For a beginner it is easier as the devices add themselves automatically.
3. in node-red I made a simple automation to protect against dry-running of the UV lamp.
I did the same with the weather station, I just don't like the lack of a compass for wind direction (the degrees are not very readable).
The problem I have is with rflink, which I make available to HA via ser2net on a port.
It generally works, but overnight it caught all devices on 433Mhz in the area.
Maybe you can advise how to hook into the rflink serial in node using IP:port (how to read the serial via IP:P ORT?).
Ultimately I figured I'd filter out only the ones I'm interested in and make them available via mqtt to HA.
ps. what is this MQTT add-on in HA, what is it for - I haven't installed it but it works?