I have KNX at home, and use Gira HS/FS to control the system.
After discovering Hass, I would like to add additional visualization utilizing the hassio.
I have approx 20+ tasmotas, all saturating the KNX bus, so my plan is to convert all of them to MQTT.
After doing this, I found the hard way that KNX in HAss is not mature at all. There is no way to import knxproj (I tried Mathias ruby script - but it cannot even handle a simple DPT9001 type!!). My KNX has around 300+ addresses so manually is not going to cut it.
So, alternative for me is to use Hass as MQTT to KNX bridge, using it ONLY for Tasmotas
For Tasmotas only, how can I implement this -
- Everytime a Tasmota is online, enable object is started (say sensor enable 1/1/1 is 1 for 60sec. It becomes 0 if that Tasmota is offline) ← This is very important and is equivalent of greyed buttons when some MQTT is offline.
- Bidirectional MQTT to send/recv the KNX group address. Ex - 1/1/10 is relay1, 1/1/11 is relay 2 etc). If I send a MQTT command to switch on relay1, a 1 is sent to 1/1/10. Additionaly if I write 0 on 1/1/10, Hass should be able to read this and switch relay 1 off using MQTT.
I dont know about MQTT- so can anybody guide me how to implement the above.
PS - Tasmota KNX implementation by Ascilto was flawless till my Tasmotas crossed a certain number. After that its just a hit or miss. MQTT is rock solid on Tasmota. KNX on Tasmota is very chatty and is not ok after 2-3 devices.