This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.
This adapter control your Yeelight device. this adapter is only for admin3. Admin2 is not supported
When changing from the 0.4.X to the 0.9.X or higher, the objects must be deleted manually so they can be recreated.
for RGB Bulbs you have to enable the LAN in the settings of the yeelight app.
you can add manually devices or find devices in network. the basic port is 55443. if you want, you can change the name, ip, port and smartname
if you type in a smartname, the device is add to the iobroker.cloud and can control by alexa.
with this button you can scan your Network for devices, if something is found, the divices added to the table. It takes about 20 seconds to scan the network. if the devices not found, the Lan mode is not enabled or the bulbs are in a nother network.
If your Device is not in the list eg. yltd003 use a different lamp with the same fetures in ths case desklamp or Color or something else.
Usage: This method is used to set the smart LED directly to specified state. If the smart LED is off, then it will turn on the smart LED firstly and then apply the specified command.
Parameters: 3 ~ 4.
"class" can be "color", "hsv", "ct", "cf", "auto_dealy_off".
"auto_delay_off" means turn on the smart LED to specified brightness and start a sleep timer to turn off the light after the specified minutes.
"val1", "val2", "val3" are class specific.
Request Example:
["color", 65280, 70]
["hsv", 300, 70, 100]
["ct", 5400, 100]
["cf",0,0,"500,1,255,100,1000,1,16776960,70"]
["auto_delay_off", 50, 5]
NOTE: Accepted on both "on" and "off" state.
For above examples:
The MIT License (MIT)
Copyright (c) 2024 iobroker-community-adapters iobroker-community-adapters@gmx.de
Copyright (c) 2018-2024 MeisterTR meistertr.smarthome@gmail.com, cahek2202 cahek2202@mail.ru
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.