running changes made by M.Appleby and J.Beale. Mainly to update due to python 3.10
This commit is contained in:
@@ -45,7 +45,7 @@ all = 0xff
|
||||
|
||||
class IlluminationControl(object):
|
||||
|
||||
def __init__(self,hostname: str="129.129.221.84",port: int=1003):
|
||||
def __init__(self,hostname: str="129.129.244.24",port: int=1003):
|
||||
if hostname is None: #simulated mode
|
||||
self._sim={'stat':0}
|
||||
_log.info('simulated mode:{}'.format(self._sim))
|
||||
@@ -136,7 +136,10 @@ if __name__ == "__main__":
|
||||
args = parser.parse_args()
|
||||
_log.info('Arguments:{}'.format(args.__dict__))
|
||||
|
||||
host = "129.129.221.92"
|
||||
#Static IP 129.129.244.24
|
||||
#HOST SAROP31-CINT-SWMX1
|
||||
#MAC: 08:BB:CC.05:89:1A
|
||||
host = "129.129.244.24"
|
||||
port = 1003
|
||||
leds = IlluminationControl(host,port)
|
||||
if args.test:
|
||||
|
||||
Reference in New Issue
Block a user