Originally posted by Michael McSharry
View Post
Announcement
Collapse
No announcement yet.
Magic Home Plugin - Support for addressable RGB controller
Collapse
X
-
-
I would not have thought you need an exclusive plugin for this, WLED has a JSON API, but no discovery methods. so any plugin would need to be hardcoded with its IP. so no DHCP for the device.
WLED however supports MQTT so surely that would be the route to integrate it, same with all the other Tasmota variant firmwares. there are a number of homeseer MQTT plugins to choose from.
Comment
-
The WS2811 should work much like the WS2812B without resolution to individual pixels,but groups of nine and 12 V for power which likely is preferred anyway. Just load Tasmota or other compatible firmware on some ESP8266 device and use the MQTT interface per the API of the firmware that was loaded. I suspect the stumbling block for the novice is flashing the ESP8266 as the interface with HS via MQTT already exists. I suspect what is being requested is a plugin that does not require flashing of the microcontroller.
Comment
-
I looked at the WLED wiki and what I got from it is that it has more special effects supported than Tasmota, but otherwise the HS control interface looks to be similar with color, brightness, and effect. What I did with mcsMQTT was setup color control via HS color picker, brightness with slider and on-off with buttons. Also provided color space conversions so HSB or XY devices could be controlled with the HS RGB color picker. I do not have provision for Effect select.
in general mcsMQTT has a device contro/status type that provides the appropriate glue between HS and the device. I can add a WLED type or an effect type, but some input on how one desires HS to be able to control WLED is desired. It seems straightforward to me, but maybe I am missing something that is special with WLED. Just let me know or if kriz83 wants to do a new plugin or wants to rebrand his ESPhome one to be ESPHome-WLED that is fine too. For those that do not have a MQTT environment already then mcsMQTT would likely be easier since it has the broker built into the plugin.
Any ESP8266 device should be fine as the host. The actual magic home ones required tack solder so not as easy as standard development boards such as Wemo mini or even Sonoff basic.
WLED is open source so I could add the rotary encoder as I did for Pete for local control of brightness. Of course that means you would want to include it with the hardware build.
Comment
-
From what little i know, i was hoping to follow the video instructions below from DR Zzs video to setup a nodecmu then trigger some of the built in or custom effects through homeseer based on dates and times for addressable led lights around the house
https://www.youtube.com/watch?v=tXvtxwK3jRk
Comment
-
Discovery is the same as for normal ESPHome lights, so it should not be an issue to add it. It will be possible once i have the light component added, don't have exact dates yet though, working on the cover component now (for blinds/garage/...).
You could try Michael's plugin, I've been using it for a long time.
Comment
-
Out of curiosity would these also be controllable through homeseer? it uses the Smart Life app which looks similar to MagicLight
https://www.amazon.com/Novostella-27...s%2C134&sr=8-4
Comment
-
Originally posted by ocyberbum View PostOut of curiosity would these also be controllable through homeseer? it uses the Smart Life app which looks similar to MagicLight
https://www.amazon.com/Novostella-27...s%2C134&sr=8-4
Comment
-
Originally posted by Michael McSharry View PostThe WS2811 should work much like the WS2812B without resolution to individual pixels,but groups of nine and 12 V for power which likely is preferred anyway. Just load Tasmota or other compatible firmware on some ESP8266 device and use the MQTT interface per the API of the firmware that was loaded. I suspect the stumbling block for the novice is flashing the ESP8266 as the interface with HS via MQTT already exists. I suspect what is being requested is a plugin that does not require flashing of the microcontroller.
I have looked briefly at your MQTT documentation, no doubt it is an amazing plugin, to a novice (only recently exposed to MQTT) like myself it is a little overwhelming. I don’t mean any offense, it could be I just need to spend more time with it. There will certainly be some new vocabulary to learn but from what I’ve learned, it can open up a bigger world for Home Automation.
Sent from my iPad using TapatalkHS4 4.2.6.0 &HSTouch Designer 3.0.80
Plugin's:
BLBackup, BLOccupied, BLShutdown, EasyTrigger, Ecobee, Nest, AK Bond
EnvisaLink DSC, PHLocation, Pushover, SONOS, Blue Iris, UltraRachio3,
weatherXML, Jon00 Alexa Helper, Network Monitor, MyQ, Z-Wave
Comment
-
I will give you the step by step on integrating WLED with mcsMQTT. mcsMQTT is able to provide the list selection for effect, on/off button, slider for brightness and color picker for color selection. What other aspects of WLED are you looking to have in HS?
I initially tried to flash the WLED version 9 beta onto a magichome board that was previously running Espurna. It did not bring up an WiFi AP so I flashed the released version 8 on a D1 Mini and same story of no AP setup by WLED. Tried clearing flash and reinstall and again no luck with WLED running in ESP8266. Looked at the serial console when booting and no feedback on the console. I will play with it some more such as with source or give ESP32 a try. This is a part of the process that should be easy with multiple WLED users and flashing is something I do often.
Comment
-
Originally posted by Michael McSharry View PostI will give you the step by step on integrating WLED with mcsMQTT. mcsMQTT is able to provide the list selection for effect, on/off button, slider for brightness and color picker for color selection. What other aspects of WLED are you looking to have in HS?
Originally posted by Michael McSharry View PostI initially tried to flash the WLED version 9 beta onto a magichome board that was previously running Espurna. It did not bring up an WiFi AP so I flashed the released version 8 on a D1 Mini and same story of no AP setup by WLED. Tried clearing flash and reinstall and again no luck with WLED running in ESP8266. Looked at the serial console when booting and no feedback on the console. I will play with it some more such as with source or give ESP32 a try. This is a part of the process that should be easy with multiple WLED users and flashing is something I do often.
Sent from my iPad using TapatalkHS4 4.2.6.0 &HSTouch Designer 3.0.80
Plugin's:
BLBackup, BLOccupied, BLShutdown, EasyTrigger, Ecobee, Nest, AK Bond
EnvisaLink DSC, PHLocation, Pushover, SONOS, Blue Iris, UltraRachio3,
weatherXML, Jon00 Alexa Helper, Network Monitor, MyQ, Z-Wave
Comment
Comment