tavi Posted June 1 Share Posted June 1 There are places with fluctuating power, sometimes with frequent glitches. This is not healthy for compressor appliances, like refrigerators. A very handy feature would be a delayed start function, ofc defaulting to 0s as factory setting. When auto start is set to on, to have a numeric field where the user can add the desired delay. Quote Link to comment Share on other sites More sharing options...
Heinz Posted June 3 Share Posted June 3 Could be a good feature I will move this to feature request section Quote Link to comment Share on other sites More sharing options...
QA members Ronni nielsen Posted September 6 QA members Share Posted September 6 On 6/1/2024 at 6:15 AM, tavi said: There are places with fluctuating power, sometimes with frequent glitches. This is not healthy for compressor appliances, like refrigerators. A very handy feature would be a delayed start function, ofc defaulting to 0s as factory setting. When auto start is set to on, to have a numeric field where the user can add the desired delay. It can be done with this script // Script: Delayed Relay Activation // Delay in milliseconds (20000ms = 20 seconds) let delay_time = 2000; // Function to activate the relay after the delay function activate_relay() { Shelly.call("Switch.Set", { id: 0, on: true }); } // Set a timer that calls the activate_relay function after delay_time Timer.set(delay_time, false, function(){ activate_relay(); }); // Initialize the script at startup Shelly.call("Switch.Set", { id: 0, on: false }); // Ensures that the relay is off at startup Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.