Skip to content

Add device commands #345

Description

@BWagener

Why

I think my path to discovering and using terminus is a common one, the desire to BYOD + BYOS.

In my particular case, I decided to try the TRMNL DIY Kit.

As it stands, clicking the buttons supported by the TRMNL firmware I can only refresh the same screen (even if there are others in the playlist). It seems there is no way for me to configure the behavior of the button(s) on the device. I'm seeing that there's a similar configuration option for a touch bar, should a device have it, so maybe this is a reasonable addition.

I found some documentation on the button behavior when using the TRMNL firmware here: https://wiki.seeedstudio.com/reterminal_e10xx_trmnl/#buttons-usage (note that there are tabs for some devices the article applies to, make sure to select "TRMNL DIY Kit" to see the docs regarding that device.

The docs state:

The XIAO ePaper Display Board has 4 buttons (RESET / KEY1 / KEY2 / KEY3). Only RESET and KEY3 are used by the TRMNL firmware.

KEY3 usage:

Single click: refresh the page immediately.
Double click: custom function — configure it from the TRMNL settings page.
Long press (~5 s): reconfigure the network.

RESET usage: single click to reset the device.

It would be super neat if there was a way to configure the button behavior using terminus as well.

My personal use case would be to simply cycle through configured screens.

Another one I can think of is to designate a screen as the "default", which the device defaults to after X amount of time without user input.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions