billerby / huawei-solar-ha-nodered Goto Github PK
View Code? Open in Web Editor NEWDescription of my automation
Description of my automation
Since we update the schedule every day, its only more error prone to keep the "old periods". But we need to keep the current day in order to not change ongoing operations.
Should look at the acutal prices and only prioritize home battery charge when really high prices day time (> 2 SEK or something?) (also the night price need to be significally lower)
The script fetches the new tomorrow's prices from Nordpool @ 13:05 on day 1.
With the current setup it runs the code and write the schedule for day 2 to the battery at around 13;30-14:00 depending on when the new prices were becoming available.
The issue is tha the TOU schedule for day 1 only ends at 23:59 on day 1 - several hours after the script attempts to write the day 2 schedule.
This creates a conflict.
The script should not write the day 2 schedule until end of day 1 - i.e. around 23:59 of day 1
Looking forward to hear you comments
Add error handling, and retry logic
"TOU period is invalid (start-time is greater than end-time)"
It's not worth discharging during hours without significant higher prices just because they belong to the 14 most expensive hours.
Instead calculate the average price and count how many hours that are x% more expensive than the average. Set those as input config to the ps-strategy-lowest-price
(Find highest prices)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.