Closed Silmar-99 closed 3 years ago
Hey @Silmar-99 - Welcome back! 😄
Interesting, I wonder why it wouldn't report dimming in the same manner. If you are able to provide logs (specifically when in debug mode), that is always the most helpful. Alternatively, you can provide your cachedAccessories file which should contain all of the info I need!
Hey Aaron!
Here the log...
[10/6/2020, 6:54:39 AM] [Bond] Request (185d3f70ddcec000) [get http://192.168.0.118/v2/devices] [10/6/2020, 6:54:39 AM] [Bond] Request (185d3f70ddcf8000) [get http://192.168.0.118/v2/sys/version] [10/6/2020, 6:54:39 AM] [Bond] Request (185d3f70ddcfc000) [get http://192.168.0.119/v2/devices] [10/6/2020, 6:54:39 AM] [Bond] Request (185d3f70ddcfc001) [get http://192.168.0.119/v2/sys/version] [10/6/2020, 6:54:39 AM] [Bond] Request (185d3f70ddd00000) [get http://192.168.0.120/v2/devices] [10/6/2020, 6:54:39 AM] [Bond] Request (185d3f70ddd00001) [get http://192.168.0.120/v2/sys/version] … [10/6/2020, 6:54:40 AM] [Bond] Response (185d3f70ddcfc000) [get http://192.168.0.119/v2/devices] - {"1":{"":"4725c8a7"},"":"9eddafa3"} [10/6/2020, 6:54:40 AM] [Bond] Response (185d3f70ddcfc001) [get http://192.168.0.119/v2/sys/version] - {"target":"breck-northstar","fw_ver":"v2.14.7","fw_date":"Mon Sep 14 19:00:53 UTC 2020","uptime_s":494962,"make":"Unbranded","model":"MR196W","branding_profile":"KOF_MR196W","bondid":"KNKSADE42861","upgradehttp":true,"api":2,"":"3a4ef21c"} [10/6/2020, 6:54:40 AM] [Bond] ** Bond Info *** bondId: KNKSADE42861 FW: v2.14.7 API: v2 Make: MR196W Model: MR196W
[10/6/2020, 6:54:40 AM] [Bond] Response (185d3f70ddcec000) [get http://192.168.0.118/v2/devices] - {"1":{"":"dd93a270"},"":"dd28ddd2"} [10/6/2020, 6:54:40 AM] [Bond] Response (185d3f70ddd00000) [get http://192.168.0.120/v2/devices] - {"1":{"":"09d3f8e8"},"":"46c85b51"} [10/6/2020, 6:54:40 AM] [Bond] Response (185d3f70ddcf8000) [get http://192.168.0.118/v2/sys/version] - {"target":"breck-northstar","fw_ver":"v2.14.7","fw_date":"Mon Sep 14 19:00:53 UTC 2020","uptime_s":495472,"make":"Chungear Industrial Co., Ltd.","model":"MR196W","branding_profile":"KOF_KNKSA","bondid":"KNKSACG91580","upgradehttp":true,"api":2,"":"43c57deb"} [10/6/2020, 6:54:40 AM] [Bond] ** Bond Info *** bondId: KNKSACG91580 FW: v2.14.7 API: v2 Make: MR196W Model: MR196W
[10/6/2020, 6:54:40 AM] [Bond] Response (185d3f70ddd00001) [get http://192.168.0.120/v2/sys/version] - {"target":"breck-northstar","fw_ver":"v2.14.7","fw_date":"Mon Sep 14 19:00:53 UTC 2020","uptime_s":493938,"make":"Unbranded","model":"MR196W","branding_profile":"KOF_MR196W","bondid":"KNKSADE41829","upgradehttp":true,"api":2,"":"16fd4db2"} [10/6/2020, 6:54:40 AM] [Bond] ** Bond Info *** bondId: KNKSADE41829 FW: v2.14.7 API: v2 Make: MR196W Model: MR196W
[10/6/2020, 6:54:40 AM] [Bond] Config: {"bonds":[{"ip_address":"192.168.0.118","token":"8f0ec3012675e6c2"},{"ip_address":"192.168.0.119","token":"bb5c9f6bade6b290"},{"ip_address":"192.168.0.120","token":"f2bd369c0b05ead7"}],"platform":"Bond","include_dimmer":true,"include_toggle_state":false,"fan_speed_values":false} [10/6/2020, 6:54:40 AM] [Bond] 3 cached accessories were loaded [10/6/2020, 6:54:40 AM] [Bond] Getting devices for this Bond (KNKSACG91580)... [10/6/2020, 6:54:40 AM] [Bond] 1 devices were found on this Bond (KNKSACG91580). [10/6/2020, 6:54:40 AM] [Bond] No new devices to add for this Bond (KNKSACG91580). [10/6/2020, 6:54:40 AM] [Bond] Getting devices for this Bond (KNKSADE42861)... [10/6/2020, 6:54:40 AM] [Bond] 1 devices were found on this Bond (KNKSADE42861). [10/6/2020, 6:54:40 AM] [Bond] No new devices to add for this Bond (KNKSADE42861). [10/6/2020, 6:54:40 AM] [Bond] Getting devices for this Bond (KNKSADE41829)... [10/6/2020, 6:54:40 AM] [Bond] 1 devices were found on this Bond (KNKSADE41829). [10/6/2020, 6:54:40 AM] [Bond] No new devices to add for this Bond (KNKSADE41829). [10/6/2020, 6:54:40 AM] [Bond] UDP message sent to 192.168.0.118:30007 [10/6/2020, 6:54:40 AM] [Bond] UDP message sent to 192.168.0.119:30007 [10/6/2020, 6:54:40 AM] [Bond] UDP message sent to 192.168.0.120:30007 [10/6/2020, 6:54:40 AM] [Bond] UDP Message received from 192.168.0.119:30007 - {"B":"KNKSADE42861"} [10/6/2020, 6:54:40 AM] [myQ] myQ API: Successfully connected to the myQ API. [10/6/2020, 6:54:40 AM] [Bond] UDP Message received from 192.168.0.120:30007 - {"B":"KNKSADE41829"} [10/6/2020, 6:54:40 AM] [Bond] UDP Message received from 192.168.0.118:30007 - {"B":"KNKSACG91580"} [10/6/2020, 6:54:40 AM] [Bond] Configuring Accessory: Master Bedroom MBR Fan [10/6/2020, 6:54:40 AM] [Bond] Request (185d3f70dec98000) [get http://192.168.0.118/v2/devices/1/state] [10/6/2020, 6:54:40 AM] [Bond] Configuring Accessory: Dining Room DR Fan [10/6/2020, 6:54:40 AM] [Bond] Request (185d3f70deca8000) [get http://192.168.0.119/v2/devices/1/state] [10/6/2020, 6:54:40 AM] [Bond] Configuring Accessory: Living Room LV Fan [10/6/2020, 6:54:40 AM] [Bond] Request (185d3f70decb4000) [get http://192.168.0.120/v2/devices/1/state] [10/6/2020, 6:54:40 AM] [Bond] Response (185d3f70dec98000) [get http://192.168.0.118/v2/devices/1/state] - {"power":1,"speed":1,"light":1,"brightness":100,"brightness_cyclephase":-1,"timer":0,"breeze":[0,50,50],"":"4684bfc5"} [10/6/2020, 6:54:40 AM] [Bond] Response (185d3f70deca8000) [get http://192.168.0.119/v2/devices/1/state] - {"power":0,"speed":2,"light":0,"brightness":100,"brightness_cyclephase":-1,"timer":0,"breeze":[0,50,50],"":"e34e6754"} [10/6/2020, 6:54:40 AM] [Bond] Response (185d3f70decb4000) [get http://192.168.0.120/v2/devices/1/state] - {"power":0,"speed":2,"light":0,"brightness":100,"brightness_cyclephase":-1,"timer":0,"breeze":[0,50,50],"":"99987699"}
And the link to download the file, since the format is not supported... https://www.dropbox.com/s/fp6ktt3uh9uaoz1/cachedAccessories?dl=1
Hey @Silmar-99 - After looking into it, it seems like you may have added dimmer functionality in Bond after you added your fans? With the way the plugin works, it gets actions when initially adding the device, and then those actions get cached moving forward. Based on your cached accessories file, your device has no StartDimmer
action, which is required for the dimming functionality.
So, to refresh the actions, you will need to either remove the Bond accessories from your cached accessories file, or delete the file completely (I know the later might break other plugins, which isn't ideal).
Hey Aaron, Apologies as I was out of town last week. So I did remove one device for testing (in both the cache and the plugin), in order to test the feature. Once removed (and re-detected), the device does show both buttons and the possibility to slide the light cursor but, it is not doing anything... The light turn on and off when it reach the bottom of the cursor track but, once on, the intensity of the light do not change... Any idea?
Good afternoon Aaron, Any update on the above by any chance?
Hey @Silmar-99 - sorry for the delay. My ability to work on this seems to come in waves.
Can you provide logs for the scenario you tested on November 9?
Hey Aaron,
Here you go...
[Bond] Response (185d990e38e8c000) [get http://192.168.0.119/v2/devices] - {"1":{"":"3b4962fb"},"":"931831bd"} [12/14/2020, 8:26:59 PM] [Bond] Response (185d990e38e90000) [get http://192.168.0.119/v2/sys/version] - {"target":"breck-northstar","fw_ver":"v2.15","fw_date":"Thu Oct 22 18:33:56 UTC 2020","uptime_s":106347,"make":"Unbranded","model":"MR196W","branding_profile":"KOF_MR196W","bondid":"KNKSADE42861","upgradehttp":true,"api":2,"":"e3fdc04c"} [12/14/2020, 8:26:59 PM] [Bond] ** Bond Info *** bondId: KNKSADE42861 FW: v2.15 API: v2 Make: MR196W Model: MR196W
[12/14/2020, 8:26:59 PM] [Bond] Response (185d990e38e7c000) [get http://192.168.0.118/v2/devices] - {"1":{"":"bdcea4dd"},"":"af164203"} [12/14/2020, 8:26:59 PM] [Bond] Response (185d990e38e90001) [get http://192.168.0.120/v2/devices] - {"1":{"":"56eed881"},"":"36dbe6b2"} [12/14/2020, 8:26:59 PM] [Bond] Response (185d990e38e88000) [get http://192.168.0.118/v2/sys/version] - {"target":"breck-northstar","fw_ver":"v2.15","fw_date":"Thu Oct 22 18:33:56 UTC 2020","uptime_s":106346,"make":"Chungear Industrial Co., Ltd.","model":"MR196W","branding_profile":"KOF_KNKSA","bondid":"KNKSACG91580","upgradehttp":true,"api":2,"":"c1e86b0e"} [12/14/2020, 8:26:59 PM] [Bond] ** Bond Info *** bondId: KNKSACG91580 FW: v2.15 API: v2 Make: MR196W Model: MR196W
[12/14/2020, 8:26:59 PM] [Bond] Response (185d990e38e94000) [get http://192.168.0.120/v2/sys/version] - {"target":"breck-northstar","fw_ver":"v2.15","fw_date":"Thu Oct 22 18:33:56 UTC 2020","uptime_s":106073,"make":"Unbranded","model":"MR196W","branding_profile":"KOF_MR196W","bondid":"KNKSADE41829","upgradehttp":true,"api":2,"":"e438dfbc"} [12/14/2020, 8:26:59 PM] [Bond] ** Bond Info *** bondId: KNKSADE41829 FW: v2.15 API: v2 Make: MR196W Model: MR196W
Turning the light off [12/14/2020, 8:32:22 PM] [Bond] Request (185d990f757e0000) [put http://192.168.0.119/v2/devices/1/actions/ToggleLight] [12/14/2020, 8:32:23 PM] [Bond] UDP Message received from 192.168.0.119:30007 - {"B":"KNKSADE42861","t":"devices/1/state","i":"05000089d032102a","f":100,"s":200,"m":0,"x":"bond","b":{"power":1,"speed":4,"light":0,"brightness":50,"brightness_cyclephase":-1,"timer":0,"breeze":[0,50,50],"":"e421a1b6"}} [12/14/2020, 8:32:23 PM] [Bond] [DR Fan] Received new state: {"power":1,"speed":4,"light":0,"brightness":50,"brightness_cyclephase":-1,"timer":0,"breeze":[0,50,50],"":"e421a1b6"} [12/14/2020, 8:32:23 PM] [Bond] Response (185d990f757e0000) [put http://192.168.0.119/v2/devices/1/actions/ToggleLight] - {"_":"f0d0d6b6"} [12/14/2020, 8:32:23 PM] [Bond] [DR Fan] Set light power: false [12/14/2020, 8:32:24 PM] [Bond] UDP Message received from 192.168.0.119:30007 - {"B":"KNKSADE42861","t":"devices/1/state","i":"05000066636347ab","f":100,"s":200,"m":0,"x":"bond","b":{"power":1,"speed":4,"light":0,"brightness":50,"brightness_cyclephase":-1,"timer":0,"breeze":[0,50,50],"":"1a542fb1"}} [12/14/2020, 8:32:24 PM] [Bond] [DR Fan] Received new state: {"power":1,"speed":4,"light":0,"brightness":50,"brightness_cyclephase":-1,"timer":0,"breeze":[0,50,50],"":"1a542fb1"}
But when trying to change the light intensity, absolutely nothing appears in the log. I move the slider in HomeKit, but it has no action., until I reach the value "0", and then the light turns off.
Please note the value "50" for brightness was selected through the "Bond" app. Selecting the intensity in the Bond app works fine.
Let me know if you need anything else.
This was helpful! I may have stumbled onto the issue. Turns out I was trying to set the fan speed instead of the brightness (probably from when I did copy/paste from the fan speed feature as a starting point 🤦 ).
Give it a shot in 3.2.2 and let me know what you see!
Unfortunately, 3.2.2 didn't resolved the issue. On/Off is still working, but the Dimmer is still not, with no entry in the log when using it...
Hi, I can confirm the same in testing 322. It’s still not dimming for me either.
Every other function for the fan works, speeds of the fan, reversing direction, & turning the light on & off will work, but the dimming function yields no activity, tho you can adjust the slider. In basic logging there will be no log data when you change brightness & there is no flashing on the BOND that commands are being issued to the fan lamp for the light dimming.
FYI.. Randy Sent from my iPad
On Dec 14, 2020, at 7:11 PM, Silmar-99 notifications@github.com wrote:
 Unfortunately, 3.2.2 didn't resolved the issue. On/Off is still working, but the Dimmer is still not, with no entry in the log when using it...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Just another voice to the gallery.
Recently replaced my older (regular) Artemis fan with a Smart by Bond one that I got used, everything works great and I'm so glad to finally be over the whole light state issue (is it on or is it off?!!!!) everything seems to be working perfectly with Homebridge EXCEPT for the light dimming feature which is either off or 100% regardless of what you set it at in Homebridge or HomeKit.
Happy to try and capture logs or whatever if there's something I can do to help.
Okay, I was finally able to reproduce locally by faking a few things with my fan, and I found the issue. I was listening for brightness changes on the standard light accessory, but not on the fan light accessory. It explains why I was so confused because I thought I was doing everything right, but turns out, I needed to do the same functionality in two places!
TL;DR: 3.2.3 should have this issue fixed.
Aaron, I will let the others confirm as well, but I think you got it right this time. I tried on all three of my fans and the light is now dimming at it should. Bonus, when changing the value with the remote provided with the fan, the value also change in sync (with a delay of a second or so, but anyway, it works!). Thanks for your hard work on this one!
Same, all good on the western front.
Great! Glad we figured this one out.
Hey Aaron,
I'm bbbaaack :)
Now that I have all my fans hooked and working as they should (thanks again for investigating this one for me), and since I can control independently the fan and the light fixture, I decided to re-assign my Philips Hue bulbs to somewhere else and replace them by "regular" LED bulbs.
However, I cannot seems to be able to get the "Dim Switch" you mention in the setup of your plugin.
Dimming is activated, working with the physical remote and from the Bond's app, but nada when it comes to HomeKit.
It sounds like it is not recognized as a "dimmable" device by the plugin.
Any idea on how to fix that and make it works?
As always, thanks for your time investigating this new issue.
Best regards,