1-wire in domoticz do not recognize more than one sensor
Moderators: fantom, leecollings
-
- Posts: 2
- Joined: Wednesday 14 November 2018 13:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
1-wire in domoticz do not recognize more than one sensor
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. What make i bad? all seams to by ok but nothing helps :/
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. What make i bad? all seams to by ok but nothing helps :/
-
- Posts: 2
- Joined: Wednesday 14 November 2018 13:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: 1-wire in domoticz do not recognize more than one sensor
On CMD RPi become foling info :
pi@raspberrypi:~ $ ls /sys/bus/w1/devices
28-188c8d116461 28-e5b08d116461 28-f2fb8d116461 w1_bus_master1
-
- Posts: 2
- Joined: Wednesday 23 November 2022 20:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: 1-wire in domoticz do not recognize more than one sensor
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
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
-
- Posts: 44
- Joined: Saturday 26 August 2017 20:13
- Target OS: Linux
- Domoticz version: 2023.2
- Contact:
Re: 1-wire in domoticz do not recognize more than one sensor
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:
and also both devices are discovered and updated in Domoticz:
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
- Attachments
-
- 1wire_1.png (78.39 KiB) Viewed 1686 times
-
- 1wire_2.png (63.8 KiB) Viewed 1686 times
-
- 1wire_3.png (278.14 KiB) Viewed 1686 times
Domoticz 2023.2 on Odroid M1 and Armbian
MySensors (RFM69 Serial GW): bunch of DIY sensors/devices
Zwave (Z-Wave.me RaZberry board): Danfoss devices
Zigbee (Sonoff Dongle Plus): IKEA, Tesla devices
MySensors (RFM69 Serial GW): bunch of DIY sensors/devices
Zwave (Z-Wave.me RaZberry board): Danfoss devices
Zigbee (Sonoff Dongle Plus): IKEA, Tesla devices
-
- Posts: 44
- Joined: Saturday 26 August 2017 20:13
- Target OS: Linux
- Domoticz version: 2023.2
- Contact:
Re: 1-wire in domoticz do not recognize more than one sensor
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).
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).
Domoticz 2023.2 on Odroid M1 and Armbian
MySensors (RFM69 Serial GW): bunch of DIY sensors/devices
Zwave (Z-Wave.me RaZberry board): Danfoss devices
Zigbee (Sonoff Dongle Plus): IKEA, Tesla devices
MySensors (RFM69 Serial GW): bunch of DIY sensors/devices
Zwave (Z-Wave.me RaZberry board): Danfoss devices
Zigbee (Sonoff Dongle Plus): IKEA, Tesla devices
-
- Posts: 2
- Joined: Wednesday 23 November 2022 20:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: 1-wire in domoticz do not recognize more than one sensor
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.
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.
-
- Posts: 44
- Joined: Saturday 26 August 2017 20:13
- Target OS: Linux
- Domoticz version: 2023.2
- Contact:
Re: 1-wire in domoticz do not recognize more than one sensor
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?
Domoticz 2023.2 on Odroid M1 and Armbian
MySensors (RFM69 Serial GW): bunch of DIY sensors/devices
Zwave (Z-Wave.me RaZberry board): Danfoss devices
Zigbee (Sonoff Dongle Plus): IKEA, Tesla devices
MySensors (RFM69 Serial GW): bunch of DIY sensors/devices
Zwave (Z-Wave.me RaZberry board): Danfoss devices
Zigbee (Sonoff Dongle Plus): IKEA, Tesla devices
-
- Posts: 139
- Joined: Wednesday 12 August 2020 17:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Fryslan
- Contact:
Re: 1-wire in domoticz do not recognize more than one sensor
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
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
- waltervl
- Posts: 5149
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: 1-wire in domoticz do not recognize more than one sensor
For a reference, see issue https://github.com/domoticz/domoticz/issues/5470
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 139
- Joined: Wednesday 12 August 2020 17:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Fryslan
- Contact:
Re: 1-wire in domoticz do not recognize more than one sensor
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:
and also both devices are discovered and updated in Domoticz: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
My Sensors reed:
As you can see, the last 6 digits are identical.
Who is online
Users browsing this forum: No registered users and 1 guest