NEWS
Re-New DoorBird Adapter v1.0.x
-
@negalein sagte in Re-New DoorBird Adapter v1.0.x:
@schmakus sagte in Re-New DoorBird Adapter v1.0.x:
Mit der aktuellen Beta habe ich eine Sicherheit eingebaut, damit es nicht zum Überlauf kommt. Woran es genau liegt, kann ich nicht sagen. Ich vermutete ein Intervall, welches nicht ordnungsgemäß beendet wurde. Bitte die neuste Version testen.
seit heute auch mit der 1.2.0 wieder die Meldung
doorbird.0 2023-08-17 00:18:10.333 warn Error in Parsing Schedules: RangeError: Maximum call stack size exceeded
Ok, danke für die Rückmeldung! Dann geht die Suche weiter.....
Bitte Version 1.2.2 testen. dürfte heute mittag oder morgen im Repo sein.BTW: Ich selbst habe den Fehler nicht.
-
@schmakus sagte in Re-New DoorBird Adapter v1.0.x:
Bitte Version 1.2.2 testen. dürfte heute mittag oder morgen im Repo sein.
diese Meldung ist vorerst weg.
Aber nun eine neue 404er.
doorbird.0 2023-08-17 15:26:46.675 warn Error in setting Motion schedule: Error: Request failed with status code 400 doorbird.0 2023-08-17 15:26:45.599 warn Error in creating schedule: Error: Request failed with status code 400 doorbird.0 2023-08-17 15:26:45.560 warn Error in creating schedule: Error: Request failed with status code 400 doorbird.0 2023-08-17 15:23:45.554 warn Error in setting Motion schedule: Error: Request failed with status code 400 doorbird.0 2023-08-17 15:23:45.493 warn Error in creating schedule: Error: Request failed with status code 400 doorbird.0 2023-08-17 15:23:45.451 warn Error in creating schedule: Error: Request failed with status code 400
Schedules sind in der App aber angelegt.
-
@negalein sagte in Re-New DoorBird Adapter v1.0.x:
@schmakus sagte in Re-New DoorBird Adapter v1.0.x:
Bitte Version 1.2.2 testen. dürfte heute mittag oder morgen im Repo sein.
diese Meldung ist vorerst weg.
Aber nun eine neue 404er.
doorbird.0 2023-08-17 15:26:46.675 warn Error in setting Motion schedule: Error: Request failed with status code 400 doorbird.0 2023-08-17 15:26:45.599 warn Error in creating schedule: Error: Request failed with status code 400 doorbird.0 2023-08-17 15:26:45.560 warn Error in creating schedule: Error: Request failed with status code 400 doorbird.0 2023-08-17 15:23:45.554 warn Error in setting Motion schedule: Error: Request failed with status code 400 doorbird.0 2023-08-17 15:23:45.493 warn Error in creating schedule: Error: Request failed with status code 400 doorbird.0 2023-08-17 15:23:45.451 warn Error in creating schedule: Error: Request failed with status code 400
Schedules sind in der App aber angelegt.
Hab ne neue 1.2.3 gemacht. bitte dort mal testen.
-
@schmakus sagte in Re-New DoorBird Adapter v1.0.x:
Hab ne neue 1.2.3 gemacht. bitte dort mal testen.
Danke, schaut gut aus.
-
@schmakus hat mir mehrmals neu starten funktioniert. Danke!
-
Kann man auch den Etagenruf des Türgong A1061W auswerten?
-
@elektrobau leider nein. Auch kann man keine Zeitpläne des Türgongs anpassen usw. Das gibt die API nicht her.
-
@martybr sagte in Re-New DoorBird Adapter v1.0.x:
Klar, ist aber das Script von oben:
was mach ich falsch, da er mir mit dem Blockly 5x das Bild schickt?
-
Bei mir verschickt das Script das Bild nur einmal.
readFile("doorbird.0", "Doorbell1_01.jpg", function (error, data) { if (error) { console.error(error); } else { sendTo("telegram.0", { text: data, chatId: '28xxxxxxxx', type: "photo", }); } });
Deine Datenpunkte scheinen zu meinen unterschiedlich zu sein. Ich habe eine D205 und der Snapshot heißt "Doorbell1_01.jpg".
Die Chat-ID wird wohl keine Auswirkung haben. -
@negalein sagte in Re-New DoorBird Adapter v1.0.x:
@martybr sagte in Re-New DoorBird Adapter v1.0.x:
Klar, ist aber das Script von oben:
was mach ich falsch, da er mir mit dem Blockly 5x das Bild schickt?
Hi, zeig mal einen Debug-Log, wenn geklingelt wird.
-
@schmakus sagte in Re-New DoorBird Adapter v1.0.x:
Hi, zeig mal einen Debug-Log, wenn geklingelt wird.
hat etwas gedauert
doorbird.0 2023-08-22 20:43:44.382 debug Snapshot saved successfully! doorbird.0 2023-08-22 20:43:44.329 debug Received Ring-alert (ID: 102) from Doorbird! doorbird.0 2023-08-22 20:43:44.322 debug Snapshot saved successfully! doorbird.0 2023-08-22 20:43:44.289 debug Received Ring-alert (ID: 102) from Doorbird! doorbird.0 2023-08-22 20:43:44.283 debug Snapshot saved successfully! doorbird.0 2023-08-22 20:43:44.256 debug Received Ring-alert (ID: 102) from Doorbird! doorbird.0 2023-08-22 20:43:44.247 debug Snapshot saved successfully! doorbird.0 2023-08-22 20:43:44.213 debug Received Ring-alert (ID: 102) from Doorbird! doorbird.0 2023-08-22 20:43:43.719 debug Snapshot saved successfully! doorbird.0 2023-08-22 20:43:43.696 debug Received Ring-alert (ID: 102) from Doorbird! doorbird.0 2023-08-22 20:43:42.994 debug Snapshot saved successfully! doorbird.0 2023-08-22 20:43:42.975 debug Received Motion-alert from Doorbird! doorbird.0 2023-08-22 20:43:42.974 debug Snapshot saved successfully! doorbird.0 2023-08-22 20:43:42.942 debug Received Motion-alert from Doorbird! doorbird.0 2023-08-22 20:43:42.867 debug Snapshot saved successfully! doorbird.0 2023-08-22 20:43:42.823 debug Snapshot saved successfully! doorbird.0 2023-08-22 20:43:42.661 warn Error in downloading file: Error: Request failed with status code 404 doorbird.0 2023-08-22 20:43:42.568 debug Received Motion-alert from Doorbird! doorbird.0 2023-08-22 20:43:42.564 debug Received Motion-alert from Doorbird! doorbird.0 2023-08-22 20:43:42.562 debug Received Motion-alert from Doorbird! doorbird.0 2023-08-22 20:43:23.607 debug Server gestartet auf Port 8100 und IP 10.0.1.202 doorbird.0 2023-08-22 20:43:23.536 debug Okay we dont need to create any Doorbell-Schedules.. doorbird.0 2023-08-22 20:43:23.536 debug Okay we dont need to create any Doorbell-Schedules.. doorbird.0 2023-08-22 20:43:23.536 debug Checking if we need to create Schedules on DoorBird Device.. doorbird.0 2023-08-22 20:43:23.536 debug Favorites checked successfully. No actions needed! doorbird.0 2023-08-22 20:43:23.536 debug Checking if we need to create any favorites.. doorbird.0 2023-08-22 20:43:23.536 debug Favorite for Doorbell ID 101 exists! doorbird.0 2023-08-22 20:43:23.536 debug Cheking if Favorite for Doorbell ID 101 exists. doorbird.0 2023-08-22 20:43:23.536 debug Checking if we need to create any favorites.. doorbird.0 2023-08-22 20:43:23.536 debug Favorite for Doorbell ID 102 exists! doorbird.0 2023-08-22 20:43:23.536 debug Cheking if Favorite for Doorbell ID 102 exists. doorbird.0 2023-08-22 20:43:23.536 debug Checking if we need to create any favorites.. doorbird.0 2023-08-22 20:43:23.535 debug Entry "5" is: {"event":"http","param":"2","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.535 debug Entry "4" is: {"event":"http","param":"2","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.535 debug Entry "3" is: {"event":"http","param":"2","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.535 debug Entry "2" is: {"event":"http","param":"2","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.535 debug Entry "1" is: {"event":"http","param":"2","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.535 debug Entry "0" is: {"event":"notify","param":"","schedule":{"weekdays":[{"from":"75600","to":"75599"}]}} doorbird.0 2023-08-22 20:43:23.535 debug The Output contains 6 entries! doorbird.0 2023-08-22 20:43:23.535 debug Detected Motion Schedule! doorbird.0 2023-08-22 20:43:23.535 debug Counted 2 Doorbells. doorbird.0 2023-08-22 20:43:23.535 debug Entry "5" is: {"event":"http","param":"1","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.535 debug Entry "4" is: {"event":"http","param":"1","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.535 debug Entry "3" is: {"event":"http","param":"1","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.535 debug Entry "2" is: {"event":"http","param":"1","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.534 debug Entry "1" is: {"event":"http","param":"1","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.534 debug Entry "0" is: {"event":"notify","param":"","schedule":{"weekdays":[{"from":"75600","to":"75599"}]}} doorbird.0 2023-08-22 20:43:23.534 debug The Output contains 6 entries! doorbird.0 2023-08-22 20:43:23.534 debug The Param of the actual Schedule is: 101 doorbird.0 2023-08-22 20:43:23.534 debug Detected a Doorbell Schedule! doorbird.0 2023-08-22 20:43:23.534 debug Counted 1 Doorbells. doorbird.0 2023-08-22 20:43:23.534 debug Entry "5" is: {"event":"http","param":"0","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.534 debug Entry "4" is: {"event":"http","param":"0","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.534 debug Entry "3" is: {"event":"http","param":"0","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.534 debug Entry "2" is: {"event":"http","param":"0","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.534 debug Entry "1" is: {"event":"http","param":"0","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.534 debug Entry "0" is: {"event":"notify","param":"","schedule":{"weekdays":[{"from":"75600","to":"75599"}]}} doorbird.0 2023-08-22 20:43:23.534 debug The Output contains 6 entries! doorbird.0 2023-08-22 20:43:23.533 debug The Param of the actual Schedule is: 102 doorbird.0 2023-08-22 20:43:23.533 debug Detected a Doorbell Schedule! doorbird.0 2023-08-22 20:43:23.533 debug Looping through the Schedules.. doorbird.0 2023-08-22 20:43:23.533 debug Following schedules found: [{"input":"doorbell","param":"102","output":[{"event":"notify","param":"","schedule":{"weekdays":[{"from":"75600","to":"75599"}]}},{"event":"http","param":"0","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}},{"event":"http","param":"0","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}},{"event":"http","param":"0","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}},{"event":"http","param":"0","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}},{"event":"http","param":"0","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}}]},{"input":"doorbell","param":"101","output":[{"event":"notify","param":"","schedule":{"weekdays":[{"from":"75600","to":"75599"}]}},{"event":"http","param":"1","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}},{"event":"http","param":"1","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}},{"event":"http","param":"1","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}},{"event":"http","param":"1","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}},{"event":"http","param":"1","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}}]},{"input":"motion","param":"","output":[{"event":"notify","param":"","schedule":{"weekdays":[{"from":"75600","to":"75599"}]}},{"event":"http","param":"2","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}},{"event":"http","param":"2","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}},{"event":"http","param":"2","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}},{"event":"http","param":"2","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}},{"event":"http","param":"2","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}}]},{"output":[{"schedule":{"weekdays":[{"from":"79200","to":"79199"}]},"param":"1","event":"relay"},{"schedule":{"weekdays":[{"from":"75600","to":"75599"}]},"param":"5","event":"http"}],"input":"rfid","param":"180,19463"},{"output":[{"schedule":{"weekdays":[{"from":"75600","to":"75599"}]},"param":"1","event":"relay"},{"event":"http","param":"7","schedule":{"weekdays":[{"from":"75600","to":"75599"}]}}],"input":"rfid","param":"184,63861"},{"output":[{"event":"relay","param":"1","schedule":{"weekdays":[{"from":"75600","to":"75599"}]}},{"event":"http","param":"4","schedule":{"weekdays":[{"from":"75600","to":"75599"}]}}],"input":"rfid","param":"162,45091"},{"output":[{"schedule":{"weekdays":[{"from":"75600","to":"75599"}]},"param":"1","event":"relay"},{"event":"http","param":"6","schedule":{"weekdays":[{"from":"75600","to":"75599"}]}}],"input":"rfid","param":"162,62522"},{"output":[{"schedule":{"weekdays":[{"from":"75600","to":"75599"}]},"param":"1","event":"relay"},{"event":"http","param":"3","schedule":{"weekdays":[{"from":"75600","to":"75599"}]}}],"input":"rfid","param":"184,36797"},{"input":"relay","param":"1","output":[]}] doorbird.0 2023-08-22 20:43:23.491 debug Result of Favorites: {"101":{"ID":"1","URL":"http://10.0.1.202:8100/ring?101"},"102":{"ID":"0","URL":"http://10.0.1.202:8100/ring?102"},"Motion":{"ID":"2","URL":"http://10.0.1.202:8100/motion"}} doorbird.0 2023-08-22 20:43:23.491 debug Found a Favorite that belongs to me.. (ID: '2') ('ioBroker doorbird.0 Motion': 'http://10.0.1.202:8100/motion') doorbird.0 2023-08-22 20:43:23.490 debug Found a Favorite that belongs to me.. (ID: '1') ('ioBroker doorbird.0 101 Ring': 'http://10.0.1.202:8100/ring?101') doorbird.0 2023-08-22 20:43:23.490 debug Found a Favorite that belongs to me.. (ID: '0') ('ioBroker doorbird.0 102 Ring': 'http://10.0.1.202:8100/ring?102') doorbird.0 2023-08-22 20:43:23.471 debug Checking favorites on DoorBird Device.. doorbird.0 2023-08-22 20:43:23.099 debug Authorization with User gheetq0002 successful! doorbird.0 2023-08-22 20:43:22.865 info starting. Version 1.2.3 (non-npm: iobroker-community-adapters/ioBroker.doorbird) in /opt/iobroker/node_modules/iobroker.doorbird, node: v18.17.1, js-controller: 4.0.24
-
@negalein sagte in Re-New DoorBird Adapter v1.0.x:
Mir fällt auf, dass du für jede Klinkel und motion jeweils 5 identische Zeitpläne hast! Bedeutet, bei jedem Klingeln werden 5 Snapshots erstellt. Da dies nahezu gleichzeitig passiert, kann es schnell zu einem Fehler 404 kommen. Gleiches beim Motion.
Es geht um die HTTP Zeitpläne. Bitte bei dir in der Doorbird App prüfen und die nicht benötigten Zeitpläne löschen.
-
@schmakus sagte in Re-New DoorBird Adapter v1.0.x:
Es geht um die HTTP Zeitpläne. Bitte bei dir in der Doorbird App prüfen und die nicht benötigten Zeitpläne löschen.
An das dachte ich auch gleich, aber das ist ja das komische.
Die sind nur 1x vorhanden. Das passt. -
@negalein sagte in Re-New DoorBird Adapter v1.0.x:
@schmakus sagte in Re-New DoorBird Adapter v1.0.x:
Es geht um die HTTP Zeitpläne. Bitte bei dir in der Doorbird App prüfen und die nicht benötigten Zeitpläne löschen.
An das dachte ich auch gleich, aber das ist ja das komische.
Die sind nur 1x vorhanden. Das passt.Das sind nicht die Zeitpläne! Das sind nur die Favoriten, also die HTTP Befehle! Die Zeitpläne findest du unter "Zeitplan für Türklingel"
-
@schmakus sagte in Re-New DoorBird Adapter v1.0.x:
Das sind nicht die Zeitpläne! Das sind nur die Favoriten, also die HTTP Befehle! Die Zeitpläne findest du unter "Zeitplan für Türklingel"
ah, die meintest du.
ist auch nur pro Klingel 1 Http Zeitplan vorhanden.
-
@negalein sagte in Re-New DoorBird Adapter v1.0.x:
@schmakus sagte in Re-New DoorBird Adapter v1.0.x:
Das sind nicht die Zeitpläne! Das sind nur die Favoriten, also die HTTP Befehle! Die Zeitpläne findest du unter "Zeitplan für Türklingel"
ah, die meintest du.
ist auch nur pro Klingel 1 Http Zeitplan vorhanden.
Irgendetwas stimmt nicht..... Die API gibt 5 Zeitpläne für ein und denselben Favorite aus.....Aber deine App zeigt jeweils nur einen Zeitplan.
Eventuell hängt es mit deinen RFID Zeitplänen zusammen?!Normal wäre:
Doorbell => Zeitplan für HTTP, Notify und evtl. SIP
Motion => Zeitplan für HTTP, Notifydoorbird.0 2023-08-22 20:43:23.534 debug Entry "5" is: {"event":"http","param":"0","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.534 debug Entry "4" is: {"event":"http","param":"0","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.534 debug Entry "3" is: {"event":"http","param":"0","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.534 debug Entry "2" is: {"event":"http","param":"0","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.534 debug Entry "1" is: {"event":"http","param":"0","enabled":"1","schedule":{"weekdays":[{"from":"79200","to":"79199"}]}} doorbird.0 2023-08-22 20:43:23.534 debug Entry "0" is: {"event":"notify","param":"","schedule":{"weekdays":[{"from":"75600","to":"75599"}]}} doorbird.0 2023-08-22 20:43:23.534 debug The Output contains 6 entries! doorbird.0 2023-08-22 20:43:23.533 debug The Param of the actual Schedule is: 102 ``
-
@schmakus sagte in Re-New DoorBird Adapter v1.0.x:
Eventuell hängt es mit deinen RFID Zeitplänen zusammen?!
die hab ich schon von Anfang an.
Ich teste jetzt mal ein paar ältere Versionen. -
@schmakus sagte in Re-New DoorBird Adapter v1.0.x:
Normal wäre:
hab jetzt alles mögliche probiert.
Zeitpläne gelöscht, neu angelegt, usw.Keine Änderung
-
@negalein sagte in Re-New DoorBird Adapter v1.0.x:
@schmakus sagte in Re-New DoorBird Adapter v1.0.x:
Normal wäre:
hab jetzt alles mögliche probiert.
Zeitpläne gelöscht, neu angelegt, usw.Keine Änderung
Interessant für mich wäre, ob mit es mit der letzten 0.2.0 Version funktionieren würde. Da war der Code noch mit request und nicht axios.
Da an der eigentlichen Logik des Adapters nichts geändert wurde. -
@schmakus sagte in Re-New DoorBird Adapter v1.0.x:
Interessant für mich wäre, ob mit es mit der letzten 0.2.0 Version funktionieren würde. Da war der Code noch mit request und nicht axios.
Hmmm, wie lautet nochmal der Befehl um die 0.2.0 zu installieren?
Über Admin gehts nur bis 1.?.x