Giter VIP home page Giter VIP logo

Comments (16)

mcm1957 avatar mcm1957 commented on June 2, 2024

@Klaus-Lucas
Bitte noch js-controller und node version angeben.

from iobroker.doorbird.

mcm1957 avatar mcm1957 commented on June 2, 2024

js-controller5 erfordert eine Aktualisierung des Adapters auf v0.2.0 (derzeit v0.2.0-alpha.0).

from iobroker.doorbird.

Klaus-Lucas avatar Klaus-Lucas commented on June 2, 2024

js-controller: 5.0.3
Node.js: v18.16.0
Ich kann in der Config des Adapters nichts eingeben, was den Pfad beeinflusst.

from iobroker.doorbird.

mcm1957 avatar mcm1957 commented on June 2, 2024

Die Github Version 0.2.0 sollte den Fix für js-controller5 beinhalten.
Könntest du diese bitte mal mit js-controller 5 auf einem TESTSYSTEM installieren?
(Übliche Warnung: Backup checken!, Nicht auf produktiven System!)

Wenn die bei dir läuft, lass ich sie als latest los. Mangels Testsystem will ich das allerdings nicht tun ohne irgendeine positive Rückmeldung.

from iobroker.doorbird.

Klaus-Lucas avatar Klaus-Lucas commented on June 2, 2024

Update stürzt ab:
37 silly logfile done cleaning log files
38 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules
39 http fetch GET 200 https://registry.npmjs.org/iobroker.doorbird 92ms (cache hit)
40 silly placeDep ROOT iobroker.doorbird@ REPLACE for: [email protected] want: 0.2.0-alpha.0
41 timing idealTree:#root Completed in 145ms
42 timing idealTree:node_modules/iobroker.doorbird Completed in 0ms
43 timing idealTree:buildDeps Completed in 149ms
44 timing idealTree:fixDepFlags Completed in 29ms
45 timing idealTree Completed in 2965ms
46 timing command:install Completed in 3001ms
47 verbose type version
48 verbose stack iobroker.doorbird: No matching version found for [email protected].
48 verbose stack at module.exports (/usr/lib/node_modules/npm/node_modules/npm-pick-manifest/lib/index.js:209:23)
48 verbose stack at RegistryFetcher.manifest (/usr/lib/node_modules/npm/node_modules/pacote/lib/registry.js:119:22)
48 verbose stack at async #nodeFromEdge (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1049:19)
48 verbose stack at async #buildDepStep (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:917:11)
48 verbose stack at async Arborist.buildIdealTree (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:196:7)
48 verbose stack at async Promise.all (index 1)
48 verbose stack at async Arborist.reify (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:159:5)
48 verbose stack at async Install.exec (/usr/lib/node_modules/npm/lib/commands/install.js:147:5)
48 verbose stack at async module.exports (/usr/lib/node_modules/npm/lib/cli.js:89:5)
49 verbose cwd /opt/iobroker
50 verbose Linux 6.1.21-v8+
51 verbose node v18.16.0
52 verbose npm v9.6.7
53 error code ETARGET
54 error notarget No matching version found for [email protected].
55 error notarget In most cases you or one of your dependencies are requesting
55 error notarget a package version that doesn't exist.
56 verbose exit 1
57 timing npm Completed in 3911ms
58 verbose unfinished npm timer reify 1686822047448
59 verbose unfinished npm timer reify:loadTrees 1686822047473
60 verbose code 1
61 error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-06-15T09_40_46_573Z-debug-0.log

from iobroker.doorbird.

mcm1957 avatar mcm1957 commented on June 2, 2024

Nur zur Sicherheit:

a) Das ist das Logfile der Installation - und nicht des Starts - seh ich das richtig?

b) Hast du eine GITHUB Installation (Katze im Expert Mode) versucht? Diese Release ist nicht auf npmjs verfügbar. Mich irritiert dass im Log etwas auf npmjs gesucht wird. Dort ist noch eine Vorgängerversion die auch noch auf das alte Repo verweist.

Falls die GH Installation crasht - sorry. Muss mir das dann ansehen oder schaun wer Zeit hat. Kann bei mir aber noch bis übernächste Woche dauern da ich nächste Woche offline bin.

from iobroker.doorbird.

Klaus-Lucas avatar Klaus-Lucas commented on June 2, 2024
  1. Ja
  2. Ja.
    Versuch 1:
    Unter Adapter bei Doorbird die 3 Punkte und dann das + gewählt
    Bitte wählen Sie eine bestimmte Version von doorbird aus

0.2.0-alpha.0

Adapter has been moved into iobroker-community-adapters-area
Github actions and testing has been added
standard development tools have been added
dependencies have been upgraded

