ShellyTeacher for Domoticz
Posted: Tuesday 07 November 2023 17:42
This topic is dedicated to the ShellyTeacher for Domoticz application which will add Shelly devices to Domoticz MQTT Autodiscovery hardware
https://github.com/enesbcs/shellyteacher4domo
Why i need this?
Because Shelly devices speaks MQTT, but has no autodiscovery config objects included, so somebody has to tell to Domoticz how can it handle them. This will be done by the Teacher app, which sends predefined config objects to the MQTT broker (retain method is highly recommended) based on the device ID's, which will be discovered by MQTT AD hardware.
The predefined config object templates are simple text files named "mqtt_templates.txt" and "mqtt_templates_gen2.txt" can be altered by anyone if something is not working as it should.
The teacher is only needed to run until adding devices, as soon as the config objects are send and saved to the MQTT broker and Domoticz detects them,the teacher can (and should) be stoppped.
Currently almost every Gen1 and Gen2 devices are supported, except RGB devices. If anybody has idea about how to add them, please share.
Here is a little tutorial:
https://github.com/enesbcs/shellyteacher4domo
Why i need this?
Because Shelly devices speaks MQTT, but has no autodiscovery config objects included, so somebody has to tell to Domoticz how can it handle them. This will be done by the Teacher app, which sends predefined config objects to the MQTT broker (retain method is highly recommended) based on the device ID's, which will be discovered by MQTT AD hardware.
The predefined config object templates are simple text files named "mqtt_templates.txt" and "mqtt_templates_gen2.txt" can be altered by anyone if something is not working as it should.
The teacher is only needed to run until adding devices, as soon as the config objects are send and saved to the MQTT broker and Domoticz detects them,the teacher can (and should) be stoppped.
Currently almost every Gen1 and Gen2 devices are supported, except RGB devices. If anybody has idea about how to add them, please share.
Here is a little tutorial: