Этот адаптер использует библиотеки Sentry для автоматического сообщения разработчикам об исключениях и ошибках в коде. Более подробную информацию, а также инструкции по отключению отправки сообщений об ошибках см. в документации Sentry-Plugin ! Система отчетности Sentry используется начиная с js-controller 3.0.
Описание
Адаптер ioBroker для WiFi Light
Информация
Поддерживает LW12, LD382 и LD382A. Добавлена поддержка Mi-Light/LimitlessLED RGBW.
Первоначальное создание
Этот адаптер изначально был создан @soef по адресу https://github.com/soef/ioBroker.wifilight , но его поддержка прекращена, поэтому мы перенесли его в iobroker-community для исправления ошибок. Спасибо @soef за его работу.
Как использовать состояние команды:
- Возможные идентификаторы:
red, r, green, g, blue, b, bri, sat, transition, on, off - Строка может представлять собой JSON-объект с скобками или без них.
- Также можно присвоить значение с помощью знака равенства (=).
- Цветовая гамма:
0..255 - Диапазон бри:
0..100
Несколько примеров:
r = 100; g = 250, b = 100
r: 0, g: 0, b = 255
red: 200, green: 0, blue: 0
{r:100, b: 200, transition: 20}
off
on
{on:0}
Чтобы изменить цвет, не обязательно использовать все три значения. Например,red = 0 Синий и зеленый цвета останутся без изменений.
r, g, b, w Штаты:
- Значения 0..255
- #rrggbb[ww]
Changelog
WORK IN PROGRESS
- (copilot) Adapter requires admin >= 7.7.22 now
- (copilot) Adapter requires js-controller >= 6.0.11 now
- (copilot) Adapter requires admin >= 7.6.17 now
2.0.3 (2025-01-29)
- (bluefox) Trying to reconnect after the EHOSTUNREACH error code
- (mcm1957) Dependencies have been updated
2.0.1 (2024-09-06)
- (bluefox) Corrected error with array comparison
- (bluefox) Added tests
2.0.0 (2024-09-05)
- (bluefox) The adapter was completely refactored
- (bluefox) Added compact mode
- (bluefox) JSON config GUI added
1.3.5 (2024-09-04)
- (bluefox) Formatting of the code
1.3.3 (2024-09-03)
- (bluefox) Just renamed some functions
1.3.2 (2024-08-12)
- (mcm1957) files section has been fixed
1.3.1 (2024-08-12)
- (p-kehling) Added ignorance of acknowledgement messages for on/off commands
- (bluefox) refactoring
1.2.2 (2024-04-15)
- (mcm1957) Fix js-controller dependency
1.2.1 (2024-04-13)
- (mcm1957) Dependencies have been updated
1.2.0 (2024-04-13)
- (mcm1957) Adapter requires node.js 18 and js-controller >= 5 now
- (mcm1957) Dependencies have been updated
1.1.4 (2022-06-17)
- (Apollon77) Prevent a crash case reported by sentry
1.1.3 (2022-04-27)
- (Apollon77) Prevent a crash case reported by sentry
1.1.2 (2022-04-19)
- (Apollon77) Prevent crashes when states are controlled with null as value
1.1.1 (2022-04-17)
- (Apollon77) Prevent error logs with js-controller 3+
- (Apollon77) Added sentry for error reporting
1.1.0 (2020-04-09)
- (foxriver76) compatibility for js-c 3
1.0.0 (2019-10-18)
- (ldittmar) first version for the community
License
The MIT License (MIT)
Copyright (c) 2024-2026 iobroker-community-adapters iobroker-community-adapters@gmx.de Copyright (c) 2020-2022 ioBroker Community Developers, 2019-2020 soef soef@gmx.net,
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.