Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyitachip2sl

Python3 interface for sending serial commands via GlobalCache iTach IP to Serial device

Notes

This was developed for use with Home-Assistant but is usable by any python application.

Usage

from pyitachip2sl import ITachIP2SLSocketClient

hostname = '10.0.0.50'
port = 4999 # Optional parameter, defaults to 4999
timeout = 1 # Optional parameter, defaults to 1

itach = ITachIP2SLSocketClient(hostname, port, timeout)

# Send ASCII command
itach.send_data("Status1.")

# Send ASCII command and retrieve response
response = itach.send_data("Status1.")
print(response)

# Send raw data
itach.send_data("082200000002D4", True)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages