Node Red integration #120
-
Hello! I've been trying for hours now to trigger another ems mode via Node red. I've tried sending variables "Forced Charging", used numbers for their values without any result My goal is start selling the battery energy when price is high and buy when its low. I've solved the schedule already for price and time but i can't figure out how to set the state for EMS and set battery in discharge forced. If anyone have a template flow or any suggestions i'd be very thankful, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You have to change the two input_select helpers. They must be set to the correct value as defined in helper configuration. Maybe you try it using the three helpers in Home Assistant. And after you have found the correct values you could add the same logic to Node Red. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply Dylan09. I watched some videos online on other subjects and found a work around. use a normal inject and add a call service. Domain: input_select the list is from automationscript in the yaml snipped below:
the 3 options Hopefully this may help someone else with this in the future. |
Beta Was this translation helpful? Give feedback.
Thanks for your reply Dylan09.
I watched some videos online on other subjects and found a work around.
For anyone trying to do the same thing this was my approach Stop / discharge/ charge since it's 3 options from the automation.
use a normal inject and add a call service.
Domain: input_select
Service: select_option (if there is only 2 values to choose from you can use first or last)
Entity: "Battery forced charge discharge cmd"
Data: {"option":"Forced discharge"} (here is how i choose an option from the list)
the list is from automationscript in the yaml snipped below: