regarde ici et teste en dessous
il y a les éléments dans la doc, la syntaxe est à adapter selon ce qui ressort de gladys (utilise MQTT Explorer)
{"warning": {"duration": 10, "mode": "emergency", "strobe": false}}
mode
(enum): Mode of the warning (sound effect) allowed values:stop
,burglar
,fire
,emergency
,police_panic
,fire_panic
,emergency_panic
level
(enum): Sound level allowed values:low
,medium
,high
,very_high
strobe_level
(enum): Intensity of the strobe allowed values:low
,medium
,high
,very_high
strobe
(binary): Turn on/off the strobe (light) during warning allowed values:true
orfalse
strobe_duty_cycle
(numeric): Length of the flash cycle max value is 10duration
(numeric): Duration in seconds of the alarm unit is s
Linkquality (numeric)
Sinon en dernier ressort, utilise gladys et node-red !