-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Philips Hue Dimmer switch battery running down rapidly (ZbBridge) #10413
Comments
Use the latest Tasmota version, reset your IKEA remote and pair again. The latest Tasmota version doesn't configure attribute reporting anymore which causes the battery drain. But you need to reset the remote first. |
No Zb command to stop the attribute reporting? A repair will change the 16 bit device identifier, this will also affect my other software. (No big problem though). |
Yes you could via a command but it's tricky. And I I'm not sure it will be effective. Try to use friendly names instead of 16 bits addresses. |
Can you please check if this is okay? I upgraded to today's dev version 9.2.0.3 Then a repair
The 16 bit address did not change. Now I should no longer have the battery icon near the device name on the main screen. Correct? |
Oh right sorry. I misread. I thought it was an ikea remote. I didn't know Philips had the same problem. I will add Philips to the list of non-attribute reporting |
OK, fine. Can I check somewhere when this has been implemented in a next dev version? |
Yes, when this got implemented, this issue will be automatically closed with the reference of the PR that implements it. Github will automatically send you a notification when someone writes in this issue or when this issue get closed. Then, after 1 hour, you can download the latest compiled firmware from http://ota.tasmota.com/tasmota/tasmota-zbbridge.bin.gz You can set that link directly from the Tasmota WebUI in the update firmware option (in OTAurl) and Tasmota can update directly from it. |
Thank you for the explanation. |
Thanks for the new dev version. |
I think this problem and the IKEA problem is coming from one bug in the NCP firmware. The last release of Zigbee EmberZNet SDK 6.7.8.0 GA 3 Fixed Issues 638989 Perhaps time requesting one updated firmware for the sonoff zigbee bridge from sonoff ? |
@MattWestb You're the best! This would explain the symptoms. Since the last change in Tasmota, I removed Attribute Reporting for IKEA remote, and verified with a Zigbee sniffer that the remote wouldn't send any packet for over 24 hours. This worked for weeks, and suddenly the remote battery was dead. I didn't have the Zigbee sniffer anymore unfortunately. Indeed a Zigbee protocol issue between EFR32 and IKEA ncp is a very high suspect in this behavior. Do you remember who we can ask for a Sonoff signed 6.7.8 ? |
Re-opening to track progress on this. |
The first request we was doing in the huge maint adventure thread but hedda was addressing the same user for the request of 6.8.x in #9316 (comment) The user is named in this issue and is normally fast responding one (time zone difference not included). Do you have the possibility making one "open / free" version for the user that have j-tagged / open sonoff bridge ? deCONZ is setting up the pull control for getting the problem solved (not verified if its working) but it can being one tyre and temporary work around until fixed firmware is in place. |
Do you have some more EFR32 modules that is working you can using them as zigbee sniffer and dont need flashing them only install the right software for piping the stream to wireshark. The Z2M guide is also working with EFR32 with one EZSP NCP firmware loded as on my IKEA Billy EZSP https://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html#with-husbzb-1-stick I knowing soundring is little to hard core for you but its the opposite for us that is coming from the hardware side and have problem getting simple software coding working at all ;-)) |
By the way, many user in ZHA and Z2M is having problem with that IKEA controlling devices is losing the network credentials after have draining the battery is also pinpointed to on Silabs bug but its in the device and cant being fixed on the coordinator side. The scenario is that the devices is running very low on battery and have problem writing / updating / erasing flash regions and the frame counters is being not OK saved in NVR and they is getting of sync and / or its corrupting in the NVR storage in the flash and the devices is deleting the NVR on restart then its not valid (Its fixed in 6.6.7.x but its in the zigbee stack in the end devices). I have confirming it is also happening on IKEA GW with one of my E1743 (of 7 in production) then it have running out of battery. Only for information if you getting user losing there IKEA controllers on complete battery draining. |
I don't know how to compile myself 6.7.8.0 for ZBBridge and would spend too much time... I do have 2 ZBbridge devices, one erased via SWD and accepting unsigned EZSP firmware, and one with the Sonoff bootloader requiring the signed firmware. I can test both. |
I think @grobasoz was doing your well working firmware and hi was doing the working one for the Billy. For the factory firmware ping the user and kindly asking for one update / bug fix. I setting my money on Gary is the faster one (down under ones) :-))) I putting one request on garrys git later for one update of My Billy EZSP. |
A very good morning Stephan. Gary have for the moment not testing it on tasmota but its running OK on the same EFR32 chip and hi have doing one 6.9.2.0 if you like testing it but i think its dont have the fixe for the NCP not setting up pull control. S37 and hex is also made if needed. And grating from down under that dont have our snow problems for the moment. |
Cloned the repro so you can copy what you like / need :-)) |
I see Gary have also making one new bootloader for sonoff but i dont knowing if its helping. By the way if you is flashing the "open" bridge with the new firmware then you can using the "secure" one with USB serial for wireshark sniffing !! Edit: False alarm its not updated :-) |
My IKEA Billy EZSP is up and running on the fixed firmware :-))
But for the moment with ZHA. |
I flashed successfully this firmware on my unlocked Sonoff ZBBridge. For some reason the firmware upload from Tasmota failed to update it, so I did a remote XMODEM transfer. I worked fine. I used the Any news of a Sonoff signed firmware?
|
when is the next release expected? current stabile version of firmware drains batteries for all connected devices, particularly for sensors and ikea fyrtur blinds. |
Im curious what version is on your Zigbee module ? Thanks in advance. |
Are you using ZHA ? If so it's not under control of Tasmota and you are on the wrong site to report issues. |
The ZHA issue home-assistant/core#43969 And upgrading the Zigbee module to EZSP 6.7.9.0. |
I use ZHA, tnx for the link. |
Its released https://github.com/arendst/Tasmota/tree/development/tools/fw_TubeZigbee_efr32 |
@s-hadinger or some other tasmota devs that have one hacked sonoff ZBB or USB-stick and like testing forcing end device to routers for not getting fast battery draining i have cooked one unsigned EZSP 6.7.9.0 with the patch that the factory is recommending plus direct children stetted to 0. That is making the coordinator not accepting any children and they must using routers (so you is needing at least on router in the network). I have not testing it then i dont have and ZBB but i have running one similar firmware on one LIDL / tuya LED stripe drive with the same chip for 3 weeks and its working OK Its only working on "hacked" Sonoff ZBB or the new USB-Stick then its not signed from the factory !! |
The solution works only on erased zbbridges so not easy to use for regular users |
Yes but if its working its possible requesting one signed firmware with the same patching. |
@MattWestb @s-hadinger Please confirm which parameter configuration is incorrect and there is a problem. I can reissue the signed factory firmware for you, and you can also provide the ISC file for me to rebuild the firmware. |
Thanks for your attention @xsp1989 !! Its one try forcing end end device using routers instead off the coordinator by setting: I have trying setting the same parameter with command line parameter in ZHA/Zigpy/bellows but its looks that the stack is not changing it and using the parameters in the firmware. Give the firmware one ending with "NC" or somthing so users easy can reconciling it easy. As i was saying its one test and its not verified to working for users with the fast battery draining (48 Hours) that some user is still having but all that is possible is worth trying that can helping / solving the problems for our unhappy users. Thanks in advance. Mattias |
Isn't this parameter MAX_END_DEVICE_CHILDREN ? If so it is set at startup by Tasmota and wouldn't require a specific firmware |
I have trying setting it to 0 in ZHA / Zigpy / bellows with CLI commands and the NSP is saying OK and then i reading it back its still 32 (its the default in my NCP firmware) and i can joining end devices to the coordinator. Some of the setting in the NCP can being changed with host commands other is more hard coded but its not documented by Silabs. Can you setting it to 0 (or 1 if you like trying more devices) and trying (re)adding one or 2 end device to the coordinator and see if its working (refusing end devices on the coordinator but OK on routers) ?? Mvh Mattias |
I will not be able to test before next week. If someone wants, it is set here
|
@xsp1989 Do you have possibility testing if the parameter is working without being set in the firmware ? In ZHA is made with the config:
I have trying one time but i was still able paring end devices to the coordinator and also the NCP was reporting the valiue from the firmware after it have being sett with commands from the host. And also if you can trying doing the same with one firmware with Thanks in advance Mattias |
I can set CONFIG_MAX_END_DEVICE_CHILDREN to 0 in the firmware, but I think this is not a good idea. If the user does not have a routing device, he cannot add any End device |
Im very ware of that but then the user can using the normal 6.7.9.0 firmware and using only end devices and perhaps having the problems. For user with some or meany routers i think i can helping then end devices dont have one complete zigbee stack, only one striped one (in Silans is leafe stack) that cant handle all problems so well as on full zigbee stack. |
Wanted to leave a comment that upgrading my Sonoff bridge to the following versions seems to have fixed the battery drain issue on my Ikea remotes. Earlier, they were draining within a day but with the new firmware, they are holding up after 3 days: ncp-uart-nsw_6.7.9_115200.ota |
Thanks for reporting |
Thanks. If the issue reappears, please open a new one. Thanks |
@MattWestb @xsp1989 No need for a specific firmware. |
Great if its working. Have you testing if its working in real if having one or more routers and SED is not connecting to the coordinator ? |
Yes I tried, with no router, the end-device does not pair. It does pair with one router. PR is coming. |
Great then its possible for user trying forcing SED using router then its possible and hopefully not getting problems with very fast battery draining. |
I was doing little more testing in ZHA and its working setting the child to zero in the config (if doing it in the right place ;-) ) so no need for one separate firmware !!! Its only one thing that is the same if setting in firmware or in config is that its not possible adding devices if not having one router already pared with the coordinator (must being one bug in EZSP). I have putting it on my test network with many IKEA controllers and all was mowing to routers after restarting ZHA and waking the controller so it reconnecting to the mesh so its looks working OK only is if its helping the very fast (48 hours) battery draining problem or not. |
I was looking thru EZSP 6.10.0.0 and have finding some interesting fixes not in the 6.10.0.0 but in the SDK:
The 2 first is not so likely being one problem then i think the NCP is not using sleep mode. Do you like / can cooking one firmware for testing or shall i doing one or you ?? I have running one LIDL LED stripe controller (with the same MG21 chip) with direct children = 0 for over one month and its looks working OK and all test end devices is using routers and cant using the coordinator. |
Cooked and uploaded six ten with Tube0013 setting plus GP, NVM3, Max TC Link keys and so on. Feel free testing it i dont giving any grantees and have not testing it (only the LIDL version). Not implanted LED and button for the Zigbee stick then its not the target (ZBB is) but shall working OK on it 2. https://github.com/MattWestb/EFR32-FW/tree/main/Soff_EZSP Edit: Its untested and i was having problem cooking one FW for tuya ZBGW that was compiling OK but not working and the same setting for IKEA Billy was working and after doing one new project in SS 5 it was start to working (new bugs in SS 5 with the updated tool changes) so no garantee that is working. |
PROBLEM DESCRIPTION
The battery percentage of my Philips Hue dimmer switch is running down quite rapidly since I paired it with the (Tasmota) ZbBridge.
It decreases some percents per day while the switch is used sparingly
Is the ZbBridge requesting this device very often?
Can I do something to prevent lots of communication?
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:weblog
to 4 and then, when you experience your issue, provide the output of the Console log:TO REPRODUCE
Steps to reproduce the behavior:
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: