TTNMQTT module does not differentiate between 2 sensors of same vendor and type
Posted: Tuesday 01 February 2022 18:21
I run Domoticz version 2022.1 on a raspberry pi (debian version 10.11).
I have two sets of identical sensors: (Browan TBHH100 and Dragino LHT65).
Configured the TTN MQTT module and it gets data from The Things Network.
However only one sensor of each is discovered as a device in domoticz. But after a while I noticed that the recorded values in domoticz was alternating
between the two similar sensors.
When I run a mosquitto_sub on the same topic, I do see that they identify as different devices.
One of the Dragino sensors is outdoors, while the other is indoors. During the day it alternates between the outdoor temp (currently below 9) and the indoor temp (around 20). The same is true for the humidity. (the 2 Browan's are both indoors in different rooms with slightly different values for temp&humidity).
Furthermore it looks like that the first detected sensor is setting the device name.
I did not see any other settings that needed configuration on either domoticz or on The Things Network.
Any suggestions on how I can fix this would be appreciated.
Thanks,
Hans
I have two sets of identical sensors: (Browan TBHH100 and Dragino LHT65).
Configured the TTN MQTT module and it gets data from The Things Network.
However only one sensor of each is discovered as a device in domoticz. But after a while I noticed that the recorded values in domoticz was alternating
between the two similar sensors.
When I run a mosquitto_sub on the same topic, I do see that they identify as different devices.
One of the Dragino sensors is outdoors, while the other is indoors. During the day it alternates between the outdoor temp (currently below 9) and the indoor temp (around 20). The same is true for the humidity. (the 2 Browan's are both indoors in different rooms with slightly different values for temp&humidity).
Furthermore it looks like that the first detected sensor is setting the device name.
I did not see any other settings that needed configuration on either domoticz or on The Things Network.
Any suggestions on how I can fix this would be appreciated.
Thanks,
Hans