The release off the version 1.0 is coming :-). With the help of @jd1 the code and features grew to a exciting level. I will wait to next week how the display works day to day. If there are no features or bug it will be “official” released.
The release off the version 1.0 is still coming
I am waiting for this pull request https://github.com/esphome/esphome/pull/3229 .
With this merged you can store more icons in the flash.
But you could take a look a this powershell script.
This script downloads the first 100 (parameter page_size in $request) popular icons from the lametric icon database. The icons are downloaded to the current directory and named like this: Stork Delievers Baby-365.gif
I am not shure about the copyrights and the license of these icons. I think they are free but i don’t realy know.
So use at your own risk
Another way to get icons is from blueforcers icon database.
Here you can click on the desired icon and save it as gif or png. These icons are 240x240 pixel but they are scaled automagically. By the way blueforcer sells some nice hardware kits you can buy on his website.
hello and congratulations on your work, I’m trying it and the time and date work perfectly, but what if I wanted to add more information in the loop? I can create sensors but not insert them in the loop, can you show me an example of how I could do it?
really thank you very much it works perfectly, but if I can I would like to ask you another question, how can I not refreshare continuously for the duration? that is, he prints me the value but if it varies continuously print the new value … would it be possible to print the value taken the first time for 7 seconds and then continue with the loop?
i’ m not shure what you want to achieve. On each state change of your sensor the new value will be displayed, that is by design. If you don’t want to see each change you can do a time_pattern trigger like this:
alias: send states to ehmtx by time
trigger:
- platform: time_pattern
# You can also match on interval. This will match every 5 minutes
minutes: "/5"
condition: []
action:
- service: esphome.ehmtx8266_screen_t # must correspond to your device name
data:
icon_name: 'power' # again your icon
duration: 1 # in minutes
text: >-
{{ states.sensor.energia_assorbita.state}} {{states.sensor.energia_assorbita.state.attributes.unit_of_measurement}}
This will read the sensor every five minutes and display its value for one minute.
thank you very much you really help me a lot, another question, I’m inserting the icons as you did, but I didn’t understand how to make them animate? the file is a * .gif but on the screen it is reproduced static, I would like to understand if I’m wrong? keep in mind that I get the icons from Lametric. Thanks in advance
I have a question. I own a flexible RGB 8x32 panel. What is the best way to fasten it to a solid board so that it does not deform? What do you use? Is it enough to fasten it with double-sided adhesive tape? Will the temperature not matter during this installation? Thank you.
Downloaded gif 240x240 does not work after compilation.
On PC win10 animation works, but after compiling esp has only one image test = new display::Animation(uint8_t_6, 8, 8, 1, display::IMAGE_TYPE_RGB24);
I used your 8x8 and it works well on RPI4 8Gb after compilation rain = new display::Animation(uint8_t_4, 8, 8, 5, display::IMAGE_TYPE_RGB24);
Can gif be scaled down to 8x8 on PC so it doesn’t lose animation?
all major image manipulation software is able to scale gifs without loosing the animation, like gimp.
I tried paint on my windows 10 PC, with this tool you lose the animation as in your test. So, use gimp.
I have one more question: the bottom row of LEDs shows the days of the week. Our first day of the week is Monday, but the indicator shows Sunday. Is it possible to modify it so that the first three LEDs on the left are activated as the first day of the week, Monday?
Thanks for the great component, it works perfectly
I wanted to use automatic brightness control with the BH1750 sensor, but an error occurs during compilation. The sensor works well on its own. Where am I making mistake?
sensor:
- platform: bh1750
name: "Jas led 8x32"
address: 0x23
update_interval: 5s
on_value:
then:
lambda: |-
if (x > 200) then
{
id(rgb8x32)->set_brightness(50);
} else {
id(rgb8x32)->set_brightness(250);
}
Compiling /data/led-8x32/.pioenvs/led-8x32/src/main.cpp.o
/config/esphome/led-8x32.yaml: In lambda function:
/config/esphome/led-8x32.yaml:261:20: error: 'then' was not declared in this scope
261 | if (x > 200) then
| ^~~~
*** [/data/led-8x32/.pioenvs/led-8x32/src/main.cpp.o] Error 1