Menu

#36 temphigh does not write

v1.0_(example)
unread
nobody
temphigh (1)
1
2017-01-29
2017-01-12
Anonymous
No

Hello,

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.

Edward

Discussion

  • Jan Kandziora

    Jan Kandziora - 2017-01-13

    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
  • Anonymous

    Anonymous - 2017-01-19

    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

     
  • Jan Kandziora

    Jan Kandziora - 2017-01-19

    You are reading cached values. To read directly from the chip, you have to prefix /uncached/ before the chip id.

     
  • Anonymous

    Anonymous - 2017-01-19

    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

     
  • Jan Kandziora

    Jan Kandziora - 2017-01-19

    Could you please check with the owshell tools? The browser has another cache.

    $ owwrite /28.5EFA7A060000/temphigh 20
    $ owread /uncached/28.5EFA7A060000/temphigh

     
  • Anonymous

    Anonymous - 2017-01-26

    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.

     
  • Anonymous

    Anonymous - 2017-01-26

    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

     
  • Jan Kandziora

    Jan Kandziora - 2017-01-29

    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.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.