jane_t Is there any way to add images other than the ones listed
At the moment, no. And this isn't likely to change soon.
We've designed the configurator so the entire configuration can fit into a URL, as this is how the addon loads your previous changes.
Additionally, it allows those not using the addon to click a link within their yaml
to edit
Eg: Preconfigured LocalDeck
jane_t I presume if I want to use double press etc, I need to do this in the yaml directly? Do you have any examples?
We'll release the full docs soon, but we emit events for single and double by default.
For example, I have the following triggers in an automation for my deck.
alias: LocalDeck Bindings
trigger:
- platform: event
event_type: esphome.localdeck_button
id: skip
event_data:
device_id: fd6d95da38dce4a8e0f0de63c97ef1a1
button: "14"
type: single
- platform: event
event_type: esphome.localdeck_button
id: skip-previous
event_data:
device_id: fd6d95da38dce4a8e0f0de63c97ef1a1
button: "14"
type: double
action:
- choose:
- conditions:
- condition: trigger
id:
- skip
sequence:
- service: media_player.media_next_track
target:
entity_id: media_player.office_display
- conditions:
- condition: trigger
id:
- skip-previous
sequence:
- service: media_player.media_previous_track
target:
entity_id:
- media_player.office_display
jane_t P.S I know you said you are making a button light flash are you doing that in ESPHome or in an Automation?
At the moment, we expose a bunch of light
entities, e.g., light.localdeck_9751cc_button_07_light
, which allows you to control each pixel.
For flashing, I'm just running a loop to turn it on and off with an appropriate delay.
That said, we're looking to add a few of the built-in light effects, which will mean you can trigger flashing as easily as calling light.turn_on
with the appropriate effect
parameter.
Handling double-press and light effects will be detailed in an advance-usage post/video!
jane_t Sorry for all the questions I am quite new to ESPHome.
Please don't apologise! It's what we're here for!
(I'll also take any opportunity to info-dump :p)