GithubHelp home page GithubHelp logo

steiger04 / iobroker.milight-smart-light Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 3.0 10.52 MB

Adapter for Milight LED bulbs and LED strips

License: MIT License

HTML 2.09% JavaScript 85.23% Vue 12.39% Sass 0.30%
iobroker milight

iobroker.milight-smart-light's Introduction

milight-smart-light Logo

ioBroker.milight-smart-light

NPM version Downloads stable installed Known Vulnerabilities

Test and Release

NPM

This adapter for ioBroker controls Milight LED bulbs and LED strips and based on the node module from mwittig.

mwittig / node-milight-promise

With adapter you can use both: v6 Bridge and Legacy Bridge.

v6 Bridge:

  • bridge (only iBox1)
  • white
  • rgb(w)
  • fullColor
  • fullColor8Zone

Legacy Bridge:

  • white
  • rgb(w)

Description

A detailed description can be found here.

Versions

  • Node.js: use v. 14.x or higher
  • iobroker.admin: use v. 5.1.25 or higher

Changelog

1.2.2 (2021-10-17)

  • (steiger04) Compatibility check and testing for Node.js 16 and some CSS adjustments

1.2.1 (2021-05-18)

  • (steiger04) Compatibility with socketio v3.1.4

1.2.0 (2021-01-16)

  • (steiger04) compact mode added

1.0.5 (2021-01-10)

  • (steiger04) Small bug fix

1.0.1 (2020-11-21)

  • (steiger04) Added admin-UI based on Vue and Quasar

0.6.0 (2020-05-23)

  • (steiger04): Added effectBrightness, effectOn, effectOff, effectOnOff for iBox1 and iBox2

0.5.0 (2020-05-21)

  • (steiger04): Bug fix in rgb(w)

License

The MIT License (MIT)

Copyright (c) 2017-2021 Steiger04 [email protected]

iobroker.milight-smart-light's People

Contributors

apollon77 avatar germanbluefox avatar steiger04 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

iobroker.milight-smart-light's Issues

main->::Error: Parameter "enumName" (js-controller 5.0)

After updating to js-controller 5.0, the adapter no longer works properly.

Enclosed the log.

milight-smart-light.0
2023-04-01 21:57:35.722	error	main->::Error: Parameter "enumName" needs to be of type "string" but type "object" has been passed

milight-smart-light.0
2023-04-01 21:57:34.248	info	Delete channel milight-smart-light.0.Tischlampe_Sofa.fullColor-2

milight-smart-light.0
2023-04-01 21:57:34.130	info	starting. Version 1.2.2 in /opt/iobroker/node_modules/iobroker.milight-smart-light, node: v18.15.0, js-controller: 5.0.1-alpha.0-20230330-e0b409fe

milight-smart-light.0
2023-04-01 21:56:48.909	info	terminating

milight-smart-light.0
2023-04-01 21:56:48.408	info	Terminated (NO_ERROR): Without reason

milight-smart-light.0
2023-04-01 21:56:48.407	info	terminating

milight-smart-light.0
2023-04-01 21:56:47.400	info	on:message:stopInstance->All command have been executed - closing MiLight!

Upadte funktioniert nicht auf 0.2.0

$ ./iobroker url "https://github.com/Steiger04/ioBroker.milight-smart-light"
install https://github.com/Steiger04/ioBroker.milight-smart-light/tarball/master
npm install https://github.com/Steiger04/ioBroker.milight-smart-light/tarball/master --production --save --prefix "/opt/iobroker" (System call)
npm
ERR! code ENOGIT
npm ERR! Error while executing:npm ERR! undefined ls-remote -h -t https://github.com/mwittig/node-milight-promise.git
npm ERR!
npm ERR! undefined
npm ERR! No git binary found in $PATH
npm ERR!
npm ERR! Failed using git.
npm ERR! Please check if you have git installed and in your PATH.

npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2019-02-13T10_53_23_288Z-debug.log

process exited with code 0

Das Webinterface startet nicht und signale werden nicht an die Lampen übergeben: Uncaught TypeError: e.ids.statevalues is undefined

Guten Morgen,

ich versuche seit gestern den Adapter ans laufen zu bekommen. Leider nur mit mäßigen Erfolg.

Zum Setting:
Die Milight IBox2 mit ein paar GU10 RGB(w) Lampen mittels der Milight3 App angelernt auf Zone1, in der milight app funktionieren diese auch

Aktuellerster milight-smart-light Adapter
NodeJS >12

Problemdarstellung
Ich kann den Adapter erfolgreich konfigurieren, bekomme in Iobroker selber keine Fehlermeldungen.
Wenn ich jedoch die http://10.22.2.20:4400/ aufrufe, so erhalte ich einen weißen Ladebalken, welcher sich im Kreis dreht und folgende Fehlermeldungen im Firefox Debugger (Chrome habe ich auch bereits getestet)

Uncaught TypeError: e.ids.statevalues is undefined B http://10.22.2.20:4400/js/app.e3c98a91.js:1 k http://10.22.2.20:4400/js/vendor.ac843413.js:20 commit http://10.22.2.20:4400/js/vendor.ac843413.js:20 commit http://10.22.2.20:4400/js/vendor.ac843413.js:20 _withCommit http://10.22.2.20:4400/js/vendor.ac843413.js:20 commit http://10.22.2.20:4400/js/vendor.ac843413.js:20 commit http://10.22.2.20:4400/js/vendor.ac843413.js:20 commit http://10.22.2.20:4400/js/vendor.ac843413.js:20 re http://10.22.2.20:4400/js/app.e3c98a91.js:1 O http://10.22.2.20:4400/js/vendor.ac843413.js:20 dispatch http://10.22.2.20:4400/js/vendor.ac843413.js:20 dispatch http://10.22.2.20:4400/js/vendor.ac843413.js:20 onUpdate http://10.22.2.20:4400/js/app.e3c98a91.js:1 init http://10.22.2.20:4400/js/app.e3c98a91.js:1 emit http://10.22.2.20:4400/js/vendor.ac843413.js:60 onevent http://10.22.2.20:4400/js/vendor.ac843413.js:8 onpacket http://10.22.2.20:4400/js/vendor.ac843413.js:8 exports http://10.22.2.20:4400/js/vendor.ac843413.js:20 emit http://10.22.2.20:4400/js/vendor.ac843413.js:60 ondecoded http://10.22.2.20:4400/js/vendor.ac843413.js:25 exports http://10.22.2.20:4400/js/vendor.ac843413.js:20 emit http://10.22.2.20:4400/js/vendor.ac843413.js:25 add http://10.22.2.20:4400/js/vendor.ac843413.js:25 ondata http://10.22.2.20:4400/js/vendor.ac843413.js:25 exports http://10.22.2.20:4400/js/vendor.ac843413.js:20 emit http://10.22.2.20:4400/js/vendor.ac843413.js:60 onPacket http://10.22.2.20:4400/js/vendor.ac843413.js:60 setTransport http://10.22.2.20:4400/js/vendor.ac843413.js:60 emit http://10.22.2.20:4400/js/vendor.ac843413.js:60 onPacket http://10.22.2.20:4400/js/vendor.ac843413.js:1 onData http://10.22.2.20:4400/js/vendor.ac843413.js:1 onmessage http://10.22.2.20:4400/js/vendor.ac843413.js:1 addEventListeners http://10.22.2.20:4400/js/vendor.ac843413.js:1 doOpen http://10.22.2.20:4400/js/vendor.ac843413.js:1 open http://10.22.2.20:4400/js/vendor.ac843413.js:1 probe http://10.22.2.20:4400/js/vendor.ac843413.js:60 onOpen http://10.22.2.20:4400/js/vendor.ac843413.js:60 onHandshake http://10.22.2.20:4400/js/vendor.ac843413.js:60 onPacket http://10.22.2.20:4400/js/vendor.ac843413.js:60 setTransport http://10.22.2.20:4400/js/vendor.ac843413.js:60 emit http://10.22.2.20:4400/js/vendor.ac843413.js:60 onPacket http://10.22.2.20:4400/js/vendor.ac843413.js:1 n http://10.22.2.20:4400/js/vendor.ac843413.js:1 decodePayload http://10.22.2.20:4400/js/vendor.ac843413.js:25 onData http://10.22.2.20:4400/js/vendor.ac843413.js:1 doPoll http://10.22.2.20:4400/js/vendor.ac843413.js:60 emit http://10.22.2.20:4400/js/vendor.ac843413.js:60 onData http://10.22.2.20:4400/js/vendor.ac843413.js:60 onLoad http://10.22.2.20:4400/js/vendor.ac843413.js:60 onreadystatechange http://10.22.2.20:4400/js/vendor.ac843413.js:60 create http://10.22.2.20:4400/js/vendor.ac843413.js:60 f http://10.22.2.20:4400/js/vendor.ac843413.js:60 request http://10.22.2.20:4400/js/vendor.ac843413.js:60 doPoll http://10.22.2.20:4400/js/vendor.ac843413.js:60 poll http://10.22.2.20:4400/js/vendor.ac843413.js:1 doOpen http://10.22.2.20:4400/js/vendor.ac843413.js:1 open http://10.22.2.20:4400/js/vendor.ac843413.js:1 open http://10.22.2.20:4400/js/vendor.ac843413.js:60 f http://10.22.2.20:4400/js/vendor.ac843413.js:60 f http://10.22.2.20:4400/js/vendor.ac843413.js:60 connect http://10.22.2.20:4400/js/vendor.ac843413.js:25 p http://10.22.2.20:4400/js/vendor.ac843413.js:25 p http://10.22.2.20:4400/js/vendor.ac843413.js:25 c http://10.22.2.20:4400/js/vendor.ac843413.js:25 init http://10.22.2.20:4400/js/app.e3c98a91.js:1 e http://10.22.2.20:4400/js/app.e3c98a91.js:1 e http://10.22.2.20:4400/js/app.e3c98a91.js:1 l http://10.22.2.20:4400/js/vendor.ac843413.js:30 k http://10.22.2.20:4400/js/vendor.ac843413.js:30 e http://10.22.2.20:4400/js/vendor.ac843413.js:30 n http://10.22.2.20:4400/js/vendor.ac843413.js:60 s http://10.22.2.20:4400/js/vendor.ac843413.js:60 promise callback*n http://10.22.2.20:4400/js/vendor.ac843413.js:60 s http://10.22.2.20:4400/js/vendor.ac843413.js:60 o http://10.22.2.20:4400/js/vendor.ac843413.js:60 o http://10.22.2.20:4400/js/vendor.ac843413.js:60 Ce http://10.22.2.20:4400/js/app.e3c98a91.js:1 e http://10.22.2.20:4400/js/app.e3c98a91.js:1 l http://10.22.2.20:4400/js/vendor.ac843413.js:30 k http://10.22.2.20:4400/js/vendor.ac843413.js:30 e http://10.22.2.20:4400/js/vendor.ac843413.js:30 n http://10.22.2.20:4400/js/vendor.ac843413.js:60 s http://10.22.2.20:4400/js/vendor.ac843413.js:60 promise callback*n http://10.22.2.20:4400/js/vendor.ac843413.js:60 s http://10.22.2.20:4400/js/vendor.ac843413.js:60 o http://10.22.2.20:4400/js/vendor.ac843413.js:60 o http://10.22.2.20:4400/js/vendor.ac843413.js:60 ze http://10.22.2.20:4400/js/app.e3c98a91.js:1 Oe http://10.22.2.20:4400/js/app.e3c98a91.js:1 2f39 http://10.22.2.20:4400/js/app.e3c98a91.js:1 a http://10.22.2.20:4400/js/app.e3c98a91.js:1 0 http://10.22.2.20:4400/js/app.e3c98a91.js:1 a http://10.22.2.20:4400/js/app.e3c98a91.js:1 n http://10.22.2.20:4400/js/app.e3c98a91.js:1 <anonymous> http://10.22.2.20:4400/js/app.e3c98a91.js:1 <anonymous> http://10.22.2.20:4400/js/app.e3c98a91.js:1 app.e3c98a91.js:1:10140

