-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed: Can a WS2812 be controlled via MQTT? #643
Comments
The second image is my own unsupported in-house front-end running on an apache server. That config works fine with me. See Wiki commands specific for WS2812. |
Seems I had to break a bit of a barrier of understanding to get it working. But I'm still unclear about how I would make it blink at a certain rate. Sending POWER ON/OFF commands repeatedly seems like a hack. Would I need to modify the code to add my own "scheme"? |
See the Wiki:
https://github.com/arendst/Sonoff-Tasmota/wiki/Commands#main
You can set the BlinkCount and BlinkTime, and instead of sending POWER
ON/OFF, send POWER 3 or POWER BLINK to start blinking, and POWER 4 or POWER
BLINKOFF to stop (prior to BlinkCount being reached.)
…On Wed, Jul 26, 2017 at 3:52 AM, mihalski ***@***.***> wrote:
Seems I had to break a bit of a barrier of understanding to get it working.
But I'm still unclear about how I would make it blink at a certain rate.
Sending POWER ON/OFF commands repeatedly seems like a hack.
Would I need to modify the code to add my own "scheme"?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#643 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AL4epR04zUaoKjS0zsdm8ibzDNZwabCXks5sRv5OgaJpZM4OjaR4>
.
--
J. Lance Cotton, KJ5O
[email protected]
http://kj5o.lightningflash.net
Three Step Plan: 1. Take over the world. 2. Get a lot of cookies. 3. Eat
the cookies.
|
Oh!! I had NO idea this applied to other lights connected! I thought it only applied to the relay linked light. Thank you! It probably would have taken me weeks to stumble upon that. |
5.7.1i * Add blink to WS2812 and Sonoff Led (#643)
5.8.0 20170918 * Remove the need for NeoPixelBus library for Hue support * Consolidate WS2812 into Sonoff Led for flexible future led strip library changes * Invert WS2812 fade speed to align with Sonoff led (Speed 1 = fast, Speed 8 = slow) * Remove upper case MQTT receive buffer * Reduce code and string length for output of commands Modules and GPIOs * Add Sonoff SC debug information * Change syslog service * Removed webserver syslog disable as now no longer needed * Increased default MQTT message size from 368 to 405 bytes while keeping MQTT_MAX_PACKET_SIZE = 512 (because we can) * Fix MQTT Offline or Remove MQTT retained topic code * Fix Domoticz loop when Emulation is selected * Add blink to WS2812 and Sonoff Led (#643) * Add option WIFI_WAIT (5) to command WifiConfig to allow connection retry to same AP without restart or update flash (#772, #869) * Add support for Witty Cloud (#794) * Add GPIO14 to Sonoff Dual (#797, #839) * Add support for Yunshan Wifi Relay (#802) * Add GPIO16 input pulldown (#827) * Add timeout to DHT and DS18B20 sensors (#852) * Fix watchdog timeout caused by lack of stack space by moving to heap (#853) * Allow LogPort and MqttPort up to 65535 and add LogPort tot Status 3 (#859) * Allow command SwitchTopic in group mode (#861) * Allow command SwitchMode if no switches are defined (#861) * Add optional dimmer parameter to command Wakeup for WS2812, AiLight, Sonoff B1, Led and BN-SZ01 (#867) * Fix basic On, Off, Toggle, Blink and BlinkOff commands when other language is selected (#874)
5.7.1i * Add blink to WS2812 and Sonoff Led (arendst#643)
I have the WS2812 shield for Wemos D1 and have been trying to figure out if it's possible to control the state of the light (on/off, colour, blinking) via MQTT but have not being able to find any way to do so.
Is this something that Tasmota is capable of?
Regards,
Michal
The text was updated successfully, but these errors were encountered: