core icon indicating copy to clipboard operation
core copied to clipboard

Shelly EM - reboot button unavailable

Open spanzetta opened this issue 1 year ago • 12 comments

The problem

Shelly Em reboot button .. that was always available.. now it's unavailable (maybe after it's recent Fw update?) Anyone else has the same?

What version of Home Assistant Core has the issue?

Home Assistant 2023.2.0 Supervisor 2023.01.1 Operating System 9.5 Frontend 20230201.0 - latest

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Shelly

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

spanzetta avatar May 14 '23 06:05 spanzetta

Hey there @balloob, @bieniu, @thecode, @chemelli74, @bdraco, mind taking a look at this issue as it has been labeled with an integration (shelly) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of shelly can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign shelly Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


shelly documentation shelly source (message by IssueLinks)

home-assistant[bot] avatar May 14 '23 19:05 home-assistant[bot]

Please download the diagnostics from the device card in Home Assistant and attach it in a comment.

thecode avatar May 14 '23 20:05 thecode

Hello,

I had the same issue with the newest firmware update from shelly (Plug S, 1PM). With update to 2023.5.3 the shellys work normal and the switches shows the correct status and work.@spanzetta: you should test it with the actual version of HA

Gregor568 avatar May 15 '23 05:05 Gregor568

Hello,

I had the same issue with the newest firmware update from shelly (Plug S, 1PM). With update to 2023.5.3 the shellys work normal and the switches shows the correct status and work.@spanzetta: you should test it with the actual version of HA

I already have 2023.5.3 and the reboot button (only that) is NOT available Screenshot_20230516_111932_Chrome Screenshot_20230516_111943_Chrome

spanzetta avatar May 16 '23 09:05 spanzetta

Anyone else has the same issue?

spanzetta avatar May 19 '23 04:05 spanzetta

from few days also the "Shelly Channel 2 Power factory" is unavailable.. What's wrong? Loosing those sensors without any apparent reason... Any clue?

spanzetta avatar May 31 '23 15:05 spanzetta

now "Shelly Channel 2 Power factory" came back.. But Reboot button is still unavailable.. Anyone can explain why it happens?

spanzetta avatar Jun 02 '23 07:06 spanzetta

Anyone can explain why it happens?

Without information from your system... nobody.

Add this to your configuration.yaml file:

logger:
  default: error
  logs:
    aioshelly: debug
    homeassistant.components.shelly: debug

restart HA, if the restart entity will be unavailable wait an hour and attach here log file. Additionally, please attach diagnostics file.

bieniu avatar Jun 02 '23 09:06 bieniu

Anyone can explain why it happens?

Without information from your system... nobody.

Add this to your configuration.yaml file:

logger:
  default: error
  logs:
    aioshelly: debug
    homeassistant.components.shelly: debug

restart HA, if the restart entity will be unavailable wait an hour and attach here log file. Additionally, please attach diagnostics file.

Thanks for the suggestions.. I will do it as soon as possible.

One question: when you say "attach here log file" "and diagnostic file" to which files are you exactly referring to? Can you pls specify both file names and positions? Thanks again

spanzetta avatar Jun 04 '23 16:06 spanzetta

log file

https://www.home-assistant.io/docs/configuration/troubleshooting/#disable-debug-logging-and-download-logs

diagnostic file

https://www.home-assistant.io/docs/configuration/troubleshooting/#download-diagnostics

bieniu avatar Jun 05 '23 14:06 bieniu

very clear (many thanks)! Will do it now

spanzetta avatar Jun 05 '23 15:06 spanzetta

here you go.. see attached logs and diagnostic..

Currently, only Reboot button is not available.. As you know in the past it was always available.. The other sensor (Shelly Channel 2 Power factory) only sometimes became unavailable.. and then it comes back without doing anything. Pls let me know your findings Thanks

config_entry-shelly-8d15709564bf05b0377a7b44699156d1.json.txt home-assistant_shelly_2023-06-05T16-12-17.319Z.log

spanzetta avatar Jun 05 '23 16:06 spanzetta

Can you add a picture from the device card in Home Assistant: image I have seen something which may cause a new entity to be created. Thanks

thecode avatar Jun 05 '23 21:06 thecode

See below.. In this moment, again, also the Channel 2 Power Factor is unavailable.. Sometimes it comes back without doing anything

image

spanzetta avatar Jun 06 '23 08:06 spanzetta

For the power factor there is a known issue (https://github.com/home-assistant/core/issues/93731), we are working on it. Please do not mix it with the reboot issue. For the reboot, the device name was probably renamed, so a new reboot button is created (the one above the missing one). You can delete the missing one. I will add logic to prevent this in the future when a device is renamed.

thecode avatar Jun 06 '23 08:06 thecode

all clear now.. thanks (I didn't think about renaming)

spanzetta avatar Jun 06 '23 10:06 spanzetta