NEWS
Re-New DoorBird Adapter v1.0.x
-
@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 -
@negalein sagte
Hmmm, wie lautet nochmal der Befehl um die 0.2.0 zu installieren?
Über Admin gehts nur bis 1.?.xnpm install ioBroker.doorbird@0.2.0
-
@schmakus sagte in Re-New DoorBird Adapter v1.0.x:
npm install ioBroker.doorbird@0.2.0
funktioniert leider nicht
nega@ioBroker:/opt/iobroker$ npm install ioBroker.doorbird@0.2.0 [sudo] password for nega: npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/ioBroker.doorbird - Not found npm ERR! 404 npm ERR! 404 'ioBroker.doorbird@0.2.0' is not in this registry. npm ERR! 404 This package name is not valid, because npm ERR! 404 1. name can no longer contain capital letters npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url. npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-09-01T18_13_52_342Z-debug-0.log nega@ioBroker:/opt/iobroker$
-
@negalein sagte in Re-New DoorBird Adapter v1.0.x:
capital letters
Keine Grossbuchstaben verwenden, also
npm install iobroker.doorbird@0.2.0
-
@djmarc75 sagte in Re-New DoorBird Adapter v1.0.x:
@negalein sagte in Re-New DoorBird Adapter v1.0.x:
capital letters
Keine Grossbuchstaben verwenden, also
npm install iobroker.doorbird@0.2.0
mein Fehler! Sorry.