NEWS
Jarvis 3.1.8 - zukünftige Strompreise - Skalierung, Farben
-
Zeile 56:
let tblLevel = levelObject(tibberLink[0]);Daten sind zu viele um diese zu einzufügen
[{"total":0.1331,"energy":0,"tax":0.1331,"startsAt":"2023-12-26T00:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1331,"energy":0,"tax":0.1331,"startsAt":"2023-12-26T01:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.133,"energy":-0.0001,"tax":0.1331,"startsAt":"2023-12-26T02:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.13,"energy":-0.0027,"tax":0.1327,"startsAt":"2023-12-26T03:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1287,"energy":-0.0037,"tax":0.1324,"startsAt":"2023-12-26T04:00:00.000+01:00","currency":"EUR","level":"CHEAP"},{"total":0.1309,"energy":-0.0018,"tax":0.1327,"startsAt":"2023-12-26T05:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1315,"energy":-0.0013,"tax":0.1328,"startsAt":"2023-12-26T06:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.132,"energy":-0.0009,"tax":0.1329,"startsAt":"2023-12-26T07:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1319,"energy":-0.001,"tax":0.1329,"startsAt":"2023-12-26T08:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.133,"energy":-0.0001,"tax":0.1331,"startsAt":"2023-12-26T09:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1331,"energy":-0.0001,"tax":0.1332,"startsAt":"2023-12-26T10:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1331,"energy":0,"tax":0.1331,"startsAt":"2023-12-26T11:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1331,"energy":0,"tax":0.1331,"startsAt":"2023-12-26T12:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1331,"energy":0,"tax":0.1331,"startsAt":"2023-12-26T13:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1338,"energy":0.0006,"tax":0.1332,"startsAt":"2023-12-26T14:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1451,"energy":0.01,"tax":0.1351,"startsAt":"2023-12-26T15:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1895,"energy":0.0473,"tax":0.1422,"startsAt":"2023-12-26T16:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1962,"energy":0.053,"tax":0.1432,"startsAt":"2023-12-26T17:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.197,"energy":0.0537,"tax":0.1433,"startsAt":"2023-12-26T18:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.1963,"energy":0.053,"tax":0.1433,"startsAt":"2023-12-26T19:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.1918,"energy":0.0493,"tax":0.1425,"startsAt":"2023-12-26T20:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1854,"energy":0.044,"tax":0.1414,"startsAt":"2023-12-26T21:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1886,"energy":0.0466,"tax":0.142,"startsAt":"2023-12-26T22:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1965,"energy":0.0533,"tax":0.1432,"startsAt":"2023-12-26T23:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"}]
[{"total":0.1823,"energy":0.0414,"tax":0.1409,"startsAt":"2023-12-27T00:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1951,"energy":0.0521,"tax":0.143,"startsAt":"2023-12-27T01:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.2017,"energy":0.0576,"tax":0.1441,"startsAt":"2023-12-27T02:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.1946,"energy":0.0516,"tax":0.143,"startsAt":"2023-12-27T03:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1924,"energy":0.0498,"tax":0.1426,"startsAt":"2023-12-27T04:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1998,"energy":0.056,"tax":0.1438,"startsAt":"2023-12-27T05:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.2106,"energy":0.0651,"tax":0.1455,"startsAt":"2023-12-27T06:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2253,"energy":0.0774,"tax":0.1479,"startsAt":"2023-12-27T07:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2316,"energy":0.0827,"tax":0.1489,"startsAt":"2023-12-27T08:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.229,"energy":0.0806,"tax":0.1484,"startsAt":"2023-12-27T09:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2226,"energy":0.0752,"tax":0.1474,"startsAt":"2023-12-27T10:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.222,"energy":0.0747,"tax":0.1473,"startsAt":"2023-12-27T11:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2209,"energy":0.0738,"tax":0.1471,"startsAt":"2023-12-27T12:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2187,"energy":0.0719,"tax":0.1468,"startsAt":"2023-12-27T13:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2208,"energy":0.0736,"tax":0.1472,"startsAt":"2023-12-27T14:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2283,"energy":0.08,"tax":0.1483,"startsAt":"2023-12-27T15:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2281,"energy":0.0798,"tax":0.1483,"startsAt":"2023-12-27T16:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2287,"energy":0.0803,"tax":0.1484,"startsAt":"2023-12-27T17:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2216,"energy":0.0744,"tax":0.1472,"startsAt":"2023-12-27T18:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.2103,"energy":0.0648,"tax":0.1455,"startsAt":"2023-12-27T19:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1983,"energy":0.0547,"tax":0.1436,"startsAt":"2023-12-27T20:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1626,"energy":0.0247,"tax":0.1379,"startsAt":"2023-12-27T21:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1534,"energy":0.017,"tax":0.1364,"startsAt":"2023-12-27T22:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1331,"energy":0,"tax":0.1331,"startsAt":"2023-12-27T23:00:00.000+01:00","currency":"EUR","level":"CHEAP"}]
-
@maas-meister Da kommt bei mir kein Fehler.
Welche javascript Version?
Tibberlink ist so aufgebaut?
Instanz 0?
-
Version:
v7.1.6Kann es sein dass ich das "xyz" mit meiner ID ersetzen muss? Würde ja Sinn ergeben.
Finde aber leider im Script nicht wo das hinterlegt ist -
@maas-meister Das sucht er sich automatisch. Du nutzt aber Instanz 0?
Setz mal ein log dazwischen
-
-
@maas-meister Sieht korrekt aus
-
@mcu sagte in Jarvis 3.1.8 - zukünftige Strompreise - Skalierung, Farben:
@maas-meister Das sucht er sich automatisch. Du nutzt aber Instanz 0?
Setz mal ein log dazwischen
mit Log der selbe Fehler .. sehr komisch
Edit:
Gerade gesehen das die ID drin stand .. mist! -
@maas-meister Raus nehmen
Post bearbeiten und das LOG raus. Sofort.
Hast du schon mal das System neu gestartet?
Irgendwas stimmt nicht, da er ja tibberLink[0] hat und der Wert stimmt.
Es könnte auch am javascript liegen, glaube ich aber weniger. -
Ohne Erfolg
Es gibt auch noch diese Datenpunkte bei Today und Tomorrow:
tibberlink.0.Homes.XXX.PricesToday.jsonBYpriceASC
[{"total":0.1287,"energy":-0.0037,"tax":0.1324,"startsAt":"2023-12-26T04:00:00.000+01:00","currency":"EUR","level":"CHEAP"},{"total":0.13,"energy":-0.0027,"tax":0.1327,"startsAt":"2023-12-26T03:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1309,"energy":-0.0018,"tax":0.1327,"startsAt":"2023-12-26T05:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1315,"energy":-0.0013,"tax":0.1328,"startsAt":"2023-12-26T06:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1319,"energy":-0.001,"tax":0.1329,"startsAt":"2023-12-26T08:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.132,"energy":-0.0009,"tax":0.1329,"startsAt":"2023-12-26T07:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.133,"energy":-0.0001,"tax":0.1331,"startsAt":"2023-12-26T02:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.133,"energy":-0.0001,"tax":0.1331,"startsAt":"2023-12-26T09:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1331,"energy":0,"tax":0.1331,"startsAt":"2023-12-26T00:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1331,"energy":0,"tax":0.1331,"startsAt":"2023-12-26T01:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1331,"energy":-0.0001,"tax":0.1332,"startsAt":"2023-12-26T10:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1331,"energy":0,"tax":0.1331,"startsAt":"2023-12-26T11:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1331,"energy":0,"tax":0.1331,"startsAt":"2023-12-26T12:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1331,"energy":0,"tax":0.1331,"startsAt":"2023-12-26T13:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1338,"energy":0.0006,"tax":0.1332,"startsAt":"2023-12-26T14:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1451,"energy":0.01,"tax":0.1351,"startsAt":"2023-12-26T15:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1854,"energy":0.044,"tax":0.1414,"startsAt":"2023-12-26T21:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1886,"energy":0.0466,"tax":0.142,"startsAt":"2023-12-26T22:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1895,"energy":0.0473,"tax":0.1422,"startsAt":"2023-12-26T16:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1918,"energy":0.0493,"tax":0.1425,"startsAt":"2023-12-26T20:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1962,"energy":0.053,"tax":0.1432,"startsAt":"2023-12-26T17:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.1963,"energy":0.053,"tax":0.1433,"startsAt":"2023-12-26T19:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.1965,"energy":0.0533,"tax":0.1432,"startsAt":"2023-12-26T23:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.197,"energy":0.0537,"tax":0.1433,"startsAt":"2023-12-26T18:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"}]
tibberlink.0.Homes.XXX.PricesTomorrow.jsonBYpriceASC
[{"total":0.1331,"energy":0,"tax":0.1331,"startsAt":"2023-12-27T23:00:00.000+01:00","currency":"EUR","level":"CHEAP"},{"total":0.1534,"energy":0.017,"tax":0.1364,"startsAt":"2023-12-27T22:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1626,"energy":0.0247,"tax":0.1379,"startsAt":"2023-12-27T21:00:00.000+01:00","currency":"EUR","level":"NORMAL"},{"total":0.1823,"energy":0.0414,"tax":0.1409,"startsAt":"2023-12-27T00:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1924,"energy":0.0498,"tax":0.1426,"startsAt":"2023-12-27T04:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1946,"energy":0.0516,"tax":0.143,"startsAt":"2023-12-27T03:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1951,"energy":0.0521,"tax":0.143,"startsAt":"2023-12-27T01:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1983,"energy":0.0547,"tax":0.1436,"startsAt":"2023-12-27T20:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.1998,"energy":0.056,"tax":0.1438,"startsAt":"2023-12-27T05:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.2017,"energy":0.0576,"tax":0.1441,"startsAt":"2023-12-27T02:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2103,"energy":0.0648,"tax":0.1455,"startsAt":"2023-12-27T19:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.2106,"energy":0.0651,"tax":0.1455,"startsAt":"2023-12-27T06:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2187,"energy":0.0719,"tax":0.1468,"startsAt":"2023-12-27T13:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2208,"energy":0.0736,"tax":0.1472,"startsAt":"2023-12-27T14:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2209,"energy":0.0738,"tax":0.1471,"startsAt":"2023-12-27T12:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2216,"energy":0.0744,"tax":0.1472,"startsAt":"2023-12-27T18:00:00.000+01:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.222,"energy":0.0747,"tax":0.1473,"startsAt":"2023-12-27T11:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2226,"energy":0.0752,"tax":0.1474,"startsAt":"2023-12-27T10:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2253,"energy":0.0774,"tax":0.1479,"startsAt":"2023-12-27T07:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2281,"energy":0.0798,"tax":0.1483,"startsAt":"2023-12-27T16:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2283,"energy":0.08,"tax":0.1483,"startsAt":"2023-12-27T15:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2287,"energy":0.0803,"tax":0.1484,"startsAt":"2023-12-27T17:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.229,"energy":0.0806,"tax":0.1484,"startsAt":"2023-12-27T09:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"},{"total":0.2316,"energy":0.0827,"tax":0.1489,"startsAt":"2023-12-27T08:00:00.000+01:00","currency":"EUR","level":"VERY_EXPENSIVE"}]
Hilft dir das?
Ansonsten klappt es leider nicht bei mir und ich muss ohne Leben
-
@maas-meister Die DPs werden gar nicht genutzt. Haben den gleichen Aufbau. Sind nur nach Preis sortiert.
javascript-Adapter updaten? -
LÄUFT!
Hab dein Script mal ohne meine DP Zuweisung genommen .. läuft
Kann es sein, dass die "tibberdataDP" in meine ID ändern muss?let tibberdataDP = '0_userdata.0.Meine_Datenpunkte.Tibber' let cheapestNext2HoursDP = tibberdataDP + '.cheapestNext2Hours'; let cheapestNext2StartTSDP = tibberdataDP + '.cheapestNext2StartTS'; let cheapestNext2StartDP = tibberdataDP + '.cheapestNext2Start'; let cheapestSearchAreaDP = tibberdataDP + '.cheapestArea'; let startDP = tibberdataDP + '.startCalc'; let numHoursDP = tibberdataDP + '.numHours';
Dankeschön für deine Zeit, Hilfe und Einsatz !!!!!!!!!!!!!!!!!!!!!!!!!-
-
hat evtl jemand eine vorlage die so in der Art ist wie diese?
-
@majawe oha, da ist ja eine Menge los, aber die Idee eine 2-Tages-Anzeige zu machen, finde ich gut....
@MCU denkst du, das ist machbar? (ich kann es leider nicht)
- today -> erste 24 Stunden, wenn tomorrow vorhanden ist, tomorrow belegt die zweiten 24 Stunden
- wenn tomorow noch nicht vorhanden ist, dann wandert today in die rechte Hälfte, sobald tomorrow zur Verfügung steht, springt today wieder auf die linke Hälfte und tomorrow füllt die rechte Hälfte
Macht das mit dem ursprünglichen Script Sinn (als 3, Ansicht), oder ist ein extra Script nur mit dieser Ansicht sinnvoller?
-
@mike42 Ich brauche mal aktuelle Daten von today und tomorrow.
https://mcuiobroker.gitbook.io/jarvis-infos/jarvis-v3/system-effektprog./tibberhtml/tests
-
@mcu ich hab dir mal den ganzen Tibberlink-Zweig runtergeladen
-
@mike42 ok, Danke.
Test-Programm neu laden, Fehler korrigiert mit gleicher Versionsnummer.
-
@mcu ja, sieht gut aus
- das Leuchten der aktuellen Stunde fehlt noch (wie aktualisiert sich das eigentlich automatisch?)
- geht eine senkrechte Haarlinie an der Datumsgrenze?
- funktioniert ein Label für heute / morgen über den jeweiligen Abschnitten?
-
das Leuchten der aktuellen Stunde fehlt noch (wie aktualisiert sich das eigentlich automatisch?)
Aktualisiert sich automatisch. Wird über den DP gesteuert.
Ab der nächsten Version
geht eine senkrechte Haarlinie an der Datumsgrenze?
funktioniert ein Label für heute / morgen über den jeweiligen Abschnitten?
Schriftart? Farbe?
-
- Trennlinie hellgrau, hinter den Balken?
- müsste die nicht zwischen 23 und 0 verlaufen?
- Schrift, wie bei den Labeln vorher immer, das war gut
Um Mitternacht müssten die Label dann auf „gestern“ und „heute“ wechseln. Wenn die Tomorrow-Werte verfügbar sind, dann ist links wieder „heute“ und rechts „morgen“….
-
@mike42 sagte in Jarvis 3.1.8 - zukünftige Strompreise - Skalierung, Farben:
müsste die nicht zwischen 23 und 0 verlaufen?
Theoretisch schon, aber dann hat man wieder einen Unterscheid bei der Kurve. Das geht nicht anders. Da ist der 00:00 Uhr Punkt.
Bei den Balken würde es dann wieder eine Verschiebung geben.hinter den Balken?
Nein.