Closed nukefrenzy closed 1 year ago
For now I'm getting around this by calling the following actions after I call "add_screen". It waits for the screen I just added to be displayed and immediately deletes it. It times out and aborts if it doesn't see the screen after 1 minute.
- wait_for_trigger:
- platform: event
event_data:
iconname: doorbell
event_type: esphome.next_screen
timeout:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
continue_on_timeout: false
- service: esphome.ulanzi_del_screen
data:
icon_name: doorbell
This is not what's happening. Instead, it just keeps showing the doorbell screen over and over until it expires.
This is right, thats by design! In the upcoming version EspHoMaTriXv2 you will have more control, so you can add blank screens in the loop. The old version will stay as it is now, perhaps some bugfixes. The new version is not stable enough for "production" yet.
The graphic on the readme is confusing then. It shows each screen being displayed one time and then going to the clock/date before showing the added screens again. So it seems like a full rotation includes the clock every time.
Here's what is going on: 1) Only the clock is showing. No other screens rotating through. 2) HA adds a single screen showing an alert:
The major settings from my ehmtx section are:
3) However, the alert screen plays many times before the clock comes back. Every 10 seconds I can see it reset and start over. Eventually the clock comes back.
It's my understanding that it should rotate: clock (10s)->doorbell screen (10s)->clock (10s)->doorbell screen (10s)->etc. until the 1 minute life of the doorbell screen expires. Then back to only the clock. Is my understanding correct? This is not what's happening. Instead, it just keeps showing the doorbell screen over and over until it expires.
Here's my entire setup for reference: