core: Broadlink SP2: Failed to update load power: Control key is expired
The problem
I have two SP2_CL connected to HA and I’m getting Control key is expired errors in the log. This error is likely caused by a AuthorizationError exception.
Environment
- Home Assistant Core release with the issue: 0.111.1
- Last working Home Assistant Core release (if known): 0.109.X
- Operating environment (Home Assistant/Supervised/Docker/venv): Home Assistant
- Integration causing this issue: broadlink
- Link to integration documentation on our website: broadlink
Problem-relevant configuration.yaml
- platform: broadlink
host: 192.168.1.47
mac: '34:EA:34:YY:YY:YY'
friendly_name: SW1
type: sp2
- platform: broadlink
host: 192.168.1.48
mac: 'C8:F7:42:XX:XX:XX'
friendly_name: SW2
type: sp2
Traceback/Error logs
2020-06-12 16:49:32 WARNING (MainThread) [homeassistant.components.broadlink.device] Disconnected from device at 192.168.1.48: Control key is expired
2020-06-12 16:49:32 ERROR (MainThread) [homeassistant.components.broadlink.switch] Failed to update load power: The device is offline
2020-06-12 16:49:58 WARNING (MainThread) [homeassistant.components.broadlink.device] Connected to device at 192.168.1.48
2020-06-12 16:52:38 WARNING (MainThread) [homeassistant.components.broadlink.device] Disconnected from device at 192.168.1.48: Control key is expired
2020-06-12 16:52:38 ERROR (MainThread) [homeassistant.components.broadlink.switch] Failed to update load power: The device is offline
2020-06-12 16:53:04 WARNING (MainThread) [homeassistant.components.broadlink.device] Connected to device at 192.168.1.48
Additional information
This maybe related with the fix for this issue #36180
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 39 (15 by maintainers)
So, It appears the script just un locked one of the switches, so I ran it a second time:
And a third time: