Beiträge von Pietro Rossin
-
-
Hello @De kat
I'll like to integrate my shelly into Home Assistant and control from there
My aim is to turn on the VMC when humidity is above a given value and increase speed when humidity rise up well above that value.
I'm just beginning with home automation and I'm not a coder, so please be patient.
I'll try your code today.
In the meantime I found I can control my shelly with DD Urls and Home assistant has rest commands.
But I prefere to create a script directly on the shelly so the same behavior is both on Home Assistant and Shelly App if needed.
Thanks!
P.S. I just tried it and doesn't work.
If I use shelly app and click on the two swithes they behave as if no flip is applied. They just turn on/off independently
-
Hello
I just bought a Shelly 2 PM with the purpose to control a fan speed that has two levels.
The cover function of the 2PM seemed promising to me because of the "OR" logic of the two switches...
But then I found that the movement in each direction has a time limit of 300 seconds.
My fan must be on for ours..
I found a solution here
BeitragRE: Pro 4PM script - if one switch is on, the other must be off
this is a quick'n dirty solution, but as said: there's probably a few milliseconds delay.
Explaination:
if switch:0 is turned on switch:1 (id: 1) is turned off
if switch:1 is turned on switch:0 (id 0) is turned off
It's still possible to turn off both relays
If you prefer to use the remaining switch 3/4 from the Pro4PM just replace the switch:x and "id": y
(Quelltext, 12 Zeilen)
Seven of Nine10. August 2022 um 16:12 but the switching between swithces has little lag so two switches are on for a brief time, I fear this could blow my VMC..
Is there any hope in some next firmware upgrades to set time limit optional for cover function?
Thanks
-
Hello everybody
I just purchased a Shelly 2 PM and I upgraded the firmware to the latest stable.
I want to control a fan (VMC - controlled mechanical ventilation) that has 2 speed.
The above script from Seven of Nine works fine except for a tiny delay when "switching between switches" so for a bit of time both are on.
Is there some way to add a little stop to allow the switch that is on to be completely off?
I bought this shelly hoping that the cover funcion will do it, but cover movement have a time limit max set to 300 seconds..
I did't find a way to avoid this limit except this code you wrote.
Thanks!