Dallas 1-wire usb adapter DS9490

148 views
Skip to first unread message

micke.b...@gmail.com

unread,
Dec 30, 2013, 4:32:10 AM12/30/13
to web...@googlegroups.com
Hello,

is it possible to read 1-wire sensors connected to the DS9490 adapter? If so, can someone please point me in the right direction!

Thanks!

/Mikael S

micke.b...@gmail.com

unread,
Jan 2, 2014, 1:52:49 AM1/2/14
to web...@googlegroups.com
I hope some one can give me some answer on this…
I have a textile that contains the temperature.  I suppose that i can read this with a python script and put in my webiopi ui. I have tried with everything, but i can't get the value on
 my site. I get the python script working, but i can't figure out how i can call it from my index.html

Ex. $ python myscript.py get me the temperature, but how can i get that in to my html page?

Thankful for every little help i can get, please!

Best regards:

Mikael Svensson

Eric PTAK

unread,
Jan 4, 2014, 3:15:54 PM1/4/14
to web...@googlegroups.com
which file you use to read the temperature ?

may be it can work out of the box.
you can try by adding the device name in the DEVICE section of /etc/webiopi/config
[DEVICES]
tmp0 = DS18B20

if this kind of sensor is detected, you will be able to read it directly.
just try by running webiopi foreground :

$ sudo webiopi -d -c /etc/webiopi/config

if it starts without error, you are set.
see tutorials on the wiki about basis/macros/devices.






--
You received this message because you are subscribed to the Google Groups "WebIOPi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webiopi+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

micke.b...@gmail.com

unread,
Jan 5, 2014, 6:30:50 AM1/5/14
to web...@googlegroups.com
Thank you for your answer!

I have tried that, it didn't work….

/Micke


Den måndagen den 30:e december 2013 kl. 10:32:10 UTC+1 skrev micke.b...@gmail.com:
Reply all
Reply to author
Forward
0 new messages