Zudem kann ich die Lampen nicht über den Reiter Objekte steuern. Es erscheinen auch hier keine Logeinträge.

Angefügt habe ich mal ein paar Screenshots. Wahrscheinlich übersehe ich nur einen dummen Fehler...

Danke schonmal für die Hilfe und vorallem für deine Arbeit an deinem Adapter!!!
website
zonen
autoerkennung
fehler detailiert
grundconfig
logs
mslapp
webadapter

update 0.6.0 - 1.01 failed

Describe the bug

Er updatet aber nimmt die neue Version nicht. Er schlägt das Update immer wieder vor. Ein neues UI kann ich auch nicht erkennen von daher denke ich die Version wird nicht richtig installiert.

Screenshots & Logfiles

`

host.ioBroker 2020-12-02 12:56:34.838 info iobroker exit 0
host.ioBroker 2020-12-02 12:56:33.826 info iobroker Adapter "milight-smart-light" updated
host.ioBroker 2020-12-02 12:56:33.766 info iobroker upload [0] milight-smart-light.admin /opt/iobroker/node_modules/iobroker.milight-smart-light/admin/index_m.html index_m.html text/html
host.ioBroker 2020-12-02 12:56:33.708 info iobroker upload [1] milight-smart-light.admin /opt/iobroker/node_modules/iobroker.milight-smart-light/admin/lib/images/milight-smart-light-md.png lib/images/milight-smart-light-md.png image/png
host.ioBroker 2020-12-02 12:56:33.646 info iobroker upload [2] milight-smart-light.admin /opt/iobroker/node_modules/iobroker.milight-smart-light/admin/lib/images/milight-smart-light.png lib/images/milight-smart-light.png image/png
host.ioBroker 2020-12-02 12:56:33.580 info iobroker upload [3] milight-smart-light.admin /opt/iobroker/node_modules/iobroker.milight-smart-light/admin/lib/js/msl-load-save.js lib/js/msl-load-save.js application/javascript
host.ioBroker 2020-12-02 12:56:33.518 info iobroker upload [4] milight-smart-light.admin /opt/iobroker/node_modules/iobroker.milight-smart-light/admin/lib/js/msl-vue.js lib/js/msl-vue.js application/javascript
host.ioBroker 2020-12-02 12:56:33.452 info iobroker upload [5] milight-smart-light.admin /opt/iobroker/node_modules/iobroker.milight-smart-light/admin/lib/js/vue/vue.min.2.6.11.js lib/js/vue/vue.min.2.6.11.js application/javascript
host.ioBroker 2020-12-02 12:56:33.349 info iobroker upload [6] milight-smart-light.admin /opt/iobroker/node_modules/iobroker.milight-smart-light/admin/lib/js/vuelidate/validators.min.js lib/js/vuelidate/validators.min.js application/javascrip
host.ioBroker 2020-12-02 12:56:33.273 info iobroker upload [7] milight-smart-light.admin /opt/iobroker/node_modules/iobroker.milight-smart-light/admin/lib/js/vuelidate/vuelidate.min.js lib/js/vuelidate/vuelidate.min.js application/javascript
host.ioBroker 2020-12-02 12:56:33.017 info iobroker upload [8] milight-smart-light.admin /opt/iobroker/node_modules/iobroker.milight-smart-light/admin/words.js words.js application/javascript
host.ioBroker 2020-12-02 12:56:32.944 info iobroker npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-12-02T11_56_32_927Z-debug.log
host.ioBroker 2020-12-02 12:56:32.943 info iobroker
host.ioBroker 2020-12-02 12:56:32.926 info iobroker npm ERR! notsup Unsupported engine for [email protected]: wanted: {"node":">= 10.18.1","npm":">= 6.13.4","yarn":">= 1.21.1"} (current: {"node":"12.12.0","npm":"6.11.3"})npm
host.ioBroker 2020-12-02 12:56:32.923 info iobroker npm ERR! code ENOTSUP
host.ioBroker 2020-12-02 12:56:18.261 info iobroker npm install [email protected] --loglevel error --prefix "/opt/iobroker" (System call)
host.ioBroker 2020-12-02 12:56:18.258 info iobroker NPM version: 6.11.3
octoprint.0 2020-12-02 12:56:18.208 info (32273) timeout of 2000ms exceeded
host.ioBroker 2020-12-02 12:56:17.617 info iobroker Update milight-smart-light from @0.6.0 to @1.0.1
host.ioBroker 2020-12-02 12:56:14.766 info iobroker upgrade milight-smart-light

`

