Unique ID-value DS18B20 Temperature sensors
-
I solved it like this
https://forum.mysensors.org/topic/4143/about-ds18b20-onewire/2 -
@FotoFieber and @flopp
Thank you both for pointing me in the right direction. As far as I can see from here this contains the solutions for my problem. I'm very happy with this info.
:+1:
BR,
Boozz
I have been thinking about another solution for this. As present() supports an optional description, it should be possible to send the 1-wire address in the description. Then the controller can handle things and there's no need to hardcode anything in the sketch - it would also mean that there's no need to update the sketch if a 1-wire device gets replaced.
-
The idea was to use V_ID for sensor identifiers when available, like on the DS18B20.
-
@hek said:
The idea was to use V_ID for sensor identifiers when available, like on the DS18B20.
Too bad this isn't supported for domoticz :(
"Error: MySensors: Unknown/Invalid sensor type (42)"
- Jan
@chrille said:
@hek said:
The idea was to use V_ID for sensor identifiers when available, like on the DS18B20.
Too bad this isn't supported for domoticz :(
"Error: MySensors: Unknown/Invalid sensor type (42)"
- Jan
I have not tried it my self but it should be possible to use. What version of Domoticz do you use?
See here which type of identifier that is implemented, seems that it was implemented 18 oct 2015
https://github.com/domoticz/domoticz/blob/master/hardware/MySensorsBase.cpp -
@chrille said:
@hek said:
The idea was to use V_ID for sensor identifiers when available, like on the DS18B20.
Too bad this isn't supported for domoticz :(
"Error: MySensors: Unknown/Invalid sensor type (42)"
- Jan
I have not tried it my self but it should be possible to use. What version of Domoticz do you use?
See here which type of identifier that is implemented, seems that it was implemented 18 oct 2015
https://github.com/domoticz/domoticz/blob/master/hardware/MySensorsBase.cpp@flopp said:
I have not tried it my self but it should be possible to use. What version of Domoticz do you use?
See here which type of identifier that is implemented, seems that it was implemented 18 oct 2015
https://github.com/domoticz/domoticz/blob/master/hardware/MySensorsBase.cppI'm using 3.5637 (quite recent beta)
It would be interesting to hear if someone actually used the V_ID feature (with domoticz, or other controllers), that would share their sketch - just to see if I'm missing something obvious
- Jan
-
I started a thread at Domoticz forum
https://www.domoticz.com/forum/viewtopic.php?f=42&t=13373&p=96694#p96669 -