Giter VIP home page Giter VIP logo

iobroker.adb's People

Contributors

apollon77 avatar om2804 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

iobroker.adb's Issues

Compatibility check and testing for Node.js 14 and 16

Dear Adapter developer,

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!

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/om2804/ioBroker.adb

  • [E150] No common.connectionType found in io-package.json
  • [E152] No common.dataSource found in io-package.json
  • [E605] No actual year found in copyright. Please add "Copyright (c) 2021 om2804 [email protected]" at the end of README.md
  • [E701] No actual year found in LICENSE. Please add "Copyright (c) 2021 om2804 [email protected]" at the start of LICENSE

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

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!

Error: spawn adb ENOENT

Was mache ich denn falsch?
ioBroker läuft auf einem Raspi 4.
mit windows bekomme ich die adb verbindung zum fernseher

adb.0 2022-12-19 13:50:22.462 error Can not connect to TV_Wohnzimmer (192.168.4.33). spawn adb ENOENT
adb.0 2022-12-19 13:50:22.436 error Something went wrong:
adb.0 2022-12-19 13:50:22.336 info starting. Version 0.0.7 in /opt/iobroker/node_modules/iobroker.adb, node: v18.12.1, js-controller: 4.0.23
host.raspberrypi 2022-12-19 13:50:19.987 info instance system.adapter.adb.0 started with pid 19753
adb.0 2022-12-19 13:50:16.840 error Exception-Code: ENOENT: spawn adb ENOENT
adb.0 2022-12-19 13:50:16.839 error Error: spawn adb ENOENT at ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
adb.0 2022-12-19 13:50:16.838 error unhandled promise rejection: spawn adb ENOENT
adb.0 2022-12-19 13:50:16.837 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
adb.0 2022-12-19 13:50:16.815 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
adb.0 2022-12-19 13:50:16.813 info terminating
adb.0 2022-12-19 13:50:16.810 info cleaned everything up...
adb.0 2022-12-19 13:50:16.807 info Got terminate signal TERMINATE_YOURSELF

Screencap nicht möglich

Screencapture wird beim Ausführen mit folgendem LOG quittiert und keine Datei (*.png) gespeichert:

Cannot write file /screenshot.png: adb.0 is not an object of type "meta"

  • Adapter version: 0.0.6
  • JS-Controller version: 4.0.23
  • Node version: 16.17.0
  • Operating system: debian bullseye

IPv6 issue // connect ECONNREFUSED ::1:5037

Describe the bug
Adapter has issues with IPv6, it seems.

To Reproduce
Adapter start gives:

2021-11-25 14:18:58.972  - info: firetv.0 (124245) starting. Version 1.0.0 in /opt/iobroker/node_modules/iobroker.firetv, node: v17.1.0, js-controller: 3.3.20
2021-11-25 14:18:59.138  - error: firetv.0 (124245) can not connect to 192.168.178.43 Error=connect ECONNREFUSED ::1:5037

192.168.178.43 is the correct adress for my FireTV Stick 4k.

Versions:

  • Adapter version: firetv - v1.0.0
  • JS-Controller version: 3.3.20
  • Node version: v17.1.0 (Error shows on any other version (v14 + v16) though)
  • Operating system: Raspberry OS 'Bullseye'

/system/bin/sh: adb: not found - Error

Hello - I'm running ioBroker on a Mac.
When I'm trying to send an shell command to my android device I'm getting the following error in the results dp - /system/bin/sh: adb: not found

I found out that this might be related to - adb is not at my path where the shell looks for executables.

So I edited my /.bash_profile and added the following rows

export ANDROID_HOME="$HOME/Library/Android/sdk"
export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools:$PATH"

But the error still remains.
When I'm trying to send the adb commands directly from the terminal - it works without problems.

Is it possible that the error is occurring because of the iobroker user?

Any suggestions are appreciated


Hallo,
ich nutze ioBroker auf meinem Mac mini.
Wenn ich versuche ein shell command an mein Android Gerät zu senden, erhalte ich den Fehler /system/bin/sh: adb: not found - im results Datenpunkt

Ich habe herausgefunden, dass der Fehler wohl daher kommt, da adb nicht in meinem path hinterlegt ist.

Also habe ich mein /.bash_profile editiert und die folgenden Zeilen hinzugefügt:

export ANDROID_HOME="$HOME/Library/Android/sdk"
export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools:$PATH"

Allerdings bleibt der Fehler anschließend erhalten - wenn ich die adb Befehle direkt über das Terminal abschicke funktioniert es aber nun.

Kann es sein, dass es am iobroker user liegt und die Zuordnung zum Path deswegen nicht greift?

Bin über Tipps dankbar, wie ich den Adapter mit meinem Mac mini zum laufen bekomme.

Versions:

  • Adapter version: 0.0.6
  • JS-Controller version: 4.0.23
  • Node version: 16.17.0
  • Operating system: Mojave 10.14.6

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.