Skip to content

Speedbreaker12/ioBroker.wled

 
 

Repository files navigation

Logo

ioBroker.wled

NPM version Downloads Number of Installations (latest) Number of Installations (stable) Dependency Status Known Vulnerabilities

NPM Test and Release

This adapter uses the service Sentry.io to automatically report exceptions and code errors and new device schemas to me as the developer. More details see below!

wled adapter for ioBroker

A fast and feature-rich implementation of an ESP8266/ESP32 webserver to control NeoPixel (WS2812B, WS2811, SK6812, APA102)LEDs or also SPI based chipsets like the WS2801!

WLED - Github Project by @Aircoookie

Instructions

The adapter automatically try's to find WLED devices in your network using Bonjour services.
Known issues : Networks with VLAN seperation mostly don't route broadcast traffic, meaning autodetect will fail.

Don't worry, in that case you can add the device manually by IP-Adress.

  1. Ensure your WLED device is runnning and reachable by network
  2. Install the adapter
  3. Configure intervall times for data polling and auto-detect cyclus
    4 - A) Start the adapter, devices should be detected automatically
    4 - B) If A fails, use the Add-Device button an provide the device IP-Adress
  4. Adapter will send changes immediatly and polls data every x seconds (configurable)

To-Do

  • Switch polling to socket connections, pending implementation at WLED firmware

Support me

If you like my work, please feel free to provide a personal donation
(this is an personal Donate link for DutchmanNL, no relation to the ioBroker Project !)
Donate

What is Sentry.io and what is reported to the servers of that company?

Sentry.io is a service for developers to get an overview about errors from their applications. And exactly this is implemented in this adapter.

When the adapter crashes or an other Code error happens, this error message that also appears in the ioBroker log is submitted to Sentry. When you allowed iobroker GmbH to collect diagnostic data then also your installation ID (this is just a unique ID without any additional infos about you, email, name or such) is included. This allows Sentry to group errors and show how many unique users are affected by such an error. All of this helps me to provide error free adapters that basically never crashs.

Changelog

0.5.6 (2021-01-03)

  • (DutchmanNL) Bugfix : State type definition for time and pmt

0.5.5 (2021-01-03)

  • (DutchmanNL) add development option to disable sentry
  • (DutchmanNL) split API calls, avoid not needed query's
  • (DutchmanNL) Bugfix : issue with boolean attributes #40
  • (DutchmanNL) add new state definition for WLED version 0.11
  • (DutchmanNL) Bugfix : You are assigning a string to the state "wled.0.xxxx.seg.0.col.0

0.5.4 (2020-09-02)

  • (DutchmanNL) Support WLED 0.10.2, new state definitions implemented
  • (DutchmanNL) Update state definitions
  • (DutchmanNL) Remove log messages for missing states (Sentry report only)
  • (DutchmanNL) Bugfix : 0.5.3 decommissioned, update to 0.5.4 !

0.5.2 (2020-08-29)

  • (DutchmanNL) Bugfix : Add missing Attributes with WLED 0.10.0

0.5.1 (20-04-2020) Avoid writing objects unnecessarily, Sentry implemented

  • (DutchmanNL) Implement Sentry
  • (DutchmanNL) Bugfix : Devicename
  • (DutchmanNL) Bugfix : Warning with JS Controler 3.0.7
  • (DutchmanNL) Bugfix : Avoid writing objects unnecessarily

0.5.0 Stable release

  • (DutchmanNL) Added translations
  • (DutchmanNL) Release to stable repository, beta testing finished

0.3.0 Bugfix : Correct handling of polling timer

  • (DutchmanNL & Jey-Cee) Bugfix : Polling timer not saved
  • (DutchmanNL) Bugfix : Correct handling of "online" state
  • (DutchmanNL) Bugfix : Polling timer (offline devices did not reconnect)

0.2.6 Bugfix : Hex state value change

  • (DutchmanNL) Bugfix : Hex state value change

0.2.5 Stable release candidate

  • (DutchmanNL) Code cleanup
  • (DutchmanNL) Improved logging information
  • (DutchmanNL) Make polling timer configurable
  • (DutchmanNL) Correct handling of device online state
  • (DutchmanNL) Show online state in instance configuration

0.2.0 Possibility to add devices by IP-adress

  • (DutchmanNL) Bugfix io-package
  • (DutchmanNL) Improved logging at adapter start
  • (DutchmanNL) Possibility to add devices by IP-adress implemented. (Needed for situations were autoscan fails)
  • (DutchmanNL) Ensure known devices get connected immediatly after adapter start instead of waiting for network scan

0.1.9 Code improvements

  • (DutchmanNL) Code cleanup and optimalisation
  • (DutchmanNL) FIX memory leak by proper handling of bonjour service

0.1.8 Bugfix

  • (DutchmanNL) Solved incorrect formated API call at state changes causing warning message

0.1.7 Bugfix

  • (DutchmanNL) Fixed error when API call fails (write warning to log and retry at intervall time)

0.1.6 HEX color states implemented

  • (DutchmanNL) HEX color states implemented

0.1.5 Stable Beta release

0.1.2

  • (DutchmanNL) Implement drop down menu for effects

0.1.1

  • (DutchmanNL) Implemented states hidden from JSON-API : tt / psave / nn / time
  • (DutchmanNL) Improve logging issue

0.1.0

  • (DutchmanNL) initial release

License

MIT License

Copyright (c) 2020 DutchmanNL rdrozda86@gmail.com

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.

About

IoBroker integration to WLED project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 80.5%
  • HTML 18.7%
  • CSS 0.8%