kiwi-cam / homebridge-broadlink-rm

[This fork supports TV accessories] Broadlink RM Mini and Pro plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
304 stars 95 forks source link

v4.4.15 Stopped Working Today #672

Open shanemcw opened 11 months ago

shanemcw commented 11 months ago

Describe the bug After steadily working correctly, v4.4.15 stopped working today with e.g.

[12/7/2023, 5:26:56 PM] [Broadlink RM pro] [ERROR] Study South Blinds sendData (no device found, ensure the device is not locked)

To Reproduce Steps to reproduce the behavior: Run the plugin as usual.

Expected behavior "device found"

Screenshots Logs show this on initialization

[12/7/2023, 5:26:16 PM] [Broadlink RM pro] Initializing BroadlinkRM platform...
[12/7/2023, 5:26:16 PM] [Broadlink RM pro] [INFO] Running Homebridge Broadlink RM Plugin version 4.4.15
[12/7/2023, 5:26:16 PM] [Broadlink RM pro] Living Room Street Blinds Accessory Ready
[12/7/2023, 5:26:16 PM] [Broadlink RM pro] Living Room North Blinds Accessory Ready
[12/7/2023, 5:26:16 PM] [Broadlink RM pro] Study Street Blinds Accessory Ready
[12/7/2023, 5:26:16 PM] [Broadlink RM pro] Study South Blinds Accessory Ready
[12/7/2023, 5:26:16 PM] [Broadlink RM pro] Bedroom East Blinds Accessory Ready
[12/7/2023, 5:26:16 PM] [Broadlink RM pro] Bedroom South Blinds Accessory Ready
[12/7/2023, 5:26:16 PM] [Broadlink RM pro] Bedroom Temperature Accessory Ready
[12/7/2023, 5:26:16 PM] [Broadlink RM pro] Bedroom Humidity Accessory Ready
[12/7/2023, 5:26:16 PM] [Broadlink RM pro] Vizio TV Accessory Ready

The error is here:

[12/7/2023, 5:26:16 PM] [Broadlink RM pro] 
[12/7/2023, 5:26:56 PM] [Broadlink RM pro] Study South Blinds setTargetPosition: (currentPosition: 100)
[12/7/2023, 5:26:56 PM] [Broadlink RM pro] Study South Blinds setTargetPosition: currently 100%, moving to 99%
[12/7/2023, 5:26:56 PM] [Broadlink RM pro] [ERROR] Study South Blinds sendData (no device found, ensure the device is not locked)
[12/7/2023, 5:26:56 PM] [Broadlink RM pro] Study South Blinds setTargetPosition: 0.29s (29 / 100 * 1) until auto-stop
[12/7/2023, 5:26:56 PM] [Broadlink RM pro] Study South Blinds setTargetPosition: (stop window covering)
[12/7/2023, 5:26:56 PM] [Broadlink RM pro] [ERROR] Study South Blinds sendData (no device found, ensure the device is not locked)
[12/7/2023, 5:26:56 PM] [Broadlink RM pro] Study South Blinds setCurrentPosition: already 99 (no data sent - B)

Note I no longer see "device found" nor "lost device" and "device re-found" or some such as I've seen in the past.

I've rebooted the device, no logging of "device lost" "device re-found" as I've seen in the past.

Confirmed that the device "locked" setting remains not locked.

Desktop (please complete the following information): System Information OS Ubuntu Jammy Jellyfish (22.04.3 LTS) Node.js Version v20.10.0

Does anyone else see this condition? Has the RM Pro4 device gone bad?

shanemcw commented 11 months ago

As has been the case this morning when it was working, I can access the RM Pro4 device with the app, see the indoor temperature and indoor humidity, and access the setting screen with the "Lock device" set to the "off" toggle mode.

shanemcw commented 11 months ago

It's not finding the device

[12/7/2023, 5:51:24 PM] [Broadlink RM pro] [INFO] Listening for Broadlink devices on 192.168.0.11:43033 (UDP)
[12/7/2023, 5:51:26 PM] [Broadlink RM pro] [INFO] Listening for Broadlink devices on 192.168.0.11:45558 (UDP)
[12/7/2023, 5:51:28 PM] [Broadlink RM pro] [INFO] Listening for Broadlink devices on 192.168.0.11:37680 (UDP)
[12/7/2023, 5:51:30 PM] [Broadlink RM pro] [INFO] Listening for Broadlink devices on 192.168.0.11:39842 (UDP)
[12/7/2023, 5:51:32 PM] [Broadlink RM pro] [INFO] Listening for Broadlink devices on 192.168.0.11:41641 (UDP)
[12/7/2023, 5:51:34 PM] [Broadlink RM pro] [INFO] Listening for Broadlink devices on 192.168.0.11:44381 (UDP)
shanemcw commented 11 months ago

Resolved with a note to be added to the documentation (not closing; @kiwi-cam please review)

When this situation, e.g., no "[Broadlink RM pro] [INFO] Discovered Broadlink RM4 Pro (649b) at …") message is logged arises, remove the device from the app, factory reset the device, and re-add the device.

Note possible new bug: after changing to debug mode, I changed the mode back and still seeing

[12/7/2023, 11:02:36 PM] [Broadlink RM pro] [INFO] Bedroom Humidity onHumidity (61.23)
[12/7/2023, 11:02:36 PM] [Broadlink RM pro] [DEBUG] Bedroom Humidity Logging data to history: humidity: 61.23
[12/7/2023, 11:02:46 PM] [Broadlink RM pro] [INFO] Bedroom Humidity onHumidity (61.25)
[12/7/2023, 11:02:46 PM] [Broadlink RM pro] [DEBUG] Bedroom Humidity Logging data to history: humidity: 61.25
[12/7/2023, 11:02:56 PM] [Broadlink RM pro] [INFO] Bedroom Humidity onHumidity (61.25)
[12/7/2023, 11:02:56 PM] [Broadlink RM pro] [DEBUG] Bedroom Humidity Logging data to history: humidity: 61.25

Although I believe all instances of debug variables have been reset

shanemcw commented 11 months ago

Creating a different bug for the debug logging.

Keeping this one open to add

When no "[Broadlink RM pro] [INFO] Discovered Broadlink RM4 Pro (649b) at …") message is logged (i.e. Broadlink RM pro device not found), remove the device from the app, factory reset the device, and re-add the device.

to the documentation.

arthur-moebios commented 9 months ago

Additionally, you can check below before resetting your device:

There is a problem with version v62093, this plugin only works up to firmware version v62092. Use this link http://124.71.130.238/RMBL4-62092-8720-BL-FC-3389.upd.bin to manual update the firmware of your RM4 Pro and restart homebridge

shanemcw commented 9 months ago

Thanks @arthur-moebios! My RM4 Pro firmware is maxed out at V52079 (not updateable).

arthur-moebios commented 9 months ago

Oh... @shanemcw sorry, I didn't know about that. Thanks!!