AlexxIT / SonoffLAN

Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant
https://github.com/AlexxIT/Blog
MIT License
2.74k stars 416 forks source link

Live power and thermometer reading stop updating requiring daily HA restart #1117

Open bashers222 opened 1 year ago

bashers222 commented 1 year ago

sonoff v 3.31 HA version, Home Assistant 2022.11.5 Frontend 20221108.0 - latest

Every day the readings from sonoff devices with live power and thermometer, SONOFF SNZB-02 and POWR2 cease to update. I'm not seeing any log entries to reflect this issue, but in my ewelink app all is well.

These are the config entries;

 force_update: [temperature, power]
  mode: cloud
  reload: always  # update device list every time HA starts
  scan_interval: 60 #(optional, lower values than 60 won't work anymore!)
  grace_period: 600 #(optional)
  api_region: 'eu' #(optional)
  sensors: [temperature, power]
  entity_prefix: False #(optional)
  debug: True #(optional)

What can i do to enhance the logging so i can see whats causing this disconnect?

image config_entry-sonoff-14f3267bbf9abd59911fa2e3fed3f856.json.txt

cagarrinho commented 1 year ago

Same issue here...

okovjogurtu commented 1 year ago

same here, sockets marks as on, but is off

Petramuzammel88 commented 1 year ago

Same here

AlexxIT commented 1 year ago

@bashers222 you need to collect debug logs. Looks like you using cloud mode. Maybe it is cloud connection issue.