klein0r / ioBroker.lametric

Send notifications and other important information to your LaMetric time
https://haus-automatisierung.com/
MIT License
15 stars 8 forks source link

Bug report #148

Closed spoeh-man closed 1 year ago

spoeh-man commented 1 year ago

I'm sure that

LaMetric Firmware version

3.0.18

The problem

Seit dem Update auf 3.1.0 immer folgende Fehler unter 3.0.0 läuft alles wie gewohnt.

host.ioBroker 2023-10-26 12:04:47.751 error Caught by controller[1]: at Array.map ()
host.ioBroker 2023-10-26 12:04:47.751 error Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.lametric/main.js:1561:43
host.ioBroker 2023-10-26 12:04:47.751 error Caught by controller[1]: at String.replace ()
host.ioBroker 2023-10-26 12:04:47.751 error Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.lametric/main.js:1562:94
host.ioBroker 2023-10-26 12:04:47.750 error Caught by controller[1]: TypeError: Cannot read properties of undefined (reading 'val')
host.ioBroker 2023-10-26 12:04:47.749 error Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
lametric.0 2023-10-26 12:04:47.115 warn Terminated (UNCAUGHT_EXCEPTION): Without reason
lametric.0 2023-10-26 12:04:47.112 info terminating
lametric.0 2023-10-26 12:04:47.087 error Cannot read properties of undefined (reading 'val')
lametric.0 2023-10-26 12:04:47.087 error TypeError: Cannot read properties of undefined (reading 'val') at /opt/iobroker/node_modules/iobroker.lametric/main.js:1562:94 at String.replace () at /opt/iobroker/node_modules/iobroker.lametric/main.js:1561:43 at Array.map () at LaMetric.refreshMyDataDiy (/opt/iobroker/node_modules/iobroker.lametric/main.js:1560:14) at /opt/iobroker/node_modules/iobroker.lametric/main.js:1551:18
lametric.0 2023-10-26 12:04:47.081 error unhandled promise rejection: Cannot read properties of undefined (reading 'val')
lametric.0 2023-10-26 12:04:47.080 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
lametric.0 2023-10-26 12:04:46.502 info Starting - connecting to http://192.168.179.85:8080
lametric.0 2023-10-26 12:04:46.438 info starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.lametric, node: v18.17.1, js-controller: 5.0.14

Version of nodejs

18.17.1

Version of ioBroker js-controller

5.0.14

Version of Adapter

3.1.0

Operating system running ioBroker

Linux

Checklist of files to include below

Additional information & file uploads

No response

github-actions[bot] commented 1 year ago

Thanks for reporting a new issue @spoeh-man!

  1. Please make sure your topic is not covered in the documentation
  2. Ensure that you use the latest beta version (not the current stable version): 3.1.0
  3. Please attach all necessary log files (in debug mode!), screenshots and other information to reproduce this issue
  4. Search for the issue topic in other/closed issues to avoid duplicates!

    Otherwise this issue will be closed.

tmaul1968 commented 1 year ago

Das ist kein Einzelfall. Tritt bei mir exakt genauso auf, bin auf 3.0.0 zurück gegangen. Gleiches SetUp (current beta) und dieselben log Einträge.

tomschlde commented 1 year ago

hab noch ne Info:

Lametric ist nicht gestartet. (Instatnz auf Pause)

lametric has an invalid jsonConfig: [{"instancePath":"","schemaPath":"#/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"iconPosition"},"message":"must NOT have additional properties"}]

tmaul1968 commented 1 year ago

Mit v3.1.1 ist das Thema bei mir erledigt ;-) Schnell gefixt, danke!!!

spoeh-man commented 1 year ago

Mit 3.1.1 erledigt Vielen Dank