1wire devices support for digi connect Wan

Hello, there is a way to handle the 1 Wire serial ibutton using a python script?

I see that the ibutton manufacturer Maxim does distribute freely a library written in C.

Does the current implementation of python inside digi devices support ctypes in order to do a wrapper?

Many thanks,
Michele

Hello!

Is there RS232 port in your ConnectWan device? If there is, I think the easiest way is to use separate 1-wire adapter. For example this one might work: http://datasheets.maximintegrated.com/en/ds/DS9097U-DS9097U-S09.pdf

DS9097U adapter handles all 1-wire bus traffic and timings. You only need to send right commands to adapter to read data from iButton. All commands needed are documented in your iButton data sheet and in DS2480B 1-wire serial line driver data sheet.

Juha