I have successfully installed the Texecom2mqtt add on into my HA pi, and can see successfully connectivity to my premier elite 48 panel in the log, however I’m not getting anything appear in Ha itself, on the configuration tab in texecom2mqtt this is the yams export, am I missing something?
texecom:
Well spotted mrhass, I have removed from the host section and it still connects fine. Yes I created a new mqqtt user with admin role and will change once I have it up and running. Mqqt explorer I haven’t got that installed.
I can see it’s connected fine to my control panel, it lists all the zones, devices etc in the log but what do I do next I thought as I have discovery on it would simply put all in to Ha. What do I do next?
MQTT autodiscovery in Hass is default set to the ‘homeassistant’ topic, so in the config it’s set to “home-assistant” which won’t work with default settings.
Yep, you have copied the example from the GitHub site, unfortunately the value shown against that prefix would be non-working in a default ha site. If you haven’t changed your ha mqtt default, then you don’t need to include that value (or some of the others that are optional).
Right thanks for your help all, I think I’m getting somewhere now, I took out all of the none required settings out of my config and restarted, now I can see all of the alarm devices under Mosquitto broker inc the control panel itself. Can I set/unset the alarm from within Ha? can I see the status of the alarm? Can I get notification when the alarm is set/unset or alarm activated?
Your yaml construction is wrong. It should look like this, which is for a different mqtt entity but same principle, note the hyphen before name which identifies each grouping of attributes.
Hello all - I’m trying to connect my texecom alarm to HomeAssistant but am unable to do a successful connection. I am new to homeassistant, mosquito brokers and texecom2mqtt, so I might not be doing something right.
This is what my log in texecom2mqtt looks like when I “Start” texecom2mqtt:
2022-10-08 13:40:23 - INFO: Starting texecom2mqtt v1.2.3 (Node v16.13.0)...
2022-10-08 13:40:23 - INFO: Connected to alarm, sleeping for 2 seconds...
2022-10-08 13:40:25 - DEBUG: Executing serial number command
2022-10-08 13:40:29 - DEBUG: Command serial timed out (attempt 1, id: serial).
2022-10-08 13:40:29 - TRACE: Received data chunk of length 7
2022-10-08 13:40:29 - INFO: Connection ready
2022-10-08 13:40:29 - INFO: Logging in to panel
2022-10-08 13:40:29 - TRACE: Executing command 1
2022-10-08 13:40:29 - DEBUG: Panel socket closed
2022-10-08 13:40:29 - INFO: Panel disconnected, exiting now
My yaml looks like this. It is pretty short right now as I wanted to get the connection going first before adding zones and areas and other optional details. The udl_password I got from my alarm company contact and I put that 5 digit number in quotes. I think that my host IP is correct because logs do say “connecting to alarm…sleeping for 2 seconds…” but I am not 100% sure.
I’m having an issue where the panel disconnects after around 3 minutes of uptime. I can’t see anyone else reporting this issue which is a bit concerning. Error below:
2022-10-09 19:15:40 - DEBUG: Updating system power…
2022-10-09 19:15:40 - WARNING: Panel returned NAK response when getting power
2022-10-09 19:15:40 - DEBUG: Closing connection to panel
2022-10-09 19:15:40 - DEBUG: Closed connection to panel
2022-10-09 19:15:40 - INFO: Panel disconnected, exiting now
Thanks for coming back.
mqtt config:
-I do use openDNS so now I’m testing with direct IP instead of “host: core-mosquitto”. in the config, now I’m using IP address of homeassistant, which is currently 192.168.2.106. But, no change
-when I use the IP address from previous bullet in mqtt explorer with credentials, I do see connection established, so I hope that means that the credentials are ok. Screenshot below
texecom config:
-i do use Texecom’s app on my phone as well with my alarm. if that’s the issue, i dont know how to disconnect that.
Just log out of the app. But assuming you have the smartcom reporting back to Texecom you really need to get a separate device (e.g. comip) for HA to use. The Smartcom doesn’t like communicating in two directions at the same time.
That said I would expect that it would log in on occasion. Have you connected using the ip you are trying using Wintex? That would prove if the ip and url work.
I am getting the following error when connecting to my Texecom Elite Com-IP from within HomeAssistant.
I have checked that the UDL password is correct (2711) and that the default port 10001 is used by the alarm management company. I have used the default HA mosquitto broker add-on and have used the credentials below to successfully connect using MQTT Explorer.
Any other input gratefully received.
2022-10-10 10:06:17 - INFO: Starting texecom2mqtt v1.2.3 (Node v16.13.0)…
2022-10-10 10:06:17 - INFO: Connected to alarm, sleeping for 2 seconds…
2022-10-10 10:06:19 - INFO: Connection ready
2022-10-10 10:06:19 - INFO: Logging in to panel
2022-10-10 10:06:19 - INFO: Successfully logged in to panel
2022-10-10 10:06:49 - ERROR: Could not connect to MQTT broker
Here’s my config file (keeping it simple to get initial setup working)