URGENT!!

The repo is broken. The adapter type is now "general" in io-package wich is !== "lighting" as in repo and the Admin Image location is invalid.

Please fix in your repo or in iobroker repository!

Thank you

Unterstützung WL-Box1

Die Ibox2 von Milight scheint es nicht mehr zu geben.
Ich habe nur noch die WL-Box1 von MiBoxer bekommen, scheint der nachfolger zu sein.
Wird die neue Box unterstützt?

lg Mad

Spinning circle when call MSL App website

I set up the MSL app with the default settings like in the manual.

When i try to connect to the website with ipadress:4400 i only see a spinning circle and
it wont go further. Try'd another port too, nothing changed.

Socket port is 8082 with the integrated option. I try'd a separate iosocket instancewith 8084 too, but same behavior.

I try it on pc using chrome and with my smartphone using firefox.

Error after JS-Controller update

milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
-- | -- | -- | --
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | at Manager. (/opt/iobroker/node_modules/component-bind/index.js:21:15)
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:236:12)
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:311:9)
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | at Socket. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:786:25)
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | at createInstancesObjects (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:747:13)
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:787:29
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | at initAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4980:18)
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | at Adapter.emit (events.js:185:7)
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | at emitNone (events.js:86:13)
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | at Adapter.adapter.on (/opt/iobroker/node_modules/iobroker.milight-smart-light/main.js:190:3)
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | at main (/opt/iobroker/node_modules/iobroker.milight-smart-light/main.js:197:21)
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | at Function.Promise.promisifyAll (/opt/iobroker/node_modules/iobroker.milight-smart-light/node_modules/bluebird/js/release/promisify.js:311:12)
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | at promisifyAll (/opt/iobroker/node_modules/iobroker.milight-smart-light/node_modules/bluebird/js/release/promisify.js:241:9)
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | at promisifiableMethods (/opt/iobroker/node_modules/iobroker.milight-smart-light/node_modules/bluebird/js/release/promisify.js:77:5)
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | at checkValid (/opt/iobroker/node_modules/iobroker.milight-smart-light/node_modules/bluebird/js/release/promisify.js:54:27)
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | See http://goo.gl/MqrFmX
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | TypeError: Cannot promisify an API that has normal methods with 'Async'-suffix
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | See http://goo.gl/MqrFmX
milight-smart-light.0 | 2018-03-09 12:07:54.156 | error | uncaught exception: Cannot promisify an API that has normal methods with 'Async'-suffix
milight-smart-light.0 | 2018-03-09 12:07:54.148 | info | adapter:main->:::milight-smart-light::: wurde gestartet!
milight-smart-light.0 | 2018-03-09 12:07:54.143 | info | starting. Version 0.1.8 in /opt/iobroker/node_modules/iobroker.milight-smart-light, node: v6.13.1
milight-smart-light.0 | 2018-03-09 12:07:23.672 | info | terminating

Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot

