StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
621 stars 111 forks source link

[BUG] Shelly 3EM loses connection, every few Minutes #480

Closed lebherz closed 3 years ago

lebherz commented 3 years ago

Environment

Describe the bug

I think since HA 0.118 I have interruptions/dropps at all shelly 3EM sensors. see pics below.

So I am not sure if this great Plugin have the problem

Steps to Reproduce

all other Sensors are online and shows

Expected behavior

Screenshots

grafik Sometime.... ok... grafik a view Minutes later: grafik

Traceback/Error logs

no Error in Log

Additional context

stevearmitage commented 3 years ago

Can you access the device using a browser? I have been having intermittent issues with devices going offline and not available directly or ShellyForHASS. Shelly asked me to set static IP's in the devices rather than DHCP. I'm sill waiting, but the devices have been 100% available for the last 2 days....

lebherz commented 3 years ago

Hi @stevearmitage

Can you access the device using a browser?

yes I can:

grafik

I have been having intermittent issues with devices going offline and not available directly or ShellyForHASS. Shelly asked me to set static IP's in the devices rather than DHCP. I'm sill waiting, but the devices have been 100% available for the last 2 days....

My Shelly 3EM has a static IP. but I saw.. that today a new shelly-Firmware arrived.. I will have a look, if this solves the problem and will report it here :

Current version: 20200813-140420/v1.8.1@1b2a49be New version: 20201124-092854/v1.9.0@57ac

[Edit] also with the new Firmware for my shelly 3EM the error "Unavailability" in HA is there :-(

lebherz commented 3 years ago

Another interesting observation: the entities : sensor.shelly_shem_3_xxxx_1_current sensor.shelly_shem_3_xxxx_2_current sensor.shelly_shem_3_xxxx_3_current shows all the time, without interruption values: grafik

here phase1 
shelly_type: Shelly 3EM
shelly_id: xxx
ip_address: 192.168.x.y
voltage: 236 V
power_factor: 0.4
total_consumption: 308.19 kWh
total_returned: 0.0 kWh
unit_of_measurement: W
friendly_name: Shelly 3EM - xxx-1
icon: mdi:flash-outline

so maybe I can use this value? But why values here an not in the Entity-Values: grafik

lebherz commented 3 years ago

Thanks a lot! Your the best 👍 🥇