I try to write to my temperature sensors temphigh, templow. but, after write I see old walue after refresh. using last version of owfs on rasberry pi with busware onewire. Try to debug, but can't find any errors.
I have connected to 1-wire 4 temperature sensors. I now update owfs to the last one from sourceforge. http://xx.xx.xx.xx:2121/28.5EFA7A060000?temphigh=20 and when I read temphight then it's shows me old value.
On the same bus I also have DS2408, and can change PIO (on/off) without any problem...
Ed
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am going to try to connect only one temperature sensor, and try to change temperature... maybe it's a hardware issue. not enough power to write data??? As my reley is connected to separate power supply.
Edward
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I hate to say it but it … works for me (v3.1p5, 5V parasite powered from a DS9490). I use a DS18S20 though. But that one shares the same code in owfs so I should be able to reproduce your problem. But I can't.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you read from /uncached/…/temphigh? Which version do you use? The one from the Raspian stable repositories is quite outdated.
Last edit: Jan Kandziora 2017-01-13
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests (dead)"
I have connected to 1-wire 4 temperature sensors. I now update owfs to the last one from sourceforge.
http://xx.xx.xx.xx:2121/28.5EFA7A060000?temphigh=20 and when I read temphight then it's shows me old value.
On the same bus I also have DS2408, and can change PIO (on/off) without any problem...
Ed
You are reading cached values. To read directly from the chip, you have to prefix /uncached/ before the chip id.
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests (dead)"
maybe it's my connection problem. I use 1-wire from busware.de, and just connect 4 sensors directly to (data, gnd, +5v)... no any resistors or e.t.c
Edw
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests (dead)"
Just do with unchanged, results are same:
http://xx.xx.xx.xx:2121/uncached/28.5EFA7A060000?temphigh=20
Could you please check with the owshell tools? The browser has another cache.
$ owwrite /28.5EFA7A060000/temphigh 20
$ owread /uncached/28.5EFA7A060000/temphigh
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests (dead)"
I checked.
root@rby0:~# owdir
/28.5EFA7A060000
/28.A1B57B060000
/28.719E7C060000
/28.53737C060000
/29.4B9C18000000
root@rby0:~# owread /uncached/28.5EFA7A060000/temphigh
75
root@rby0:~# owwrite /28.5EFA7A060000/temphigh 20
root@rby0:~# owread /uncached/28.5EFA7A060000/temphigh
75
So, as you can see, result is the same.
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests (dead)"
I am going to try to connect only one temperature sensor, and try to change temperature... maybe it's a hardware issue. not enough power to write data??? As my reley is connected to separate power supply.
Edward
I hate to say it but it … works for me (v3.1p5, 5V parasite powered from a DS9490). I use a DS18S20 though. But that one shares the same code in owfs so I should be able to reproduce your problem. But I can't.