Page 1 of 1
1-wire in domoticz do not recognize more than one sensor
Posted: Wednesday 21 November 2018 23:58
by adrianvip
Hello,
I'm new in Domoticz but make all like in Tutorials in web with the dallas Ds18b20 sensors and in Commandline the sensors work great i see 3 sensors, can read temp but in domoticz after adding 1-wire Hardware comes just one Device with Temp and the temp shows in time form one sensor 21'C ontime from the other 43'C.
Have checked the stable version and the Beta and the worst thing have make a new Raspberry instalation al time the same issue just one Temperature Device :/
Have checked 4k7 resistor , 2k2, 10k al the same issue nothing helps :/
OWFS Path: not filed
Sensor Poll Period: 0
Switch Poll Period:0
in Log seams to the 3 devices wehre added but nothing appears.
- domoticz1.png (138.53 KiB) Viewed 3423 times
- domoticz2.png (97.18 KiB) Viewed 3423 times
- domoticz3.png (183.16 KiB) Viewed 3423 times
What make i bad? all seams to by ok but nothing helps :/
Re: 1-wire in domoticz do not recognize more than one sensor
Posted: Thursday 22 November 2018 0:01
by adrianvip
On CMD RPi become foling info :
pi@raspberrypi:~ $ ls /sys/bus/w1/devices
28-188c8d116461 28-e5b08d116461 28-f2fb8d116461 w1_bus_master1
Re: 1-wire in domoticz do not recognize more than one sensor
Posted: Wednesday 23 November 2022 20:52
by alexrex1
Hi There!
I have the the same problem, all my sensors appears in the domoticz log as added device, but in devices they all is in the same line,
Everything worked at my last installation before i have to switch memory.
Thanks, Alexander
Re: 1-wire in domoticz do not recognize more than one sensor
Posted: Thursday 24 November 2022 8:19
by ferrosk
Hi,
Just for curiosity because I found some spare rpi and ds18b20 sensors I connected it and tested with Domoticz 2022.2 (example of the setup can be found i.e.
here)
All is working OK for me.
I can see sensors from os:
Code: Select all
fero@rpi1b:/sys/bus/w1/devices $ ls -la
total 0
drwxr-xr-x 2 root root 0 Nov 24 06:58 .
drwxr-xr-x 4 root root 0 Nov 24 06:58 ..
lrwxrwxrwx 1 root root 0 Nov 24 06:59 28-000008e8bf44 -> ../../../devices/w1_bus_master1/28-000008e8bf44
lrwxrwxrwx 1 root root 0 Nov 24 06:59 28-000008e939c5 -> ../../../devices/w1_bus_master1/28-000008e939c5
lrwxrwxrwx 1 root root 0 Nov 24 06:58 w1_bus_master1 -> ../../../devices/w1_bus_master1
and also both devices are discovered and updated in Domoticz:
Re: 1-wire in domoticz do not recognize more than one sensor
Posted: Thursday 24 November 2022 8:26
by ferrosk
I just noticed that in your Domoticz 1-Wire hardware setup you reset both Poll Periods to 0, why?
You should keep the defaults:
OWFS Path: not filed
Sensor Poll Period: 300000
Switch Poll Period: 100
if you want to pool sensors (temp reading) every 300 sec or change it to some other value (it is in miliseconds).
Re: 1-wire in domoticz do not recognize more than one sensor
Posted: Thursday 24 November 2022 19:12
by alexrex1
Hi,
I have same settings as you and re installed OS,Domoricz twice.
It seems maybe to be a bug in software.
Can i trick Domoticz an make an dummy device and collect value from map?
file/map for ewery sensor appears in w1_bus_master1.
Re: 1-wire in domoticz do not recognize more than one sensor
Posted: Thursday 24 November 2022 20:25
by ferrosk
alexrex1 wrote:Hi,
I have same settings as you and re installed OS,Domoricz twice.
In the screenshot from your 1st post I can see that you are running very old Domoticz v4.9700 and your settings for 1-Wire hardware have wrong Poll period values.
Did you install latest Domoticz stable 2022.2 and configure 1-Wire settings as i suggested?
Re: 1-wire in domoticz do not recognize more than one sensor
Posted: Thursday 05 January 2023 12:50
by njlammerts
If you look correctly, you see the last 5-6 digits of your temperature are the same. The problem seems that Domoticz only "looks" for the last 4 digits to identify the sensors.
I have the same problem and it shows only 1 temperature device in Domoticz, wich shows the temperature of the different 3 sensors in a roulating way.
It seems that there is no solution for the problem at this time because it is a Domoticz problem reading only the last 4 -6 digits of the sensor ID.
Only solution for now is to get sensors with different (last 4 digit) ID's
Re: 1-wire in domoticz do not recognize more than one sensor
Posted: Thursday 05 January 2023 16:16
by waltervl
Re: 1-wire in domoticz do not recognize more than one sensor
Posted: Thursday 05 January 2023 16:53
by njlammerts
ferrosk wrote: ↑Thursday 24 November 2022 8:19
Hi,
Just for curiosity because I found some spare rpi and ds18b20 sensors I connected it and tested with Domoticz 2022.2 (example of the setup can be found i.e.
here)
All is working OK for me.
I can see sensors from os:
Code: Select all
fero@rpi1b:/sys/bus/w1/devices $ ls -la
total 0
drwxr-xr-x 2 root root 0 Nov 24 06:58 .
drwxr-xr-x 4 root root 0 Nov 24 06:58 ..
lrwxrwxrwx 1 root root 0 Nov 24 06:59 28-000008e8bf44 -> ../../../devices/w1_bus_master1/28-000008e8bf44
lrwxrwxrwx 1 root root 0 Nov 24 06:59 28-000008e939c5 -> ../../../devices/w1_bus_master1/28-000008e939c5
lrwxrwxrwx 1 root root 0 Nov 24 06:58 w1_bus_master1 -> ../../../devices/w1_bus_master1
and also both devices are discovered and updated in Domoticz:
My Sensors reed:
As you can see, the last 6 digits are identical.
- Schermafbeelding 2023-01-05 om 16.51.27.png (50.76 KiB) Viewed 1533 times