-
Notifications
You must be signed in to change notification settings - Fork 3
Example flow
Johan Enell edited this page Dec 2, 2023
·
1 revision
An example flow to calculate and set a battery Time-of-Use schedule
- Set your Tibber home id in the "Set tibber payload" node
- Set you Huawei Solar device id in the "Set ToU period" node
- Fetch price information for current and next day
- Modify payload to specify import and export price and add the current battery SoC
- Run the schedule calculator based on a 5 kWh battery
- Convert the result to a ToU pattern that Huawei batteries excepts
- Call the set_tou_periods service from Huawei Solar
Open Tibber API Explorer and execute this query
{viewer {homes {id}}}
- Go to Developer Tools-> Services
- Find "Huawei Solar: Set TOU Periods"
- Choose you battery in the drop-down
- Switch to yaml and you will see the id