aarons22 / homebridge-bond

Homebridge plugin for Bond
MIT License
63 stars 31 forks source link

GenericAccessory does not have required ToggleOpen action #179

Open jamesmulcahy opened 2 years ago

jamesmulcahy commented 2 years ago

Describe the bug

As of today, my Bond accessories are listed as "No Response" in Home.app. Looking at the Bond plugin logs, I see an error being reported: GenericAccessory does not have required ToggleOpen action, which I suspect may be related.

A clear and concise description of what the bug is.

Information (please complete the following information):

Logs

Starting to advertise 'Homebridge Experimental 2523' using bonjour-hap backend!
[10/3/2021, 3:26:37 PM] Homebridge v1.3.4 (Homebridge Experimental) is running on port 51827.
[10/3/2021, 3:26:37 PM] [Bond] Response (185f121109068000) [get http://192.168.1.131/v2/devices] - {"_":"6281baee","00eee354":{"_":"5383570e"},"08e8e774":{"_":"39439b8a"},"2f7d76f4":{"_":"4eb32700"},"5975ed01":{"_":"f93ab0d7"},"1fbac3da":{"_":"5d27e4ea"}}
[10/3/2021, 3:26:37 PM] [Bond] Response (185f121109074000) [get http://192.168.1.131/v2/sys/version] - {"target":"zermatt","fw_ver":"v2.20.12","fw_date":"Thu Jul  8 21:25:23 UTC 2021","uptime_s":335678,"make":"Olibra","model":"BD-1000","branding_profile":"OLIBRA_BD1000","bondid":"ZZDJ47109","upgrade_http":true,"api":2,"_":"00d90e9d"}
[10/3/2021, 3:26:37 PM] [Bond] 
****** Bond Info *******
 bondId: ZZDJ47109
 FW: v2.20.12
 API: v2
 Make: Olibra
 Model: BD-1000
************************
[10/3/2021, 3:26:37 PM] [Bond] 5 cached accessories were loaded
[10/3/2021, 3:26:37 PM] [Bond] Getting devices for this Bond (ZZDJ47109)...
[10/3/2021, 3:26:37 PM] [Bond] 5 devices were found on this Bond (ZZDJ47109).
[10/3/2021, 3:26:37 PM] [Bond] No new devices to add for this Bond (ZZDJ47109).
[10/3/2021, 3:26:37 PM] [Bond] UDP message sent to 192.168.1.131:30007
[10/3/2021, 3:26:38 PM] [Bond] UDP Message received from 192.168.1.131:30007 - {"B":"ZZDJ47109","d":0,"v":"v2.20.12"}
[10/3/2021, 3:26:38 PM] [Bond] Configuring Accessory: Living Room Middle Blind
[10/3/2021, 3:26:38 PM] [Bond] [Middle Blind] actions: Pair,Preset,Open,Close,Hold,Stop,ToggleOpen
[10/3/2021, 3:26:38 PM] [Bond] Request (185f121109848000) [get http://192.168.1.131/v2/devices/00eee354/state]
[10/3/2021, 3:26:38 PM] [Bond] Configuring Accessory: My Room Device
[10/3/2021, 3:26:38 PM] [Bond] [Device] actions: Stop
[10/3/2021, 3:26:38 PM] [Bond] Configuring Accessory: Living Room Left Blind
[10/3/2021, 3:26:38 PM] [Bond] [Left Blind] actions: Pair,Close,Preset,Open,Hold,Stop,ToggleOpen
[10/3/2021, 3:26:38 PM] [Bond] Request (185f121109858000) [get http://192.168.1.131/v2/devices/2f7d76f4/state]
[10/3/2021, 3:26:38 PM] [Bond] Configuring Accessory: Living Room Right Blind
[10/3/2021, 3:26:38 PM] [Bond] [Right Blind] actions: Close,Hold,Pair,Preset,Open,Stop,ToggleOpen
[10/3/2021, 3:26:38 PM] [Bond] Request (185f121109860000) [get http://192.168.1.131/v2/devices/5975ed01/state]
[10/3/2021, 3:26:38 PM] [Bond] Configuring Accessory: Study Blind
[10/3/2021, 3:26:38 PM] [Bond] [Blind] actions: Pair,Open,Close,Preset,Hold,Stop,ToggleOpen
[10/3/2021, 3:26:38 PM] [Bond] Request (185f121109868000) [get http://192.168.1.131/v2/devices/1fbac3da/state]
[10/3/2021, 3:26:38 PM] [Bond] Response (185f121109848000) [get http://192.168.1.131/v2/devices/00eee354/state] - {"open":0,"counter1":15,"counter2":111,"_":"5970c9b6"}
[10/3/2021, 3:26:38 PM] [Bond] Response (185f121109858000) [get http://192.168.1.131/v2/devices/2f7d76f4/state] - {"open":0,"counter1":6,"counter2":102,"_":"089ffcfb"}
[10/3/2021, 3:26:38 PM] [Bond] [Device] GenericAccessory does not have required ToggleOpen action.
[10/3/2021, 3:26:38 PM] [Bond] Response (185f121109868000) [get http://192.168.1.131/v2/devices/1fbac3da/state] - {"open":1,"counter1":5,"counter2":85,"_":"7bccbf34"}
[10/3/2021, 3:26:38 PM] [Bond] Response (185f121109860000) [get http://192.168.1.131/v2/devices/5975ed01/state] - {"open":1,"counter1":5,"counter2":101,"_":"535f6d2f"}
[10/3/2021, 3:27:37 PM] [Bond] UDP message sent to 192.168.1.131:30007
[10/3/2021, 3:27:38 PM] [Bond] UDP Message received from 192.168.1.131:30007 - {"B":"ZZDJ47109","d":0,"v":"v2.20.12"}
[10/3/2021, 3:28:37 PM] [Bond] UDP message sent to 192.168.1.131:30007
[10/3/2021, 3:28:38 PM] [Bond] UDP Message received from 192.168.1.131:30007 - {"B":"ZZDJ47109","d":0,"v":"v2.20.12"}
[10/3/2021, 3:29:37 PM] [Bond] UDP message sent to 192.168.1.131:30007
[10/3/2021, 3:29:38 PM] [Bond] UDP Message received from 192.168.1.131:30007 - {"B":"ZZDJ47109","d":0,"v":"v2.20.12"}
[10/3/2021, 3:30:37 PM] [Bond] UDP message sent to 192.168.1.131:30007
[10/3/2021, 3:30:38 PM] [Bond] UDP Message received from 192.168.1.131:30007 - {"B":"ZZDJ47109","d":0,"v":"v2.20.12"}
aarons22 commented 2 years ago

Interesting. Do your other accessories still work? Looks like you have a few blinds. In theory, the other devices should still work as expected. The Generic accessory failing shouldn't block the other ones (you could test this by removing that device from your Bond).

Also, that error message should actually say GenericAccessory does not have required TogglePower action. Copy and paste problem on my end 😅

jamesmulcahy commented 2 years ago

@aarons22 Other accessories on the Bond -- or other Homebridge accessories? For the Bond -- I've only got these blinds, nothing else. For the latter, I think the answer is no; I'm getting a lot of "No Response" issues on Homebridge at the moment, and I think (but am not 100% sure) that they're due to this.