Giter VIP home page Giter VIP logo

iobroker.velux's People

Contributors

apollon77 avatar bergreiter avatar germanbluefox avatar ta2k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

iobroker.velux's Issues

Cannot find start file of adapter

Hello ,
the Adapter is not starting.
This ist the Log from iobroker.

host.raspberrypi 2019-11-21 20:10:21.092 error instance system.adapter.velux.0 terminated with code 10 (Cannot find start file of adapter)

what can i do to fix the error

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!

Please add your adapter to ioBroker.discovery

I am an automatic service from ioBroker that searches adapters and makes suggestions.

I noticed that your adapter is not integrated in the ioBroker.discovery. Using the Discovery adapter, ioBroker can automatically find devices or suggest services to the user for installation. If possible I would live to see your adapter added there.

Some adapters have already been added and you can use them as blueprints. See: https://github.com/ioBroker/ioBroker.discovery You need to fork this project and then create a PR for your adapter to be added.

Basically the plugins can do HTTP calls, UDP discovery, MDNS, UPNP and will iterate over all devices found by IP scan and check local serial ports. If you want you can also add new discovery methods but please try to do that with at least dependencies as possible.

Then create one file under lib/adapters for your adapter to implement the detection and proposal of an instance to the user.

On questions, the other developers will support in the forum or via GitHub issues too.

If no detection is possible, simply close this issue and I won't bother you again. ;-)

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

stop motion

Any chance to stop motion. As I don't know the target posion until motion stops.

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/TA2k/ioBroker.velux

  • [E605] No actual year found in copyright. Please add "Copyright (c) 2021 ta2k [email protected]" at the end of README.md
  • [E701] No actual year found in LICENSE. Please add "Copyright (c) 2021 ta2k [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 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!

Some review comments

I had a look at the code and noticed the following:

  • https://github.com/TA2k/ioBroker.velux/blob/master/main.js#L100 ... in timeout cases "resp" is empty and so accessing res.statusCode will crash the adapter. You might want to check that resp is defined (not only here, also other places)
  • are you 100% sure that https://github.com/TA2k/ioBroker.velux/blob/master/main.js#L105 the interval is not set there already? else you end up in multiple intervals and at least one is not cleanable ... maybe this to check and clear interval before setting new
  • in general I persoanlly do not like intervals for external communications (don'z know if I alsready feedbacked that). it is better to use a timeout and set now on end of request - else you can end up in requests piling up because of a network error or such ...

Battery status

Hello!

I have several shtters which are powered by solar and battery. Is it possible to see the battery status in the API, and could we add it as an object if available?

No new target with script

The adapter is installed and basically works.
However, it is not possible to set targets via scripts.
The values ​​will be overwritten the next time the bridge fetches data and nothing happens. If I change the data manually in the objects, the targets are adopted. does anyone know the problem?
I set the values ​​both as number and as text via script.

iobroker 4.2.1
Platform: linux
os: linux
Architecture: x64
CPUs: 1
Speed: 2399 MHz
Model: Intel(R) Atom(TM) CPU C2538 @ 2.40GHz
RAM: 1.9 GB
System uptime: 29 T. 22:53:48
Node.js: v12.22.1
NPM: 6.14.12
Disk size: 61.8 GiB
Disk free: 58.9 GiB
adapters count: 347
Uptime: 29 T. 22:53:35
Active instances: 15

Locked is always false

If I lock the windows with the mobile app the adapter never get the state true in the gateway folder.

I would expect, that first locking change to true und then locked.

Is the just with my instance or is that general?

Update stable version in repo to 0.0.4

Think about update stable version to 0.0.4

Version: stable=0.0.2 (104 days old) => latest=0.0.4 (53 days old)
Installs: stable=233 (85.66%), latest=38 (13.97%), total=272
Click to edit

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!

Window open

Could somebody implement the function that i can open the window? Or is the API blocking that?

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/TA2k/ioBroker.velux

  • [E605] No actual year found in copyright. Please add "Copyright (c) 2021 ta2k [email protected]" at the end of README.md
  • [E701] No actual year found in LICENSE. Please add "Copyright (c) 2021 ta2k [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

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.