Comments (9)
Falls Du auf Windows unterwegs bist, dann einfach wsl --install -d Debian und in wenigen Minuten hast Du eine shell.
Gruß! Christian
;-) Nein, ich hab seit 20 Jahre kein Windows mehr
from spotmarket-switcher.
Mit
awk '/^[0-9]+(\.[0-9]+)?$/ && $1 > max { max = $1 } END { print max }' /tmp/awattar_prices_sorted.txt
Kann man ja mal schauen was raus kommt und ob das auch der höchste Preis ist
from spotmarket-switcher.
Hi Christian,
also bei mir funktionierts, habe mal testweise auf aWATTar umgestellt. Nutze eine Version vom Spotmarket-Switcher von gestern (schon mit getrennter config.txt).
AWK Version folgt.
root@raspberrypi4:/data/etc/Spotmarket-Switcher# ./controller.sh
I: aWATTar today-data is outdated, fetching new data.
I: Please be patient. First we wait 17 seconds in case the system clock is not s yncronized and not to overload the API.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2946 100 2946 0 0 10751 0 --:--:-- --:--:-- --:--:-- 10751
I: Please verify correct system time and timezone:
Tue Oct 17 18:18:23 CEST 2023
Current price is 16.59200 Cent/kWh net.
Lowest price will be 9.84000 Cent/kWh net.
The average price will be 13.0124 Cent/kWh net.
Highest price will be 19.10800 Cent/kWh net.
Second lowest price will be 10.00800 Cent/kWh net.
Third lowest price will be 10.44200 Cent/kWh net.
Fourth lowest price will be 10.55000 Cent/kWh net.
Fifth lowest price will be 10.79500 Cent/kWh net.
Sixth lowest price will be 10.83800 Cent/kWh net.
Victron scheduled charging is OFF. Battery SOC is at 98 %. Charging was not executed.
Turning OFF Fritz sockets.
from spotmarket-switcher.
Hier nochmal mit aWATTar Österreich Preisen:
root@raspberrypi4:/data/etc/Spotmarket-Switcher# ./controller.sh
I: Fetching today-data data from aWATTar.
I: Please be patient. First we wait 13 seconds in case the system clock is not syncronized and not to overload the API.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2950 100 2950 0 0 9076 0 --:--:-- --:--:-- --:--:-- 9049
I: Please verify correct system time and timezone:
Tue Oct 17 18:23:15 CEST 2023
Current price is 18.11900 Cent/kWh net.
Lowest price will be 10.40900 Cent/kWh net.
The average price will be 13.7373 Cent/kWh net.
Highest price will be 18.91300 Cent/kWh net.
Second lowest price will be 10.64200 Cent/kWh net.
Third lowest price will be 10.83600 Cent/kWh net.
Fourth lowest price will be 11.08400 Cent/kWh net.
Fifth lowest price will be 11.09300 Cent/kWh net.
Sixth lowest price will be 11.40400 Cent/kWh net.
Victron scheduled charging is OFF. Battery SOC is at 98 %. Charging was not executed.
Turning OFF Fritz sockets.
from spotmarket-switcher.
Habe grad keinen Weg gefunden die Version anzuzeigen. Habe alle möglichen Parameter ausprobiert.
/usr/bin/awk
BusyBox v1.31.1 (2023-04-07 05:59:43 UTC) multi-call binary.
from spotmarket-switcher.
Hier nochmal mit aWATTar Österreich Preisen:
root@raspberrypi4:/data/etc/Spotmarket-Switcher# ./controller.sh I: Fetching today-data data from aWATTar. I: Please be patient. First we wait 13 seconds in case the system clock is not syncronized and not to overload the API. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2950 100 2950 0 0 9076 0 --:--:-- --:--:-- --:--:-- 9049 I: Please verify correct system time and timezone: Tue Oct 17 18:23:15 CEST 2023
Current price is 18.11900 Cent/kWh net. Lowest price will be 10.40900 Cent/kWh net. The average price will be 13.7373 Cent/kWh net. Highest price will be 18.91300 Cent/kWh net. Second lowest price will be 10.64200 Cent/kWh net. Third lowest price will be 10.83600 Cent/kWh net. Fourth lowest price will be 11.08400 Cent/kWh net. Fifth lowest price will be 11.09300 Cent/kWh net. Sixth lowest price will be 11.40400 Cent/kWh net. Victron scheduled charging is OFF. Battery SOC is at 98 %. Charging was not executed. Turning OFF Fritz sockets.
Interessant
Current price is 18.11900 Cent/kWh net.
Lowest price will be 6.40000 Cent/kWh net.
The average price will be 11,8542 Cent/kWh net.
Highest price will be 9.80700 Cent/kWh net.
Second lowest price will be 7.00900 Cent/kWh net.
Third lowest price will be 7.29000 Cent/kWh net.
Fourth lowest price will be 7.69200 Cent/kWh net.
Fifth lowest price will be 8.22400 Cent/kWh net.
Sixth lowest price will be 9.19500 Cent/kWh net.
from spotmarket-switcher.
Habe grad keinen Weg gefunden die Version anzuzeigen. Habe alle möglichen Parameter ausprobiert. /usr/bin/awk BusyBox v1.31.1 (2023-04-07 05:59:43 UTC) multi-call binary.
Ja das ist bei den awk varianten sehr unterschiedlich. Bei mir ist es awk -W version ;-)
Ich check das auf einen anderen System. Hab hier Ubuntu. Wie gesagt auf den Raspberry mit venusos hab ich erst wieder in zwei tagen zugriff.
from spotmarket-switcher.
Falls Du auf Windows unterwegs bist, dann einfach wsl --install -d Debian und in wenigen Minuten hast Du eine shell.
Gruß!
Christian
from spotmarket-switcher.
Hat sich glaub ich erledigt. Den Effekt hab ich nur mit den awk von Ubuntu.
Debian, Manjaro und VenusOS funktionieren
from spotmarket-switcher.
Related Issues (20)
- discussion of logic regarding feed-in (export) tariff pre-charging and further development HOT 78
- Charging / switching is not stopped if the price file cannot be downloaded HOT 1
- lowest_second_third_fourth_fifth_sixth should be replaced by loops HOT 1
- dev-branch: Script will fail if Entso-E has an API Error HOT 7
- main.yml should start the installer of the current branch HOT 11
- Behavior of reserving capacity when the sun is shining should be improved HOT 7
- Download-delays should only be executed at full hours
- Switchable sockets maybe will not be turned on at lowest prices HOT 2
- ESS should be turned off while switching HOT 1
- start stop locic HOT 7
- Switchable sockets should be turned on if SOC is too high
- Config-Matrix should be extended for multiple Switchable-Socket-Profiles
- Victron ESS Batterylife on, oder without Batterylife HOT 4
- Questions about config.txt HOT 4
- CMDOUT (/data/etc/Spotmarket-Switcher/controller.sh: eval: line 1242: syntax error near unexpected token `(') HOT 3
- start_price is not working with switching (only charging) HOT 2
- Prices of the past should be forgotten if second day is activated HOT 2
- Feature Request: Custom API for energy consumer devices HOT 1
- Victron ESS #7 limit inverter power blocks system during sunny days HOT 8
- command not found HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotmarket-switcher.