Versuch 2:
Katze geschreichelt. doorbird [iobroker-community-adapters] gewählt:
$ iobroker url iobroker.doorbird --host iobroker --debug
install iobroker.doorbird
NPM version: 9.6.7
Installing iobroker.doorbird... (System call)
removed 1 package in 9s113 packages are looking for funding run npm fund for details
upload [3] doorbird.admin /opt/iobroker/node_modules/iobroker.doorbird/admin/doorbird.png doorbird.png image/png
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
Update "system.adapter.doorbird.0"
Process exited with code 0

Ändert nichts:
Adapter "doorbird" : 0.1.5 , installed 0.1.5

  1. eilt nicht :-)

from iobroker.doorbird.

mcm1957 avatar mcm1957 commented on June 2, 2024

@Klaus-Lucas

Nö so geht das nicht. Wundert mich dass du die Version auswählen kannst.

Bitte direkt von Github unter custom installieren:
image

Url: https://github.com/iobroker-community-adapters/ioBroker.doorbird

from iobroker.doorbird.

Klaus-Lucas avatar Klaus-Lucas commented on June 2, 2024

Besser:
$ iobroker url https://github.com/iobroker-community-adapters/ioBroker.doorbird --host iobroker --debug
install iobroker-community-adapters/ioBroker.doorbird#b7a6da11f8e8d9bb28fa93e04bcc8d8522f40f6f
NPM version: 9.6.7
Installing iobroker-community-adapters/ioBroker.doorbird#b7a6da11f8e8d9bb28fa93e04bcc8d8522f40f6f... (System call)
npm WARN skipping integrity check for git dependency ssh://[email protected]/iobroker-community-adapters/ioBroker.doorbird.git
113 packages are looking for funding run npm fund for details
upload [3] doorbird.admin /opt/iobroker/node_modules/iobroker.doorbird/admin/doorbird.png doorbird.png image/png
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
Update "system.adapter.doorbird.0"
Process exited with code 0

Installierte Instanzen:
1
Verfügbare Version:
0.1.5
Installierte Version:
0.2.0-alpha.0

Keine Fehlermeldung im Log beim Ablegen des Bildes.
Frage: Wo legt er denn jetzt das Bild ab?

Unter Objekte -> Doorbird:
{
"_id": "doorbird.0.Motion.snapshot",
"type": "state",
"common": {
"name": "JPG file",
"type": "file",
"read": true,
"write": false,
"desc": "Can be accessed from web server under http://ip:8082/state/doorbird.0.motion.snapshot"
},
"native": {},
"from": "system.adapter.doorbird.0",
"ts": 1686824645006,
"acl": {
"object": 1636,
"state": 1636
},
"user": "system.user.admin",
"binary": true
}

Per Browser: 404 Not found. File doorbird.0.motion.snapshot not found
Wobei ich "ip" durch die echte IP ersetzt habe.

from iobroker.doorbird.

mcm1957 avatar mcm1957 commented on June 2, 2024

Ok, installation geht mal.
Und scheinbar läuft er auch - zumindest humpelnd :-)
Ich check mal was ich zu den Verzeichnissen finde.

from iobroker.doorbird.

mcm1957 avatar mcm1957 commented on June 2, 2024

@Klaus-Lucas
Kannst du mal schaun ob heir was liegt:

...\ioBroker\iobroker-data\doorbird.0

wobei ioBroker dein ioBroker Basisverzeihnis wäre, als z.b: c:\ioBroker, /opt/ioBroker etc. / od \ je nach OS bitte.

Ich hab leider keine Möglichkeit Bilder aktiv anzulegen.

from iobroker.doorbird.

Klaus-Lucas avatar Klaus-Lucas commented on June 2, 2024

@mcm1957
Ja kann ich bestätigen: /opt/iobroker/iobroker-data/doorbird.0/snap.jpg
Unter Objekten erscheint jetzt auch eine +-Lupe, wenn ich über "file" schwebe und nach dem Klick auf "file" erscheint auch das Bild.

Vielen Dank für die schnelle Hilfe.

from iobroker.doorbird.

Schmakus avatar Schmakus commented on June 2, 2024

@mcm1957 ich würde mich nach meinem Urlaub drum kümmern. Wie auch alles andere was noch zu tun ist. Grüße

from iobroker.doorbird.

mcm1957 avatar mcm1957 commented on June 2, 2024

Ok, dann hast du den Ball :-)
Im Prinzip funktio niert der Adapter wenn ich es richtig verstanden habe.
Fraglich ist nur of der Hint / Description noch passt.

Und ja, ne neue Release (fürs latest mal) wär ev. sinnvoll. Die alpha.0 ist NICHT im Latest

from iobroker.doorbird.

mcm1957 avatar mcm1957 commented on June 2, 2024

Ich zieh dann mal als erste Hilfe ne 0.2.0 ein.
Sobald @Schmakus dann den Adapter und die anderen offenen Issue angeht, gibts neue Version(en)

from iobroker.doorbird.

Schmakus avatar Schmakus commented on June 2, 2024

fix with re-new adapter
Snapshots nun verfügbar in den ioBroker Files

from iobroker.doorbird.

Related Issues (20)

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.