Skip to content
View in the app

A better way to browse. Learn more.

Power Forum - Renewable Energy Discussion

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Home Assistant automations using GUI / visual editor

Featured Replies

Hi

So I managed to get my Synsynk inverter connected to Home Assistant and can read all the sensors (grid power, load power, battery SOC, etc, etc. I'm new to Home Assistant and my programming skills (which are basic in the first place - used some Fortran/Pascal 20 y back :) ) are rusted. I would like to get the basics running and then later on when I have some time dust off the programmings skills and start using the YMAL scripts to fine tune my automations and other setups.

So for now I'm looking at using the built in Automations Visual Editor. First on my list is to switch off certain devices when load shedding kicks in to prevent the Inverter tripping on overload. Kettle is first on the list. So I created an automation that switches off kettle (using sonoff switch) when inverter load is above 3000 W, and with the condition that it checks if the Grid is on or off. So when the Inverter load is above 3000W and grid power is available, it will not switch off kettle and if the Inverter load is above 3000W and the grid power is down, it switches off the kettle. I tested this and it is all good. 

But how do I now switch the kettle back on if grid power comes on. Can this be done in the same automation, or must I create a new one. And if I create new automation to switch kettle back on, how does the 2 automations work together.? 

Sorry if this is a trivial answer. Thanks!

1 hour ago, Leonb said:

Hi

So I managed to get my Synsynk inverter connected to Home Assistant and can read all the sensors (grid power, load power, battery SOC, etc, etc. I'm new to Home Assistant and my programming skills (which are basic in the first place - used some Fortran/Pascal 20 y back :) ) are rusted. I would like to get the basics running and then later on when I have some time dust off the programmings skills and start using the YMAL scripts to fine tune my automations and other setups.

So for now I'm looking at using the built in Automations Visual Editor. First on my list is to switch off certain devices when load shedding kicks in to prevent the Inverter tripping on overload. Kettle is first on the list. So I created an automation that switches off kettle (using sonoff switch) when inverter load is above 3000 W, and with the condition that it checks if the Grid is on or off. So when the Inverter load is above 3000W and grid power is available, it will not switch off kettle and if the Inverter load is above 3000W and the grid power is down, it switches off the kettle. I tested this and it is all good. 

But how do I now switch the kettle back on if grid power comes on. Can this be done in the same automation, or must I create a new one. And if I create new automation to switch kettle back on, how does the 2 automations work together.? 

Sorry if this is a trivial answer. Thanks!

You could nest another condition in the same automation that checks for the grid returning then turns on the kettle. Something like an if-then-else or while condition

On 2022/11/25 at 4:10 PM, Leonb said:

But how do I now switch the kettle back on if grid power comes on. Can this be done in the same automation, or must I create a new one. And if I create new automation to switch kettle back on, how does the 2 automations work together.? 

Only need one automation, use trigger id for each state and act accordingly

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.