running changes made by M.Appleby and J.Beale. Mainly to update due to python 3.10

This commit is contained in:
John Henry Beale
2025-11-10 10:47:31 +01:00
parent 84d74d5d23
commit c4c5ea6491
4 changed files with 182 additions and 96 deletions

View File

@@ -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: