Giter Site home page Giter Site logo

iobroker.milight's Introduction

iobroker.milight's People

Contributors

apollon77 avatar dependabot[bot] avatar foxthefox avatar germanbluefox avatar mcm1957 avatar mrinc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

iobroker.milight's Issues

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!

v6 Milight not turning off / on - fix provided

Hi

My mate has v6 lamps and dimming to 0 or 100 does not turn off / on the lamps when using the brightness option with alexa - also on and off would not turn them on or off.

fix - after line 303 with adapter.log.debug('V6 Send to zone ' + zone + ' "' + dp + '": ' + val);

insert:

                                                                           // at 0 = off

                                                                          

                                                                                          if (val == 0){

                                                                                                          zones[zone].command('off', function (err) {

                                                                                                                          if (!err) {

                                                                                                                                          adapter.setForeignState(id, false, true);

                                                                                                                          } else {

                                                                                                                                          adapter.log.error('V6 Cannot control: ' + err);

                                                                                                                          }

                                                                                                          });                                                                                         

                                                                                          }             



                                                                           // at 100 = on

                                                                          

                                                                                          if (val == 100){

                                                                                                          zones[zone].command('on', function (err) {

                                                                                                                          if (!err) {

                                                                                                                                          adapter.setForeignState(id, true, true);

                                                                                                                          } else {

                                                                                                                                          adapter.log.error('V6 Cannot control: ' + err);

                                                                                                                          }

                                                                                                          });                                                                         

                                                                                          }                                                                                                            

going to update my branch and add this one, you can just commit mine if you would like

v5 rgb color accepted, but always blue

Hello,

Did you get anywhere with working out what causes the bug?
And/or have you started work on fixing the bug?

I'd like to assist so opening this issue to track progress.

Thanks

On/Off does not work with RGBW One Zone Dimmer

I've got a version of the milight RGBW dimmers that let's me control RGB and W on the LED strips at the same time. This dimmer and remote combination does only support one zone as also depicted in the milight app.

I got it to work in the ioBroker.milight adapter with most of the functionality, except On/Off which would be quite handy for obvious reasons. I tried to figure out the necessary command sequence changes myself, but I cannot find the specific ones for these devices.

My settings:
milight box version/port: v6, port 5987
Lamp Zone 1: RGBW (RGBWW does not work at all)
I did not try other zones.

Delay 100, Repeat 1

Screenshots of the hardware:
20181127_221522

screenshot_20181127-221259_mi-light

The question is: Can you help me figure out the correct command sequence for this particular RGBW dimmer?

Best Regards,
Patrick

Saturation Inverted

Saturation ist leider im Adapter invertiert.

Eigentlich sollten die Farbigen Leds bei Sättigung 100 voll angehen. Leider schalten dann die weissen dazu.

Somit ist eine Steuerung per alexa nicht möglich.

Ansonsten läuft er sehr stabil, und als einziger auch mit der esp8266 milight bridge

IBOX2 and FUT007 not Work

Hallo,
leider bekomme ich mein MI Light nicht zum Funktionieren
image
image

image
Egal was ich Drücke es Passiert nichts bei der MI Light App 4.0 geht alles....

image

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 consider fixing issues reported by adapter checker with next release

Please consider fixing issues reported by adapter checker with next release

❗ [E150] No common.connectionType found in io-package.json
❗ [E152] No common.dataSource found in io-package.json
👀 [W171] "common.title" is deprecated in io-package.json
👀 [W105] "common.titleLang" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
👀 [W109] "common.desc" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
👀 [W513] "gulpfile.js" found in repo! Think about migrating to @iobroker/adapter-dev package
👀 [W505] setTimeout found in "milight.js", but no clearTimeout detected

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/foxthefox/ioBroker.milight

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

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/foxthefox/ioBroker.milight

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

Hello.

I want to extend your adapters. Are you still aktive and will merge my PR's or should I fork?
Thank you,
Bluefox

Verify Compact mode for your adapter

We have detected that your adapter supports the compact mode. Please use the latest js-controller 2.0 and verify that everything works.

Some more information what is important to check can be found at ioBroker/ioBroker.js-controller#512

On questions please answer to the linked issue. Please close this issue after your test and add the version number that you have tested please as a comment.

Thank you for your support.

Milight v5 RGBW Dimmer Problem

v5 Protocol with RGBW works fine (all zones, single zones,..) but no dimming
v5 Protocol with RGBW Dimmer does not work - only ZoneAll works as expected, rest does NOT work at all (no on/off, dimming what so ever)

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

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!

Please consider enabling lint

When adding standard ioBroker github tests with PR (#46) linting was disabled as it fails. Please consider enabling linting again at test-and-release.yaml workflow and to fix issues reported by linter. Many of th reported issues could be autofixed by lint (lint -- --fix)

adapter screws iobroker if IP of gateway has been changed

Hi all, i faced now several times the following issue:

I've added a second milight gateway, it was working quite well but at any time the whole iobroker was very slow.
I had huge problems to connect to the admin page.
-> Finally I found out that the Fritzbox defined a different IP to the second gateway. The adapter was still configured on the "old" IP. This screwed the whole network connection of IO broker until i changed it to the new IP and restarted the adapter.
Unfortunately this was only possible immediately after rebooting the whole machine before automatically the adapter was turned on.

BR, Matthias

Names of Zones Resets when iobroker restarts

Is it possible to set the names of the Zones in the Zones Configuration like the Milight Smartlight Adapter?
I set the names of my zones In Objects Field, but eyery time iobroker Restarts, the names was Overwritten...

bildschirmfoto 2018-10-08 um 02 55 05
bildschirmfoto 2018-10-08 um 02 54 46

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/foxthefox/ioBroker.milight

I noticed that in the io-package under “restartAdapters” only vis is available. If your widget also runs with vis2, you might want to add vis2 to the list too.

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

AllZone doesn’t work.

Hi.
Great Work.
For a single zones everything works perfect. For all zones don't work anything.
I tried a lot and the IOBroker log looks nearly the same like single zone. There are no errors.
I also tried a lot of different settings.

Milight Brigdge (Ball) integriertes LIcht

Hallo.
ist es möglich, die integrierte LED der Bridge (mit integrierter LED) als separate Zone zu definieren? Muss aktuell über ZoneAll gesteuert werden. Vielen Dank

Please check ioBroker.milight 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.

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.