Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. lametric Adapter müllt Protokoll voll

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    lametric Adapter müllt Protokoll voll

    This topic has been deleted. Only users with topic management privileges can see it.
    • mcm1957
      mcm1957 @Meckii last edited by

      @meckii

      A) Gib bei allen Fehlermeldungen bitte die VERSIONEN aller beteiligten Adapter an. Schon usere Glaskugeln.

      B) Da es jedenfalls nach Verbesserungsbedarf im Adapter aussieht eröffne sinnvoller Wiese ein Issue beim Adapter.

      M 1 Reply Last reply Reply Quote 1
      • M
        Meckii @mcm1957 last edited by Meckii

        @mcm57

        meckii@raspberry:~ $ iobroker -v
        5.0.17

        Screenshot 2023-12-25 110115.png

        Screenshot 2023-12-25 110205.png

        Edit:
        Auch wenn "Verbunden mit Gerät oder Dienst" nicht geht werden die Meldungen auf der Lametix angezeigt...

        Muss mal schauen dass ich das dann noch bei github als issue aufmache...

        Thomas Braun mcm1957 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Meckii last edited by Thomas Braun

          @meckii

          Kannst dir auch die Ausgaben zu

          iob diag
          

          ansehen. Da kann man u.U. auch schon was rauslesen.

          M 1 Reply Last reply Reply Quote 0
          • mcm1957
            mcm1957 @Meckii last edited by

            @meckii
            Da "Verbunden" rot ist, KÖNNTE es sich um ein Verbindungsproblem handeln. Die Fehlermeldunge rscheint mir zwar jedenfalls verbesserbar - aber ev. hilft es dir ja, wenn du den Bereich Verbindung (Netzwerk, Gerät, ev. Passowrt (wenn so was existiert) mal checkst.

            1 Reply Last reply Reply Quote 0
            • M
              Meckii @Thomas Braun last edited by

              @thomas-braun sagte in lametric Adapter müllt Protokoll voll:

              @meckii

              Kannst dir auch die Ausgaben zu

              iob diag
              

              ansehen. Da kann man u.U. auch schon was rauslesen.

              ======================= SUMMARY =======================
                                      v.2023-10-10
              
              
               Static hostname: raspberry
                     Icon name: computer
              Operating System: Debian GNU/Linux 12 (bookworm)
                        Kernel: Linux 6.1.0-rpi7-rpi-2712
                  Architecture: arm64
              
              Installation:           native
              Kernel:                 aarch64
              Userland:               arm64
              Timezone:               Europe/Berlin (CET, +0100)
              User-ID:                1000
              X-Server:               false
              Boot Target:            multi-user.target
              
              Pending OS-Updates:     0
              Pending iob updates:    0
              
              Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                                      /usr/bin/node           v18.19.0
                                      /usr/bin/npm            10.2.3
                                      /usr/bin/npx            10.2.3
                                      /usr/bin/corepack       0.22.0
              
              Recommended versions are nodejs  and npm
              Your nodejs installation is correct
              
              MEMORY:
                             total        used        free      shared  buff/cache   available
              Mem:            8.4G        929M        6.9G         11M        721M        7.5G
              Swap:           104M          0B        104M
              Total:          8.5G        929M        7.0G
              
              Active iob-Instances:   7
              Active repo(s): stable
              
              ioBroker Core:          js-controller           5.0.17
                                      admin                   6.12.0
              
              ioBroker Status:        iobroker is running on this host.
              
              
              Objects type: jsonl
              States  type: jsonl
              
              Status admin and web instance:
              + system.adapter.admin.0                  : admin                 : miniserver                               -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
              
              Objects:                643
              States:                 416
              
              Size of iob-Database:
              
              16M     /opt/iobroker/iobroker-data/objects.jsonl
              3.3M    /opt/iobroker/iobroker-data/states.jsonl
              
              
              
              =================== END OF SUMMARY ====================
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Meckii last edited by

                @meckii

                Die Zusammenfassung sieht sehr gut aus.

                1 Reply Last reply Reply Quote 1
                • M
                  Meckii last edited by Meckii

                  Eben noch was im Log entdeckt.

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

                  Screenshot 2023-12-26 092427.png

                  1 Reply Last reply Reply Quote 0
                  • M
                    Meckii last edited by

                    So nochmal mit dem lametric adapter im debug-modus (hab heute Morgen erst rausgefunden wie das geht)

                    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: ""
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Meckii last edited by

                      @meckii

                      Warum zieht die Kiste denn hier eine alte nodejs ran?

                      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
                      
                      M 1 Reply Last reply Reply Quote 0
                      • M
                        Meckii @Thomas Braun last edited by Meckii

                        @thomas-braun
                        Oh das kann sein.
                        Ich glaube ich habe bei dier vielen Rumprobiererrei den Log mit einem anderen Raspberry mit einem 32bit system gemacht. Ich wollte das 32/64 Bit ausschließen...
                        Also das war dann Bullseye 32bit das erste Bookworm 64bit...

                        1 Reply Last reply Reply Quote 0
                        • M
                          Meckii last edited by

                          Inzwischen gibt es einen issue bei github...
                          https://github.com/klein0r/ioBroker.lametric/issues/169

                          Meckiilino created this issue in klein0r/ioBroker.lametric

                          closed Cannot read properties of undefined (reading 'active') #169

                          haus-automatisierung 1 Reply Last reply Reply Quote 0
                          • haus-automatisierung
                            haus-automatisierung Developer Most Active @Meckii last edited by

                            @meckii Danke, ist gelöst ab 3.1.2 - lag daran, dass die 2022er Modelle über die API scheinbar kein bluetooth low energy status ausliefern. Bitte schauen, ob Du die aktuellste Firmware 3.0.21 installiert hast (gibts erst ein paar Tage). Da sind wohl auch einige Bugfixes enthalten.

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              Meckii @haus-automatisierung last edited by

                              @haus-automatisierung
                              Die Version 3.0.21 gibt es schon und wurde bereits am 24.12.23 installiert.
                              (Habe die Lametric von meiner Frau bekommen)

                              Vielen Dank den lametric Adapter habe ich bereits über github installiert - beim starten wird er nun grün und der Fehler ist weg...

                              haus-automatisierung 1 Reply Last reply Reply Quote 1
                              • haus-automatisierung
                                haus-automatisierung Developer Most Active @Meckii last edited by

                                @meckii Bitte nie über GitHub installieren. Lieber über npm wenn Du die letzte klar definiere Version haben möchtest.

                                1 Reply Last reply Reply Quote 0
                                • M
                                  Meckii last edited by Meckii

                                  @haus-automatisierung
                                  Da war der Adapter in der heute von dir angepassten Version aber noch nicht verfügber...Screenshot 2023-12-27 145800.png

                                  haus-automatisierung 1 Reply Last reply Reply Quote 0
                                  • haus-automatisierung
                                    haus-automatisierung Developer Most Active @Meckii last edited by haus-automatisierung

                                    @meckii Klar, der liegt seit heute morgen auf npm

                                    IMG_5246.jpeg

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      Meckii @haus-automatisierung last edited by

                                      @haus-automatisierung
                                      Habe es jetzt wieder aus npm installiert - vielen Dank fürs fixen und die Tipps!

                                      1 Reply Last reply Reply Quote 1
                                      • First post
                                        Last post

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate
                                      FAQ Cloud / IOT
                                      HowTo: Node.js-Update
                                      HowTo: Backup/Restore
                                      Downloads
                                      BLOG

                                      443
                                      Online

                                      31.7k
                                      Users

                                      79.8k
                                      Topics

                                      1.3m
                                      Posts

                                      4
                                      18
                                      534
                                      Loading More Posts
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      Community
                                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                      The ioBroker Community 2014-2023
                                      logo