"Unexpected start" error
Closed this issue · 2 comments
I'm new to using this wonderful addon, but unfortunately I'm unable to get it working as I get an error in my debug log when trying to connect. My UDL and MQTT info are correct, so I'm unsure where the problem could be.
2021-10-17 15:20:18 - INFO: Starting texecom2mqtt v1.1.6...
2021-10-17 15:20:18 - INFO: Connected to alarm, sleeping for 1 second...
2021-10-17 15:20:19 - INFO: Connection ready
2021-10-17 15:20:19 - DEBUG: Executing serial number command
2021-10-17 15:20:19 - INFO: Fetched serial number: xxxxxxx
2021-10-17 15:20:19 - INFO: Logging in
2021-10-17 15:20:23 - DEBUG: Command 1 timed out (attempt 1, id: 0).
/snapshot/app/dist/texecom/texecom.js:81
throw new Error(Unexpected start, expected 't', got 0x${headerStart.toString(16)}
);
^
Error: Unexpected start, expected 't', got 0x3
at Texecom.parseBuffer (/snapshot/app/dist/texecom/texecom.js:81:19)
at Socket. (/snapshot/app/dist/texecom/texecom.js:32:18)
at Socket.emit (events.js:315:20)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:271:9)
at Socket.Readable.push (_stream_readable.js:212:10)
at TCP.onStreamRead (internal/stream_base_commons.js:186:23)
My config looks as follows (redacted some value):
texecom:
host: 192.168.x.x
udl_password: 'xxxx'
mqtt:
host: 192.168.x.x
port: 1883
username: xxxxx
password: xxxxx
homeassistant:
discovery: true
prefix: homeassistant
areas: []
zones: []
log: debug
Application version 1.1.6
Premier Elite 48
Just read that panel firmware requirement is 4.x, but I'm running 3.x. Is there a workaround for this?
Unfortunately not, 4.x is required