hombach / ioBroker.tibberlink

links tibber API data to be used in ioBroker
https://github.com/hombach/ioBroker.tibberlink
GNU General Public License v3.0
24 stars 5 forks source link

pulse tausch führt zu Fehlermeldung #86

Closed disaster123 closed 1 year ago

disaster123 commented 1 year ago

Hallo,

habe Version 0.3.1 laufen. Mein Pulse wurde getauscht, weil der alte defekt war.

Ich bekomme nun folgende Meldung im Log angezeigt:

tibberlink.0 | 2023-09-14 08:46:42.598 | warn | A feed was disconnected. I try to reconnect in 6s
-- | -- | -- | --
tibberlink.0 | 2023-09-14 08:46:42.595 | warn | ERROR on Tibber-Feed: [object Object]

Und das in einer Endlosschleife.

hombach commented 1 year ago

Werden die Daten in der Handy app korrekt angezeigt? Adapter wurde neu gestartet? Die Internen Veränderungen bei Tibber habe ich hier nicht im Griff ... evtl. muss man den Token neu erstellen. Was die Abfragen betrifft gib es keinen direkten Bezug auf den Pulse selbst... ID oder ähnlich.

disaster123 commented 1 year ago

Ja die Daten tauchen in der Tibber App korrekt auf. Der Adapter wurde auch neu gestartet und der API Key ist ebenfalls gültig.

Der Adapter liefert folgende Ausgabe im Debug Mode:


tibberlink.0 | 2023-09-15 08:46:44.846 | info | Got terminate signal TERMINATE_YOURSELF
-- | -- | -- | --
tibberlink.0 | 2023-09-15 08:46:40.522 | warn | A feed was disconnected. I try to reconnect in 6s
tibberlink.0 | 2023-09-15 08:46:40.522 | debug | Tibber Feed: Disconnected from Tibber feed.
tibberlink.0 | 2023-09-15 08:46:40.520 | warn | ERROR on Tibber-Feed: [object Object]
tibberlink.0 | 2023-09-15 08:46:40.476 | debug | Tibber Feed: Connected to Tibber feed.
tibberlink.0 | 2023-09-15 08:46:39.504 | debug | No TibberFeed connected try reconnecting now in 6sec interval!
tibberlink.0 | 2023-09-15 08:46:33.503 | warn | A feed was disconnected. I try to reconnect in 6s
tibberlink.0 | 2023-09-15 08:46:33.503 | debug | Tibber Feed: Disconnected from Tibber feed.
tibberlink.0 | 2023-09-15 08:46:33.500 | warn | ERROR on Tibber-Feed: [object Object]
tibberlink.0 | 2023-09-15 08:46:33.459 | debug | Tibber Feed: Connected to Tibber feed.
tibberlink.0 | 2023-09-15 08:46:32.987 | debug | Trying to establish feed of live data for home: XXXXX
tibberlink.0 | 2023-09-15 08:46:32.986 | debug | Emptying PricesTomorrow cause existing ones are obsolete...
tibberlink.0 | 2023-09-15 08:46:32.985 | debug | Got prices tomorrow from tibber api: []
tibberlink.0 | 2023-09-15 08:46:32.818 | debug | Existing date (Fri Sep 15 2023 02:00:00 GMT+0200 (Mitteleuropäische Sommerzeit)) of price info is already the today date, polling of prices today from Tibber skipped
tibberlink.0 | 2023-09-15 08:46:32.710 | debug | Hour (8) of known current price is already the current hour, polling of current price from Tibber skipped
tibberlink.0 | 2023-09-15 08:46:32.701 | debug | FeedConfig for Home: XXXXX (XXXXX) - realtime data available: true - feed configured as active: true
tibberlink.0 | 2023-09-15 08:46:32.700 | debug | Got homes from tibber api: [{"id":"XXXXX","timeZone":"Europe/Berlin","appNickname":"XXXXX","appAvatar":"FLOORHOUSE2","size":XXXXX,"type":"HOUSE","numberOfResidents":5,"primaryHeatingSource":null,"hasVentilationSystem":false,"mainFuseSize":null,"address":{"address1":"XXXXX","address2":null,"address3":null,"postalCode":"XXXXX","city":"XXXXX","country":"DE","latitude":"52.1775668","longitude":"10.5515654"},"owner":{"id":"79195ca8-5258-47d1-92ee-036485a53fed","firstName":"XXXXX","isCompany":null,"name":"XXXXX","middleName":null,"lastName":"XXXXX","organizationNo":null,"language":"de-DE","contactInfo":{"email":"XXXXX","mobile":"XXXXX"}},"meteringPointData":{"consumptionEan":"XXXXX","gridCompany":"XXXXX","gridAreaCode":"XXXXX","priceAreaCode":"TenneT","productionEan":null,"energyTaxType":"normal","vatType":"normal","estimatedAnnualConsumption":XXXXX},"features":{"realTimeConsumptionEnabled":true}}]
tibberlink.0 | 2023-09-15 08:46:32.457 | info | starting. Version 0.3.2 in /opt/iobroker/node_modules/iobroker.tibberlink, node: v18.17.1, js-controller: 4.0.24
hombach commented 1 year ago

