I have finally realized that I was trying to use esphomatrix as it wasn´t intended to. So following the instructions about using automations works fine. Now, time for petitions
Would it be possible to show a screen for less than one minute? 15 or 30 seconds would be perfect!
I am having problems with gif animations as pepe59 told you in this post
Was he able to solve it finally? Not moving gifs is weird!
I have 8x8px gif images compiled into esp and this size if the animation can be seen on the PC also works on the matrix. I don’t really understand your automation question, but I do all the automation for this device in HA.
Along with @jacamayo, I would love being able to show screens for less than a minute. If I understood correctly from code, the duration is set as an integer (0-65535), interpreted as minutes.
Still waiting for my TC001 to arrive before I try esphomatrix, but I’m starting to wonder if I can get notifications to be cycled along with clock, along with a screen duration (< a minute).
Imagine the following:
Clock (x seconds)
Notification 1 (y seconds)
Notification 2 (z seconds)
Clock (x seconds)
Notification 1 (y seconds)
Notification 2 (z seconds)
<-- HA stops Notification 1
Clock (x seconds)
Notification 2 (z seconds)
<-- HA stops Notification 2
Clock (forever until a new screen is added)
In my awtrix (which I mean to replace by esphomatrix), I have notifications which are being displayed in a cycle along with clock, until HA stops updating it. Is this something somehow doable in esphomatrix?
Not sure if I could explained myself properly in my question.
Yes it’s there /config/esphome/.esphome/build/ehmtx8266/src/main.cpp
if we have everything the same, it is on line 1339.
Otherwise, use ctrl+f and type Animation in the search box.
Mine on this line test = new display::Animation(uint8_t_5, 8, 8, 5, display::IMAGE_TYPE_RGB24);
Ok, I think I have found the problem following your indications
You have this in your main.ccp test = new display::Animation(uint8_t_5, 8, 8, 5, display::IMAGE_TYPE_RGB24);
But I have this computer_icon = new esphome::EHMTX_Icon(uint8_t_3, 8, 8, 1, display::IMAGE_TYPE_RGB565, "computer_icon", false, 500);
The 4th number, which sets the number of frames per animation, is 5 in your main.ccp and 1 in mine, and that is why mi animations don’t move as they “have only 1 frame instead of 5”
This is the same problem you were speaking about here
Yes, the solution is to resize the gif to 8x8px without losing the animation. I used the website to edit online but unfortunately the website is no longer working.
The Gimp editing program was recommended to me, but I haven’t tried it.
I must be missing something fundamental, but how can I implement a simple endless loop that shows clock/date for “x” seconds, then a screen during “y” seconds with icon “01” and text “test 01”, then a second screen during “z” seconds with icon “03” and text “03”, and then start again with clock/date?
For your second question you will need to create an automation to regularly push the screens you want, by default they expire after 5 minutes.
Here’s a link to my automations for inspiration, it pushes the screens I want every minute along with some other state changes, a force screen for an important state change, presence detection to turn the display on/off and finally handles the Ulanzi buttons.