lubeda / EspHoMaTriXv2

A simple DIY status display with a 8x32 RGB LED matrix, implemented with esphome.io and Home Assistant.
MIT License
269 stars 25 forks source link

[BUG] Force mode not working (ex.: 2 = clock) #204

Closed popy2k14 closed 6 months ago

popy2k14 commented 7 months ago

Question

I have the following HA automation when someone enters the room:

So after entering the room, the time was always shown to the user on v1. Have now migrated from EspHoMaTriXv1 to v2.

An this is not working, sometimes it shows the date instead of the time.

How can i force the clock on v2? I know there is a "force_screen" service, but what's the icon_name of the clock?

yaml: `

Additional information

lubeda commented 7 months ago

You can "force" screens, see Mode overview


service: esphome.ulanzi_force_screen
data:
  icon_name: "*"
  mode: 2
popy2k14 commented 7 months ago

thx for the hint, tried now with:

service: esphome.pixel_clock_wz_force_screen
data:
  icon_name: "*"
  mode: 2

as you suggested. Sadly i does'nt work. When i send the above force_screen cmd when the clock is on another screen, i just ignores it. But when i send a force to another icon_name, it works:

service: esphome.pixel_clock_wz_force_screen
data:
  icon_name: tempc
  mode: 5

Any hint's what i am doing wrong ? thx

lubeda commented 7 months ago

This is probably a bug

popy2k14 commented 7 months ago

Ok thx. I have changed the title to a [BUG].

andrewjswan commented 6 months ago

In my opinion, this has already been fixed in 2023.9.1 and, accordingly, in 2024.1.0

popy2k14 commented 6 months ago

@andrewjswan thx for the hint. I can confirm that 2023.9.1 fixed this issue.

Because of upcoming release, I am closing this.