Skip to content

A more feature-rich implementation of the API of Devantech/Robot Electronics' ETH relays

Notifications You must be signed in to change notification settings

kiloreven/devantech_relays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Howto:

# Import the module
from devantech_relays import eth

# Initiate a relay instance
relay = eth.ETHRelay('10.10.10.10', password='password')

# Set relay 1 to closed
relay.set_relay_state(1, True)

# Check if relay 1 is closed
relay.get_relay_state(1)

About

A more feature-rich implementation of the API of Devantech/Robot Electronics' ETH relays

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages