Page 1 of 1

1 WIRE id code or 64bit code

Posted: Tuesday 30 September 2014 22:47
by gielOS
Hello,

I have a question:

I have Domoticz installed on my Raspberry Pi. Then I got 7x DS18B20 temperature sensors connected (1 wire). Now all the sensors already connected and I only know the 64-bit serial and the location where the sensor is mounted. However Domoticz I only see an ID number, which does not match the 64-bit serial code of the sensor.

Does anyone know how I can convert this?

Example of a 64-bit serial is: 28-000005f31786

Hopefully someone can help me.

Thank you.

regards,
Michiel

Re: 1 WIRE id code or 64bit code

Posted: Wednesday 01 October 2014 19:02
by gizmocuz
How about adding them one by one to know which sensor is which ?
there is a logic in the numbers somewhere

Re: 1 WIRE id code or 64bit code

Posted: Wednesday 17 December 2014 9:56
by Toni
I also find this really difficult. Some 1-wire devices show up by HEX code (4 bytes, i.e. 8 characters), and some by a decimal number (2 bytes). For example the temperature sensors show up in decimal. The decimal code is just two of the address bytes in decimal format.

I think it would be much better if Domoticz would show the full 1-wire ID of the devices, but even if the ID's would be in HEX format instead of decimal, it would easy the setup a lot. I did this in my own private fork of Domoticz.

Re: 1 WIRE id code or 64bit code

Posted: Sunday 18 September 2016 18:45
by StratosHF
Hi,

This is my first post. I installed Domoticz yesterday to see how it compared to my DIY python code that monitors my 18 1-wire sensors on my central heating with a db and cherrypy web page... and it's much better! I too struggled to work out which sensor was which until I noticed an odd pattern, the last four digits of the 1-wire ID were used in the Domoticz ID but as pairs that were switched....!???

e.g.

xx-xxxxxxxx1234 > 3412
28-00000703be3d > 3dbe

... this was true for all my sensors. I thought I'd share this information as it may save someone a little time when setting up.

Cheers,

Andy.