Giter VIP home page Giter VIP logo

iobroker.doorbird's People

Contributors

apollon77 avatar buzzy1337 avatar dependabot[bot] avatar doorbird-tech avatar germanbluefox avatar haarspalter avatar mcm1957 avatar schmakus avatar stefan592 avatar todde99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iobroker.doorbird's Issues

Compatibility check to js-controller 4.0

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!

Think about to fix the issues found by adapter checker

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

  • [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: "npm owner add bluefox iobroker.doorbird"

I have also found warnings that may be fixed if possible.

  • [W113] Adapter should support compact mode

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

Think about to fix the issues found by adapter checker

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

  • [E104] No common.titleLang found in io-package.json
  • [E150] No common.connectionType found in io-package.json
  • [E152] No common.dataSource found in io-package.json
  • [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: "npm owner add bluefox iobroker.doorbird"
  • [E605] No actual year found in copyright. Please add "Copyright (c) 2022 BuZZy1337 [email protected]" at the end of README.md
  • [E701] No actual year found in LICENSE. Please add "Copyright (c) 2022 BuZZy1337 [email protected]" at the start of LICENSE

I have also found warnings that may be fixed if possible.

  • [W113] Adapter should support compact mode

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

Adapter IP bei Verwendung von iobroker in Docker

Ich habe das Problem, dass der Adapter nicht startet wenn ich als Adapter IP die IP des Hosts eintrage.
Bildschirmfoto 2022-01-31 um 14 26 44
Portweitergabe im Docker und Firewallfreigabe sind erteilt.

Hier der Auszug aus dem Log:
Bildschirmfoto 2022-01-31 um 14 32 04

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!

No Doorbell Trigger Variable Update

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

DoorBird D301A

Is the D301A not compatible? Adapter ist not able to connect.

"ListenOnAllInterfaces" Not working

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:

image
image

Netzwerkaufbau:
image

Support relais events

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.

AxiosError

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.

Periodic error ECONNREFUSED

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.

Update stable version in repo from 1.2.3 to 1.2.4

Think about update stable version to 1.2.4

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!

Eigene HTTPS Aufrufe hinzufügen

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

Wie installieren?

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

Adapter startet nicht.

nach eintragen in UI alle daten wie IP, User und Passwort adapter startet nicht.

Kann kein verbindung aufbauen zu dienst.

Keine Einträge für Snapshot

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

Doorbird Fehler "Permissen Error"

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

27725453-52B5-44AA-9B95-37EB80560100
E0B023D3-9556-4AE6-BC21-F144530F6BF3
06A32DDF-DAA6-4077-B45A-0DB7EA243EDE

Compatibility check and testing for Node.js 14 and 16

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!

Doorbell.1.trigger springt auf True bei Codeeingabe

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.

Peripherie zum Adapter hinzufügen

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.

Fix errors reported by adapter checker

Erroro reported by adapter checker

  • ❗ [E019] Invalid repository URL in package.json: https://github.com/BuZZy1337/ioBroker.doorbird. Expected: [email protected]:iobroker-community-adapters/ioBroker.doorbird.git or https://github.com/iobroker-community-adapters/ioBroker.doorbird.git
  • ❗ [E150] No common.connectionType found in io-package.json
  • ❗ [E152] No common.dataSource found in io-package.json
  • ❗ [E154] common.dependencies must contain [{"js-controller": ">=2.0.0"}] or later - recommended: [{"js-controller": ">=3.3.22"}]
  • ❗ [E405] Icon must be in the following path: https://raw.githubusercontent.com/iobroker-community-adapters/ioBroker.doorbird/master/
  • ❗ [E407] Meta URL (latest) must be equal to https://raw.githubusercontent.com/iobroker-community-adapters/ioBroker.doorbird/master/io-package.json
  • 👀 [W171] "common.title" is deprecated in io-package.json
  • 👀 [W109] "common.desc" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • 👀 [W113] Adapter should support compact mode
  • 👀 [W156] Adapter should support admin 5 UI (jsonConfig) if you do not use a React based UI
  • 👀 [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • 👀 [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • 👀 [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • 👀 [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • 👀 [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • 👀 [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • 👀 [W202] Version of package.json (0.2.0-alpha.0) doesn't match latest version on NPM (0.1.5)

no snapshot available in /opt/iobroker/iobroker-data/doorbird.0.snap.jpg

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
grafik

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '....'
  4. See error

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

[Docu] Readme missing info about doorbird

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.,

Periodic error 400 "while setting the Motion schedule".

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.

[js-controller5] /opt/iobroker/node_modules/iobroker-data wurde gelöscht

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)

Adapter startet nicht nach Update auf V1.1.1

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

AxiosError: Request failed with status code 401

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:

klu_011

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.

[QA] Adapter refurbish required

  • adapter should use adaptercode instead ob liob/utils
  • code should use let/const instead of var
  • lint should be activated
  • problems reported by adapter checker should be solved
  • missing dependencies (fs, http, path) should be added

send doorbird photo via telegram seems to be a bit tricky

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?

Fehlende Bilder bei Mehrparteienanlage

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

Please check ioBroker.doorbird with js-controller 2.0

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.

Error in Parsing Schedules: RangeError: Maximum call stack size exceeded

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?

Issue with js-controller 5 Alpha

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

Compatibility check to js-controller 3.3 and Admin5 React UI

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!

Bilddatei wird erzeugt, jedoch kein Inhalt

Es wird nun ein Bildobjekt erzeugt unter /opt/iobroker/iobroker-data jedoch hat dies keinen Inhalt und eine Größe von 0 KB.
Ich habe den Adapter bereits deinstalliert und neu installiert.

NPM: 6.14.16
Node.js: v14.19.0
Plattform: linux
Adminversion: v5.3.1
js-controller: 4.0.15

Unbenannt

Error in parsing favorites after upgrading to 0.1.5

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
-- | -- | -- | --

Update stable version in repo from 1.2.4 to 1.3.0

Think about update stable version to 1.3.0

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!

No "Doorbell-Option" in IoBroker Objects

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

RFID

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?

Bilder werden nicht abgeholt

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..
`

Unbenannt

Versions:

  • Adapter version: 1.0.5
  • JS-Controller version: 5.0.7
  • Node version: v18.16.1
  • Operating system: Debian 12

[Feature Request] Steuerung von Peripherie (Gong)

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ß

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.