Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of null #19

Open
vr6syncro opened this issue Nov 18, 2023 · 5 comments
Open

Cannot read properties of null #19

vr6syncro opened this issue Nov 18, 2023 · 5 comments

Comments

@vr6syncro
Copy link
Contributor

vr6syncro commented Nov 18, 2023

Hey, hier mal ein Error.
Adapter ist auf Debug aber ich bekomme leider keine weiteren Infos.

`

Zeit | debug | Nachricht -- | -- | -- fusionsolar.0 | 2023-11-18 23:43:00.522 | debug | update completed fusionsolar.0 | 2023-11-18 23:43:00.522 | debug | writing device related channel values for XXX... fusionsolar.0 | 2023-11-18 23:43:00.522 | error | Cannot read properties of null (reading '0') fusionsolar.0 | 2023-11-18 23:43:00.521 | debug | {"data":null,"failCode":0,"message":null,"params":{"currentTime":1700347380502,"devIds":"XXX","devTypeId":62},"success":true} `
@DNAngelX
Copy link
Collaborator

Hey,

und was funktioniert nicht?

Läuft irgendwas nicht?

@vr6syncro
Copy link
Contributor Author

vr6syncro commented Nov 19, 2023

Hey, das kann ich gar nicht sagen... den WR habe ich erst vor ein paar Stunden installiert und der Adapter lief auch erst seit kurz vor der Issue. Kann ich das irgendwo in den Datenpunkten sehen welcher dafür verantwortlich ist?

Habe mehrere DP da steht als Value (null)

<body>
<!--StartFragment-->
fusionsolar.0 | 2023-11-19 07:22:37.239 | error | Cannot read properties of null (reading '0')
-- | -- | -- | --
fusionsolar.0 | 2023-11-19 07:17:06.283 | error | Cannot read properties of null (reading '0')
fusionsolar.0 | 2023-11-19 07:11:35.439 | error | Cannot read properties of null (reading '0')
fusionsolar.0 | 2023-11-19 07:06:04.572 | error | Cannot read properties of null (reading '0')
fusionsolar.0 | 2023-11-19 07:00:33.795 | error | Cannot read properties of null (reading '0')
fusionsolar.0 | 2023-11-19 06:55:02.924 | error | Cannot read properties of null (reading '0')
fusionsolar.0 | 2023-11-19 06:49:31.852 | error | Cannot read properties of null (reading '0')
fusionsolar.0 | 2023-11-19 06:44:00.975 | error | Cannot read properties of null (reading '0')
fusionsolar.0 | 2023-11-19 06:38:29.717 | error | Cannot read properties of null (reading '0')
fusionsolar.0 | 2023-11-19 06:32:58.789 | error | Cannot read properties of null (reading '0')
fusionsolar.0 | 2023-11-19 06:27:27.892 | error | Cannot read properties of null (reading '0')
fusionsolar.0 | 2023-11-19 06:21:57.097 | error | Cannot read properties of null (reading '0')
fusionsolar.0 | 2023-11-19 06:16:26.247 | error | Cannot read properties of null (reading '0')
fusionsolar.0 | 2023-11-19 06:10:55.407 | error | Cannot read properties of null (reading '0')
fusionsolar.0 | 2023-11-19 06:05:24.592 | error | Cannot read properties of null (reading '0')
fusionsolar.0 | 2023-11-19 05:59:53.687 | error | Cannot read properties of null (reading '0')
fusionsolar.0 | 2023-11-19 05:54:22.860 | error | Cannot read properties of null (reading '0')
fusionsolar.0 | 2023-11-19 05:48:52.014 | error | Cannot read properties of null (reading '0')
fusionsolar.0 | 2023-11-19 05:45:20.898 | info | FusionSolar Api Login successful
fusionsolar.0 | 2023-11-19 05:45:20.606 | info | Using the expl. configured API-Version "gen-2".

<!--EndFragment-->
</body>
</html>```

@vr6syncro
Copy link
Contributor Author

vr6syncro commented Nov 19, 2023

Also das Device ID was probleme macht ist der Dongle... in der Konfiguration kann ich aber nichts ungewöhnliches sehen. Hab nun mal extern mit einem andern Tool nochmal auf die API geschaut aber konnte nix weiteres feststellen.

weiß leider nicht warum ich der einzige wohl mit dem fehler bin. Was kommt denn bei anderen Anlagen bei Message oder Data?

@vr6syncro
Copy link
Contributor Author

kann das was damit zutun haben das er die DevRealKp abfragen mag aber dort nix hinterlegt ist da der dongle keine realtime data hat? Die ganzen Werte zieht er ja vom devlist

@vr6syncro vr6syncro mentioned this issue Nov 19, 2023
@eraser68
Copy link

eraser68 commented Feb 3, 2024

siehe auch: #21 (comment)
Das könnte die Lösung sein

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants