iobroker-community-adapters / iobroker.doorbird Goto Github PK
View Code? Open in Web Editor NEWDoorbird Adapter for ioBroker
License: MIT License
Doorbird Adapter for ioBroker
License: MIT License
I get this error periodically and after start of the adapter:
'doorbird.0 | 2018-11-28 22:12:16.323 | error | null (Statuscode: 400)
doorbird.0 | 2018-11-28 22:12:16.322 | error | There was an Error while setting the Motion schedule.'
Not sure what that means. I have a DoorBird D2101V and everything else seems to work ok. But motion snapshots do not work, either. In the doorbird app I have motion detection disabled (cloud recording & push messages). Not sure if that is connected? I tried to enable it, but the error did stay.
Is the D301A not compatible? Adapter ist not able to connect.
Hallo zusammen!
Ich habe mir eine Doorbird D2101V zugelegt und auch gleich den Adapter 0.1.5. installiert.
Leider fehlt mir unter "Objekte" der Ordner "Doorbell". Er hat selbst nach dem zweiten mal installieren, nur "Motion", "Relays" und "Info" angelegt. Ich habe im Adapter alles korrekt ausgefüllt, er erscheint auch grün, alles ist "wahr". Was kann hier falsch gelaufen sein?
Gruß Dennis
Wollte seit langen einmal den Doorbird-Adapter ans laufen bringen. Soweit läuft er auch, aber mir werden die State´s der Bilder nicht angezeigt. Hab nun einiges im Forum gelesen und ausprobiert, aber der Adapter scheint Probleme zu haben.
Anbei mal ein paar Screenshots des Fehlers und wie die States aussehen. Denn es wird keine Bild-URL angezeigt. Somit kann ich das nicht weiter verarbeiten.
Eventuell kann jemand helfen?
Da der Adapter Entwickler schon länger nichts mehr macht, wäre vielleicht eine Möglichkeit da, diesen gemeinsam zu bearbeiten?
Systeminformationen:
ioBroker
Plattform
linux
Betriebssystem
linux
Architektur
x64
CPUs
2
Geschwindigkeit
1895 MHz
Modell
Common KVM processor
RAM
7.61 GB
System-Betriebszeit
4 T. 23:18:14
Node.js
v14.18.2
NPM
6.14.15
Wäre es möglich, auch die an Doorbird angeschlossene Peripherie, wie ein Gong, im Adapter hinzuzufügen.
Ich würde deren Einstellungen gerne auch über ioBroker steuern können.
Beispiel:
Setze die Lautstärke des Gongs auf ein Minimum wenn das Kind schläft.
Ist der AxiosError 401 ein Verbindungsfehler?
Install Log:
$ iobroker add doorbird auto --host iobroker --debug
NPM version: 9.6.7
Installing [email protected]... (System call)
added 3 packages in 9s125 packages are looking for funding run npm fund
for details
host.iobroker install adapter doorbird
upload [14] doorbird.admin /opt/iobroker/node_modules/iobroker.doorbird/admin/doorbird.png doorbird.png image/png
upload [13] doorbird.admin /opt/iobroker/node_modules/iobroker.doorbird/admin/i18n/de/translations.json i18n/de/translations.json application/json
upload [12] doorbird.admin /opt/iobroker/node_modules/iobroker.doorbird/admin/i18n/en/translations.json i18n/en/translations.json application/json
upload [11] doorbird.admin /opt/iobroker/node_modules/iobroker.doorbird/admin/i18n/es/translations.json i18n/es/translations.json application/json
upload [10] doorbird.admin /opt/iobroker/node_modules/iobroker.doorbird/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
upload [9] doorbird.admin /opt/iobroker/node_modules/iobroker.doorbird/admin/i18n/it/translations.json i18n/it/translations.json application/json
upload [8] doorbird.admin /opt/iobroker/node_modules/iobroker.doorbird/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
upload [7] doorbird.admin /opt/iobroker/node_modules/iobroker.doorbird/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
upload [6] doorbird.admin /opt/iobroker/node_modules/iobroker.doorbird/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
upload [5] doorbird.admin /opt/iobroker/node_modules/iobroker.doorbird/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
upload [4] doorbird.admin /opt/iobroker/node_modules/iobroker.doorbird/admin/i18n/uk/translations.json i18n/uk/translations.json application/json
upload [3] doorbird.admin /opt/iobroker/node_modules/iobroker.doorbird/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
upload [2] doorbird.admin /opt/iobroker/node_modules/iobroker.doorbird/admin/index.html index.html text/html
upload [1] doorbird.admin /opt/iobroker/node_modules/iobroker.doorbird/admin/index_m.html index_m.html text/html
upload [0] doorbird.admin /opt/iobroker/node_modules/iobroker.doorbird/admin/words.js words.js application/javascript
host.iobroker object system.adapter.doorbird created/updated
host.iobroker create instance doorbird
host.iobroker object system.adapter.doorbird.0.alive created
host.iobroker object system.adapter.doorbird.0.connected created
host.iobroker object system.adapter.doorbird.0.compactMode created
host.iobroker object system.adapter.doorbird.0.cpu created
host.iobroker object system.adapter.doorbird.0.cputime created
host.iobroker object system.adapter.doorbird.0.memHeapUsed created
host.iobroker object system.adapter.doorbird.0.memHeapTotal created
host.iobroker object system.adapter.doorbird.0.memRss created
host.iobroker object system.adapter.doorbird.0.uptime created
host.iobroker object system.adapter.doorbird.0.inputCount created
host.iobroker object system.adapter.doorbird.0.outputCount created
host.iobroker object system.adapter.doorbird.0.eventLoopLag created
host.iobroker object system.adapter.doorbird.0.sigKill created
host.iobroker object doorbird.0 created
host.iobroker object doorbird.0.TakeSnapshot created
host.iobroker object doorbird.0.info created
host.iobroker object doorbird.0.info.connection created
host.iobroker object doorbird.0.info.firmware created
host.iobroker object doorbird.0.info.build created
host.iobroker object doorbird.0.info.type created
host.iobroker Set default value of doorbird.0.Motion.trigger: false
host.iobroker Set default value of doorbird.0.info.connection: false
host.iobroker Set default value of doorbird.0.info.firmware:
host.iobroker Set default value of doorbird.0.info.build:
host.iobroker Set default value of doorbird.0.info.type:
host.iobroker object system.adapter.doorbird.0 created
Process exited with code 0
Einstellungen:
Systemlog:
2023-07-28 11:49:54.447 - info: host.iobroker "system.adapter.doorbird.0" enabled
2023-07-28 11:49:55.000 - info: host.iobroker instance system.adapter.doorbird.0 started with pid 7057
2023-07-28 11:49:57.106 - debug: doorbird.0 (7057) Redis Objects: Use Redis connection: 127.0.0.1:9001
2023-07-28 11:49:57.188 - debug: doorbird.0 (7057) Objects client ready ... initialize now
2023-07-28 11:49:57.191 - debug: doorbird.0 (7057) Objects create System PubSub Client
2023-07-28 11:49:57.193 - debug: doorbird.0 (7057) Objects create User PubSub Client
2023-07-28 11:49:57.308 - debug: doorbird.0 (7057) Objects client initialize lua scripts
2023-07-28 11:49:57.319 - debug: doorbird.0 (7057) Objects connected to redis: 127.0.0.1:9001
2023-07-28 11:49:57.414 - debug: doorbird.0 (7057) Redis States: Use Redis connection: 127.0.0.1:9000
2023-07-28 11:49:57.450 - debug: doorbird.0 (7057) States create System PubSub Client
2023-07-28 11:49:57.451 - debug: doorbird.0 (7057) States create User PubSub Client
2023-07-28 11:49:57.556 - debug: doorbird.0 (7057) States connected to redis: 127.0.0.1:9000
2023-07-28 11:49:57.955 - info: doorbird.0 (7057) starting. Version 1.0.5 in /opt/iobroker/node_modules/iobroker.doorbird, node: v18.17.0, js-controller: 5.0.9
2023-07-28 11:49:58.184 - warn: doorbird.0 (7057) Error in testBird() Request: AxiosError: Request failed with status code 401
2023-07-28 11:49:58.196 - debug: doorbird.0 (7057) Server gestartet auf Port 8100 und IP 192.168.178.41
Im Browser bekomme ich das Bild mit:
http://ghhnoo0001:[email protected]/bha-api/image.cgi
IP/User/Kennwort stimmen also.
Installation trägt keine https-Aufrufe in der Doorbird für Ring & Motion ein.
Hi Buzzy!
Du hast mal geschrieben "Ich werde bald eine neue Version veröffentlichen wo man die Tag-IDs von den RFID Chips eingeben kann und dementsprechend auch dann darauf reagieren kann..".
Gibt es dazu schon News?
Is there an error in the minimum js-controller version?
4.0.24 seems to be the latest 4.x version ( see https://github.com/ioBroker/ioBroker.js-controller/blob/master/CHANGELOG.md )
Every 24 hours (+/- 30 min) I can see the following error in the log:
Error in testBird() Request: Error: connect ECONNREFUSED [IP]:80
The adapter as well as the doorbird seem to work as expected. Is this an issue with my doorbird installation or the adapter or is this even an issue at all, except for the log entry?
I can reproduce the 24h cycle by restarting the adapter. This shifts the 24h cycle to the time of the restart.
Since 27.02.2023, the doorbell and motion trigger created by the app are no longer controlled.
(http://192.168.x.x:8100/ring?)
Instance has already been reinstalled, but without change. HTTP requests via SimpleAPI works. Does anyone else have this problem?
DoorBird FW: 138 / Model D2101V
IOB: 0.1.5
Ich habe das Problem, dass der Adapter nicht startet wenn ich als Adapter IP die IP des Hosts eintrage.
Portweitergabe im Docker und Firewallfreigabe sind erteilt.
Trage ich als Adapter IP 0.0.0.0 ein, dann startet der Adapter erfolgreich, jedoch werden auch die http-Aufrufe in Doorbird mit 0.0.0.0 generiert und funktionieren dementsprechend nicht.
Hat jemand eine Idee was ich falsch mache?
Besten Dank im Voraus!
Während eines Updates von iobroker scheint das Verzeichnis /opt/iobroker/node_modules/iobroker-data gelöscht zu werden.
Daher kann der Adapter die Bilder nicht mehr ablegen und stürzt ab.
Adapter "admin" : 6.5.8 , installed 6.5.8
Adapter "doorbird" : 0.1.5 , installed 0.1.5
2023-06-15 06:47:45.738 - error: doorbird.0 (12974) uncaught exception: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker-data/doorbird.0.snap.jpg'
2023-06-15 06:47:45.742 - error: doorbird.0 (12974) Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker-data/doorbird.0.snap.jpg'
2023-06-15 06:47:45.743 - error: doorbird.0 (12974) Exception-Code: ENOENT: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker-data/doorbird.0.snap.jpg'
2023-06-15 06:47:45.752 - warn: doorbird.0 (12974) Terminated (UNCAUGHT_EXCEPTION): Without reason
2023-06-15 06:47:46.492 - error: host.iobroker instance system.adapter.doorbird.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
Hi,
by using the old / simple LAN API Doorbird can notify iobroker by issuing a get request. This is installed like this:
http://doorbird/bha-api/notification.cgi?url=http://iobroker:8087/set/javascript.0.States.DoorBirdDoorOpen?value=true&event=dooropen&subscribe=1
Where doorbird is the doorbird hostname or ip and the URL is the URL which will be called if the user switches the relais (for example from the Doorbird App or a DECT Telephone).
I do understand that the current API you use does not support push messages for relais switching.
But I think it would be possible to run a simple webserver in the adapter and register with Doorbird using the old / simple LAN API. This could be done automatically in the background and the user would not have to set it up manually (like I did with simpleApi adapter and javascript adapter) and all events from Doorbird are in the same Channel / Device which I would prefer.
In der Doorbird-App kann man eigene HTTP(S) Aufrufe hinzufügen. Für den iobroker-Adapter gibt es aktuell den Ring und Motion Aufruf. Es wäre schön wenn man noch weitere Aufrufe hinzufügen könnte, die dann von dem iobroker-Adapter ausgewertet werden
Mit freundlichen Grüßen
Kevin
Dear Adapter developer,
with js-controller 3.2 and js-controller 3.3 some additional checks were added to make sure that created objects match to the specifications and also written state values match to the object definition.
If something is not correct this is logged as 'warning' or 'info' log.
Please take the time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn log there from these checks please adjust the adapter and fix the relevant cases.
For questions please refer to ioBroker/ioBroker.js-controller#1301
Additionally we are preparing Admin 5 which will have a completely rewritten UI. Please install Admin 5, activate that new UI and verify that the configuration of you adapter works as expected also there.
More informations on Admin 5 can be found in Forum https://forum.iobroker.net/topic/44282/test-adapter-admin-5-0-x-alpha-der-neuen-ui
Please close the issue after you checked it.
Thank you very much for your support!
Seit der Version 1.0.5 werden nach Druck auf die einzige Klingeltaste einer Doorbird D2101 Bilder in /iobroker-data/files/doorbird.0 gespeichert als Doorbell1_1.jpg, was auch einwandfrei geht.
Bei meiner D2103V mit drei Klingeltasten wird immer ein Bild Doorbell102_1.jpg abgelegt, egal welche Klingel gedrückt wird.
Erwarten würde ich bei Tastendruck Klingel 1 (doorbird.0.Doorbell.101.trigger ausgelöst!) ein Bild Doorbell101_1.jpg, bei Tastendruck Klingel 2 (doorbird.0.Doorbell.102.trigger ausgelöst!) ein Bild Doorbell102_1.jpg und bei Tastendruck Klingel 3 (doorbird.0.Doorbell.103.trigger ausgelöst!) ein Bild Doorbell103_1.jpg
Edit: Nach nochmaliger Prüfung Geht das wie es soll, also KEIN isuue
I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/BuZZy1337/ioBroker.doorbird
I have also found warnings that may be fixed if possible.
Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info
Hi,
i own a new Doorbird D201x since 06/2023. So i have installed 2 instances of the Door-Adapter.
After a while, the Doorbird.1 (the new one) gives me a warning evey 3 Minutes:
Error in Parsing Schedules: RangeError: Maximum call stack size exceeded
The adapter ist still green and everything seems to work fine.
After a restart of the adapter, everthing works good for 2-4 weeks an the the warning happens again.
Any hints?
I'd like to suggest to move this implementation to my client library for the Doorbird API: https://github.com/ihrigb/node-doorbird. I will try to find some time to work on a proposal during the holidays.
Wäre es möglich, über den Adapter auch Peripherie-Geräte wie einen Doorbird-Gong zu steuern?
In der App geht das ja.
Würde gerne die Lautstärke automatisiert anpassen können oder ihn ganz ausstellen, wenn z. B. die Kids schlafen.
Gruß
There seems to be no information about what doorbird is within README.md.
Please add as short description (one or two sentences should be eneogh) and a linkt othe manufactorer site or full product description.,
Request package is deprected.
Consider replacing it with axios.
After installing the new update 0.1.5 today I get every three minutes the following error in the log:
doorbird.0 | 2018-09-20 11:45:25.680
| error | Error in Parsing favorites: SyntaxError: Invalid regular expression: /(?<=\/\/)(.*)(?=\/)/: Invalid group
-- | -- | -- | --
The upcoming version 2.0.0 of js-controller will support a new mode for low memory devices. For this, a few minor adjustments to the adapter must be made. Please follow these instructions: https://forum.iobroker.net/viewtopic.php?f=24&t=20387#p213466
Dear Adapter develop,
Node.js 14 is now available for a year and Node.js 16 was release just some days ago and will become LTS by October 2021. We plan to update the ioBroker Node.js recommendation (currently 12.x) to 14.x later this year.
Please check your adapter with Node.js 14 especially, and ideally also directly with Node.js 16
Please add both versions to the adapter testing which is executed on commits.
If your adapter requires a certain minimum version of Node.js please set the 'engine' setting in package.json accordingly! Please also do this if the adapter is not able to work in certain Node.js versions, so that ioBroker can prevent users from installing te adapter if not compatible!
On questions please talk to us at ioBroker/ioBroker.js-controller#1138
Please close the issue after you checked it.
Thank you very much for your support!
Ich habe eine DoorBird D1101KV, wenn ich den Klingel Taster bediene springt der Datenpunkt:
doorbird.0.Doorbell.1.trigger
auf true. Soweit auch OK. Gebe ich aber einen Code ins Keypad ein, egal welchen (es gibt 6) springt der Datenpunkt ebenfalls immer auf true und damit werden auch die Rules getriggert die mit dem Datenpunkt verbunden sind.
After updating to version v1.0.0 (also v1.0.2) I'm getting these warnings in the IOBroker protocol and motions are not captured anymore:
warn: doorbird.0 (2429106) Error in creating schedule: AxiosError: Request failed with status code 400
warn: doorbird.0 (2429106) Error in setting Motion schedule: AxiosError: Request failed with status code 400
This was working with the last version.
Hi,
the new js-controller 2.0 will come into latest repository in the next days and we want to make sure that all adapters are working well. We already did a 2 weeks Beta test and so some adapter were aleady checked and some needed slight adjustments.
You can find more information in ioBroker/ioBroker.js-controller#482 and in the ioBroker Forum. If you have more technical questions please write in the referenced issue or in the Developer thread please. General questions are best in the genral thread.
Please update your systems to js-controller 2.0 and check your adapter.
Please close this issue once you have checked your adapter or received successfull reports from users.
Thank you very much for your support. Please contact us in the other Threads or Forum on any question.
Hallo
Ich bekomm laufend diese Warn-Meldungen.
doorbird.0 | 2023-08-02 00:35:30.045 | warn | Error in Parsing Schedules: RangeError: Maximum call stack size exceeded
Adapter: 1.0.5
Describe the bug
on the main page (https://github.com/iobroker-community-adapters/ioBroker.doorbird/) of this adapter there is following solution written:
onFile("doorbird.0", "TakeSnapshot_1.jpg", false, function (id, fileName, size, fileData, mimeType) {
sendTo('telegram.0', {
text: fileData,
type: 'photo'
});
});
It seems fileData contains only the filename and the telegram adapter does not find the file.
If i change the code to:
onFile("doorbird.0", "TakeSnapshot_1.jpg", false, function (id, fileName, size, fileData, mimeType) {
sendTo('telegram.0', 'send' , {
text: '/opt/iobroker/iobroker-data/files/doorbird.0/TakeSnapshot_1.jpg',
type: 'photo'
});
});
it works for me and the photo is send via telegram.
Can you advise, is this the correct solution? Is it really necessary to put the whole path hardcoded inside there or is there any getPath function?
nach eintragen in UI alle daten wie IP, User und Passwort adapter startet nicht.
Kann kein verbindung aufbauen zu dienst.
Version: stable=1.2.4 (47 days old) => latest=1.3.0 (15 days old)
Installs: stable=495 (38.14%), latest=120 (9.24%), total=1298
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!
Hi,
deine Änderung hier funktionieret leider nicht.
Im "res.socket.remoteAddress" enthält die IP von der die Anfrage kommt. In einen BridedLan ist es die Adresse des "Routers" der die Bridge macht.
Die Angabe von '0.0.0.0' bei server.listen bewirkt das auf allen Interfaces gehört wird, '0.0.0.0' kann und wird aber niemals der Wert von "res.socket.remoteAddress" sein.
Bitte ändere die entsprechende Zeile auf:
if (remoteAddress === this.config.birdip || this.config.listenOnAllInterfaces) {
Damit wird die IP Prüfung deaktiviert wenn 'listenOnAllInterfaces' aktiviert ist. Und das Feature "ListenOnAllInterfaces" funktioniert.
Hier ein Debug aus IoBroker:
Version: stable=1.2.3 (44 days old) => latest=1.2.4 (30 days old)
Installs: stable=517 (40.61%), latest=138 (10.84%), total=1273
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!
Describe the bug
since i reinstall my ioBroker, i get the ring signal from doorbird but there are no snapshot saved anymore.
i reinstalled the adapter, but the behavior is the same.
state snapshot is not shown anymore
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.
Versions:
Plattform: docker
Betriebssystem: linux
Architektur: x64
CPUs: 4
Geschwindigkeit: 800 MHz
Modell: AMD GX-412TC SOC
RAM: 3.85 GB
System-Betriebszeit: 12 T. 22:22:32
Node.js v18.17.1 (Es gibt eine neuere Version: v18.18.0)
NPM 9.6.7
admin: 6.10.1
host: 5.0.12
After upgrading to js-controller: 5.0.1-alpha this adapter is crashing:
2023-05-16 07:24:37.299 - debug: doorbird.0 (177011) Redis Objects: Use Redis connection: 0.0.0.0:9001
2023-05-16 07:24:37.369 - debug: doorbird.0 (177011) Objects client ready ... initialize now
2023-05-16 07:24:37.372 - debug: doorbird.0 (177011) Objects create System PubSub Client
2023-05-16 07:24:37.373 - debug: doorbird.0 (177011) Objects create User PubSub Client
2023-05-16 07:24:37.529 - debug: doorbird.0 (177011) Objects client initialize lua scripts
2023-05-16 07:24:37.561 - debug: doorbird.0 (177011) Objects connected to redis: 0.0.0.0:9001
2023-05-16 07:24:37.564 - silly: doorbird.0 (177011) redis psubscribe cfg.o.system.user.*
2023-05-16 07:24:37.616 - silly: doorbird.0 (177011) redis psubscribe cfg.o.enum.*
2023-05-16 07:24:37.619 - silly: doorbird.0 (177011) objectDB connected
2023-05-16 07:24:37.622 - debug: doorbird.0 (177011) Redis States: Use Redis connection: 0.0.0.0:9000
2023-05-16 07:24:37.738 - debug: doorbird.0 (177011) States create System PubSub Client
2023-05-16 07:24:37.739 - debug: doorbird.0 (177011) States create User PubSub Client
2023-05-16 07:24:37.877 - debug: doorbird.0 (177011) States connected to redis: 0.0.0.0:9000
2023-05-16 07:24:37.878 - silly: doorbird.0 (177011) statesDB connected
2023-05-16 07:24:38.406 - info: doorbird.0 (177011) starting. Version 0.1.5 in /opt/iobroker/node_modules/iobroker.doorbird, node: v18.16.0, js-controller: 5.0.1-alpha.0-20230418-efa3e809
2023-05-16 07:24:38.458 - silly: doorbird.0 (177011) States system redis pmessage system.adapter.doorbird.0.logLevel/system.adapter.doorbird.0.logLevel:{"val":"silly","ack":true,"ts":1684214678440,"q":0,"from":"system.adapter.doorbird.0","lc":1684214678440}
2023-05-16 07:24:38.508 - silly: doorbird.0 (177011) States user redis pmessage doorbird.0./doorbird.0.info.connection:{"val":false,"ack":true,"ts":1684214678501,"q":0,"from":"system.adapter.doorbird.0","user":"system.user.admin","lc":1684214678501}
2023-05-16 07:24:38.532 - debug: doorbird.0 (177011) Authorization with User gheicj0001 successfull!
2023-05-16 07:24:38.559 - debug: doorbird.0 (177011) Checking favorites on DoorBird Device..
2023-05-16 07:24:38.569 - silly: doorbird.0 (177011) States user redis pmessage doorbird.0./doorbird.0.info.connection:{"val":true,"ack":true,"ts":1684214678565,"q":0,"from":"system.adapter.doorbird.0","user":"system.user.admin","lc":1684214678565}
2023-05-16 07:24:38.587 - debug: doorbird.0 (177011) Found a Favorite that belongs to me..
2023-05-16 07:24:38.588 - debug: doorbird.0 (177011) (ID: 0) (ioBroker doorbird.0 1 Ring: http://192.168.6.54:8100/ring?1)
2023-05-16 07:24:38.588 - debug: doorbird.0 (177011) Found a Favorite that belongs to me..
2023-05-16 07:24:38.589 - debug: doorbird.0 (177011) (ID: 1) (ioBroker doorbird.0 Motion: http://192.168.6.54:8100/motion)
2023-05-16 07:24:38.589 - debug: doorbird.0 (177011) Result of Favorites: {"1":{"ID":"0","URL":"http://192.168.6.54:8100/ring?1"},"Motion":{"ID":"1","URL":"http://192.168.6.54:8100/motion"}}
2023-05-16 07:24:38.600 - silly: doorbird.0 (177011) States user redis pmessage doorbird.0./doorbird.0.info.firmware:{"val":"000139","ack":true,"ts":1684214678595,"q":0,"from":"system.adapter.doorbird.0","user":"system.user.admin","lc":1683609657823}
2023-05-16 07:24:38.618 - silly: doorbird.0 (177011) States user redis pmessage doorbird.0./doorbird.0.info.build:{"val":"16824274","ack":true,"ts":1684214678615,"q":0,"from":"system.adapter.doorbird.0","user":"system.user.admin","lc":1683609657823}
2023-05-16 07:24:38.620 - silly: doorbird.0 (177011) States user redis pmessage doorbird.0./doorbird.0.info.type:{"val":"DoorBird D2101V","ack":true,"ts":1684214678615,"q":0,"from":"system.adapter.doorbird.0","user":"system.user.admin","lc":1558199246009}
2023-05-16 07:24:38.625 - debug: doorbird.0 (177011) Looping trough the Schedules..
2023-05-16 07:24:38.626 - debug: doorbird.0 (177011) Detected a Doorbell Schedule!
2023-05-16 07:24:38.626 - debug: doorbird.0 (177011) The Param of the actual Schedule is: 1
2023-05-16 07:24:38.627 - debug: doorbird.0 (177011) The Output contains 3 entries!
2023-05-16 07:24:38.627 - debug: doorbird.0 (177011) Entry "0" is: {"event":"notify","param":"","schedule":{"weekdays":[{"to":"75599","from":"75600"}]}}
2023-05-16 07:24:38.627 - debug: doorbird.0 (177011) Entry "1" is: {"event":"sip","param":"1","schedule":{"weekdays":[{"to":"75599","from":"75600"}]}}
2023-05-16 07:24:38.628 - debug: doorbird.0 (177011) Entry "2" is: {"event":"http","param":"0","enabled":"1","schedule":{"weekdays":[{"from":"75600","to":"75599"}]}}
2023-05-16 07:24:38.628 - debug: doorbird.0 (177011) Counted 1 Doorbells.
2023-05-16 07:24:38.628 - debug: doorbird.0 (177011) Detected Motion Schedule!
2023-05-16 07:24:38.629 - debug: doorbird.0 (177011) The Output contains 2 entries!
2023-05-16 07:24:38.629 - debug: doorbird.0 (177011) Entry "0" is: {"event":"notify","param":"","schedule":{"weekdays":[{"to":"75599","from":"75600"}]}}
2023-05-16 07:24:38.630 - debug: doorbird.0 (177011) Entry "1" is: {"event":"http","param":"1","enabled":"1","schedule":{"weekdays":[{"from":"75600","to":"75599"}]}}
2023-05-16 07:24:38.630 - debug: doorbird.0 (177011) Checking if we need to create any favorites..
2023-05-16 07:24:38.631 - debug: doorbird.0 (177011) Cheking if Favorite for Doorbell ID 1 exists.
2023-05-16 07:24:38.631 - debug: doorbird.0 (177011) Favorite for Doorbell ID 1 exists!
2023-05-16 07:24:38.632 - debug: doorbird.0 (177011) Checking if we need to create any favorites..
2023-05-16 07:24:38.632 - debug: doorbird.0 (177011) Favorites checked successfully. No actions needed!
2023-05-16 07:24:38.633 - debug: doorbird.0 (177011) Checking if we need to create Schedules on DoorBird Device..
2023-05-16 07:24:38.633 - debug: doorbird.0 (177011) Okay we dont need to create any Doorbell-Schedules..
2023-05-16 07:25:09.094 - debug: doorbird.0 (177011) Received Motion-alert from Doorbird!
2023-05-16 07:25:09.138 - silly: doorbird.0 (177011) States user redis pmessage doorbird.0./doorbird.0.Motion.trigger:{"val":true,"ack":true,"ts":1684214709133,"q":0,"from":"system.adapter.doorbird.0","user":"system.user.admin","lc":1683122919533}
2023-05-16 07:25:09.174 - error: doorbird.0 (177011) uncaught exception: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker-data/doorbird.0.snap.jpg'
2023-05-16 07:25:09.175 - error: doorbird.0 (177011) Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker-data/doorbird.0.snap.jpg'
2023-05-16 07:25:09.175 - error: doorbird.0 (177011) Exception-Code: ENOENT: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker-data/doorbird.0.snap.jpg'
2023-05-16 07:25:09.180 - info: doorbird.0 (177011) terminating
2023-05-16 07:25:09.181 - warn: doorbird.0 (177011) Terminated (UNCAUGHT_EXCEPTION): Without reason
2023-05-16 07:25:09.683 - info: doorbird.0 (177011) terminating
2023-05-16 07:25:09.842 - error: host.iobroker instance system.adapter.doorbird.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
2023-05-16 07:25:09.842 - info: host.iobroker Restart adapter system.adapter.doorbird.0 because enabled
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/BuZZy1337/ioBroker.doorbird
I have also found warnings that may be fixed if possible.
Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info
Hallo zusammen,
die Trigger bei Doorbell und Motion funktionieren, es werden aber keine Inhalte in die Datenpunkte snapshot eingetragen, die bleiben bei "[undef]".
Im Verzeichnis "/opt/iobroker/iobroker-data" wird eine Bilddatei "doorbird.0.snap.jpg" mit richtigem Inhalt angelegt.
DoorBird D1101V, Firmware 0130
ioBroker aktuelle Beta, Java-Script 5.2.13
Danke und Gruß
Achim
Dear Adapter developer,
with js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.
If something is not correct this is logged as 'warning' or 'info' log.
Please also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!
Please spent some time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn or info log there from these checks please adjust the adapter and fix the relevant cases.
For questions please refer to ioBroker/ioBroker.js-controller#1749
Please close the issue after you checked it.
Thank you very much for your support to get the best experience for the growing numbers of ioBroker users!
Hi bin noch Anfänger was Iobroker angeht... Deswegen frage ich wie ich das installiere mit npm install iobroker.doorbird
sagt er das er nichts zum installieren hat. In Iobroker direkt finde ich den Adapter nicht
Im Bild ist zu sehen, dass die Bilder (egal ob "Snapshot", "Klingel", oder "Motion") nicht abgeholt werden.
Zeitpläne wurden alle nochmals ordentlich erstellt und in die Doorbirdapp eingetragen.
Im Log ist nichts zu sehen ausser:
`
doorbird.0 | 2023-07-13 12:21:15.147 | debug | Snapshot saved successfully! |
---|---|---|---|
doorbird.0 | 2023-07-13 12:21:15.122 | info | Trying to take snapshot.. |
Versions:
Der Doorbird Adapter läuft nach dem Update auf V1.1.1 auf nachfolgende Fehler und startet nicht mehr.
Installation:
Admin 6.6.3
Node.js v18.17.0
NPM 6.14.10
Was kann ich tun?
host.Rpi4 | 2023-08-07 13:55:23.608 | error | instance system.adapter.doorbird.0 terminated with code 1 (JS_CONTROLLER_STOPPED) |
---|---|---|---|
host.Rpi4 | 2023-08-07 13:55:23.608 | error | Caught by controller[0]: Node.js v18.17.0 |
host.Rpi4 | 2023-08-07 13:55:23.608 | error | Caught by controller[0]: } |
host.Rpi4 | 2023-08-07 13:55:23.607 | error | Caught by controller[0]: ] |
host.Rpi4 | 2023-08-07 13:55:23.607 | error | Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.doorbird/main.js' |
host.Rpi4 | 2023-08-07 13:55:23.607 | error | Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.doorbird/node_modules/@iobroker/adapter-core/build/index.js', |
host.Rpi4 | 2023-08-07 13:55:23.607 | error | Caught by controller[0]: requireStack: [ |
host.Rpi4 | 2023-08-07 13:55:23.607 | error | Caught by controller[0]: code: 'MODULE_NOT_FOUND', |
host.Rpi4 | 2023-08-07 13:55:23.607 | error | Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19) { |
host.Rpi4 | 2023-08-07 13:55:23.607 | error | Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12) |
host.Rpi4 | 2023-08-07 13:55:23.607 | error | Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32) |
host.Rpi4 | 2023-08-07 13:55:23.606 | error | Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) |
host.Rpi4 | 2023-08-07 13:55:23.606 | error | Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14) |
host.Rpi4 | 2023-08-07 13:55:23.606 | error | Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.doorbird/node_modules/@iobroker/adapter-core/build/index.js:21:1) |
host.Rpi4 | 2023-08-07 13:55:23.606 | error | Caught by controller[0]: at require (node:internal/modules/cjs/helpers:110:18) |
host.Rpi4 | 2023-08-07 13:55:23.606 | error | Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19) |
host.Rpi4 | 2023-08-07 13:55:23.606 | error | Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:922:27) |
host.Rpi4 | 2023-08-07 13:55:23.606 | error | Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) |
host.Rpi4 | 2023-08-07 13:55:23.605 | error | Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.doorbird/main.js |
host.Rpi4 | 2023-08-07 13:55:23.605 | error | Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.doorbird/node_modules/@iobroker/adapter-core/build/index.js |
host.Rpi4 | 2023-08-07 13:55:23.605 | error | Caught by controller[0]: Require stack: |
host.Rpi4 | 2023-08-07 13:55:23.605 | error | Caught by controller[0]: Error: Cannot find module '@iobroker/types' |
host.Rpi4 | 2023-08-07 13:55:23.605 | error | Caught by controller[0]: ^ |
host.Rpi4 | 2023-08-07 13:55:23.605 | error | Caught by controller[0]: throw err; |
host.Rpi4 | 2023-08-07 13:55:23.604 | error | Caught by controller[0]: node:internal/modules/cjs/loader:1080 |
Vielen Dank schon einmal.
VG
Volker
Erroro reported by adapter checker
Your adapter is already in ioBroker latest repository available to be used by testwilling users. In order to make your adapter also available for the wide user base which uses the stable repository you should also add your adapter to the stable repository. Please see instructions at https://github.com/ioBroker/ioBroker.repositories#requirements-for-adapter-to-get-added-to-the-stable-repository
Thank you for your support.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.