Dear adapter developer,

I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter milight-smart-light for common errors and appropiate suggestions to keep this adapter up to date.

Please see the result of the check below.

ioBroker.milight-smart-light

Downloads Number of Installations (latest) Number of Installations (stable) - Test and Release
NPM

ERRORS:

  • ❗ [E029] Node.js 16 is required as minimum, node.js 18 is recommended. Please adapt "{'engines' : { 'node' >= '10.18.1' } }" at package.json.
  • ❗ [E033] @iobroker/adapter-core 2.5.1 specified. 3.1.4 is required as minimum, 3.1.6 is recommended. Please update dependencies at package.json
  • ❗ [E036] @iobroker/testing 2.5.2 specified. 4.1.3 is required as minimum, 4.1.3 is recommended. Please update devDependencies at package.json
  • ❗ [E162] js-controller 1.4.2 listed as dependency but 4.0.24 is required as minimum, 5.0.19 is recommended. Please update dependency at io-package.json.
  • ❗ [E204] Version "0.5.0" listed at common.news at io-package.json does not exist at NPM. Please remove from news section.

WARNINGS:

  • 👀 [W044] dependency should not require a specific version. Use "~1.2.3" or "^1.2.3" syntax. Please update "node-milight-promise:github:Steiger04/node-milight-promise"
  • 👀 [W105] Missing suggested translation into uk of "common.titleLang" in io-package.json.
  • 👀 [W109] Missing suggested translation into uk of "common.desc" in io-package.json.
  • 👀 [W115] "common.tier" is required in io-package.json. Please check https://github.com/ioBroker/ioBroker.docs/blob/master/docs/en/dev/objectsschema.md#adapter.
  • 👀 [W145] Missing suggested translation into uk of some "common.news" in io-package.json.
  • 👀 [W170] "common.keywords" should not contain "iobroker, adapter, smart home" io-package.json
  • 👀 [W181] "common.license" in io-package.json is deprecated. Please define object "common.licenseInformation"
  • 👀 [W184] "common.main" is deprecated and ignored. Please remove from io-package.json. Use "main" at package.json instead.
  • 👀 [W184] "common.materialize" is deprecated for admin >= 5 at io-package.json. Please use property "adminUI".
  • 👀 [W184] "common.title" is deprecated and replaced by "common.titleLang". Please remove from io-package.json.
  • 👀 [W513] "gulpfile.js" found in repo! Think about migrating to @iobroker/adapter-dev package
  • 👀 [W522] Please consider migrating to admin 5 UI (jsonConfig).
  • 👀 [W853] .npmignore found - consider using package.json object "files" instead.

Please review issues reported and consider fixing them as soon as appropiate.

Errors reported by repository checker should be fixed as soon as possible. Some of them require a new release to be considered as fixed. Please note that errors reported by checker might be considered as blocking point for future updates at stable repository.

Warnings reported by repository checker should be reviewed. While some warnings can be considered as a suggestion and be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.

Feel free to contact me (@ioBroker-Bot) if you have any questions or feel that an issue is incorrectly flagged.

And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.

your
ioBroker Check and Service Bot

@mcm1957 for evidence

Kanäle werden gelöscht

Ich habe ein Problem habe nun 3 Geräte. Die ersten beiden legt er an ohne zu mucken. Legt man nun ein weiteres an löscht er das auf Kanal 2. Unmöglich 3 anzulegen.

Don´t work with js.controller 1.4.2

After Update js.controller:;

018-12-30 21:33:59.659 | error | instance system.adapter.milight-smart-light.0 terminated with code 0 (OK)
-- | -- | --
Caught | 2018-12-30 21:33:59.658 | error | by controller[0]: at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
Caught | 2018-12-30 21:33:59.658 | error | by controller[0]: at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
Caught | 2018-12-30 21:33:59.658 | error | by controller[0]: at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:244:12)
Caught | 2018-12-30 21:33:59.658 | error | by controller[0]: at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:319:9)
Caught | 2018-12-30 21:33:59.658 | error | by controller[0]: at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:787:25)
Caught | 2018-12-30 21:33:59.658 | error | by controller[0]: at createInstancesObjects (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:748:13)
Caught | 2018-12-30 21:33:59.658 | error | by controller[0]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:788:29
Caught | 2018-12-30 21:33:59.658 | error | by controller[0]: at initAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4990:18)
Caught | 2018-12-30 21:33:59.658 | error | by controller[0]: at Adapter.emit (events.js:185:7)
Caught | 2018-12-30 21:33:59.657 | error | by controller[0]: at emitNone (events.js:86:13)
Caught | 2018-12-30 21:33:59.657 | error | by controller[0]: at Adapter.adapter.on (/opt/iobroker/node_modules/iobroker.milight-smart-light/main.js:190:3)
Caught | 2018-12-30 21:33:59.657 | error | by controller[0]: at main (/opt/iobroker/node_modules/iobroker.milight-smart-light/main.js:197:21)
Caught | 2018-12-30 21:33:59.657 | error | by controller[0]: at Function.Promise.promisifyAll (/opt/iobroker/node_modules/iobroker.milight-smart-light/node_modules/bluebird/js/release/promisify.js:311:12)
Caught | 2018-12-30 21:33:59.657 | error | by controller[0]: at promisifyAll (/opt/iobroker/node_modules/iobroker.milight-smart-light/node_modules/bluebird/js/release/promisify.js:241:9)
Caught | 2018-12-30 21:33:59.657 | error | by controller[0]: at promisifiableMethods (/opt/iobroker/node_modules/iobroker.milight-smart-light/node_modules/bluebird/js/release/promisify.js:77:5)
Caught | 2018-12-30 21:33:59.657 | error | by controller[0]: at checkValid (/opt/iobroker/node_modules/iobroker.milight-smart-light/node_modules/bluebird/js/release/promisify.js:54:27)
Caught | 2018-12-30 21:33:59.657 | error | by controller[0]: See http://goo.gl/MqrFmX
Caught | 2018-12-30 21:33:59.656 | error | by controller[0]: TypeError: Cannot promisify an API that has normal methods with 'Async'-suffix

Please Help!!
It´s the only app with support for iBox

Einstellungen reseten sich

Meine Ledleisten sind so eingestellt das diese einen Farbwechsel machen Programm 2 in der App, nach dem Adapter Update auf 0.2.1 behält es die Einstellung nicht mehr sondern nach dem erneuten anschalten leuchten sie einfach weiß und ich muss das Programm wieder neu einstellen.

Alle Zonen

Hi,
die Mi-Light App (V 7.1.2.) unter iOS kennt auch eine 9. Zone (ALL ZONES). Wäre super, wenn man die im Adapter auch auswählen könnte um damit z.B. die Helligkeit für alle Zonen gleichzeitig ändern könnte.

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/Steiger04/ioBroker.milight-smart-light

  • [E154] common.dependencies must contain {"js-controller": ">=2.0.0"} or {"js-controller": ">=3.0.0"}

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

Mit Version 0.1.8 bekomme ich diese Fehler:

`

host.ioBroker 2019-04-10 11:38:18.781 info Restart adapter system.adapter.milight-smart-light.0 because enabled
host.ioBroker 2019-04-10 11:38:18.780 error instance system.adapter.milight-smart-light.0 terminated with code 0 (OK)
Caught 2019-04-10 11:38:18.780 error by controller[0]: at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
Caught 2019-04-10 11:38:18.780 error by controller[0]: at Manager. (/opt/iobroker/node_modules/component-bind/index.js:21:15)
Caught 2019-04-10 11:38:18.779 error by controller[0]: at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:236:12)
Caught 2019-04-10 11:38:18.779 error by controller[0]: at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:312:9)
Caught 2019-04-10 11:38:18.778 error by controller[0]: at Socket.that.getForeignObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:869:25)
Caught 2019-04-10 11:38:18.778 error by controller[0]: at createInstancesObjects (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:830:13)
Caught 2019-04-10 11:38:18.778 error by controller[0]: at createInstancesObjects (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:869:54)
Caught 2019-04-10 11:38:18.778 error by controller[0]: at initAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5289:18)
Caught 2019-04-10 11:38:18.778 error by controller[0]: at Adapter.emit (events.js:185:7)
Caught 2019-04-10 11:38:18.777 error by controller[0]: at emitNone (events.js:86:13)
Caught 2019-04-10 11:38:18.777 error by controller[0]: at Adapter.adapter.on (/opt/iobroker/node_modules/iobroker.milight-smart-light/main.js:190:3)
Caught 2019-04-10 11:38:18.777 error by controller[0]: at main (/opt/iobroker/node_modules/iobroker.milight-smart-light/main.js:197:21)
Caught 2019-04-10 11:38:18.776 error by controller[0]: at Function.Promise.promisifyAll (/opt/iobroker/node_modules/iobroker.milight-smart-light/node_modules/bluebird/js/release/promisify.js:311:12)
Caught 2019-04-10 11:38:18.776 error by controller[0]: at promisifyAll (/opt/iobroker/node_modules/iobroker.milight-smart-light/node_modules/bluebird/js/release/promisify.js:241:9)
Caught 2019-04-10 11:38:18.776 error by controller[0]: at promisifiableMethods (/opt/iobroker/node_modules/iobroker.milight-smart-light/node_modules/bluebird/js/release/promisify.js:77:5)
Caught 2019-04-10 11:38:18.775 error by controller[0]: at checkValid (/opt/iobroker/node_modules/iobroker.milight-smart-light/node_modules/bluebird/js/release/promisify.js:54:27)
Caught 2019-04-10 11:38:18.774 error by controller[0]: See http://goo.gl/MqrFmX
Caught 2019-04-10 11:38:18.762 error by controller[0]: TypeError: Cannot promisify an API that has normal methods with 'Async'-suffix
host.ioBroker 2019-04-10 11:38:15.818 info instance system.adapter.milight-smart-light.0 started with pid 7016
`

Only Buttons supported?

Hey in the objects there are only buttons. Is there a support for values?
Like Dimmer 10 or 10%?

Or is it impossible with the bridge?

About zone 0 (all groups)

Thanks for amazing driver! All work, but how control all 4 group (for example rgb+ww) simultaneously?

Restart from time to time

milight-smart-light.1 2020-12-04 20:20:43.203 info (16447) starting. Version 0.2.7 in /opt/iobroker/node_modules/iobroker.milight-smart-light, node: v12.18.3, js-controller: 3.1.6
milight-smart-light.1 2020-12-04 20:20:39.952 info (16417) Terminated (NO_ERROR): Without reason
milight-smart-light.1 2020-12-04 20:20:39.949 info (16417) terminating
milight-smart-light.1 2020-12-04 20:20:39.946 error at processTimers (internal/timers.js:492:7)
milight-smart-light.1 2020-12-04 20:20:39.946 error at listOnTimeout (internal/timers.js:549:17)
milight-smart-light.1 2020-12-04 20:20:39.946 error at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.milight-smart-light/node_modules/node-milight-promise/src/milight-v6-mixin.js:128:26)
milight-smart-light.1 2020-12-04 20:20:39.946 error (16417) Error: no response timeout
milight-smart-light.1 2020-12-04 20:20:39.946 error (16417) unhandled promise rejection: no response timeout

From time to time the adapter restarts.

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

Update / Neu Installationen nicht Möglich

Hallo beim Aktualisieren und Neu Installieren bekomme ich folgende fehler:
$ ./iobroker url "https://github.com/Steiger04/ioBroker.milight-smart-light.git"
install https://github.com/Steiger04/ioBroker.milight-smart-light/tarball/4425b8971d25e44228c8f6052a9afd02b94f9e55
NPM version: 6.14.4
npm install https://github.com/Steiger04/ioBroker.milight-smart-light/tarball/4425b8971d25e44228c8f6052a9afd02b94f9e55 --loglevel error --prefix "/opt/iobroker" (System call)
npm
ERR! code ENOENTnpm ERR! syscall spawn gitnpm ERR! path gitnpm ERR! errno ENOENT
npm
ERR! enoent Error while executing:npm ERR! enoent undefined ls-remote -h -t ssh://[email protected]/Steiger04/node-milight-promise.gitnpm ERR! enoent npm
ERR! enoent npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.npm ERR! enoent

npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-05-25T10_02_41_229Z-debug.log
ERROR: host.IoBroker-OpenHab Cannot install https://github.com/Steiger04/ioBroker.milight-smart-light/tarball/4425b8971d25e44228c8f6052a9afd02b94f9e55: 1
ERROR: process exited with code 25

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

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/Steiger04/ioBroker.milight-smart-light

  • [E112] extIcon must be the same as an icon but with github path

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

[GHOME] Cannot updateState: Request contains an invalid argument

Error with Google Home only with Milight Adapter regarding RGB:

iot.0 2021-09-14 07:13:27.349 debug (2072) [GHOME] Status reported: {"milight-smart-light.3.Gang.fullColor-1":{"on":true}} {"requestId":"1631596407149.50554"}
iot.0 2021-09-14 07:13:27.306 debug (2072) [GHOME] {"milight-smart-light.3.Gang.fullColor-1":{"color_spectrumRGB":{"id":"milight-smart-light.3.Gang.fullColor-1.rgb"},"color":{"spectrumRGB":16777215}}}
iot.0 2021-09-14 07:13:27.305 error (2072) [GHOME] Cannot updateState: Request contains an invalid argument.

Keine HUE Farbänderung wenn "whiteMode" aktiv ist

Wie in der Überschrift schon steht, bekomme ich über den DP "HUE" keine Farbänderung zu Stande, wenn ich vorher auf weiß geschaltet hatte. Erst eine Farbänderung über "rgb" macht auch "HUE" wieder aktiv.
Das wirkt sich negativ auf den iQonrol Adapter aus, da ich hier die Farbe nur über den HUE DP ändern kann. RGB wäre mir zwar lieber, aber es stehen eben nur diese Datenpunkte im iQontrol Adapter zur Verfügung:
grafik

Name Reset to default

Since I am on version 0.6 the names I give to the datapoints are constantly reset to the default value. In the old version this was not the case.

image

No Actions on the iBOX2

Hallo,
ich haben mir die IBOX2 gekauft
Wird auch von IO Broker als Discover bridges: [{"ip":"192.168.122.30","mac":"98:D8:63:70:B9:E6","name":"HF-LPB100","type":"v6"}]
Erkannt.
Steuer Damit eine FUT037
Mit der App Mi Light in der Version 4 alles kein Problem...
Der Adapter findet die IP sagt auch er ist Verbunden
image
In den Objekten auch alle Gut
image

im Log steht nichts....

Egal was ich bei den Objekte eingebe, es findet keine Steuerung des RGB Adapters statt.
Auch im Gerät selber habe ich alle Probiert
image

Keine Einstellungen helfen....

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!

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!

Instanzen-Config-Screen öffnet nicht

Ich möchte die Instanz eines Adapters konfigurieren. Die Konfigurationsseite öffnet sich, zeigt aber dann nur dauerhaft einen "Spinner" an. Eingabefelder oder Buttons sind nicht sichtbar. Das selbe Problem zeigt sich beim Öffnen der "mslfe for iobroker"-Website. Ich kann somit meine Adapter nicht mehr konfigurieren.

Ich habe 8 Instanzen laufen. Alle funktionieren auch grundsätzlich (lassen sich halt jetzt nicht mehr konfigurieren). Experimentell habe ich eine 9. Instanz angelegt, die ich aber auch "im frischen Zustand" nicht konfigurieren kann. Seit wann die Konfiguration nicht mehr funktioniert, kann ich nicht sagen - vielleicht auch schon länger nicht. Der Adapter braucht ja nicht ständig eine neue Konfiguration. Die Erkenntnis, dass es ein Problem gibt, hatte ich erst mit der aktuellen Version (wollte nachsehen, ob sich etwas bei der Konfiguration geändert hat).

Im Log ist nichts auffälliges zu sehen.

Expected behavior
Konfigurations-Screen öffnet sich.

Screenshots & Logfiles
image

Versions:

  • Adapter version: 1.2.0 (aber auch ein Downgrade ändert nichts)
  • JS-Controller version: 3.1.6
  • Node version: 12.20.1
  • Operating system: Windows 10, 64bit

Additional context
Abgesehen davon, dass die Lampen oft nicht auf Ein- oder Ausschaltbefehle reagieren (und ich habe schon vieles probiert um das zu beheben), läuft das System und auch der Adapter.

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!

Adapter ist nicht mit Milight Hub auf ESP8266 basis kompatibel

Hallo. gibt es die Möglichkeit diesen Adapter mit der Milight Hub kompatibel zu machen?
Der normale Milight adapter vom IoBroker funktioniert damit zwar, aber ist vom Funktionsumfang und der zuverlässigkeit mit mit diesem Vergleichbar.
Konkret geht es um dieses Projekt
https://github.com/sidoh/esp8266_milight_hub

Hardware könnte ich bei bedarf gerne zur verfügung stellen wenn gewünscht

EDIT: Mit den Standartports 5987 funktioniert es. Reagiert dieser Adapter nur auf diesen UDP Port?

Protocol with SessionId?

Hallo Carsten,
can be deleted - I was looking for RgbFullColorCommand.
Thanks anyway
Christian

Loading default into states after instance re-start

There is currently a problem when the instance of the adapter get re-startet.
All changed values of the states get lost and the initial default values are loaded into the objects.
That means that all lights are going off when the instance is re-startet.

Milight-smart-light adapter version: 0.1.9
Admin adapter: 3.5.10
node: 6.14.4
npm: 3.10.10
js-controller: 1.4.2
iobroker is not running as root but as user "iobroker" on a Linux PC (no RPi)

MiLight IBOX 2 und FUT 037

Habe hier eine MiLight IBOX 2 und FUT 037 RGB Controler,
der Adapter zeit mir an, das er mit der IBOX 2 Verbunden ist, jedoch kommen keine Komandos am Stribe an..
Wenn ich das über die MI Light App am Handy mache geht es? bin etwas Ratlos

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.