Remote control button press --> state

I’d like to use my remote control to turn my alarm on and off. This isn’t trivial since remotes are stateless and only report button presses.

I (think) I need a stateful helper or some other pseudo-device that remembers whether my alarm is on or off. How do I go about doing that? Or is there a better way to do this?

FWIW this is the remote I am using: Tuya TS0215A_remote control via MQTT | Zigbee2MQTT

Hi carnosine,
I’m no expert at all in Alarms, but logically you don’t care if the alarm switch is on, you want to know the state of the alarm itself.
That should be available thru the alarm device.

I don’t have an alarm so there is no state. All I have are door open/close sensors and an automation that sends me a notification when the doors are opened. It works fine.

To add to that I also acquired a small remote controller. But again remotes themselves only report button pushes. They don’t have a state per se.

Tie them to input_booleans and other helpers to ‘store’ states over time.
It’s how I do it.

This will make your life considerably easier:

Thanks. I’m on a docker installation, though, so no add-ons. :grimacing:

It is not an add-on. It is an integration, all install types can install it.

1 Like

Alright. Thanks for having patience with a n00b. I installed alarmo and it has made my life a lot easier.

1 Like