lubeda / EsphoMaTrix

A simple DIY status display with an 8x32 RGB LED panel implemented with esphome.io and Home Assistant
MIT License
217 stars 23 forks source link

Show more indicators on clock screen #97

Closed RikMuilwijk closed 1 year ago

RikMuilwijk commented 1 year ago

Is it possible to light up a single led on the clock screen, like alarm or indicator but smaller?

I’d like to add two small indicators next to each other on the clock screen. Or maybe I could modify the source code to change the size and location of the current indicator service?

lubeda commented 1 year ago

Something like this on the right side, the red and blue triangle? With different sizes red is there size 2 and blue is size 3? Size 1 is a single dot in the corner. sample

RikMuilwijk commented 1 year ago

Yes, I would like to use the indicator or alarm indicator. So how do I define size? From the docs I can only see how to pass a color parameter.

Also, I would like to have one more indicator on the clock screen. But maybe I have to modify code abit?

lubeda commented 1 year ago

Where would you position the third indicator?

RikMuilwijk commented 1 year ago

I would place an addressable pixel in the upper left corner, skip a pixel to the right, and then place a second addressable pixel. These two pixels would indicate my corresponding two alarms in home assistant (green for set, red for not set).

The third indicator would be the already existing indicator in the right corner. I would use that one to indicate that the window is open/closed. The alarm indicator is a bit too big for me, considering the day of week is directly next to it on a Friday.

I don’t know if this makes sense, I really like the work on this project already done btw! It’s kind of awesome to show any given info that is available in home assistant to this nice retro display

RikMuilwijk commented 1 year ago

Thanks for labeling my request as enhancement, I have simply forked your repo and copied code blocks to create a second and third indicator that show as single dots on position 0,0 and 0,3 respectively.

Code could be nicer, but it works nicely in Home Assistant, and took me 10 minutes :)

lubeda commented 1 year ago

So, in the version there are three indicators, alarm, lindicator and rindicator. They have got a different priority, e.g., the lindicator (left indicator) is not displayed with icons because this would "ruin" the icon.

I will not add features to this version anymore!!