Replies: 4 comments 16 replies
-
I'd love to have examples for ledstrips indeed although not for pretty light effects. Using ledstrips as scales I think are much more in line with the IoT/OT devices idea of Tasmota. I have an SCD41 CO2 sensor connected to an ESP32-C3 that works fine. I also have a circular ws2812 ledstrip that I would like to add to it, as a scale. It has 16 pixels for a scale of 0 - 2000, with the intention to use green for 0 - 750, yellow for 750 - 1250 and red for 1250 - 2000. Reading the sensor value in Berry was easy, but I'm totally stuck at how to get that value on the ledstrip as a readout. The examples in the documentation did not help. For me as a hobbyist, it is way to complex, sorry. So any examples would greatly help. |
Beta Was this translation helpful? Give feedback.
-
If I add this to autoexec.be ...
... and restart, this error leaves me stuck Also, putting all code in autoexec.be and putting the three cron lines in there at the end fails with an error as well. I'm resorting to trial and error here but no succes so far. Any help is greatly appreciated :-) |
Beta Was this translation helpful? Give feedback.
-
Wow, very fast respons, thank you. I should've taken a break earlier, that would have avoided the CronName thingy and the load thingy. Just sloppyness from looking at my screen without a break for too long :-) So autoexec.be I made this
but this throws an error The werid thing is that if use the berry scripting console on my actual ESP32, and manually execute the following lines one by one
it works as expected including the printed messages (except for a bug in the scale, but that's for a later moment) and it updates every minute. So it's not as if the lines of code are wrong. So either I've missed something from your explanation or I'm more stupid than anticipated but either way I'm stuck again. Sorry. ... About checks to calc_sensor, I've come up with two variants but both fail with an exception (instead of a printed error) when I introduce an error to either sensor name or sensor data name. For now I'll leave it at this but for reference see both below This the first one, more of an occams type
The other one is
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Documentation for https://tasmota.github.io/docs/Berry_Addressable-LED is lacking in working berry examples of simple LED strip effects like breathe, chase, pulse and similar.
We need some working examples to kickstart users making and adapting their own
Beta Was this translation helpful? Give feedback.
All reactions