max-christian / homebridge-texecom

A plugin for homebridge (https://github.com/nfarina/homebridge) to integrate Texecom Premier Elite zones into HomeKit
MIT License
27 stars 8 forks source link

Connected but no data #35

Closed metaljay closed 1 day ago

metaljay commented 4 days ago

Hi,

Slightly odd request for help, so ive flashed an ESP8266 with stream-server, I can see my device on the network and comport3 is configured for creston, when I add the IP to texecom in homebridge I receive this: [9/13/2024, 8:28:30 AM] [Texecom] Connected via IP

Though when I try to toggle anything or see If the sensors are triggered I don't receive any information. I suspect it's because your plugin is receiving raw data as opposed to the normal output from ser2net or smartcom, but thought id ask. Any thoughts or tips?

My config looks good:

{
    "platform": "Texecom",
    "ip_address": "192.168.2.182",
    "ip_port": 10001,
    "udl": "1234",
    "zones": [
        {
            "name": "Hallway",
            "zone_number": "1",
            "zone_type": "motion",
            "dwell": 1000
        }
    ],
    "areas": [
        {
            "name": "Texecom Alarm",
            "area_number": "1",
            "area_type": "securitysystem"
        }
    ]
}
max-christian commented 4 days ago

Have you tried telnet with the same IP details, see what you get?

metaljay commented 4 days ago

problem is, that plugin above states

This component creates a TCP server listening on port 6638 (by default), and relays all data between the connected clients and the serial port. It doesn't support any control sequences, telnet options or RFC 2217, just raw data.

max-christian commented 4 days ago

It should still work if you aren't sending anything, you should see the usual alarm output. Or you could use nc if concerned about the telnet stuff.

metaljay commented 4 days ago

nothing, if I connect to the IP via putty it 'connects' but I just get a blank terminal screen suggesting no data is actually being exchanged. I guess this means my esp firmware isn't doing its job