Hello. Would someone be able to point me towards where i’ve gone wrong with this… this is my first venture into MQTT.
I have HA-OS on RPI with Mosquitto MQTT installed OK with default settings. The MQTT ‘switch’ test in the MQTT frontend appears to work and i see the topic in MQTT Explorer on my PC.
The texecom2mqtt appeared to install OK (Premier Elite 48 v4.00.24) with SmartCom - set up following guide and using defaults. Log shows successful connection to alarm, successful connection to MQTT and fetches Area and Zone data. The log updates on zone changes and alarm state changes.
I’m a bit lost of what i should do next to see these in HA. I have MQTT Discovery turned on but nothing has been discovered. I also don’t see these status changes in MQTT explorer or in HA when i listen to topic ‘#’
Here are my config & logs from Mosquitto and texecom2mqtt… any help appreciated!
logins: []
customize:
active: false
folder: mosquitto
certfile: fullchain.pem
keyfile: privkey.pem
require_certificate: false
texecom:
host: 192.168.x.x
udl_password: 'xxxx'
mqtt:
host: core-mosquitto
homeassistant:
discovery: true
areas: []
zones: []
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] mosquitto.sh: executing...
[13:53:36] INFO: SSL is not enabled
[cont-init.d] mosquitto.sh: exited 0.
[cont-init.d] nginx.sh: executing...
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[13:53:37] INFO: Starting NGINX for authentication handling...
[13:53:38] INFO: Starting mosquitto MQTT broker...
1624802018: mosquitto version 1.6.12 starting
1624802018: |-- *** auth-plug: startup
[13:53:39] INFO: Successfully send discovery information to Home Assistant.
[13:53:40] INFO: Successfully send service information to the Supervisor.
1624802018: Config loaded from /etc/mosquitto/mosquitto.conf.
1624802018: Loading plugin: /usr/share/mosquitto/auth-plug.so
1624802018: ├── Username/password checking enabled.
1624802018: ├── TLS-PSK checking enabled.
1624802018: └── Extended authentication not enabled.
1624802018: Opening ipv4 listen socket on port 1883.
1624802018: Opening ipv6 listen socket on port 1883.
1624802018: Opening websockets listen socket on port 1884.
1624802018: Warning: Mosquitto should not be run as root/administrator.
1624802018: mosquitto version 1.6.12 running
1624802018: New connection from 127.0.0.1 on port 1883.
1624802018: Socket error on client <unknown>, disconnecting.
1624802023: New connection from 172.30.32.1 on port 1883.
{"result": "ok", "data": {}}1624802023: New client connected from 172.30.32.1 as 4kqC3onaU66l6YajfUp0Ts (p2, c1, k60, u'mqtt').
1624802033: New connection from 172.30.33.4 on port 1883.
1624802033: New client connected from 172.30.33.4 as mqttjs_70cc8049 (p2, c1, k10).
1624802101: New connection from 172.30.32.2 on port 1883.
1624802101: Socket error on client <unknown>, disconnecting.
1624802221: New connection from 172.30.32.2 on port 1883.
1624802221: Socket error on client <unknown>, disconnecting.
1624802341: New connection from 172.30.32.2 on port 1883.
1624802341: Socket error on client <unknown>, disconnecting.
1624802380: Socket error on client 4kqC3onaU66l6YajfUp0Ts, disconnecting.
1624802448: New connection from 172.30.32.1 on port 1883.
{"result": "ok", "data": {}}1624802450: New client connected from 172.30.32.1 as 7ntGpIQcHv6LMZBCLzxedJ (p2, c1, k60, u'mqtt').
1624802461: New connection from 172.30.32.2 on port 1883.
1624802461: Socket error on client <unknown>, disconnecting.
1624802581: New connection from 172.30.32.2 on port 1883.
1624802581: Socket error on client <unknown>, disconnecting.
1624802701: New connection from 172.30.32.2 on port 1883.
1624802701: Socket error on client <unknown>, disconnecting.
1624802821: New connection from 172.30.32.2 on port 1883.
and
2021-06-27 13:53:51 - INFO: Starting texecom2mqtt v1.0.42...
2021-06-27 13:53:51 - INFO: Connected to alarm, sleeping for 1 second...
2021-06-27 13:53:52 - INFO: Connection ready
2021-06-27 13:53:53 - INFO: Fetched serial number: <redacted>
2021-06-27 13:53:53 - INFO: Logging in
2021-06-27 13:53:53 - INFO: Successfully logged in
2021-06-27 13:53:53 - INFO: Connected to MQTT
2021-06-27 13:53:53 - INFO: Fetched panel info: Premier Elite 48 (V4.00.24LS1)
2021-06-27 13:53:55 - INFO: Fetched Area A: House
2021-06-27 13:53:55 - INFO: Fetched Area B: Area B
2021-06-27 13:53:55 - INFO: Fetched Area C: Area C
2021-06-27 13:53:55 - INFO: Fetched Area D: Area D
2021-06-27 13:53:57 - INFO: Fetched Zone 9: XXXXXX (Type: Entry/Exit 1; Areas: A)
2021-06-27 13:53:57 - INFO: Fetched Zone 10: etc etc etc
2021-06-27 13:54:10 - INFO: Updating all zone states...
2021-06-27 13:54:10 - INFO: Updating all area states...
2021-06-27 13:54:10 - INFO: Application ready
2021-06-27 14:00:17 - INFO: XXX status changed to Active
2021-06-27 14:00:25 - INFO: XXX status changed to Secure
2021-06-27 14:10:36 - INFO: House status changed to In Exit
2021-06-27 14:10:46 - INFO: House status changed to Part Armed 1
2021-06-27 14:11:02 - INFO: House status changed to Disarmed