Coder Social home page Coder Social logo

Comments (9)

ckvsoft avatar ckvsoft commented on June 29, 2024 2

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.

ckvsoft avatar ckvsoft commented on June 29, 2024

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.

christian1980nrw avatar christian1980nrw commented on June 29, 2024

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.

christian1980nrw avatar christian1980nrw commented on June 29, 2024

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.

christian1980nrw avatar christian1980nrw commented on June 29, 2024

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.

ckvsoft avatar ckvsoft commented on June 29, 2024

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.

ckvsoft avatar ckvsoft commented on June 29, 2024

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.

christian1980nrw avatar christian1980nrw commented on June 29, 2024

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.

ckvsoft avatar ckvsoft commented on June 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.