Closed Meckiilino closed 10 months ago
Thanks for reporting a new issue @Meckiilino!
Otherwise this issue will be closed.
So nochmal mit dem lametric adapter im debug-modus (hab heute Morgen erst rausgefunden wie das geht)
Edit: Aus dem iobroker forum... Hier wurde wohl eine alte nodejs verwendet. Das lag daran,dass ich habe bei dier vielen Rumprobiererrei den Log mit einem anderen Raspberry mit einem 32bit system gemacht habe. (Ich wollte das 32/64 Bit ausschließe) Also das war dann Bullseye 32bit das erste Bookworm 64bit...
2023-12-27 07:38:02.267 - info: host.iobroker stopInstance system.adapter.lametric.0 (force=false, process=true)
2023-12-27 07:38:02.282 - info: lametric.0 (1109) Got terminate signal TERMINATE_YOURSELF
2023-12-27 07:38:02.289 - debug: lametric.0 (1109) clearing refresh state timeout
2023-12-27 07:38:02.291 - debug: lametric.0 (1109) clearing refresh app timeout
2023-12-27 07:38:02.295 - info: lametric.0 (1109) terminating
2023-12-27 07:38:02.299 - debug: lametric.0 (1109) Plugin sentry destroyed
2023-12-27 07:38:02.304 - info: lametric.0 (1109) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2023-12-27 07:38:02.347 - info: host.iobroker stopInstance system.adapter.lametric.0 send kill signal
2023-12-27 07:38:02.808 - info: lametric.0 (1109) terminating
2023-12-27 07:38:02.904 - info: host.iobroker instance system.adapter.lametric.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2023-12-27 07:38:05.467 - info: host.iobroker instance system.adapter.lametric.0 started with pid 1125
2023-12-27 07:38:08.899 - debug: lametric.0 (1125) Redis Objects: Use Redis connection: 127.0.0.1:9001
2023-12-27 07:38:08.969 - debug: lametric.0 (1125) Objects client ready ... initialize now
2023-12-27 07:38:08.974 - debug: lametric.0 (1125) Objects create System PubSub Client
2023-12-27 07:38:08.977 - debug: lametric.0 (1125) Objects create User PubSub Client
2023-12-27 07:38:09.020 - debug: lametric.0 (1125) Objects client initialize lua scripts
2023-12-27 07:38:09.036 - debug: lametric.0 (1125) Objects connected to redis: 127.0.0.1:9001
2023-12-27 07:38:09.075 - debug: lametric.0 (1125) Redis States: Use Redis connection: 127.0.0.1:9000
2023-12-27 07:38:09.092 - debug: lametric.0 (1125) States create System PubSub Client
2023-12-27 07:38:09.094 - debug: lametric.0 (1125) States create User PubSub Client
2023-12-27 07:38:09.153 - debug: lametric.0 (1125) States connected to redis: 127.0.0.1:9000
2023-12-27 07:38:09.224 - debug: lametric.0 (1125) Plugin sentry Initialize Plugin (enabled=true)
2023-12-27 07:38:10.537 - info: lametric.0 (1125) starting. Version 3.1.1 in /opt/iobroker/node_modules/iobroker.lametric, node: v18.18.2, js-controller: 5.0.16
2023-12-27 07:38:10.620 - info: lametric.0 (1125) Starting - connecting to http://192.168.7.45:8080
2023-12-27 07:38:10.624 - debug: lametric.0 (1125) re-creating refresh state timeout
2023-12-27 07:38:10.629 - debug: lametric.0 (1125) sending "GET" request to "/api/v2/device" with http on port 8080 without data
2023-12-27 07:38:10.818 - debug: lametric.0 (1125) received 200 response from "http://192.168.7.45:8080/api/v2/device" with content: {"audio":{"available":true,"volume":46,"volume_limit":{"max":100,"min":0},"volume_range":{"max":100,"min":0}},"bluetooth":{"active":false,"address":"14:F5:F9:31:C3:63","available":true,"discoverable":true,"mac":"14:F5:F9:31:C3:63","name":"LM3161","pairable":false},"display":{"brightness":100,"brightness_limit":{"max":100,"min":2},"brightness_mode":"auto","brightness_range":{"max":100,"min":0},"height":8,"on":true,"screensaver":{"enabled":true,"modes":{"time_based":{"enabled":false},"when_dark":{"enabled":true}},"widget":"1_com.lametric.clock"},"type":"mixed","width":37},"id":"62745","mode":"auto","model":"sa8","name":"TIME","os_version":"3.0.21","serial_number":"SA830100316100W00BP9","wifi":{"active":true,"address":"14:F5:F9:30:B4:F3","available":true,"encryption":"WPA","essid":"Laubhaufen","ip":"192.168.7.45","mode":"dhcp","netmask":"255.255.255.0","strength":100}}
2023-12-27 07:38:10.848 - debug: lametric.0 (1125) API is online
2023-12-27 07:38:10.856 - debug: lametric.0 (1125) [apps] re-creating refresh timeout
2023-12-27 07:38:10.857 - debug: lametric.0 (1125) sending "GET" request to "/api/v2/device/apps" with http on port 8080 without data
2023-12-27 07:38:10.906 - debug: lametric.0 (1125) received 200 response from "http://192.168.7.45:8080/api/v2/device/apps" with content: {"com.lametric.clock":{"actions":{"clock.alarm":{"enabled":{"data_type":"bool","name":"enabled","required":false},"time":{"data_type":"string","format":"[0-9]{2}:[0-9]{2}(?::[0-9]{2})?","name":"time","required":false},"wake_with_radio":{"data_type":"bool","name":"wake_with_radio","required":false}},"clock.clockface":{"icon":{"data_type":"string","name":"icon","required":false},"type":{"data_type":"string","format":"weather|page_a_day|custom|none","name":"type","required":false}},"settings.dateFormats":{}},"package":"com.lametric.clock","title":"Clock","triggers":{"alarm":{"snooze":{"data_type":"bool","name":"snooze"}}},"vendor":"LaMetric","version":"2.8.3","version_code":"44","widgets":{"1_com.lametric.clock":{"index":0,"package":"com.lametric.clock","settings":{"_title":"Uhr"},"visible":false}}},"com.lametric.countdown":{"actions":{"countdown.configure":{"duration":{"data_type":"int","name":"duration","required":false},"start_now":{"data_type":"bool","name":"start_now","required":false}},"countdown.pause":{},"countdown.reset":{},"countdown.start":{}},"package":"com.lametric.countdown","title":"Timer","triggers":{"finished":{"duration":{"data_type":"int","name":"duration"}},"paused":{"duration":{"data_type":"int","name":"duration"}},"reset":{"duration":{"data_type":"int","name":"duration"}},"resumed":{"duration":{"data_type":"int","name":"duration"}},"started":{"duration":{"data_type":"int","name":"duration"}}},"vendor":"LaMetric","version":"1.2.1","version_code":"19","widgets":{"6_com.lametric.countdown":{"index":6,"package":"com.lametric.countdown","settings":{"_title":"Timer"},"visible":false}}},"com.lametric.custommessage":{"package":"com.lametric.custommessage","title":"Message Board","triggers":{},"vendor":"LaMetric","version":"1.2.8","version_code":"28","widgets":{"3_com.lametric.custommessage":{"index":3,"package":"com.lametric.custommessage","settings":{"_title":"Message Board"},"visible":false}}},"com.lametric.diy.devwidget":{"actions":{"status":{}},"package":"com.lametric.diy.devwidget","title":"My Data DIY","triggers":{},"vendor":"LaMetric","version":"2.0.2","version_code":"48","widgets":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx":{"index":2,"package":"com.lametric.diy.devwidget","settings":{"_title":"My Data DIY"},"visible":false}}},"com.lametric.radio":{"actions":{"radio.next":{},"radio.play":{},"radio.play.at":{"idx":{"data_type":"int","name":"idx","required":false}},"radio.prev":{},"radio.state":{},"radio.stop":{}},"package":"com.lametric.radio","title":"Radio","triggers":{},"vendor":"LaMetric","version":"1.4.20","version_code":"74","widgets":{"4_com.lametric.radio":{"index":4,"package":"com.lametric.radio","settings":{"_title":"Radio"},"visible":false}}},"com.lametric.stopwatch":{"actions":{"stopwatch.pause":{},"stopwatch.reset":{},"stopwatch.start":{}},"package":"com.lametric.stopwatch","title":"Stopwatch","triggers":{},"vendor":"LaMetric","version":"1.2.0","version_code":"16","widgets":{"5_com.lametric.stopwatch":{"index":5,"package":"com.lametric.stopwatch","settings":{"_title":"Stopwatch"},"visible":false}}},"com.lametric.weather":{"actions":{"weather.forecast":{},"weather.get.cc":{},"weather.setProduct":{}},"package":"com.lametric.weather","title":"Weather","triggers":{},"vendor":"LaMetric","version":"1.2.2","version_code":"32","widgets":{"2_com.lametric.weather":{"index":1,"package":"com.lametric.weather","settings":{"_title":"Wetter"},"visible":true}}}}
2023-12-27 07:38:10.933 - debug: lametric.0 (1125) [apps] found (keep): apps.1_com_lametric.clock
2023-12-27 07:38:11.044 - debug: lametric.0 (1125) [apps] found (keep): apps.6_com_lametric.countdown
2023-12-27 07:38:11.099 - debug: lametric.0 (1125) [apps] found (keep): apps.3_com_lametric.custommessage
2023-12-27 07:38:11.144 - debug: lametric.0 (1125) [apps] found (keep): apps.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2023-12-27 07:38:11.145 - debug: lametric.0 (1125) [mydatadiy] found app widget with uuid "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
2023-12-27 07:38:11.279 - debug: lametric.0 (1125) [apps] found (keep): apps.4_com_lametric.radio
2023-12-27 07:38:11.343 - debug: lametric.0 (1125) [apps] found (keep): apps.5_com_lametric.stopwatch
2023-12-27 07:38:11.394 - debug: lametric.0 (1125) [apps] found (keep): apps.2_com_lametric.weather
2023-12-27 07:38:11.504 - warn: lametric.0 (1125) (device) Unable to execute action: TypeError: Cannot read properties of undefined (reading 'active')
2023-12-27 07:38:11.507 - debug: lametric.0 (1125) [mydatadiy] collecting states
2023-12-27 07:38:11.508 - debug: lametric.0 (1125) [mydatadiy] found 0 dynamic states: []
2023-12-27 07:38:11.510 - debug: lametric.0 (1125) [mydatadiy] found foreign states: []
2023-12-27 07:38:11.511 - debug: lametric.0 (1125) [mydatadiy] refresh output state with config: [{"icon":"3983","text":"Meckii","hideif":"","duration":5},{"icon":"2867","text":"Lina","hideif":"","duration":5},{"icon":"7756","text":"Paul","hideif":"","duration":5}]
2023-12-27 07:38:11.513 - debug: lametric.0 (1125) [mydatadiy] completed - frame update to [{"text":"Meckii","duration":5000,"icon":"3983"},{"text":"Lina","duration":5000,"icon":"2867"},{"text":"Paul","duration":5000,"icon":"7756"}]
2023-12-27 07:38:11.541 - debug: lametric.0 (1125) [mydatadiy] pusing changes to device - app xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2023-12-27 07:38:11.543 - debug: lametric.0 (1125) sending "POST" request to "/api/v2/widget/update/com.lametric.diy.devwidget/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with http on port 8080 with data: {"frames":[{"text":"Meckii","duration":5000,"icon":"3983"},{"text":"Lina","duration":5000,"icon":"2867"},{"text":"Paul","duration":5000,"icon":"7756"}]}
2023-12-27 07:38:11.720 - debug: lametric.0 (1125) API is offline
2023-12-27 07:38:11.750 - debug: lametric.0 (1125) received 200 response from "http://192.168.7.45:8080/api/v2/widget/update/com.lametric.diy.devwidget/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with content: ""
warn: lametric.0 (1125) (device) Unable to execute action: TypeError: Cannot read properties of undefined (reading 'active')
Danke, scheinbar hat die sa8 (also das 2022 modell) kein bluetooth low energy. Wird gefixt
Ich wollte das 32/64 Bit ausschließe
Ich kenne übrigens keinen Fall, wo das relevant ist.
Version v3.1.2 über Github installiert. Danke
Über GitHub installiert man keine definierten Versionen. Du hast jetzt Stand df4398dc781abe4ad8778a84cdcba159dbd295bc
Besser über npm die letzte freigegeben Version installieren. GitHub einfach komplett vergessen bei der Arbeit mit ioBroker (gerade in Produktivsystemen)
Danke - sollte dann wieder behoben sein...
I'm sure that
LaMetric Firmware version
3.0.21
The problem
Adapter generates warnings in the log. admin.0
lametric has an invalid jsonConfig: [{"instancePath":"","schemaPath":"#/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"iconPosition"},"message":"must NOT have additional properties"}]
and every 60sec lametric.0
(device) Unable to execute action: TypeError: Cannot read properties of undefined (reading 'active')
Version of nodejs
v18.19.0
Version of ioBroker js-controller
5.0.17
Version of Adapter
v3.1.1
Operating system running ioBroker
Linux raspberry 6.1.0-rpi7-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux
Checklist of files to include below
Additional information & file uploads