Closed ssgtvik closed 1 year ago
Hi @ssgtvik
Can you install the beta version of the plugin and confirm that the light appears as a lightbulb accessory in homebridge / homekit and that the log line starting in [168] (as above) is not shown when you restart homebridge?
You should be able to turn the light on and off at the moment. Brightness and colour I need to put a bit more work into
Hi @bwp91
I updated beta-4. Now the bulb is visible in homebridge and homekit, but there is an error when I use it.
[Kitchen bulb] device update failed as it is unreachable at file:///usr/local/lib/node_modules/homebridge-ewelink/lib/platform.js:1794:17.
Error: HAP Status Error: -70402
at new HapStatusError (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/hapStatusError.ts:15:5)
at default.internalStateUpdate (file:///usr/local/lib/node_modules/homebridge-ewelink/lib/device/zigbee/light-rgb-cct.js:84:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[03/09/2022, 18:12:24] [eWeLink] Child bridge process ended
is this turning it on and off? Can you use the plugin settings to turn on debug logging, restart homebridge, then use the ewelink app to control the device (turn it on and off) and post here the logs that appear in homebridge when you do this?
I replaced the raspberry pi zero w with a raspberry pi zero w 2. Since then, the error has not occurred. Thank you for your help so far. I hope there will be brightness and color adjustment soon.
I also need these logs I mentioned above for brightness and colour control.
Are you able to get logs that appear for performing these actions in the ewelink app:
please stick to this order so I see commands / payloads for different combinations of different modes and and also changes within the same mode
[04/09/2022, 13:56:18] [eWeLink] [Kichen bulb] initialising with options {“brightnessStep”:1,”logging”:”debug”}.
[04/09/2022, 13:56:18] [eWeLink] [Kichen bulb] initialised and LAN mode unavailable as not discovered/supported [3258:ZigbeeColorTunableWhiteLight].
[04/09/2022, 13:57:28] [eWeLink] [Kichen bulb] receiving update {“rgbBrightness”:77,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:57:28] [eWeLink] [Kichen bulb] receiving update {“switch”:”on”,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:57:28] [eWeLink] [Kichen bulb] current state [on].
[04/09/2022, 13:57:28] [eWeLink] [Kichen bulb] receiving update {“colorMode”:”cct”,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:57:28] [eWeLink] [Kichen bulb] receiving update {“colorTemp”:64,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:57:30] [eWeLink] [Kichen bulb] receiving update {“hue”:55,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:57:30] [eWeLink] [Kichen bulb] receiving update {“saturation”:40,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:57:30] [eWeLink] [Kichen bulb] receiving update {“switch”:”on”,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:57:42] [eWeLink] [Kichen bulb] receiving update {“colorMode”:”cct”,”switch”:”on”,”cctBrightness”:100,”online”:true,
[04/09/2022, 13:57:44] [eWeLink] [Kichen bulb] receiving update {“cctBrightness”:100,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:57:51] [eWeLink] [Kichen bulb] receiving update {“colorMode”:”rgb”,”switch”:”on”,”rgbBrightness”:77,”hue”:55,”saturation”:40,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:57:52] [eWeLink] [Kichen bulb] receiving update {“rgbBrightness”:77,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:57:52] [eWeLink] [Kichen bulb] receiving update {“hue”:53,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:57:53] [eWeLink] [Kichen bulb] receiving update {“switch”:”on”,”hue”:357,”saturation”:40,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:57:55] [eWeLink] [Kichen bulb] receiving update {“hue”:356,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:57:55] [eWeLink] [Kichen bulb] receiving update {“hue”:356,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:58:07] [eWeLink] [Kichen bulb] receiving update {“rgbBrightness”:47,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:58:10] [eWeLink] [Kichen bulb] receiving update {“switch”:”on”,”hue”:249,”saturation”:40,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:58:12] [eWeLink] [Kichen bulb] receiving update {“hue”:248,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:58:13] [eWeLink] [Kichen bulb] receiving update {“colorMode”:”cct”,”switch”:”on”,”cctBrightness”:100,”colorTemp”:64,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:58:15] [eWeLink] [Kichen bulb] receiving update {“cctBrightness”:100,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:58:15] [eWeLink] [Kichen bulb] receiving update {“colorMode”:”cct”,”switch”:”on”,”colorTemp”:0,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:58:15] [eWeLink] [Kichen bulb] receiving update {“colorTemp”:0,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:58:21] [eWeLink] [Kichen bulb] receiving update {“colorMode”:”cct”,”switch”:”on”,”colorTemp”:100,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:58:23] [eWeLink] [Kichen bulb] receiving update {“colorTemp”:100,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:58:26] [eWeLink] [Kichen bulb] receiving update {“colorMode”:”cct”,”switch”:”on”,”colorTemp”:56,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:58:33] [eWeLink] [Kichen bulb] receiving update {“switch”:”off”,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:58:33] [eWeLink] [Kichen bulb] current state [off].
[04/09/2022, 13:58:34] [eWeLink] [Kichen bulb] receiving update {“switch”:”off”,”online”:true,”updateSource”:”WS”}.
[04/09/2022, 13:58:34] [eWeLink] [Kichen bulb] receiving update {“colorTemp”:56,”online”:true,”updateSource”:”WS”}.
Did I send the correct information? I would like to comment with another device. And I would also help with the Hungarian translation of the plugin if you think so.
hiya yes this is the info i need, just need go get round to implementing it 🙂 what are you comments on the other device?
I add nspanel as a thermostat to the plugin, but it does not appear in homekit and homebridge. Only switch available. I also tried it in Hoobs, but there only one switch appears and switches at the same time. If you think we can continue the conversation on discord.
Hi @ssgtvik I have sent you a message on discord but not sure if you are still on there? I have a bit of time today to get this bulb working, would be great to message you if you have some time. Thanks!
Latest beta of the plugin should allow for brightness, colour and colour temperature. Let me know if it’s working okay. Still need to add the adaptive lighting
What issue do you have? Please be as thorough and explicit as possible.
SmartWise Zigbee RGBW Bulbs(Star Navi XH-001B) paired to Sonoff Zigbee Bridge Pro not supported in Homebridge SmartWise bulb paired to Sonoff Zigbee bridge PRO. Works perfectly through Ewelink App. Not supported error in Homebridge. And SONOFF Zigbee motion sensor doesn't show the HomeKit, it is visible in Ewelink and Homebridge.
Details of your setup.
homebridge-config-ui-x v4.50.1
Homebridge v1.5.0
Raspebby Pi Zero W Node.js - latest NPM - latest
homebridge-ewelink v10.0.0 I didn't use anything else
SmartWise Zigbee RGBW Bulbs(Star Navi XH-001B)
Please paste any relevant logs below.