New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1-wire sensors partly stopped working after update to 2023.2 #5778
Comments
As far as I know there have been made no changes to 1-Wire I suspect when you have a sensor that is Temp+Hum that you will get a combined Temp+Hum sensor |
The 1-wire device showed up as three different sensors in Domoticz:
idx : 14
Id: 161F
Unit: 1
type: Humidity
idx : 47
Id: 161F
Unit: 31
type: Temp
idx : 25
Id: 161F
Unit: 2
type: Temp + Humidity
All three worked in 2023.1 and after upgrade only the pure Humidity is
working (idx:14). This is an example and I have three devices and all three
changed behaviour after the upgrade. If I use the command line interface in
the RPI I see that the OWFS has both temp and humidity values stored in the
file system and they keep updating.
I tried to switch on and find new sensors. Also deleted one of the sensors
and tried to switch on and accept new sensors but the sensors does not show
up in Domoticz.
So something must have been changed in the new version.
Best regards
Ulf
|
The one that should keep updating should be the temp+humidity ... Are you able to debug the code? |
I have never done that. Is there a guide how to do it?
Den ons 9 aug. 2023 kl 10:35 skrev gizmocuz ***@***.***>:
… The one that should keep updating should be the temp+humidity ...
(I think as I don't have 1-Wire)
Are you able to debug the code?
—
Reply to this email directly, view it on GitHub
<#5778 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIENPKE4QYNWPRWWLOGL6PDXUNDWLANCNFSM6AAAAAA3H3UDNE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
But first, try running domoticz with some debugflags enabled. Start domoticz (and/or adjust the startup script) with additional flags There are more debugflags you could try to see if it brings even more info. (run PS: Better not reply to e-mail messages from GitHub |
I have tried to activate debug and created a log. I also deactivated all other "hardware" (e g Zwave, P1 smartmeter, Heos, RFXcom etc). I hope this can help to find what is wrong. |
@Ulflindberg , ok that looks interesting. What did you make of it? Already tried 'allow new hardware' I assume? Looks like you are getting the measurements right? |
As you see at 21:44 many devices is found . For example the "26.5F1892010000" which is a combined temp and humidity sensor. It is in Domoticz GUI but has not been correct updated since the upgrade. The sensor can show
2023-08-10 21:44:12.993 Debug: 1wire: 1Wire (OWFS): Add device /mnt/1wire/10.67C6697351FF Later I find that it is reading temperature from 26.5F1892010000: And the Humidity The Humidity updates in the GUI but not the Temperature. I did delete that device in the GUI and it will not come back when I open up for "accept new sensors". And the combined result with Temp and Humidity remains not updated. I will try to analyse more from the logfile but I am confused that in OWFS (1-wire File System) the sensor is called 26.5F1892010000 and when it was added to Domoticz it got a common "ID" 5F18 and for 5F18 there was 3 devices(Idx). If any of this gives you any ideas or if you would like me add more let me know. |
Still an issue? |
Yes, I have made a fresh installation only with the 1 wire hardware and still the same issue. Also in another installation where I only have one 1wire temperature sensor the update made the 1 wire sensor to identify itself as a new sensor with another ID. I have no clue what to do more. I have been thinking of setting up an new pi with an older Domoticz version to see if it will solve the issue but I have no more Pi and also unsure how to install an old version. |
Could you tell me the hardware name/type you are using? I could order a sensor and debug |
My hardware: |
Thank you for the information. The Dallas DS18B20+ is a temperature only sensor? Is it maybe possible to provide a aliexpress link? |
I have not found a aliexpresslink but hopefully I will have some spar sensors delivered from a friend that I can send. I will get back to you soon |
Unfortunately the spar sensors were only temp sensors and not multi sensors. |
Ehhmmm that 'sensor' uses two internal sensors, one for temperature (DS-2438Z) and one for humidity (HIH-4000) I am closing this issue because I don't think it is correct. You can have either a temperature or humidity 1-wire sensor You can make a dzVents script that received both temperature and humidity sensor and updates a dummy temp+hum sensor |
https://www.analog.com/media/en/technical-documentation/data-sheets/ds2438.pdf It looks like this is a temperature only IC For now, easiest way for a fix, use dzVents as mentioned above |
I upgraded to 2023.2 today and after that some of my 1-wire sensors does not update. I run this on a Raspberry Pi 3, OWFS.
I have three 1-wire devices that can display:
all Three sensors continue to update Humidity (2) but not 1. Temp or 3. Temp and Humidity
In the log I can see several error messages like "Error: RxQueue: cannot retrieve hardware with id: 2"
I also have a 1-wire device with only temp sensor and that still works fins in Domoticz.
I can use CAT command and see that the sensors updates in OWFS (/mnt/1-wire)
The text was updated successfully, but these errors were encountered: