Skip to content

Low-level Python modules to communicate with Embedded Data Systems OW-SERVER device.

Notifications You must be signed in to change notification settings

COO-Utilities/onewire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Onewire Environmental Sensor

Low-level Python modules to communicate with Embedded Data Systems OW-SERVER device. It supports reading temperature, humidity, dew point, humidex, heat index, pressure, and illuminance from OW-ENV sensor (pressure and illuminance are only available on supported sensors).

Requirements

Running from a Python Terminal

from onewire import ONEWIRE

ow = ONEWIRE()
ow.connect("192.168.29.154", 80)

ow.get_data()
print(ow.ow_data.read_sensors())
ow.get_data()
print(ow.ow_data.read_sensors())

NOTE

The OneWire disconnects after each call to get_data(), but the host and port are stored after the first connection, so subsequent calls to get_data() will reconnect.

About

Low-level Python modules to communicate with Embedded Data Systems OW-SERVER device.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages