question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DW2 missing battery state and TH16R2 bug

See original GitHub issue

What 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:closed
  • Created 3 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
bwp91commented, Jan 24, 2021

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

0reactions
bwp91commented, Jan 26, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found