loick111 / homebridge-rfxcom-accessories

MIT License
1 stars 2 forks source link

When HomeBridge reboots, the RFXCom sends a command to all screens/motors to open. #9

Closed danielpetrovic closed 1 year ago

danielpetrovic commented 2 years ago

Is your feature request related to a problem? Please describe: When HomeBridge/Docker reboots, the RFXCom sends a command to all Somfy curtains/motors to open, but in HomeKit/HomeBridge it shows as if all curtains are closed. I need to open/close after every reboot to get the proper state inside HomeKit.

Describe the solution you'd like: Remember last state before reboot and don't send any command on boot. If last state cannot be preserved on reboot, an option to change the default boot mode which signal is send to the motors.

Describe alternatives you've considered: Change default boot mode to close all curtains, so state in HomeKit and physical state is the same, after reboot.

loick111 commented 1 year ago

Implemented!

loick111 commented 1 year ago

Pre-release v2.5.0 has been created.