Pi-Somfy
Pi-Somfy copied to clipboard
Depreciation and upper-/lowercase issue w/ RTS addresses in [ShutterRollingCodes] section
I installed and tested Pi-Somfy(-CC1101) now during a week. 2 comments:
-
depreciation
.setDaemon(True)
is depreciated as of Python 3.10 (?) It should be replaced by.daemon = True
-
shutter RTS address upper-/lowercase hex code issue When programming shutter # 10, the last byte goes alphanumeric (e.g.
0x27962A
). This is stored consistently in sections[Shutters]
and[ShutterRollingCodes]
as uppercase. However after some shutter operations and a reboot,operateShutters.py
starts with errors. Analysis revealed that all shutter addresses with an alphanumerical byte are added lowercase in [ShutterRolingCodes] only, resulting in dupe address values and wrong rolling codes.