Ok, es gibt dann drei relevante Gruppen die man braucht, um alles unterzubringen:
Buttons
Alarm :: Trigger Alarm
-
Configuration topic:
homeassistant/button/in9408_garden/alarm_trigger/config
-
Payload:
{
"device": {
"identifiers": "in9408_garden",
"manufacturer": "INSTAR Deutschland GmbH",
"model": "INSTAR 2k+ IN-9408 WLAN",
"name": "IN-9408 2k+ Garden"
},
"configuration_url": "http://192.168.2.115:80",
"availability": {
"topic": "cameras/115/status/testament",
"payload_available": "{\"val\":\"alive\"}",
"payload_not_available": "{\"val\":\"dead\"}"
},
"object_id":"in9408_garden_alarm_trigger",
"unique_id": "in9408_garden_alarm_trigger",
"name": "IN-9408 2k+ Garden Alarm Trigger",
"icon": "mdi:alarm-light",
"command_topic": "cameras/115/alarm/pushalarm",
"payload_press": "{\"val\":\"1\"}",
"qos": 2
}
Switches
Alarm :: Alarm Actions
{
"device": {
"identifiers": "in9408_garden",
"manufacturer": "INSTAR Deutschland GmbH",
"model": "INSTAR 2k+ IN-9408 WLAN",
"name": "IN-9408 2k+ Garden"
},
"configuration_url": "http://192.168.2.115:80",
"availability": {
"topic": "cameras/115/status/testament",
"payload_available": "{\"val\":\"alive\"}",
"payload_not_available": "{\"val\":\"dead\"}"
},
"object_id":"in9408_garden_alarm",
"unique_id": "in9408_garden_alarm",
"name": "IN-9408 2k+ Garden Alarm",
"icon": "mdi:shield-home-outline",
"command_topic": "cameras/115/alarm/actions/enable",
"payload_on": "{\"val\":\"1\"}",
"payload_off": "{\"val\":\"0\"}",
"state_topic": "cameras/115/status/alarm/actions/enable",
"state_on": 1,
"state_off": 0,
"value_template": "{{ value_json.val }}",
"qos": 1
}
Numbers
Alarm :: Red Alarm Area Sensitivity
{
"device": {
"identifiers": "in9408_garden",
"manufacturer": "INSTAR Deutschland GmbH",
"model": "INSTAR 2k+ IN-9408 WLAN",
"name": "IN-9408 2k+ Garden"
},
"configuration_url": "http://192.168.2.115:80",
"availability": {
"topic": "cameras/115/status/testament",
"payload_available": "{\"val\":\"alive\"}",
"payload_not_available": "{\"val\":\"dead\"}"
},
"object_id":"in9408_garden_red_area_sense",
"unique_id": "in9408_garden_red_area_sense",
"name": "IN-9408 2k+ Garden Red Alarm Area Sensitivity",
"icon": "mdi:cctv-off",
"command_topic": "cameras/115/alarm/areas/red/sensitivity",
"state_topic": "cameras/115/status/alarm/areas/red/sensitivity",
"value_template": "{{ value_json.val }}",
"command_template": "{\"val\":\"{{ value }}\"}",
"min": 0,
"max": 100,
"step": 1,
"unit_of_measurement": "%",
"qos": 1
}