Skip to content

A Python lib for connecting to crestron processors as an XPanel app

Notifications You must be signed in to change notification settings

eneoli/crestronclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

crestronclient

crestronclient is a Python library for connecting to crestron processors and simulating XPanel requests. This lib is based on stealthflyers work who did the entire CIP stuff

Usage

# ip, port, pid
c = CrestronClient("127.0.0.1", 41794, 0x03)

# change digital joins
c.send_digital(80, True)

# change analog joins
c.send_analog(51, 5000)

# handle digital and analog join changes

def printme(join, value):
    print('join: ')
    print(join)
    print('value: ')
    print(value)


c.addDigitalCallback(printme)
c.addAnalogCallback(printme)
while True:
    c.poll()

About

A Python lib for connecting to crestron processors as an XPanel app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages