Error in log
Opened this issue · 0 comments
anthonyangel commented
Describe the bug
I'm seeing errors in the log Received message on illegal discovery topic 'homeassistant/alarm_control_panel//config'
Application version
1.2.3
Texecom alarm type
Premier Elite 64
Home Assistant version
Seen on 2022.3 and 2022.4
Config
texecom:
host: 192.168.1.XXX
udl_password: 'XXXX'
mqtt:
host: mqtt://core-mosquitto
username: XXX
password: XXX
homeassistant:
discovery: true
areas:
- id: house_alarm
full_arm: armed_away
part_arm_1: armed_night
code_arm_required: false
zones:
- id: front_lounge
name: Playroom
- id: rear_lounge
name: Lounge
log: debug
Debug log
2022-04-06 20:50:00 - INFO: Starting texecom2mqtt v1.2.3 (Node v16.13.0)...
2022-04-06 20:50:00 - INFO: Connected to alarm, sleeping for 2 seconds...
2022-04-06 20:50:02 - DEBUG: Executing serial number command
2022-04-06 20:50:02 - INFO: Connection ready
2022-04-06 20:50:02 - INFO: Logging in to panel
2022-04-06 20:50:02 - INFO: Successfully logged in to panel
2022-04-06 20:50:02 - INFO: Connected to MQTT broker: core-mosquitto:1883 (retain: true, clean: true, client_id: texecom2mqtt, qos: 0)
2022-04-06 20:50:02 - DEBUG: Publishing to texecom2mqtt/status: online
2022-04-06 20:50:02 - INFO: Serial number: 1027739
2022-04-06 20:50:03 - INFO: Panel: Premier Elite 64 (V5.04.01LS1)
2022-04-06 20:50:03 - INFO: Fetched Area A: House Alarm
2022-04-06 20:50:03 - INFO: Fetched Area B: Area B
2022-04-06 20:50:03 - INFO: Fetched Area C: Area C
2022-04-06 20:50:03 - INFO: Fetched Area D: Area D
2022-04-06 20:50:03 - INFO: Fetched Zone 1: HALL PIR (Type: Guard Access; Areas: A)
2022-04-06 20:50:04 - INFO: Fetched Zone 2: Playroom (Type: Guard; Areas: A)
2022-04-06 20:50:04 - INFO: Fetched Zone 3: Lounge (Type: Guard; Areas: A)
2022-04-06 20:50:04 - INFO: Fetched Zone 4: KITCHEN (Type: Guard; Areas: A)
2022-04-06 20:50:16 - INFO: Fetched Zone 41: Panic (Type: PA Audible; Areas: A)
2022-04-06 20:50:16 - INFO: Fetched Zone 42: Office (Type: Guard; Areas: A)
2022-04-06 20:50:17 - INFO: Fetched Zone 43: Front Door (Type: Entry/Exit 1; Areas: A)
2022-04-06 20:50:17 - INFO: Fetched Zone 44: Landing (Type: Guard; Areas: A)
2022-04-06 20:50:17 - INFO: Fetched Zone 45: Bathroom (Type: Guard; Areas: A)
2022-04-06 20:50:18 - INFO: Fetched Zone 46: Bedroom 3 (Type: Guard; Areas: A)
2022-04-06 20:50:18 - INFO: Fetched Zone 47: Bedroom 4 (Type: Guard; Areas: A)
2022-04-06 20:50:24 - DEBUG: Publishing to texecom2mqtt/status: online
2022-04-06 20:50:24 - DEBUG: Publishing to texecom2mqtt/power: {"battery_charging_current":36,"battery_voltage":13.49,"panel_current":486,"panel_voltage":13.7}
2022-04-06 20:50:24 - INFO: Updating all zone states...
2022-04-06 20:50:24 - INFO: Updating all area states...
2022-04-06 20:50:25 - DEBUG: Received area flags: 000000000000000000000000000000000f00000000000000000f000000ff00000f000000000000000000000000000000000000000000000100000000000000000000000100000000
2022-04-06 20:50:25 - DEBUG: Received area flags for Area A (1): 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0
2022-04-06 20:50:25 - DEBUG: Publishing to texecom2mqtt/zone/hall_pir: {"name":"HALL PIR","number":1,"areas":["A"],"status":0,"type":"Guard Access"}
2022-04-06 20:50:25 - DEBUG: Publishing to texecom2mqtt/zone/playroom: {"name":"Playroom","number":2,"areas":["A"],"status":0,"type":"Guard"}
2022-04-06 20:50:25 - DEBUG: Publishing to texecom2mqtt/zone/lounge: {"name":"Lounge","number":3,"areas":["A"],"status":0,"type":"Guard"}
2022-04-06 20:50:25 - DEBUG: Publishing to texecom2mqtt/zone/kitchen: {"name":"KITCHEN","number":4,"areas":["A"],"status":0,"type":"Guard"}
2022-04-06 20:50:25 - DEBUG: Publishing to texecom2mqtt/zone/panic: {"name":"Panic","number":41,"areas":["A"],"status":0,"type":"PA Audible"}
2022-04-06 20:50:25 - DEBUG: Publishing to texecom2mqtt/zone/office: {"name":"Office","number":42,"areas":["A"],"status":0,"type":"Guard"}
2022-04-06 20:50:25 - DEBUG: Publishing to texecom2mqtt/zone/front_door: {"name":"Front Door","number":43,"areas":["A"],"status":0,"type":"Entry/Exit 1"}
2022-04-06 20:50:25 - DEBUG: Publishing to texecom2mqtt/zone/landing: {"name":"Landing","number":44,"areas":["A"],"status":0,"type":"Guard"}
2022-04-06 20:50:25 - DEBUG: Publishing to texecom2mqtt/zone/bathroom: {"name":"Bathroom","number":45,"areas":["A"],"status":0,"type":"Guard"}
2022-04-06 20:50:25 - DEBUG: Publishing to texecom2mqtt/zone/bedroom_3: {"name":"Bedroom 3","number":46,"areas":["A"],"status":0,"type":"Guard"}
2022-04-06 20:50:25 - DEBUG: Publishing to texecom2mqtt/zone/bedroom_4: {"name":"Bedroom 4","number":47,"areas":["A"],"status":0,"type":"Guard"}
2022-04-06 20:50:25 - DEBUG: Publishing to texecom2mqtt/area/house_alarm: {"id":"A","name":"House Alarm","number":1,"status":"disarmed"}
2022-04-06 20:50:25 - DEBUG: Publishing to homeassistant/alarm_control_panel/texecom2mqtt/house_alarm/config: {"code_arm_required":false,"name":"House Alarm","state_topic":"texecom2mqtt/area/house_alarm","command_topic":"texecom2mqtt/area/house_alarm/command","unique_id":"texecom2mqtt.area.house_alarm","value_template":"{% set values = {\"in_entry\":\"pending\",\"in_exit\":\"arming\",\"disarmed\":\"disarmed\",\"triggered\":\"triggered\",\"full_armed\":\"armed_away\",\"part_armed_1\":\"armed_night\"} %}{{ values[value_json.status] }}","payload_disarm":"disarm","json_attributes_topic":"texecom2mqtt/power","payload_arm_night":"part_arm_1","payload_arm_away":"full_arm","availability_topic":"texecom2mqtt/status","qos":0,"device":{"name":"Texecom Premier Elite 64","identifiers":"1027739","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.04.01LS1"}}
2022-04-06 20:50:25 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/hall_pir/config: {"name":"HALL PIR","state_topic":"texecom2mqtt/zone/hall_pir","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.hall_pir","json_attributes_topic":"texecom2mqtt/zone/hall_pir","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":0,"device":{"name":"Texecom Premier Elite 64","identifiers":"1027739","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.04.01LS1"}}
2022-04-06 20:50:25 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/playroom/config: {"name":"Playroom","state_topic":"texecom2mqtt/zone/playroom","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.playroom","json_attributes_topic":"texecom2mqtt/zone/playroom","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":0,"device":{"name":"Texecom Premier Elite 64","identifiers":"1027739","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.04.01LS1"}}
2022-04-06 20:50:25 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/lounge/config: {"name":"Lounge","state_topic":"texecom2mqtt/zone/lounge","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.lounge","json_attributes_topic":"texecom2mqtt/zone/lounge","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":0,"device":{"name":"Texecom Premier Elite 64","identifiers":"1027739","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.04.01LS1"}}
2022-04-06 20:50:25 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/kitchen/config: {"name":"KITCHEN","state_topic":"texecom2mqtt/zone/kitchen","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.kitchen","json_attributes_topic":"texecom2mqtt/zone/kitchen","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":0,"device":{"name":"Texecom Premier Elite 64","identifiers":"1027739","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.04.01LS1"}}
2022-04-06 20:50:25 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/panic/config: {"name":"Panic","state_topic":"texecom2mqtt/zone/panic","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"safety","unique_id":"texecom2mqtt.zone.panic","json_attributes_topic":"texecom2mqtt/zone/panic","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":0,"device":{"name":"Texecom Premier Elite 64","identifiers":"1027739","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.04.01LS1"}}
2022-04-06 20:50:25 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/office/config: {"name":"Office","state_topic":"texecom2mqtt/zone/office","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.office","json_attributes_topic":"texecom2mqtt/zone/office","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":0,"device":{"name":"Texecom Premier Elite 64","identifiers":"1027739","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.04.01LS1"}}
2022-04-06 20:50:25 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/front_door/config: {"name":"Front Door","state_topic":"texecom2mqtt/zone/front_door","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"door","unique_id":"texecom2mqtt.zone.front_door","json_attributes_topic":"texecom2mqtt/zone/front_door","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":0,"device":{"name":"Texecom Premier Elite 64","identifiers":"1027739","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.04.01LS1"}}
2022-04-06 20:50:25 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/landing/config: {"name":"Landing","state_topic":"texecom2mqtt/zone/landing","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.landing","json_attributes_topic":"texecom2mqtt/zone/landing","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":0,"device":{"name":"Texecom Premier Elite 64","identifiers":"1027739","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.04.01LS1"}}
2022-04-06 20:50:25 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/bathroom/config: {"name":"Bathroom","state_topic":"texecom2mqtt/zone/bathroom","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.bathroom","json_attributes_topic":"texecom2mqtt/zone/bathroom","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":0,"device":{"name":"Texecom Premier Elite 64","identifiers":"1027739","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.04.01LS1"}}
2022-04-06 20:50:25 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/bedroom_3/config: {"name":"Bedroom 3","state_topic":"texecom2mqtt/zone/bedroom_3","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.bedroom_3","json_attributes_topic":"texecom2mqtt/zone/bedroom_3","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":0,"device":{"name":"Texecom Premier Elite 64","identifiers":"1027739","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.04.01LS1"}}
2022-04-06 20:50:25 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/bedroom_4/config: {"name":"Bedroom 4","state_topic":"texecom2mqtt/zone/bedroom_4","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.bedroom_4","json_attributes_topic":"texecom2mqtt/zone/bedroom_4","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":0,"device":{"name":"Texecom Premier Elite 64","identifiers":"1027739","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.04.01LS1"}}
2022-04-06 20:50:25 - DEBUG: Publishing to texecom2mqtt/config: {"version":"1.2.3","log_level":"debug","model":"Premier Elite 64","firmware_version":"V5.04.01LS1","serial_number":"1027739"}
2022-04-06 20:50:25 - INFO: Application ready