I am running Domoticz for a few years and I am very happy. Thanks to the developers and the forum members.
For now, I am using an RFXtrx433 usb to receive information from a few cheap thermometers or door sensors and to control my SOMFY blinds (RTS). I works but my house is quite large and my domoticz server is not in a central position: sometimes the RFXtrx433 miss some messages from the 433 devices and/or is jammed when sending a command to the Somfy blinds.
I decided to migrate from RFStrx433 to several ESP32 emitters/receivers in various locations.
For the Somfy blinds I use ESPSomfy-RTS (https://github.com/rstrouse/ESPSomfy-RTS) on an esp32 using MQTT (wifi + Mosquitto) to communicate with the domoticz server. It works fine!
For the various 433 thermometers and other devices, I use openMQTTGateway (https://docs.openmqttgateway.com/) on an ESP32 (I will use several of them in various locations of the house). It receive 433 devices signals and also send the values to domoticz using MQTT. I sends messages such as:
Code: Select all
N: [ OMG->MQTT ] topic: home/OMG_multi_receiver/RTL_433toMQTT/Ambientweather-F007TH/2/154 msg: {"model":"Ambientweather-F007TH","id":154,"channel":2,"battery_ok":0,"temperature_C":25.05556,"humidity":63,"mic":"CRC","protocol":"Ambient Weather F007TH, TFA 30.3208.02, SwitchDocLabs F016TH temperature sensor","rssi":-51,"duration":215996}
or
N: [ OMG->MQTT ] topic: home/OMG_multi_receiver/RTL_433toMQTT/Nexus-TH/1/117 msg: {"model":"Nexus-TH","id":117,"channel":1,"battery_ok":1,"temperature_C":26.1,"humidity":56,"protocol":"Nexus, FreeTec NC-7345, NX-3980, Solight TE82S, TFA 30.3209 temperature/humidity sensor","rssi":-17,"duration":986996}
My problem is that for each real 433 device it creates 4 devices in domoticz:
Code: Select all
1) Type=Light/Switch Subtype=Switch Data=On or Off depending on the battery_ok value in the MQTT message above
2) Type=Humidity Subtype=LaCrosse WS2300 Data=humidity in the MQTT message above
3) Type=General Subtype=Sound Level Data=rssi in the MQTT message above
4) Type=Temp Subtype=THR128/138 THC138l Data=temperature_C in the MQTT message above
Code: Select all
Type=Temp+Humidity SubType=Rubicson/IW008T/TX95 (or Viking 02035, 02038, TSS320 for the second real device) Data=<the temp>+<the humidity> and reception bar=rssi value.