Hi,
i’m trying to send a discovery message for an alarm… but it seems not working… what is the problem? I use this kind of message for other entity but for alarm i don’t understand how make it works
mosquitto_pub -r -h 127.0.0.1 -u myuser -P mypass -p 1883 -t "home/alarm/config" -m '{"name": "myalarminim", "state_topic":"home/alarm", "unique_id": "myalarm01d", "device": {"identifiers": ["01adxasd"], "name": "My Inim Alarm" }, "supported_features": "3", "code_format": "number"}'
{
"name":"myalarminim",
"state_topic":"home/alarm",
"unique_id":"myalarm01d",
"device":{
"identifiers":[
"01adxasd"
],
"name":"My Inim Alarm"
},
"supported_features":"3",
"code_format":"number"
}