Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter OnlyCat v0.5.1

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Test Adapter OnlyCat v0.5.1

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

      Aktuelle Test Version 0.5.1
      Veröffentlichungsdatum 08.09.2025
      Github Link https://github.com/Sickboy78/ioBroker.onlycat/

      Beschreibung des Adapters

      OnlyCat ist eine KI-gestützte smarte Katzenklappe mit Beuteerkennung. Der Adapter zeigt die Ereignisse der OnlyCat Katzenklappe an, d.h. Ein- und Austritt der Katzen bzw. verwehrter Eintritt bei Beuteerkennung. Aus den Ereignissen ermittelt der Adapter auch den Aufenthaltsort der Katzen (drin oder draußen).

      Voraussetzung

      Es wird eine OnlyCat Katzenklappe (entweder mit inkludierter Cloudfunktion oder mit Cloud-Abonnement) benötigt, sowie die installierte OnlyCat App (Android oder Apple).

      mcm1957 David G. 2 Replies Last reply Reply Quote 0
      • mcm1957
        mcm1957 @Sickboy78 last edited by

        @sickboy78
        Danke dass du Zeit für einen neuen Adapter aufwendest.

        Der Adapter hat aber noch einige Issues:

        ❗ [E150] No "common.connectionType" found in io-package.json
        ❗ [E152] No "common.dataSource" found in io-package.json
        ❗ [E251] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: npm owner add bluefox iobroker.onlycat
        ❗ [E254] Version "0.0.1" listed at common.news at io-package.json does not exist at NPM. Please remove from news section.
        ❗ [E512] "admin/jsonCustom.json5" not found, but custom support is declared
        ❗ [E802] No topics found in the repository. Please go to "https://github.com/Sickboy78/ioBroker.onlycat", press the settings button beside the about title and add some topics.

        Bitte abarbeiten.
        DANKE

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

          Hi @mcm1957
          danke fürs checken, die issues sollten jetzt alle gefixt sein.

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

            @sickboy78
            super
            DANKE

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

              Seit Version v0.3.1 werden nur final zugeordnete Events (Beuteerkennung abgeschlossen) angezeigt und zur Statusermittlung herangezogen.

              English

              Since version v0.3.1, only finally assigned events (prey detection completed) are displayed and used to determine the pet status.

              1 Reply Last reply Reply Quote 0
              • David G.
                David G. @Sickboy78 last edited by David G.

                @sickboy78

                Kannte das Teil noch garnicht.
                Würde uns sehr viel Arbeit erleichtern 🤣

                Kann es sein, daß auf der ganzen Seite nicht steht, was dieses Abo kostet?
                Ohne ist das Teil ja ganze 250€ teurer.

                EDIT
                Gefunden, hatte man ruhig prominenter platzieren können. EUR €9.99/Monat.

                Sickboy78 1 Reply Last reply Reply Quote 0
                • Sickboy78
                  Sickboy78 @David G. last edited by

                  @david-g Ja, der Preis ist nicht ohne. Aber bei 2 jagdaktiven Fellnasen kann ich mit der Klappe besser Schlafen.

                  David G. 1 Reply Last reply Reply Quote 1
                  • David G.
                    David G. @Sickboy78 last edited by

                    @sickboy78

                    Ich hab vor ein paar Tagen 4 Mäuse und einen Maulwurf vor der Katzenklappe gehabt......

                    Bleibt nachts seit einiger Zeit geschlossen, egal was für ein Wetter.....

                    1 Reply Last reply Reply Quote 0
                    • M-A Hueb
                      M-A Hueb last edited by M-A Hueb

                      Moin,
                      hab seit gestern auch die Klappe im Einsatz. Adapter läuft soweit gut.
                      Gibt es hier wie bei Sureflap auch die Möglichkeit einzelne Katzen uaf "Haustier" zu setzen?
                      und könnte man es evtl so erweitern, dass man die Regeln auch sieht und schalten kann?

                      Sickboy78 1 Reply Last reply Reply Quote 0
                      • Sickboy78
                        Sickboy78 @M-A Hueb last edited by

                        @m-a-hueb
                        Also die App bietet die Möglichkeit nicht direkt.
                        Aber über Regeln/Richtlinien sollte sich was Entsprechendes umsetzen lassen.
                        Kommt ganz oben auf meine Todo, die Regeln im Adapter anzuzeigen und aktivieren zu können.

                        M-A Hueb 1 Reply Last reply Reply Quote 1
                        • M-A Hueb
                          M-A Hueb @Sickboy78 last edited by

                          @sickboy78 Habs aktuell genau so wie du es beschrieben hast gelöst. Regeln im Adapter wäre Super.
                          Danke für deine Mühen

                          Sickboy78 2 Replies Last reply Reply Quote 0
                          • Sickboy78
                            Sickboy78 @M-A Hueb last edited by Sickboy78

                            Version 0.5.0 ist da und bringt neben mehr Gerätedetails (connectivity, firmeware channel) auch die Anzeige der Türrichtlinien und die Möglichkeit, die aktive Richtlinie zu setzen.

                            English

                            Version 0.5.0 is now available and, in addition to more device details (connectivity, firmware channel), also displays transit policies and allows you to set the active transit policy.

                            1 Reply Last reply Reply Quote 0
                            • Sickboy78
                              Sickboy78 @M-A Hueb last edited by

                              @m-a-hueb Schau mal Version 0.5.0.

                              M-A Hueb 1 Reply Last reply Reply Quote 0
                              • M-A Hueb
                                M-A Hueb @Sickboy78 last edited by M-A Hueb

                                @sickboy78 Guten Morgen,

                                hab mal 0.5.0 installiert.

                                Ich hab folgende Meldungen im Log:

                                onlycat.0
                                	2025-09-08 07:51:27.995	info	State value to set for "onlycat.0.Tor_zur_Freiheit.connectivity.timestamp" has to be type "string" but received type "number"
                                onlycat.0
                                	2025-09-08 07:51:27.991	info	Automatic Reconnecting is active.
                                onlycat.0
                                	2025-09-08 07:51:27.991	info	Disconnected.
                                onlycat.0
                                	2025-09-08 07:51:27.991	debug	setting connection status to adapter
                                onlycat.0
                                	2025-09-08 07:51:27.991	debug	undefined
                                onlycat.0
                                	2025-09-08 07:51:27.990	warn	Could not update devices (undefined).
                                onlycat.0
                                	2025-09-08 07:51:27.990	warn	Could not update device at index '0' (Error: undefined is not a valid state value).
                                onlycat.0
                                	2025-09-08 07:51:27.990	debug	Object hierarchy created.
                                onlycat.0
                                	2025-09-08 07:51:27.990	debug	Deleted or renamed transit policies removed.
                                onlycat.0
                                	2025-09-08 07:51:27.961	debug	Removing deleted or renamed transit policies for device 'OC-8C1F64481B40'...
                                onlycat.0
                                	2025-09-08 07:51:27.941	debug	searching and removing of obsolete objects complete
                                onlycat.0
                                	2025-09-08 07:51:27.938	debug	searching and removing of obsolete objects for adapter versions before 0.5.0
                                onlycat.0
                                	2025-09-08 07:51:27.938	debug	searching and removing of obsolete objects
                                onlycat.0
                                	2025-09-08 07:51:27.938	info	adapter was upgraded from '0.4.0' to '0.5.0'.
                                onlycat.0
                                	2025-09-08 07:51:27.938	debug	last running adapter version is '0.4.0'.
                                onlycat.0
                                	2025-09-08 07:51:27.935	debug	Creating object hierarchy...
                                onlycat.0
                                	2025-09-08 07:51:27.935	debug	Got 2 transit policy IDs.
                                onlycat.0
                                	2025-09-08 07:51:27.935	debug	Normalizing transit policy name from: 'Milou darf nicht raus' to 'Milou_darf_nicht_raus'
                                onlycat.0
                                	2025-09-08 07:51:27.935	debug	(OnlyCatApi) [10] <- event: ''getDeviceTransitPolicy'' - response: '{ deviceTransitPolicyId: 12337, deviceId: 'OC-8C1F64481B40', name: 'Milou darf nicht raus', transitPolicy: { rules: [ [Object], [Object], [Object] ], idleLock: true, idleLockBatter...'
                                onlycat.0
                                	2025-09-08 07:51:27.934	debug	(OnlyCatApi) [9] <- event: ''getDeviceTransitPolicy'' - response: '{ deviceTransitPolicyId: 12329, deviceId: 'OC-8C1F64481B40', name: 'Ausgangssperre', transitPolicy: { rules: [ [Object], [Object], [Object], [Object] ], idleLock: true, idleLockBat...'
                                onlycat.0
                                	2025-09-08 07:51:27.885	debug	(OnlyCatApi) [10] -> event: ''getDeviceTransitPolicy'' - args: '[ { deviceTransitPolicyId: 12337 } ]'
                                onlycat.0
                                	2025-09-08 07:51:27.885	debug	Getting transit policy for transit policy ID '12337'...
                                onlycat.0
                                	2025-09-08 07:51:27.885	debug	(OnlyCatApi) [9] -> event: ''getDeviceTransitPolicy'' - args: '[ { deviceTransitPolicyId: 12329 } ]'
                                onlycat.0
                                	2025-09-08 07:51:27.885	debug	Getting transit policy for transit policy ID '12329'...
                                onlycat.0
                                	2025-09-08 07:51:27.884	debug	Getting transit policies...
                                onlycat.0
                                	2025-09-08 07:51:27.884	debug	Got 2 transit policy IDs.
                                onlycat.0
                                	2025-09-08 07:51:27.884	debug	Got 2 transit policy IDs for 'OC-8C1F64481B40'.
                                onlycat.0
                                	2025-09-08 07:51:27.884	debug	(OnlyCatApi) [8] <- event: ''getDeviceTransitPolicies'' - response: '[ { deviceTransitPolicyId: 12329, deviceId: 'OC-8C1F64481B40', name: 'Ausgangssperre' }, { deviceTransitPolicyId: 12337, deviceId: 'OC-8C1F64481B40', name: 'Milou darf ni...'
                                onlycat.0
                                	2025-09-08 07:51:27.830	debug	(OnlyCatApi) [8] -> event: ''getDeviceTransitPolicies'' - args: '[ { deviceId: 'OC-8C1F64481B40' } ]'
                                onlycat.0
                                	2025-09-08 07:51:27.830	debug	Getting transit policy IDs for device 'OC-8C1F64481B40'...
                                onlycat.0
                                	2025-09-08 07:51:27.830	debug	Getting transit policy IDs...
                                onlycat.0
                                	2025-09-08 07:51:27.830	debug	Got 50 events.
                                onlycat.0
                                	2025-09-08 07:51:27.829	debug	(OnlyCatApi) [7] <- event: ''getEvents'' - response: '[ { globalId: 6935961, deviceId: 'OC-8C1F64481B40', eventId: 479, timestamp: '2025-09-08T04:57:44.000Z', frameCount: 151, eventTriggerSource: 3, eventClassification: 1, ...'
                                onlycat.0
                                	2025-09-08 07:51:27.734	debug	(OnlyCatApi) [7] -> event: ''getEvents'' - args: '[ { subscribe: true } ]'
                                onlycat.0
                                	2025-09-08 07:51:27.733	debug	Getting events...
                                onlycat.0
                                	2025-09-08 07:51:27.732	debug	Got 3 RFID profiles.
                                onlycat.0
                                	2025-09-08 07:51:27.731	debug	Got RFID profile for RFID '0f9559dc79'.
                                onlycat.0
                                	2025-09-08 07:51:27.731	debug	Got RFID profile for RFID '276095300115056'.
                                onlycat.0
                                	2025-09-08 07:51:27.730	debug	(OnlyCatApi) [6] <- event: ''getRfidProfile'' - response: '{ code: 200 }'
                                onlycat.0
                                	2025-09-08 07:51:27.730	debug	(OnlyCatApi) [4] <- event: ''getRfidProfile'' - response: '{ userId: 3790, label: 'Gimli', createdAt: '2025-08-26T18:08:59.000Z', updatedAt: '2025-08-26T18:08:59.000Z' }'
                                onlycat.0
                                	2025-09-08 07:51:27.726	debug	Got RFID profile for RFID '276095300114976'.
                                onlycat.0
                                	2025-09-08 07:51:27.724	debug	(OnlyCatApi) [5] <- event: ''getRfidProfile'' - response: '{ userId: 3790, label: 'Milou', createdAt: '2025-08-26T18:09:13.000Z', updatedAt: '2025-08-26T18:09:13.000Z' }'
                                onlycat.0
                                	2025-09-08 07:51:27.682	debug	(OnlyCatApi) [6] -> event: ''getRfidProfile'' - args: '[ { rfidCode: '0f9559dc79' } ]'
                                onlycat.0
                                	2025-09-08 07:51:27.682	debug	Getting RFID profile for RFID '0f9559dc79'...
                                onlycat.0
                                	2025-09-08 07:51:27.682	debug	(OnlyCatApi) [5] -> event: ''getRfidProfile'' - args: '[ { rfidCode: '276095300114976' } ]'
                                onlycat.0
                                	2025-09-08 07:51:27.682	debug	Getting RFID profile for RFID '276095300114976'...
                                onlycat.0
                                	2025-09-08 07:51:27.682	debug	(OnlyCatApi) [4] -> event: ''getRfidProfile'' - args: '[ { rfidCode: '276095300115056' } ]'
                                onlycat.0
                                	2025-09-08 07:51:27.681	debug	Getting RFID profile for RFID '276095300115056'...
                                onlycat.0
                                	2025-09-08 07:51:27.681	debug	Getting RFID profiles...
                                onlycat.0
                                	2025-09-08 07:51:27.681	debug	Got 3 RFIDs.
                                onlycat.0
                                	2025-09-08 07:51:27.681	debug	Got 3 RFIDs for 'OC-8C1F64481B40'.
                                onlycat.0
                                	2025-09-08 07:51:27.680	debug	(OnlyCatApi) [3] <- event: ''getLastSeenRfidCodesByDevice'' - response: '[ { rfidCode: '276095300115056', timestamp: '2025-09-08T04:57:44.000Z', eventId: 479, deviceId: 'OC-8C1F64481B40' }, { rfidCode: '276095300114976', timestamp: '2025-09-08...'
                                onlycat.0
                                	2025-09-08 07:51:27.612	debug	(OnlyCatApi) [3] -> event: ''getLastSeenRfidCodesByDevice'' - args: '[ { deviceId: 'OC-8C1F64481B40' } ]'
                                onlycat.0
                                	2025-09-08 07:51:27.612	debug	Getting RFIDs for device with id 'OC-8C1F64481B40'...
                                onlycat.0
                                	2025-09-08 07:51:27.611	debug	Getting RFIDs...
                                onlycat.0
                                	2025-09-08 07:51:27.611	debug	Got 1 device details.
                                onlycat.0
                                	2025-09-08 07:51:27.611	debug	(OnlyCatApi) [2] <- event: ''getDevice'' - response: '{ deviceId: 'OC-8C1F64481B40', description: 'Tor zur Freiheit', timeZone: 'Europe/Berlin', deviceTransitPolicyId: 12329, connectivity: { connected: true, disconnectReason: null, timestamp: 1...'
                                onlycat.0
                                	2025-09-08 07:51:27.400	debug	(OnlyCatApi) [2] -> event: ''getDevice'' - args: '[ { deviceId: 'OC-8C1F64481B40', subscribe: true } ]'
                                onlycat.0
                                	2025-09-08 07:51:27.399	debug	Getting device details for device ID 'OC-8C1F64481B40'...
                                onlycat.0
                                	2025-09-08 07:51:27.399	debug	Getting devices details...
                                onlycat.0
                                	2025-09-08 07:51:27.399	debug	Got 1 device.
                                onlycat.0
                                	2025-09-08 07:51:27.399	debug	Normalizing device name from: 'Tor zur Freiheit' to 'Tor_zur_Freiheit'
                                onlycat.0
                                	2025-09-08 07:51:27.399	debug	(OnlyCatApi) [1] <- event: ''getDevices'' - response: '[ { deviceId: 'OC-8C1F64481B40', description: 'Tor zur Freiheit', timeZone: 'Europe/Berlin', deviceTransitPolicyId: 12329, cursorId: 3962 } ]'
                                onlycat.0
                                	2025-09-08 07:51:27.345	debug	User changed for user: 3790.
                                onlycat.0
                                	2025-09-08 07:51:27.345	debug	(OnlyCatApi) UserUpdate: '3790'
                                onlycat.0
                                	2025-09-08 07:51:27.344	debug	(OnlyCatApi) [1] -> event: ''getDevices'' - args: '[ { subscribe: true } ]'
                                onlycat.0
                                	2025-09-08 07:51:27.344	debug	Getting devices...
                                onlycat.0
                                	2025-09-08 07:51:27.344	debug	New connection state: 'CONNECTED'
                                onlycat.0
                                	2025-09-08 07:51:27.344	info	Connected.
                                onlycat.0
                                	2025-09-08 07:51:27.344	debug	setting connection status to adapter
                                onlycat.0
                                	2025-09-08 07:51:27.343	debug	(OnlyCatApi) Connected.
                                onlycat.0
                                	2025-09-08 07:51:27.116	debug	New initial connection state: 'CONNECTING'
                                onlycat.0
                                	2025-09-08 07:51:27.116	debug	(OnlyCatApi) Connecting to https://gateway.onlycat.com
                                onlycat.0
                                	2025-09-08 07:51:27.116	debug	New initial connection state: 'STARTING'
                                onlycat.0
                                	2025-09-08 07:51:27.115	info	Connecting...
                                onlycat.0
                                	2025-09-08 07:51:27.115	debug	setting connection status to adapter
                                onlycat.0
                                	2025-09-08 07:51:27.115	debug	Starting OnlyCat Adapter v0.5.0
                                onlycat.0
                                	2025-09-08 07:51:27.114	info	adapter configuration ok
                                onlycat.0
                                	2025-09-08 07:51:27.114	debug	checking adapter configuration...
                                onlycat.0
                                	2025-09-08 07:51:27.114	debug	setting connection status to adapter
                                onlycat.0
                                	2025-09-08 07:51:27.107	info	starting. Version 0.5.0 (non-npm: Sickboy78/ioBroker.onlycat) in C:/ioBroker/node_modules/iobroker.onlycat, node: v22.18.0, js-controller: 7.0.7
                                onlycat.0
                                	2025-09-08 07:51:21.535	info	terminating
                                onlycat.0
                                	2025-09-08 07:51:21.028	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                onlycat.0
                                	2025-09-08 07:51:21.028	info	terminating
                                onlycat.0
                                	2025-09-08 07:51:21.028	info	everything cleaned up
                                onlycat.0
                                	2025-09-08 07:51:21.028	debug	setting connection status to adapter
                                onlycat.0
                                	2025-09-08 07:51:21.027	warn	(OnlyCatApi) Disconnected.
                                onlycat.0
                                	2025-09-08 07:51:21.026	debug	Events unsubscribed.
                                onlycat.0
                                	2025-09-08 07:51:21.026	debug	Unsubscribing from events...
                                onlycat.0
                                	2025-09-08 07:51:21.026	info	Got terminate signal TERMINATE_YOURSELF
                                onlycat.0
                                	2025-09-08 07:50:29.428	info	State value to set for "onlycat.0.Tor_zur_Freiheit.connectivity.timestamp" has to be type "string" but received type "number"
                                onlycat.0
                                	2025-09-08 07:50:29.424	info	Automatic Reconnecting is active.
                                onlycat.0
                                	2025-09-08 07:50:29.424	info	Disconnected.
                                onlycat.0
                                	2025-09-08 07:50:29.424	debug	setting connection status to adapter
                                onlycat.0
                                	2025-09-08 07:50:29.424	debug	undefined
                                onlycat.0
                                	2025-09-08 07:50:29.424	warn	Could not update devices (undefined).
                                onlycat.0
                                	2025-09-08 07:50:29.424	warn	Could not update device at index '0' (Error: undefined is not a valid state value).
                                onlycat.0
                                	2025-09-08 07:50:29.423	debug	Object hierarchy created.
                                onlycat.0
                                	2025-09-08 07:50:29.423	debug	Deleted or renamed transit policies removed.
                                onlycat.0
                                	2025-09-08 07:50:29.367	debug	Removing deleted or renamed transit policies for device 'OC-8C1F64481B40'...
                                onlycat.0
                                	2025-09-08 07:50:29.328	debug	searching and removing of obsolete objects complete
                                onlycat.0
                                	2025-09-08 07:50:29.323	debug	searching and removing of obsolete objects for adapter versions before 0.5.0
                                onlycat.0
                                	2025-09-08 07:50:29.323	debug	searching and removing of obsolete objects
                                onlycat.0
                                	2025-09-08 07:50:29.323	info	adapter was upgraded from '0.4.0' to '0.5.0'.
                                onlycat.0
                                	2025-09-08 07:50:29.322	debug	last running adapter version is '0.4.0'.
                                onlycat.0
                                	2025-09-08 07:50:29.312	debug	Creating object hierarchy...
                                onlycat.0
                                	2025-09-08 07:50:29.312	debug	Got 2 transit policy IDs.
                                onlycat.0
                                	2025-09-08 07:50:29.311	debug	Normalizing transit policy name from: 'Milou darf nicht raus' to 'Milou_darf_nicht_raus'
                                onlycat.0
                                	2025-09-08 07:50:29.310	debug	(OnlyCatApi) [10] <- event: ''getDeviceTransitPolicy'' - response: '{ deviceTransitPolicyId: 12337, deviceId: 'OC-8C1F64481B40', name: 'Milou darf nicht raus', transitPolicy: { rules: [ [Object], [Object], [Object] ], idleLock: true, idleLockBatter...'
                                onlycat.0
                                	2025-09-08 07:50:29.308	debug	(OnlyCatApi) [9] <- event: ''getDeviceTransitPolicy'' - response: '{ deviceTransitPolicyId: 12329, deviceId: 'OC-8C1F64481B40', name: 'Ausgangssperre', transitPolicy: { rules: [ [Object], [Object], [Object], [Object] ], idleLock: true, idleLockBat...'
                                onlycat.0
                                	2025-09-08 07:50:29.266	debug	(OnlyCatApi) [10] -> event: ''getDeviceTransitPolicy'' - args: '[ { deviceTransitPolicyId: 12337 } ]'
                                onlycat.0
                                	2025-09-08 07:50:29.265	debug	Getting transit policy for transit policy ID '12337'...
                                onlycat.0
                                	2025-09-08 07:50:29.264	debug	(OnlyCatApi) [9] -> event: ''getDeviceTransitPolicy'' - args: '[ { deviceTransitPolicyId: 12329 } ]'
                                onlycat.0
                                	2025-09-08 07:50:29.263	debug	Getting transit policy for transit policy ID '12329'...
                                onlycat.0
                                	2025-09-08 07:50:29.263	debug	Getting transit policies...
                                onlycat.0
                                	2025-09-08 07:50:29.262	debug	Got 2 transit policy IDs.
                                onlycat.0
                                	2025-09-08 07:50:29.261	debug	Got 2 transit policy IDs for 'OC-8C1F64481B40'.
                                onlycat.0
                                	2025-09-08 07:50:29.260	debug	(OnlyCatApi) [8] <- event: ''getDeviceTransitPolicies'' - response: '[ { deviceTransitPolicyId: 12329, deviceId: 'OC-8C1F64481B40', name: 'Ausgangssperre' }, { deviceTransitPolicyId: 12337, deviceId: 'OC-8C1F64481B40', name: 'Milou darf ni...'
                                onlycat.0
                                	2025-09-08 07:50:29.217	debug	(OnlyCatApi) [8] -> event: ''getDeviceTransitPolicies'' - args: '[ { deviceId: 'OC-8C1F64481B40' } ]'
                                onlycat.0
                                	2025-09-08 07:50:29.217	debug	Getting transit policy IDs for device 'OC-8C1F64481B40'...
                                onlycat.0
                                	2025-09-08 07:50:29.216	debug	Getting transit policy IDs...
                                onlycat.0
                                	2025-09-08 07:50:29.215	debug	Got 50 events.
                                onlycat.0
                                	2025-09-08 07:50:29.214	debug	(OnlyCatApi) [7] <- event: ''getEvents'' - response: '[ { globalId: 6935961, deviceId: 'OC-8C1F64481B40', eventId: 479, timestamp: '2025-09-08T04:57:44.000Z', frameCount: 151, eventTriggerSource: 3, eventClassification: 1, ...'
                                onlycat.0
                                	2025-09-08 07:50:29.118	debug	(OnlyCatApi) [7] -> event: ''getEvents'' - args: '[ { subscribe: true } ]'
                                onlycat.0
                                	2025-09-08 07:50:29.118	debug	Getting events...
                                onlycat.0
                                	2025-09-08 07:50:29.118	debug	Got 3 RFID profiles.
                                onlycat.0
                                	2025-09-08 07:50:29.118	debug	Got RFID profile for RFID '0f9559dc79'.
                                onlycat.0
                                	2025-09-08 07:50:29.117	debug	(OnlyCatApi) [6] <- event: ''getRfidProfile'' - response: '{ code: 200 }'
                                onlycat.0
                                	2025-09-08 07:50:29.117	debug	Got RFID profile for RFID '276095300114976'.
                                onlycat.0
                                	2025-09-08 07:50:29.116	debug	(OnlyCatApi) [5] <- event: ''getRfidProfile'' - response: '{ userId: 3790, label: 'Milou', createdAt: '2025-08-26T18:09:13.000Z', updatedAt: '2025-08-26T18:09:13.000Z'}'
                                onlycat.0
                                	2025-09-08 07:50:29.116	debug	Got RFID profile for RFID '276095300115056'.
                                onlycat.0
                                	2025-09-08 07:50:29.115	debug	(OnlyCatApi) [4] <- event: ''getRfidProfile'' - response: '{ userId: 3790, label: 'Gimli', createdAt: '2025-08-26T18:08:59.000Z', updatedAt: '2025-08-26T18:08:59.000Z'}'
                                onlycat.0
                                	2025-09-08 07:50:29.073	debug	(OnlyCatApi) [6] -> event: ''getRfidProfile'' - args: '[ { rfidCode: '0f9559dc79' } ]'
                                onlycat.0
                                	2025-09-08 07:50:29.073	debug	Getting RFID profile for RFID '0f9559dc79'...
                                onlycat.0
                                	2025-09-08 07:50:29.072	debug	(OnlyCatApi) [5] -> event: ''getRfidProfile'' - args: '[ { rfidCode: '276095300114976' } ]'
                                onlycat.0
                                	2025-09-08 07:50:29.072	debug	Getting RFID profile for RFID '276095300114976'...
                                onlycat.0
                                	2025-09-08 07:50:29.071	debug	(OnlyCatApi) [4] -> event: ''getRfidProfile'' - args: '[ { rfidCode: '276095300115056' } ]'
                                onlycat.0
                                	2025-09-08 07:50:29.070	debug	Getting RFID profile for RFID '276095300115056'...
                                onlycat.0
                                	2025-09-08 07:50:29.069	debug	Getting RFID profiles...
                                onlycat.0
                                	2025-09-08 07:50:29.068	debug	Got 3 RFIDs.
                                onlycat.0
                                	2025-09-08 07:50:29.067	debug	Got 3 RFIDs for 'OC-8C1F64481B40'.
                                onlycat.0
                                	2025-09-08 07:50:29.067	debug	(OnlyCatApi) [3] <- event: ''getLastSeenRfidCodesByDevice'' - response: '[ { rfidCode: '276095300115056', timestamp: '2025-09-08T04:57:44.000Z', eventId: 479, deviceId: 'OC-8C1F64481B40' }, { rfidCode: '276095300114976', timestamp: '2025-09-08...'
                                onlycat.0
                                	2025-09-08 07:50:28.998	debug	(OnlyCatApi) [3] -> event: ''getLastSeenRfidCodesByDevice'' - args: '[ { deviceId: 'OC-8C1F64481B40' } ]'
                                onlycat.0
                                	2025-09-08 07:50:28.997	debug	Getting RFIDs for device with id 'OC-8C1F64481B40'...
                                onlycat.0
                                	2025-09-08 07:50:28.997	debug	Getting RFIDs...
                                onlycat.0
                                	2025-09-08 07:50:28.997	debug	Got 1 device details.
                                onlycat.0
                                	2025-09-08 07:50:28.997	debug	(OnlyCatApi) [2] <- event: ''getDevice'' - response: '{ deviceId: 'OC-8C1F64481B40', description: 'Tor zur Freiheit', timeZone: 'Europe/Berlin', deviceTransitPolicyId: 12329, connectivity: { connected: true, disconnectReason: null, timestamp: 1...'
                                onlycat.0
                                	2025-09-08 07:50:28.803	debug	(OnlyCatApi) [2] -> event: ''getDevice'' - args: '[ { deviceId: 'OC-8C1F64481B40', subscribe: true } ]'
                                onlycat.0
                                	2025-09-08 07:50:28.803	debug	Getting device details for device ID 'OC-8C1F64481B40'...
                                onlycat.0
                                	2025-09-08 07:50:28.803	debug	Getting devices details...
                                onlycat.0
                                	2025-09-08 07:50:28.803	debug	Got 1 device.
                                onlycat.0
                                	2025-09-08 07:50:28.803	debug	Normalizing device name from: 'Tor zur Freiheit' to 'Tor_zur_Freiheit'
                                onlycat.0
                                	2025-09-08 07:50:28.802	debug	(OnlyCatApi) [1] <- event: ''getDevices'' - response: '[ { deviceId: 'OC-8C1F64481B40', description: 'Tor zur Freiheit', timeZone: 'Europe/Berlin', deviceTransitPolicyId: 12329, cursorId: 3962 }]'
                                onlycat.0
                                	2025-09-08 07:50:28.744	debug	User changed for user: 3790.
                                onlycat.0
                                	2025-09-08 07:50:28.743	debug	(OnlyCatApi) UserUpdate: '3790'
                                onlycat.0
                                	2025-09-08 07:50:28.742	debug	(OnlyCatApi) [1] -> event: ''getDevices'' - args: '[ { subscribe: true } ]'
                                onlycat.0
                                	2025-09-08 07:50:28.742	debug	Getting devices...
                                onlycat.0
                                	2025-09-08 07:50:28.742	debug	New connection state: 'CONNECTED'
                                onlycat.0
                                	2025-09-08 07:50:28.742	info	Connected.
                                onlycat.0
                                	2025-09-08 07:50:28.742	debug	setting connection status to adapter
                                onlycat.0
                                	2025-09-08 07:50:28.741	debug	(OnlyCatApi) Connected.
                                onlycat.0
                                	2025-09-08 07:50:28.468	debug	New initial connection state: 'CONNECTING'
                                onlycat.0
                                	2025-09-08 07:50:28.468	debug	(OnlyCatApi) Connecting to https://gateway.onlycat.com
                                onlycat.0
                                	2025-09-08 07:50:28.468	debug	New initial connection state: 'STARTING'
                                onlycat.0
                                	2025-09-08 07:50:28.467	info	Connecting...
                                onlycat.0
                                	2025-09-08 07:50:28.467	debug	setting connection status to adapter
                                onlycat.0
                                	2025-09-08 07:50:28.467	debug	Starting OnlyCat Adapter v0.5.0
                                onlycat.0
                                	2025-09-08 07:50:28.466	info	adapter configuration ok
                                onlycat.0
                                	2025-09-08 07:50:28.466	debug	checking adapter configuration...
                                onlycat.0
                                	2025-09-08 07:50:28.466	debug	setting connection status to adapter
                                onlycat.0
                                	2025-09-08 07:50:28.458	info	starting. Version 0.5.0 (non-npm: Sickboy78/ioBroker.onlycat) in C:/ioBroker/node_modules/iobroker.onlycat, node: v22.18.0, js-controller: 7.0.7
                                onlycat.0
                                	2025-09-08 07:50:28.325	debug	States connected to redis: 127.0.0.1:9000
                                onlycat.0
                                	2025-09-08 07:50:28.286	debug	States create User PubSub Client
                                onlycat.0
                                	2025-09-08 07:50:28.286	debug	States create System PubSub Client
                                onlycat.0
                                	2025-09-08 07:50:28.264	debug	Redis States: Use Redis connection: 127.0.0.1:9000
                                onlycat.0
                                	2025-09-08 07:50:28.232	debug	Objects connected to redis: 127.0.0.1:9001
                                onlycat.0
                                	2025-09-08 07:50:28.230	debug	Objects client initialize lua scripts
                                onlycat.0
                                	2025-09-08 07:50:28.172	debug	Objects create User PubSub Client
                                onlycat.0
                                	2025-09-08 07:50:28.172	debug	Objects create System PubSub Client
                                onlycat.0
                                	2025-09-08 07:50:28.171	debug	Objects client ready ... initialize now
                                onlycat.0
                                	2025-09-08 07:50:28.143	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
                                onlycat.0
                                	2025-09-08 07:50:22.441	info	terminating
                                onlycat.0
                                	2025-09-08 07:50:21.926	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                onlycat.0
                                	2025-09-08 07:50:21.926	info	terminating
                                onlycat.0
                                	2025-09-08 07:50:21.926	info	everything cleaned up
                                onlycat.0
                                	2025-09-08 07:50:21.925	warn	(OnlyCatApi) Disconnected.
                                onlycat.0
                                	2025-09-08 07:50:21.924	info	Got terminate signal TERMINATE_YOURSELF 
                                

                                und der Adapter verbindet sich nicht mit Gerät oder Dienst

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

                                  @m-a-hueb Bitte mal die aktuelle Version von Github probieren und das Log ab "Object hierarchy created." kopieren.
                                  Ich hab zusätzliche Warnings eingebaut und dass die Errors an der Stelle ignoriert werden.

                                  M-A Hueb 1 Reply Last reply Reply Quote 0
                                  • M-A Hueb
                                    M-A Hueb @Sickboy78 last edited by M-A Hueb

                                    @sickboy78 anbei das Log wie gewünscht:

                                    02
                                    
                                    Log-Größe: 1.7 KB
                                    Zeit
                                    	
                                    onlycat.0
                                    	2025-09-08 15:19:20.500	debug	Events subscribed.
                                    onlycat.0
                                    	2025-09-08 15:19:20.500	debug	Subscribing to events...
                                    onlycat.0
                                    	2025-09-08 15:19:20.500	debug	setting adapter version to adapter
                                    onlycat.0
                                    	2025-09-08 15:19:20.500	debug	Transit policies updated.
                                    onlycat.0
                                    	2025-09-08 15:19:20.499	debug	Transit policies for device 'OC-8C1F64481B40' updated.
                                    onlycat.0
                                    	2025-09-08 15:19:20.485	debug	Updating transit policies for device 'OC-8C1F64481B40'...
                                    onlycat.0
                                    	2025-09-08 15:19:20.485	debug	Updating transit policies...
                                    onlycat.0
                                    	2025-09-08 15:19:20.485	debug	Latest events updated.
                                    onlycat.0
                                    	2025-09-08 15:19:20.340	silly	Status and latest events: '{"0":{"rfidCodes":["276095300115056","276095300114976"],"276095300115056":{"2":{"globalId":6951055,"deviceId":"OC-8C1F64481B40","eventId":501,"timestamp":"2025-09-08T13:10:33.000Z","frameCount":157,"eventTriggerSource":2,"eventClassification":0,"eventManualClassification":null,"eventManualClassificationUserId":null,"posterFrameIndex":null,"accessToken":"Gr3VCB","deletedAt":null,"rfidCodes":["276095300115056"],"eventIndex":0},"3":{"globalId":6950820,"deviceId":"OC-8C1F64481B40","eventId":499,"timestamp":"2025-09-08T13:00:27.000Z","frameCount":150,"eventTriggerSource":3,"eventClassification":1,"eventManualClassification":null,"eventManualClassificationUserId":null,"posterFrameIndex":19,"accessToken":"2lgFVA","deletedAt":null,"rfidCodes":["276095300115056"],"eventIndex":2},"inside":false},"276095300114976":{"2":{"globalId":6950970,"deviceId":"OC-8C1F64481B40","eventId":500,"timestamp":"2025-09-08T13:07:00.000Z","frameCount":222,"eventTriggerSource":2,"eventClassification":0,"eventManualClassification":null,"eventManualClassificationUserId":null,"posterFrameIndex":null,"accessToken":"CNzjKa","deletedAt":null,"rfidCodes":["276095300114976"],"eventIndex":1},"3":{"globalId":6949055,"deviceId":"OC-8C1F64481B40","eventId":496,"timestamp":"2025-09-08T11:47:20.000Z","frameCount":156,"eventTriggerSource":3,"eventClassification":1,"eventManualClassification":null,"eventManualClassificationUserId":null,"posterFrameIndex":37,"accessToken":"kVCCr1","deletedAt":null,"rfidCodes":["276095300114976"],"eventIndex":5},"inside":false}}}'.
                                    onlycat.0
                                    	2025-09-08 15:19:20.339	debug	Status and latest events calculated.
                                    onlycat.0
                                    	2025-09-08 15:19:20.339	debug	Calculating status and latest events...
                                    onlycat.0
                                    	2025-09-08 15:19:20.339	debug	Updating latest events...
                                    onlycat.0
                                    	2025-09-08 15:19:20.339	debug	Last event is final.
                                    onlycat.0
                                    	2025-09-08 15:19:20.339	debug	Checking if last event is final...
                                    onlycat.0
                                    	2025-09-08 15:19:20.338	debug	setting last update to adapter
                                    onlycat.0
                                    	2025-09-08 15:19:20.338	debug	Events updated.
                                    onlycat.0
                                    	2025-09-08 15:19:20.338	debug	Updating events...
                                    onlycat.0
                                    	2025-09-08 15:19:20.337	debug	All devices updated.
                                    onlycat.0
                                    	2025-09-08 15:19:20.335	silly	States user redis pmessage onlycat.0.*.control.*/onlycat.0.Tor_zur_Freiheit.control.deviceTransitPolicyId:{"val":12329,"ack":true,"ts":1757337560330,"q":0,"from":"system.adapter.onlycat.0","user":"system.user.admin","lc":1757310296085}
                                    onlycat.0
                                    	2025-09-08 15:19:20.325	warn	No disconnect reason found for device at index '0'.
                                    onlycat.0
                                    	2025-09-08 15:19:20.325	warn	No firmware channel found for device at index '0'.
                                    onlycat.0
                                    	2025-09-08 15:19:20.325	debug	Updating all devices...
                                    onlycat.0
                                    	2025-09-08 15:19:20.325	debug	Object hierarchy created.
                                    

                                    jetzt startet er auch komplett auf grün.
                                    Nur der Datenpunkt onlycat.0.Tor_zur_Freiheit.firmwareChannel bleibt auf (null)
                                    aber ansonsten tut es soweit ichs sehen kann. Policies kann ich auch umschalten

                                    Sickboy78 1 Reply Last reply Reply Quote 0
                                    • Sickboy78
                                      Sickboy78 @M-A Hueb last edited by

                                      @m-a-hueb said in Test Adapter OnlyCat v0.4.0:

                                      No firmware channel found for device at index '0'.

                                      Danke dir fürs Log!
                                      Ja, dann lags am firmware channel. Ich war davon ausgegangen, dass da immer ein Wert zurückkommt, weil default steht dass in der App auf Standard. Aber vielleicht wird das erst gesetzt, wenn man das mal geändert hat. (Ich hatte's mal auf Experimental und wieder zurück gestellt.) Das prüfe ich jetzt vorher, damit er nicht versucht 'undefined' zu setzen.
                                      Beim disconnect reason kommt bei mir null zurück, was zumindest keinen Fehler verursacht, wie 'undefined'.
                                      Zum WE werd ich eine neue Version bauen und die Warnungen wieder entfernen, damit das Log nicht zugemüllt wird.

                                      M-A Hueb 1 Reply Last reply Reply Quote 1
                                      • M-A Hueb
                                        M-A Hueb @Sickboy78 last edited by

                                        @sickboy78 Nach dem umstellen wird der Datenpunkt auch korrekt gefühlt

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

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        655
                                        Online

                                        32.1k
                                        Users

                                        80.6k
                                        Topics

                                        1.3m
                                        Posts

                                        4
                                        18
                                        744
                                        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