Shellies Discovery Script

Where did you find the information that Shellies Discovery should be added to the HACS as a custom repository?

ehm :smiley: I thougt its the way how to activate it. Because I didn’t find it with the search in HACS

so this isn’t the right way? Where should I find the Shellies Discovery Module? I can’t find it in the integration in HACS :frowning:

Because it is not an integration, it’s python_script (automations tab in HACS). Please read open post.


I checked the open post, but didn’t find information that it should be under Automation. And I don’t find it under Automation either :frowning:
Whats wrong here? :frowning:

1 Like

Hi,

I have integrated 3 Shellies with this script and for 1 of them (Shelly 1) info about device temperature and overtemperature binary_sensor are not available in HA interface. Other two (2.5 and 1L) are working fine.

Any clues why that is?

Thanks! Cheers

Shelly 1 doesn’t have a temperature sensor.

Hi @Bieniu, that’s a perfectly good reason! :grin:
My bad, I thought I saw it in http://myshelly1ip/status, but I most certainly was connected to the wrong one, maybe to my 1L.

Thanks for your quick reply, though. Cheers

1 Like

Hey @Bieniu your Script is great and works very well for me (I have 60 Shellies running in total).

Is it also possible, to see firmware updates and trigger them via HASS?

image

Thanks in advance

Thanks! There is firmware update sensor

Yea, thanks. But I cant trigger the update via HASS?

At the moment you can send update command to the device via MQTT.

Hey I am trying to get my Shelly 1L working in detached mode via MQTT: The script worked and have the entities in HA. However when I manually flip the wall switch i do not see any of the binary sensors changing. Anyone have any insights?

The goal is to have the relay constantly on powering Hue lights. When the wall switch is flipped I will trigger scenes in HA based on the time of the day.

If you willing to consider letting it auto update, you can create automations that automatically update it for you when it is ready,

See: Shelly firmware updates - #11 by peteretep

binary_sensor.shelly_1l_xyz_input_0 or binary_sensor.shelly_1l_xyz_input_1 will change state whan you use switch in detached mode.

It’s not possible to create an automation via MQTT Discovery.

First, let me thank you for your amazing mqtt discovery script. It works amazing.

I think you need to double check the link I posted. That works with mqtt messages posted by the shellies. It works very nicely alongside your discovery script.

Thanks for your kind words.

I’ve read this thread before. They create an automation there that runs the rest command. Where’s MQTT here? I don’t understand what your suggestion is.

The automation is triggered when a mqtt message is received that an update is available which then use the rest command to do the update as you pointed out.