This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

1-wire DS2423
#4
First you need to find the unique ID of the 1-Wire device. It is shown in the UI or you can use a script to log all connected devices:
Code:
require('ow')
list = ow.list()
log(list)

Read counter values (change id value to your device ID):
Code:
require('ow')
id = 'ABCDEF123456'
c1, err1 = ow.readfile(id, 'counters.A', true)
c2, err2 = ow.readfile(id, 'counters.B', true)
log(c1, c2, err1, err2)
Reply


Messages In This Thread
1-wire DS2423 - by johanax - 25.01.2021, 11:46
RE: 1-wire DS2423 - by admin - 25.01.2021, 12:00
RE: 1-wire DS2423 - by johanax - 25.01.2021, 12:58
RE: 1-wire DS2423 - by admin - 25.01.2021, 13:14

Forum Jump: