Alarm system: one topic with multiple value

#1

Hello all

I have an alarm system that native is not smart, but I found a project for an MQTT client that interact with Web site of alarm and it work.

I added a switch and mapped the topics properly and I am able to start and stop the alarm in Google Home.

Now I have this question: my topic is something like
gBridge/alarm/set
and the values of set are 0 and 1

Is there any way to set 3 value for the topic? I mean
set=0
set=1
set=2
The target is instert alarm full, insert partially and remove.
Also it is possible add a verification only for the remove?

thank you all
claus

0 Likes