DW2 missing battery state and TH16R2 bug
See original GitHub issueWhat issue do you have? Please be as thorough and explicit as possible.
SONOFF DW2 - sensors battery status 0
SONOFF TH16R2 - If I toggle on the automatic mode in ewelink app, Homebridge change device switch state On, if I toggle Off the automatic mode in ewelink app, Homebridge change device switch state Off. Please separate the switch state and the automatic mode state.
Details of your setup.
-
Do you use (1) Homebridge (+ config-ui), (2) Homebridge (CLI) or (3) HOOBS? 1
-
Which version of Homebridge/HOOBS do you have?
homebridge-config-ui-x v4.36.0
- Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.
Raspberry
- Which version of this plugin (homebridge-ewelink) do you have? Has the issue started since upgrading from a previous version?
homebridge-ewelink v4.4.4
- Which eWeLink devices do you have that are causing issues? Please include product models if applicable.
SONOFF DW2
SONOFF TH16R2
Please paste any relevant logs below.
[2021. 01. 24. 11:19:20] [eWeLink] [Kapu nyitás] current battery [undefined%]. [2021. 01. 24. 11:19:45] [eWeLink] [Bejárati ajtó nyitás] current battery [undefined%].
![sonoffdw2](https://user-images.githubusercontent.com/10674642/105628026-a2f4d300-5e3a-11eb-9b05-32d3132b9ce1.png)
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
Door sensor DW2 has no battery level · Issue #808 - GitHub
The DW2 door sensor used to have a battery level in Volts. This seems to have disappeared. I converted it to % level...
Read more >Sonoff DW2 no longer shows battery status - Configuration
Hi there. For a long time, I've been using a custom card to show the battery state of my devices… after I updated...
Read more >Ewelink / Sonoff Binding - New binding without flashing
But if I press the button on the TH16R2, and refresh page on Openhab, it shows that both switch and mainswitch change state...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @LZee
I’m gonna take these issues one at a time, first the DW2 battery problem as this was hopefully an easy fix.
Could you update the plugin to a beta version v4.4.5-0 to check it has been fixed?
Once verified it’s working I’ll look into the TH16R2 for both you and @StuFull
Gonna close this issue again, and keep the conversation about the TH device as a full thermostat in this issue: https://github.com/bwp91/homebridge-ewelink/issues/161 Thanks