I am using a Shelly 1 Plus to control 4 LED panels. The high inrush on the LED drivers is causing the shelly to crash/reboot everytime they are turned on, so I am planning to use an inrush current limiter in series with the panels to avoid this issue.
The next problem is that the inrush limiter needs to have a cool-down of 30s after turning off before it can protect the next power on. Can anyone think of a way of stopping the Shelly turning the relay on inside this 30s window? I was hoping to use either Shelly script, or possibly a scene rather than doing this within home assistant, as using HA may add a delay, especially as I would have to put the light switch into detached mode.
The only place common tro alll three of those methods for the light turning on would be the Shelly so the only place to do this would be within the Shelly itself. To see how (or if) it would be done I would check the Shelly forums and if there is nothing there then I would contact their support…?
It can be done on HA level; for this it would be necessary to configure physical switch on Shelly as Button Type - detached and use as one of possible triggers in HA automation. Then probably if any of sources you listed is turning off the light, it should also trigger the timer, that until finished does not allow for switching the light on agaiin.
The other question is how often such situation might happen and what would be frequency? I also use this type of current limiter on several 1L devices, but have no protection. It never happened to me to fail, despite several times turning on the light just after it was switched off. In fact few times it happened that I run into ‘race condition’ between motion sensor, my wife and myself trying to turn on the light and cancelling each other action, but again it never failed (i think in practice it might be more dangerous to relay in 1L module). Perhaps if it would be something like turning it on/off few times in the row in intervals of few seconds that would be really dangerous?
Using Shelly scripting would be the most reliable way, unless impossible. Unfortunately, I have no experience with this feature at all so I don’t know if it is effectively possible to achieve.
Relying on HA doesn’t protect against using a physical switch.
Decoupling the physical switch from the Shelly relay is imo a bad idea - in case HA is down you lose the ability to control lights with the physical switch.
@mirekmal I think you are not taking into account the fact that the light can be switched on outside of HA’s control by Google Home - that is why I am saying the logic should be local to the light itself within the Shelly Relay… or the switch - @AtomBrake are you saying that you only wanted the light switch to be set as detached in the shelly for the 30 seconds after the light was last turned on to stop people from turning it back on too soon?
Oh, forgot about Google… not using it myself, only for TTS on mini (beside Assistant on mobile phones google devices do not listen to Polish). So I’m not sure about google integration, could it be configured to interact with HA directly rather than to talk stright to devices?