Pi-Somfy icon indicating copy to clipboard operation
Pi-Somfy copied to clipboard

Depreciation and upper-/lowercase issue w/ RTS addresses in [ShutterRollingCodes] section

Open geohei opened this issue 10 months ago • 0 comments

I installed and tested Pi-Somfy(-CC1101) now during a week. 2 comments:

  1. depreciation .setDaemon(True) is depreciated as of Python 3.10 (?) It should be replaced by .daemon = True

  2. 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.

geohei avatar Apr 14 '24 21:04 geohei