dchesterton / texecom2mqtt-hassio

Home Assistant add-on. Connect to Texecom Premier Elite alarm panels and publish updates to MQTT. Supports arming/disarming as well as zone updates and alarm events.
https://hub.docker.com/r/dchesterton/texecom2mqtt
MIT License
49 stars 9 forks source link

texecom2mqtt doesn't add to mqtt #62

Open hannovdm opened 2 years ago

hannovdm commented 2 years ago

Describe the bug The debug log of texecom2mqtt shows publishing in MQTT and successfully connecting but no new entities are added. Discovery is switched on. No errors log files. Tried reinstalling both MQTT and texecom2mqtt but not change.

Application version texecom2mqtt version: 1.2.3 Mosquitto broker version: 6.0.1 Core Version core-2022.4.2 Supervisor Version supervisor-2022.03.5

Texecom alarm type Premier Elite 64W with Smartcom

texecom2mqtt config: texecom: host: x.y.z.q udl_password: 'xxxxxx' port: 10001 mqtt: host: 192.168.2.28 prefix: texecom2mqtt client_id: texecom2mqtt port: 1883 keepalive: 30 retain: true retain_log: true qos: 2 reject_unauthorized: false homeassistant: discovery: true prefix: homeassistant areas:

Home Assistant version Operating System Home Assistant OS 7.6

Debug log 2022-04-11 12:21:03 - INFO: Starting texecom2mqtt v1.2.3 (Node v16.13.0)... 2022-04-11 12:21:03 - INFO: Connected to alarm, sleeping for 2 seconds... 2022-04-11 12:21:05 - DEBUG: Executing serial number command 2022-04-11 12:21:05 - INFO: Connection ready 2022-04-11 12:21:05 - INFO: Logging in to panel 2022-04-11 12:21:05 - INFO: Successfully logged in to panel 2022-04-11 12:21:05 - INFO: Connected to MQTT broker: 192.168.2.28:1883 (retain: true, clean: true, client_id: texecom2mqtt, qos: 2) 2022-04-11 12:21:05 - DEBUG: Publishing to texecom2mqtt/status: online 2022-04-11 12:21:05 - INFO: Serial number: xxxxxxxxx 2022-04-11 12:21:06 - INFO: Panel: Premier Elite 64 (V5.00.03LS1) 2022-04-11 12:21:06 - INFO: Fetched Area A: Main House 2022-04-11 12:21:06 - INFO: Fetched Area B: Unused B 2022-04-11 12:21:06 - INFO: Fetched Area C: Unused C 2022-04-11 12:21:06 - INFO: Fetched Area D: Unused D 2022-04-11 12:21:11 - INFO: Fetched Zone 9: Keypad Foyer (Type: Entry/Exit 1; Areas: A) 2022-04-11 12:21:11 - INFO: Fetched Zone 10: Keypad Hallway (Type: Guard Access; Areas: A) 2022-04-11 12:21:12 - INFO: Fetched Zone 11: Master Bedroom (Type: Guard; Areas: A) 2022-04-11 12:21:12 - INFO: Fetched Zone 12: Guestroom (Type: Guard; Areas: A) 2022-04-11 12:21:12 - INFO: Fetched Zone 13: Baby Room (Type: Guard; Areas: A) 2022-04-11 12:21:13 - INFO: Fetched Zone 14: Office (Type: Guard; Areas: A) 2022-04-11 12:21:13 - INFO: Fetched Zone 15: Hallway (Type: Guard; Areas: A) 2022-04-11 12:21:14 - INFO: Fetched Zone 17: Garage (Type: Guard; Areas: A) 2022-04-11 12:21:14 - INFO: Fetched Zone 18: Living Room (Type: Guard; Areas: A) 2022-04-11 12:21:15 - INFO: Fetched Zone 19: Scullery (Type: Guard; Areas: A) 2022-04-11 12:21:15 - INFO: Fetched Zone 20: Front door (Type: Guard; Areas: A) 2022-04-11 12:21:16 - INFO: Fetched Zone 21: Patio Door (Type: Guard; Areas: A) 2022-04-11 12:21:16 - INFO: Fetched Zone 22: Scullery door (Type: Guard; Areas: A) 2022-04-11 12:21:16 - INFO: Fetched Zone 24: Hallway Smoke (Type: Fire; Areas: A) 2022-04-11 12:21:17 - INFO: Fetched Zone 25: Foyer Smoke (Type: Fire; Areas: A) 2022-04-11 12:21:17 - INFO: Fetched Zone 26: Garage Smoke (Type: Fire; Areas: A) 2022-04-11 12:21:18 - INFO: Fetched Zone 28: Socket Bar (Type: Custom; Areas: A) 2022-04-11 12:21:19 - INFO: Fetched Zone 29: Side Outdoor (Type: Guard; Areas: A) 2022-04-11 12:21:19 - INFO: Fetched Zone 31: Patio Outdoor (Type: Guard; Areas: A) 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/status: online 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/power: {"battery_charging_current":18,"battery_voltage":13.7,"panel_current":144,"panel_voltage":13.7} 2022-04-11 12:21:35 - INFO: Updating all zone states... 2022-04-11 12:21:35 - INFO: Updating all area states... 2022-04-11 12:21:35 - DEBUG: Received area flags: 000000000000000000000000000000000f00000000000000000f000000ff00000f000000000000000000000000000000000000000000000000000000000000000000000100000000 2022-04-11 12:21:35 - 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,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/keypad_foyer: {"name":"Keypad Foyer","number":9,"areas":["A"],"status":0,"type":"Entry/Exit 1"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/keypad_hallway: {"name":"Keypad Hallway","number":10,"areas":["A"],"status":0,"type":"Guard Access"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/master_bedroom: {"name":"Master Bedroom","number":11,"areas":["A"],"status":0,"type":"Guard"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/guestroom: {"name":"Guestroom","number":12,"areas":["A"],"status":0,"type":"Guard"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/baby_room: {"name":"Baby Room","number":13,"areas":["A"],"status":0,"type":"Guard"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/office: {"name":"Office","number":14,"areas":["A"],"status":0,"type":"Guard"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/hallway: {"name":"Hallway","number":15,"areas":["A"],"status":0,"type":"Guard"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/garage: {"name":"Garage","number":17,"areas":["A"],"status":0,"type":"Guard"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/living_room: {"name":"Living Room","number":18,"areas":["A"],"status":0,"type":"Guard"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/scullery: {"name":"Scullery","number":19,"areas":["A"],"status":0,"type":"Guard"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/front_door: {"name":"Front door","number":20,"areas":["A"],"status":0,"type":"Guard"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/patio_door: {"name":"Patio Door","number":21,"areas":["A"],"status":0,"type":"Guard"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/scullery_door: {"name":"Scullery door","number":22,"areas":["A"],"status":0,"type":"Guard"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/hallway_smoke: {"name":"Hallway Smoke","number":24,"areas":["A"],"status":0,"type":"Fire"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/foyer_smoke: {"name":"Foyer Smoke","number":25,"areas":["A"],"status":0,"type":"Fire"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/garage_smoke: {"name":"Garage Smoke","number":26,"areas":["A"],"status":0,"type":"Fire"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/socket_bar: {"name":"Socket Bar","number":28,"areas":["A"],"status":0,"type":"Custom"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/side_outdoor: {"name":"Side Outdoor","number":29,"areas":["A"],"status":0,"type":"Guard"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/zone/patio_outdoor: {"name":"Patio Outdoor","number":31,"areas":["A"],"status":0,"type":"Guard"} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/area/main_house: {"id":"A","name":"Main House","number":1,"status":"disarmed"} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/alarm_control_panel/texecom2mqtt/main_house/config: {"name":"Main House","state_topic":"texecom2mqtt/area/main_house","command_topic":"texecom2mqtt/area/main_house/command","unique_id":"texecom2mqtt.area.main_house","value_template":"{% set values = {\"in_entry\":\"pending\",\"in_exit\":\"arming\",\"disarmed\":\"disarmed\",\"triggered\":\"triggered\",\"full_armed\":\"armed_away\",\"part_armed_1\":\"armed_custom_bypass\",\"part_armed_2\":\"armed_home\",\"part_armed_3\":\"armed_night\"} %}{{ values[value_json.status] }}","payload_disarm":"disarm","json_attributes_topic":"texecom2mqtt/power","payload_arm_night":"part_arm_3","payload_arm_away":"full_arm","payload_arm_home":"part_arm_2","payload_arm_custom_bypass":"part_arm_1","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/keypad_foyer/config: {"name":"Keypad Foyer","state_topic":"texecom2mqtt/zone/keypad_foyer","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"door","unique_id":"texecom2mqtt.zone.keypad_foyer","json_attributes_topic":"texecom2mqtt/zone/keypad_foyer","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/keypad_hallway/config: {"name":"Keypad Hallway","state_topic":"texecom2mqtt/zone/keypad_hallway","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.keypad_hallway","json_attributes_topic":"texecom2mqtt/zone/keypad_hallway","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/master_bedroom/config: {"name":"Master Bedroom","state_topic":"texecom2mqtt/zone/master_bedroom","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.master_bedroom","json_attributes_topic":"texecom2mqtt/zone/master_bedroom","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/guestroom/config: {"name":"Guestroom","state_topic":"texecom2mqtt/zone/guestroom","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.guestroom","json_attributes_topic":"texecom2mqtt/zone/guestroom","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/baby_room/config: {"name":"Baby Room","state_topic":"texecom2mqtt/zone/baby_room","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.baby_room","json_attributes_topic":"texecom2mqtt/zone/baby_room","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - 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":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/hallway/config: {"name":"Hallway","state_topic":"texecom2mqtt/zone/hallway","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.hallway","json_attributes_topic":"texecom2mqtt/zone/hallway","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/garage/config: {"name":"Garage","state_topic":"texecom2mqtt/zone/garage","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.garage","json_attributes_topic":"texecom2mqtt/zone/garage","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/living_room/config: {"name":"Living Room","state_topic":"texecom2mqtt/zone/living_room","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.living_room","json_attributes_topic":"texecom2mqtt/zone/living_room","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/scullery/config: {"name":"Scullery","state_topic":"texecom2mqtt/zone/scullery","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.scullery","json_attributes_topic":"texecom2mqtt/zone/scullery","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - 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":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/patio_door/config: {"name":"Patio Door","state_topic":"texecom2mqtt/zone/patio_door","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"door","unique_id":"texecom2mqtt.zone.patio_door","json_attributes_topic":"texecom2mqtt/zone/patio_door","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/scullery_door/config: {"name":"Scullery door","state_topic":"texecom2mqtt/zone/scullery_door","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"door","unique_id":"texecom2mqtt.zone.scullery_door","json_attributes_topic":"texecom2mqtt/zone/scullery_door","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/hallway_smoke/config: {"name":"Hallway Smoke","state_topic":"texecom2mqtt/zone/hallway_smoke","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"smoke","unique_id":"texecom2mqtt.zone.hallway_smoke","json_attributes_topic":"texecom2mqtt/zone/hallway_smoke","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/foyer_smoke/config: {"name":"Foyer Smoke","state_topic":"texecom2mqtt/zone/foyer_smoke","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"smoke","unique_id":"texecom2mqtt.zone.foyer_smoke","json_attributes_topic":"texecom2mqtt/zone/foyer_smoke","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/garage_smoke/config: {"name":"Garage Smoke","state_topic":"texecom2mqtt/zone/garage_smoke","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"smoke","unique_id":"texecom2mqtt.zone.garage_smoke","json_attributes_topic":"texecom2mqtt/zone/garage_smoke","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/socket_bar/config: {"name":"Socket Bar","state_topic":"texecom2mqtt/zone/socket_bar","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.socket_bar","json_attributes_topic":"texecom2mqtt/zone/socket_bar","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/side_outdoor/config: {"name":"Side Outdoor","state_topic":"texecom2mqtt/zone/side_outdoor","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.side_outdoor","json_attributes_topic":"texecom2mqtt/zone/side_outdoor","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to homeassistant/binary_sensor/texecom2mqtt/patio_outdoor/config: {"name":"Patio Outdoor","state_topic":"texecom2mqtt/zone/patio_outdoor","payload_on":"1","payload_off":"0","value_template":"{{ value_json.status }}","device_class":"motion","unique_id":"texecom2mqtt.zone.patio_outdoor","json_attributes_topic":"texecom2mqtt/zone/patio_outdoor","json_attributes_template":"{{ {'zone_number': value_json.number, 'zone_type': value_json.type, 'areas': value_json.areas} | tojson }}","availability_topic":"texecom2mqtt/status","qos":2,"device":{"name":"Texecom Premier Elite 64","identifiers":"1063393","manufacturer":"Texecom","model":"Premier Elite 64","sw_version":"V5.00.03LS1"}} 2022-04-11 12:21:35 - DEBUG: Publishing to texecom2mqtt/config: {"version":"1.2.3","log_level":"debug","model":"Premier Elite 64","firmware_version":"V5.00.03LS1","serial_number":"1063393"} 2022-04-11 12:21:35 - INFO: Application ready 2022-04-11 12:22:05 - DEBUG: Updating system power... 2022-04-11 12:22:06 - DEBUG: Publishing to texecom2mqtt/status: online 2022-04-11 12:22:06 - DEBUG: Publishing to texecom2mqtt/power: {"battery_charging_current":18,"battery_voltage":13.7,"panel_current":144,"panel_voltage":13.7}

hannovdm commented 2 years ago

I found the cause of this issue. host: core-mosquitto in the config works fine, gives the same output as above but when using the IP the MQTT entities don't get created. so it might be a bug rather than an issue

hannovdm commented 2 years ago

I have cheered too early. Again I am in the same situation. It appears to be caused by rebooting of the HA host. texecom2mqtt reports in debug that it connects successfully to the mosquitto broker but the integration doesn't create or update entities. I have tried everything, reinstalling the components etc. but it doesn't seem to fix itself. I also noticed that the error catching in texecom2mqtt is a bit off since it doesn't always really report when it cannot find mosquitto. @dchesterton please assist in debugging.