Hast du den Adapter 11 sec nach erfolgreichem Tibber Feed Connect wieder selbst ausgeschaltet? Oder kommt da noch mehr im log? Zwischen Sekunde 40 und 44? Hat der Adapter einmalig korrekte Pulse Live Daten geladen?

disaster123 commented 1 year ago

ja sorry - den hab ich dann wieder abgeschaltet - weil er endlos weiter löuft in dieser "loop":

tibberlink.0 | 2023-09-15 08:46:40.522 | warn | A feed was disconnected. I try to reconnect in 6s
tibberlink.0 | 2023-09-15 08:46:40.522 | debug | Tibber Feed: Disconnected from Tibber feed.
tibberlink.0 | 2023-09-15 08:46:40.520 | warn | ERROR on Tibber-Feed: [object Object]
tibberlink.0 | 2023-09-15 08:46:40.476 | debug | Tibber Feed: Connected to Tibber feed.
tibberlink.0 | 2023-09-15 08:46:39.504 | debug | No TibberFeed connected try reconnecting now in 6sec interval!
disaster123 commented 1 year ago

aktuelles Log:

tibberlink.0 | 2023-09-18 18:06:58.679 | warn | A feed was disconnected. I try to reconnect in 6s
tibberlink.0 | 2023-09-18 18:06:58.679 | debug | Tibber Feed: Disconnected from Tibber feed.
tibberlink.0 | 2023-09-18 18:06:58.677 | warn | ERROR on Tibber-Feed: [object Object]
tibberlink.0 | 2023-09-18 18:06:58.637 | debug | Tibber Feed: Connected to Tibber feed.
tibberlink.0 | 2023-09-18 18:06:56.819 | debug | No TibberFeed connected try reconnecting now in 6sec interval!
tibberlink.0 | 2023-09-18 18:06:56.258 | debug | No TibberFeed connected try reconnecting now in 6sec interval!
tibberlink.0 | 2023-09-18 18:06:55.581 | debug | No TibberFeed connected try reconnecting now in 6sec interval!
tibberlink.0 | 2023-09-18 18:06:50.819 | debug | No TibberFeed connected try reconnecting now in 6sec interval!
tibberlink.0 | 2023-09-18 18:06:50.257 | warn | A feed was disconnected. I try to reconnect in 6s
tibberlink.0 | 2023-09-18 18:06:50.257 | debug | Tibber Feed: Disconnected from Tibber feed.
tibberlink.0 | 2023-09-18 18:06:50.256 | warn | ERROR on Tibber-Feed: [object Object]
tibberlink.0 | 2023-09-18 18:06:50.218 | debug | Tibber Feed: Connected to Tibber feed.
tibberlink.0 | 2023-09-18 18:06:49.580 | debug | No TibberFeed connected try reconnecting now in 6sec interval!
tibberlink.0 | 2023-09-18 18:06:44.818 | warn | A feed was disconnected. I try to reconnect in 6s
tibberlink.0 | 2023-09-18 18:06:44.818 | debug | Tibber Feed: Disconnected from Tibber feed.
tibberlink.0 | 2023-09-18 18:06:44.817 | warn | ERROR on Tibber-Feed: [object Object]
tibberlink.0 | 2023-09-18 18:06:44.777 | debug | Tibber Feed: Connected to Tibber feed.
tibberlink.0 | 2023-09-18 18:06:43.579 | debug | No TibberFeed connected try reconnecting now in 6sec interval!
tibberlink.0 | 2023-09-18 18:06:37.578 | warn | A feed was disconnected. I try to reconnect in 6s
tibberlink.0 | 2023-09-18 18:06:37.578 | debug | Tibber Feed: Disconnected from Tibber feed.
tibberlink.0 | 2023-09-18 18:06:37.574 | warn | ERROR on Tibber-Feed: [object Object]
tibberlink.0 | 2023-09-18 18:06:37.469 | debug | Tibber Feed: Connected to Tibber feed.
tibberlink.0 | 2023-09-18 18:06:30.934 | debug | Trying to establish feed of live data for home: 04e96558-8e2c-4d14-ab29-b205f1e3f216
tibberlink.0 | 2023-09-18 18:06:30.931 | debug | Got prices tomorrow from tibber api: [{"total":0.1586,"energy":0.001,"tax":0.1576,"startsAt":"2023-09-19T00:00:00.000+02:00","currency":"EUR","level":"VERY_CHEAP"},{"total":0.1574,"energy":0,"tax":0.1574,"startsAt":"2023-09-19T01:00:00.000+02:00","currency":"EUR","level":"VERY_CHEAP"},{"total":0.1574,"energy":0,"tax":0.1574,"startsAt":"2023-09-19T02:00:00.000+02:00","currency":"EUR","level":"VERY_CHEAP"},{"total":0.1574,"energy":0,"tax":0.1574,"startsAt":"2023-09-19T03:00:00.000+02:00","currency":"EUR","level":"CHEAP"},{"total":0.1574,"energy":0,"tax":0.1574,"startsAt":"2023-09-19T04:00:00.000+02:00","currency":"EUR","level":"CHEAP"},{"total":0.1584,"energy":0.0008,"tax":0.1576,"startsAt":"2023-09-19T05:00:00.000+02:00","currency":"EUR","level":"CHEAP"},{"total":0.241,"energy":0.0703,"tax":0.1707,"startsAt":"2023-09-19T06:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2815,"energy":0.1043,"tax":0.1772,"startsAt":"2023-09-19T07:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2877,"energy":0.1095,"tax":0.1782,"startsAt":"2023-09-19T08:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2596,"energy":0.0859,"tax":0.1737,"startsAt":"2023-09-19T09:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.1675,"energy":0.0085,"tax":0.159,"startsAt":"2023-09-19T10:00:00.000+02:00","currency":"EUR","level":"CHEAP"},{"total":0.1573,"energy":-0.0001,"tax":0.1574,"startsAt":"2023-09-19T11:00:00.000+02:00","currency":"EUR","level":"CHEAP"},{"total":0.1533,"energy":-0.0035,"tax":0.1568,"startsAt":"2023-09-19T12:00:00.000+02:00","currency":"EUR","level":"CHEAP"},{"total":0.1511,"energy":-0.0053,"tax":0.1564,"startsAt":"2023-09-19T13:00:00.000+02:00","currency":"EUR","level":"VERY_CHEAP"},{"total":0.1506,"energy":-0.0057,"tax":0.1563,"startsAt":"2023-09-19T14:00:00.000+02:00","currency":"EUR","level":"VERY_CHEAP"},{"total":0.1539,"energy":-0.003,"tax":0.1569,"startsAt":"2023-09-19T15:00:00.000+02:00","currency":"EUR","level":"CHEAP"},{"total":0.1573,"energy":-0.0001,"tax":0.1574,"startsAt":"2023-09-19T16:00:00.000+02:00","currency":"EUR","level":"CHEAP"},{"total":0.2132,"energy":0.0469,"tax":0.1663,"startsAt":"2023-09-19T17:00:00.000+02:00","currency":"EUR","level":"CHEAP"},{"total":0.273,"energy":0.0972,"tax":0.1758,"startsAt":"2023-09-19T18:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2936,"energy":0.1144,"tax":0.1792,"startsAt":"2023-09-19T19:00:00.000+02:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.2879,"energy":0.1096,"tax":0.1783,"startsAt":"2023-09-19T20:00:00.000+02:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.2607,"energy":0.0868,"tax":0.1739,"startsAt":"2023-09-19T21:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2369,"energy":0.0668,"tax":0.1701,"startsAt":"2023-09-19T22:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.1769,"energy":0.0164,"tax":0.1605,"startsAt":"2023-09-19T23:00:00.000+02:00","currency":"EUR","level":"CHEAP"}]
tibberlink.0 | 2023-09-18 18:06:30.732 | debug | Got prices today from tibber api: [{"total":0.2692,"energy":0.094,"tax":0.1752,"startsAt":"2023-09-18T00:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2627,"energy":0.0885,"tax":0.1742,"startsAt":"2023-09-18T01:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2547,"energy":0.0817,"tax":0.173,"startsAt":"2023-09-18T02:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2586,"energy":0.085,"tax":0.1736,"startsAt":"2023-09-18T03:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2619,"energy":0.0878,"tax":0.1741,"startsAt":"2023-09-18T04:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2689,"energy":0.0937,"tax":0.1752,"startsAt":"2023-09-18T05:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2969,"energy":0.1172,"tax":0.1797,"startsAt":"2023-09-18T06:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.3163,"energy":0.1335,"tax":0.1828,"startsAt":"2023-09-18T07:00:00.000+02:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.3107,"energy":0.1288,"tax":0.1819,"startsAt":"2023-09-18T08:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2834,"energy":0.1058,"tax":0.1776,"startsAt":"2023-09-18T09:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2653,"energy":0.0906,"tax":0.1747,"startsAt":"2023-09-18T10:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2458,"energy":0.0743,"tax":0.1715,"startsAt":"2023-09-18T11:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2243,"energy":0.0562,"tax":0.1681,"startsAt":"2023-09-18T12:00:00.000+02:00","currency":"EUR","level":"CHEAP"},{"total":0.1936,"energy":0.0304,"tax":0.1632,"startsAt":"2023-09-18T13:00:00.000+02:00","currency":"EUR","level":"CHEAP"},{"total":0.2032,"energy":0.0385,"tax":0.1647,"startsAt":"2023-09-18T14:00:00.000+02:00","currency":"EUR","level":"CHEAP"},{"total":0.2453,"energy":0.0739,"tax":0.1714,"startsAt":"2023-09-18T15:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2653,"energy":0.0907,"tax":0.1746,"startsAt":"2023-09-18T16:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2955,"energy":0.116,"tax":0.1795,"startsAt":"2023-09-18T17:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.3233,"energy":0.1394,"tax":0.1839,"startsAt":"2023-09-18T18:00:00.000+02:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.3499,"energy":0.1618,"tax":0.1881,"startsAt":"2023-09-18T19:00:00.000+02:00","currency":"EUR","level":"EXPENSIVE"},{"total":0.3069,"energy":0.1256,"tax":0.1813,"startsAt":"2023-09-18T20:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2842,"energy":0.1066,"tax":0.1776,"startsAt":"2023-09-18T21:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2685,"energy":0.0934,"tax":0.1751,"startsAt":"2023-09-18T22:00:00.000+02:00","currency":"EUR","level":"NORMAL"},{"total":0.2452,"energy":0.0738,"tax":0.1714,"startsAt":"2023-09-18T23:00:00.000+02:00","currency":"EUR","level":"NORMAL"}]
disaster123 commented 1 year ago

Kann man den Error on Tibber Feed irgendwie debuggen?

disaster123 commented 1 year ago

@hombach ok habe den eigentlich error gedebugged:

ERROR on Tibber-Feed: [{"message":"unable to start stream api:c4868e30fb6c4e97b1f4d0ac630b6711 for device c4868e30-fb6c-4e97-b1f4-d0ac630b6711; userId 79195ca8-5258-47d1-92ee-036485a53fed","locations":[{"line":1,"column":27}],"path":["liveMeasurement"]}]
disaster123 commented 1 year ago

@hombach woher kommt denn die device id? also c4868e30-fb6c-4e97-b1f4-d0ac630b6711 ?

disaster123 commented 1 year ago

OK das ganze ist nen Bug bei Tibber - exakt gleiche Fehlermeldung direkt bei denen im API Explorer.... ;-(

hombach commented 1 year ago

Danke fürs Bescheid geben! Hoffe die bekommen das bei Dir gefixt!