Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter heizoel24-mex v1.3.x GitHub/Latest

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter heizoel24-mex v1.3.x GitHub/Latest

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

      Aktuelle Test Version 1.3.2
      Veröffentlichungsdatum 04.03.2024
      Github Link https://github.com/ltspicer/ioBroker.heizoel24-mex

      Der MEX ist ein Heizoelstandsmesser.
      Dieser Adapter liest die Daten vom Heizoel24 Server und speichert diese im Datenpunkt heizoel24-mex. Hierzu muss Username (Email Adresse) und Passwort des Heizoel24 Accounts eingegeben werden. Zusätzlich kann ein MQTT Ziel angegeben werden.

      spicer T 2 Replies Last reply Reply Quote 0
      • spicer
        spicer @spicer last edited by spicer

        @spicer
        v1.3.1 am Start

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

          @spicer said in Test Adapter heizoel24-mex v0.0.4 GitHub/Latest:

          @spicer
          Ist nun stable v1.0.1-alpha.0
          https://github.com/ltspicer/ioBroker.heizoel24-mex
          Kann geschlossen werden.
          Danke

          Damit keine Verwirrung entsteht

          Der Adapter ist NICHT im stable Repository. Er ist auch noch nicht im LATEST Repository. PR zur Aufnahme ins Latest wurde eben erst erstellt.

          Was hier geschlossen werden kann / soll ist mir unklar. Review und Test beginnen ja eben erst. Der Zestthread sollte daher für Feedback natürlich offen bleiben.

          @spicer
          Bitte Topic und versionsnummern im erdten Beitrag anpassen

          spicer 1 Reply Last reply Reply Quote 1
          • spicer
            spicer @mcm1957 last edited by

            Könnte ins stable aufgenommen werden. Keine Antworten hier heisst wahrscheinlich, dass es keine Ungereimtheiten gibt ^^

            https://github.com/ioBroker/ioBroker.repositories/pull/3390#issuecomment-2016579053

            ltspicer created this issue in ioBroker/ioBroker.repositories

            closed Add heizoel24-mex to latest #3390

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

              @spicer
              Na ja - mal warten dass ihn ein paar Leute installieren. Bisher gibt es eben mal 5 Installationen - davon sind sicher mindestesn 3 von dir :-).

              1aeeb59e-9d3e-4d10-9612-c2a9ad561476-image.png

              1 Reply Last reply Reply Quote 0
              • T
                Thomas P 0 @spicer last edited by

                @spicer Hallo Spicer,
                ich habe mir gerade die v1.3.1 installiert. Dauert es etwas, bis die Daten abgefragt werden können? Aktuell bekomme ich folgende Meldungen im Log:

                
                
                heizoel24-mex.0
                2024-06-04 11:26:33.070	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                
                heizoel24-mex.0
                2024-06-04 11:26:33.070	info	terminating
                
                heizoel24-mex.0
                2024-06-04 11:26:33.065	error	Cannot read properties of null (reading 'MonthAndYear')
                
                heizoel24-mex.0
                2024-06-04 11:26:33.065	error	TypeError: Cannot read properties of null (reading 'MonthAndYear') at Heizoel24Mex.main (/opt/iobroker/node_modules/iobroker.heizoel24-mex/main.js:363:34) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Heizoel24Mex.onReady (/opt/iobroker/node_modules/iobroker.heizoel24-mex/main.js:135:30)
                
                heizoel24-mex.0
                2024-06-04 11:26:33.065	error	unhandled promise rejection: Cannot read properties of null (reading 'MonthAndYear')
                heizoel24-mex.0
                2024-06-04 11:26:33.065	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().
                heizoel24-mex.0
                2024-06-04 11:26:32.696	info	starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.heizoel24-mex, node: v18.20.3, js-controller: 5.0.19
                

                Kann es sein, dass es duert, bis man die Daten aus dem Portal abrufen kann?

                MfG
                Thomas Pfaffinger

                mcm1957 1 Reply Last reply Reply Quote 1
                • mcm1957
                  mcm1957 @Thomas P 0 last edited by

                  @thomas-p-0 said in Test Adapter heizoel24-mex v0.0.x GitHub/Latest:

                  @spicer Hallo Spicer,
                  ich habe mir gerade die v1.3.1 installiert. Dauert es etwas, bis die Daten abgefragt werden können? Aktuell bekomme ich folgende Meldungen im Log:

                  
                  
                  heizoel24-mex.0
                  2024-06-04 11:26:33.070	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                  
                  heizoel24-mex.0
                  2024-06-04 11:26:33.070	info	terminating
                  
                  heizoel24-mex.0
                  2024-06-04 11:26:33.065	error	Cannot read properties of null (reading 'MonthAndYear')
                  
                  heizoel24-mex.0
                  2024-06-04 11:26:33.065	error	TypeError: Cannot read properties of null (reading 'MonthAndYear') at Heizoel24Mex.main (/opt/iobroker/node_modules/iobroker.heizoel24-mex/main.js:363:34) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Heizoel24Mex.onReady (/opt/iobroker/node_modules/iobroker.heizoel24-mex/main.js:135:30)
                  
                  heizoel24-mex.0
                  2024-06-04 11:26:33.065	error	unhandled promise rejection: Cannot read properties of null (reading 'MonthAndYear')
                  heizoel24-mex.0
                  2024-06-04 11:26:33.065	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().
                  heizoel24-mex.0
                  2024-06-04 11:26:32.696	info	starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.heizoel24-mex, node: v18.20.3, js-controller: 5.0.19
                  

                  Kann es sein, dass es duert, bis man die Daten aus dem Portal abrufen kann?

                  MfG
                  Thomas Pfaffinger

                  Kann zwar nichts zum eigentlichen Problem sagen aber diese Fehlermeldung ist jedenfalls ein Issue im Adapter Repo wert. Der Adapter sollte keinesfalls crashen wenn er irgendwelche Daten nicht erhalten hat (und daher eine Variable null ist). Vielmehr sollte eine Fehlermeldung ausgegeben werden. Ob sich der Adapter dann beenden sollte oder "nur" den aktuellen Zyklus abbricht muss vom Maintainer entschieden werden.

                  Mach daher bitte ein Issue beim Adapter auf

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    Thomas P 0 @mcm1957 last edited by

                    heizoel24-mex.0
                    2024-06-04 12:58:09.674	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                    heizoel24-mex.0
                    2024-06-04 12:58:09.673	info	terminating
                    heizoel24-mex.0
                    2024-06-04 12:58:09.659	error	Cannot read properties of null (reading 'MonthAndYear')
                    heizoel24-mex.0
                    2024-06-04 12:58:09.659	error	TypeError: Cannot read properties of null (reading 'MonthAndYear') at Heizoel24Mex.main (/opt/iobroker/node_modules/iobroker.heizoel24-mex/main.js:363:34) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Heizoel24Mex.onReady (/opt/iobroker/node_modules/iobroker.heizoel24-mex/main.js:135:30)
                    heizoel24-mex.0
                    2024-06-04 12:58:09.658	error	unhandled promise rejection: Cannot read properties of null (reading 'MonthAndYear')
                    heizoel24-mex.0
                    2024-06-04 12:58:09.658	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().
                    heizoel24-mex.0
                    2024-06-04 12:58:09.658	debug	Items: ResultMessage: false, unit: , Typ: boolean
                    heizoel24-mex.0
                    2024-06-04 12:58:09.657	debug	Items: ResultCode: false, unit: , Typ: boolean
                    heizoel24-mex.0
                    2024-06-04 12:58:09.657	debug	Items: LastOrderPrice: false, unit: €|CHF, Typ: boolean
                    heizoel24-mex.0
                    2024-06-04 12:58:09.657	debug	Items: RemainingDays: false, unit: Days, Typ: boolean
                    heizoel24-mex.0
                    2024-06-04 12:58:09.657	debug	Items: YearlyOilUsage: false, unit: L, Typ: boolean
                    heizoel24-mex.0
                    2024-06-04 12:58:09.657	debug	Items: LastMeasurementWasTooHigh: false, unit: , Typ: boolean
                    heizoel24-mex.0
                    2024-06-04 12:58:09.657	debug	Items: MeasuredDaysCount: 1, unit: Days, Typ: number
                    heizoel24-mex.0
                    2024-06-04 12:58:09.657	debug	Items: HasMeasurements: true, unit: , Typ: boolean
                    heizoel24-mex.0
                    2024-06-04 12:58:09.657	debug	Items: SensorTypeId: 1, unit: , Typ: number
                    heizoel24-mex.0
                    2024-06-04 12:58:09.657	debug	Items: LastMeasurementWasSuccessfully: true, unit: , Typ: boolean
                    heizoel24-mex.0
                    2024-06-04 12:58:09.657	debug	Items: LitresPerCentimeter: 47, unit: L/cm, Typ: number
                    heizoel24-mex.0
                    2024-06-04 12:58:09.657	debug	Items: Battery: 2.9, unit: V, Typ: number
                    heizoel24-mex.0
                    2024-06-04 12:58:09.657	debug	Items: BatteryPercentage: 75, unit: %, Typ: number
                    heizoel24-mex.0
                    2024-06-04 12:58:09.657	debug	Items: LastMeasurementWithDifferentValue: false, unit: , Typ: boolean
                    heizoel24-mex.0
                    2024-06-04 12:58:09.657	debug	Items: LastMeasurementTimeStamp: 2024-06-04T13:03:22, unit: , Typ: string
                    heizoel24-mex.0
                    2024-06-04 12:58:09.656	debug	Items: MexName: **XXXXXXXX**, unit: , Typ: string
                    heizoel24-mex.0
                    2024-06-04 12:58:09.656	debug	Items: ZipCode: **XXXXX**, unit: , Typ: string
                    heizoel24-mex.0
                    2024-06-04 12:58:09.656	debug	Items: MaxVolume: **XXXX**, unit: L, Typ: number
                    heizoel24-mex.0
                    2024-06-04 12:58:09.656	debug	Items: RemainsUntil: false, unit: , Typ: boolean
                    heizoel24-mex.0
                    2024-06-04 12:58:09.656	debug	Items: Usage: false, unit: L/Day, Typ: boolean
                    heizoel24-mex.0
                    2024-06-04 12:58:09.656	debug	Items: NotificationsEnabled: false, unit: , Typ: boolean
                    heizoel24-mex.0
                    2024-06-04 12:58:09.656	debug	Items: NotifyAtAlmostEmptyLevel: 10, unit: %, Typ: number
                    heizoel24-mex.0
                    2024-06-04 12:58:09.656	debug	Items: NotifyAtLowLevel: 20, unit: %, Typ: number
                    heizoel24-mex.0
                    2024-06-04 12:58:09.656	debug	Items: CurrentVolume: **xxxx**, unit: L, Typ: number
                    heizoel24-mex.0
                    2024-06-04 12:58:09.656	debug	Items: CurrentVolumePercentage: 21, unit: %, Typ: number
                    heizoel24-mex.0
                    2024-06-04 12:58:09.656	debug	Items: IsMain: true, unit: , Typ: boolean
                    heizoel24-mex.0
                    2024-06-04 12:58:09.656	debug	Items: SensorId: 15825, unit: , Typ: number
                    heizoel24-mex.0
                    2024-06-04 12:58:09.656	debug	PricingForecast: ResultMessage: false, unit: , Typ: object
                    heizoel24-mex.0
                    2024-06-04 12:58:09.655	debug	PricingForecast: ResultCode: false, unit: , Typ: number
                    heizoel24-mex.0
                    2024-06-04 12:58:09.655	debug	PricingForecast: ShowForecast: true, unit: , Typ: boolean
                    heizoel24-mex.0
                    2024-06-04 12:58:09.655	debug	PricingForecast: ShowComparedToYesterday: true, unit: , Typ: boolean
                    heizoel24-mex.0
                    2024-06-04 12:58:09.655	debug	PricingForecast: DashboardViewMode: 1, unit: , Typ: number
                    heizoel24-mex.0
                    2024-06-04 12:58:09.655	debug	PricingForecast: HasMultipleMexDevices: false, unit: , Typ: boolean
                    heizoel24-mex.0
                    2024-06-04 12:58:09.655	debug	PricingForecast: PriceForecastPercentage: 0.58, unit: %, Typ: number
                    heizoel24-mex.0
                    2024-06-04 12:58:09.655	debug	PricingForecast: PriceComparedToYesterdayPercentage: -2.54, unit: %, Typ: number
                    heizoel24-mex.0
                    2024-06-04 12:58:09.655	debug	PricingForecast: LastOrderPrice: false, unit: €|CHF/100L, Typ: object
                    heizoel24-mex.0
                    2024-06-04 12:58:09.654	debug	Data was received
                    heizoel24-mex.0
                    2024-06-04 12:58:09.505	debug	Refresh sensor data cache...
                    heizoel24-mex.0
                    2024-06-04 12:58:09.505	debug	Logged in
                    heizoel24-mex.0
                    2024-06-04 12:58:09.505	debug	Session ID: 68db0ba5-7646-4e60-a977-fb292ef0019c
                    heizoel24-mex.0
                    2024-06-04 12:58:09.505	debug	Login OK
                    heizoel24-mex.0
                    2024-06-04 12:58:09.308	debug	Login in...
                    heizoel24-mex.0
                    2024-06-04 12:58:09.308	debug	MQTT port: 1883
                    heizoel24-mex.0
                    2024-06-04 12:58:09.307	debug	MQTT active: false
                    heizoel24-mex.0
                    2024-06-04 12:58:09.305	silly	States system redis pmessage system.adapter.heizoel24-Mex.0.logLevel/system.adapter.heizoel24-mex.0.logLevel:{"val":"silly","ack":true,"ts":1717498689295,"q":0,"from":"system.adapter.heizoel24-mex.0","lc":1717498689295}
                    heizoel24-mex.0
                    2024-06-04 12:58:09.295	debug	Sensor ID is 1
                    heizoel24-mex.0
                    2024-06-04 12:58:09.286	info	starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.heizoel24-mex, node: v18.20.3, js-controller: 5.0.19
                    heizoel24-mex.0
                    2024-06-04 12:58:03.005	warn	Terminated (NO_ADAPTER_CONFIG_FOUND): Without reason
                    

                    Das ist mal das gesamte Debug-Log. Also der Login funktioniert, die Werte (auch die Werte, die ich "ausge-x-t" habe, passen.

                    spicer 1 Reply Last reply Reply Quote 0
                    • spicer
                      spicer @Thomas P 0 last edited by

                      @thomas-p-0
                      Hi
                      Kommen die anderen Daten ausser RemainsUntilCombined rein?

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        Thomas P 0 @spicer last edited by

                        @spicer Hallo Spicer,
                        leider nicht. Es wird nur der Datenpunkt "Admin" erstellt.

                        MfG
                        Thomas Pfaffinger

                        T spicer 2 Replies Last reply Reply Quote 0
                        • T
                          Thomas P 0 @Thomas P 0 last edited by

                          @thomas-p-0 P.S.: Und den gibt es leider auch nicht mehr. Vermutlich wird der nur in der Expertenansicht angezeigt

                          1 Reply Last reply Reply Quote 0
                          • spicer
                            spicer @Thomas P 0 last edited by

                            @thomas-p-0
                            Hmm, kannst den kompletten Datenpunkt heizoel24-mex mal löschen und den Adapter neu starten bitte?

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              Thomas P 0 @spicer last edited by

                              @spicer Datenpunkte bleiben verschwunden, Fehlermeldung bleibt gleich

                              spicer 1 Reply Last reply Reply Quote 0
                              • spicer
                                spicer @Thomas P 0 last edited by

                                @thomas-p-0
                                Ich kann den Fehler nicht reproduzieren.
                                Was hast Du für eine Node.js Version drauf?

                                T 2 Replies Last reply Reply Quote 0
                                • T
                                  Thomas P 0 @spicer last edited by

                                  @spicer Die aktuellste
                                  c84b5a0b-ae4c-496f-a8c7-58b689209415-image.png

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Thomas P 0 @spicer last edited by

                                    @spicer Ich vemrute mal, dass da ein Wert noch nicht mit übergeben wird, und dass deshalb java abbricht.
                                    f25a7e64-649a-44ce-82dc-4a3f86a43b4f-image.png

                                    spicer 1 Reply Last reply Reply Quote 0
                                    • spicer
                                      spicer @Thomas P 0 last edited by

                                      @thomas-p-0
                                      Könnte sein, weil "reicht noch" hatte ich nie leer.
                                      Ich gehe der Sache mal nach. Sende Dir dann eine main.js, mit welcher Du dann testen kannst.
                                      Sorry für die Unannehmlichkeiten.

                                      Achja, noch was; Hast Du nur 1 MEX?

                                      T 1 Reply Last reply Reply Quote 0
                                      • T
                                        Thomas P 0 @spicer last edited by

                                        @spicer Ja, und das nur wegen dir. Ohne den Adapter hätte ich mir den nicht gekauft 🙂

                                        spicer 1 Reply Last reply Reply Quote 1
                                        • spicer
                                          spicer @Thomas P 0 last edited by

                                          @thomas-p-0
                                          Ist aber super zum debuggen, weil Du wahrscheinlich der Erste bist, welcher den MEX nagelneu hat.

                                          1 Reply Last reply Reply Quote 0
                                          • spicer
                                            spicer last edited by

                                            @thomas-p-0 sagte in Test Adapter heizoel24-mex v0.0.x GitHub/Latest:

                                            unhandled promise rejection: Cannot read properties of null

                                            Kannst mal die /opt/iobroker/node_modules/iobroker.heizoel24-mex/main.js durch diese ersetzen?

                                            main.js

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            33
                                            1468
                                            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