Coder Social home page Coder Social logo

Comments (15)

paskovitch avatar paskovitch commented on September 4, 2024 1

So everything works. I'm sorry I thought it was just the serial port that needed this setting. Thanks!

from homebridge-texecom.

kieranmjones avatar kieranmjones commented on September 4, 2024

This issue is specifically from the serialport dependency which is failing to build, the key error is this bit:

Release/obj.target/serialport/src/serialport_unix.o ../src/serialport_unix.cpp:24:26: fatal error: linux/serial.h: No such file or directory

I would reach out to that project and see if they have advice, certainly a Google of the problem suggests it is an architecture or dependency type issue that perhaps you can overcome by installing serialport yourself rather than relying on the automatic install via the dependency from this module?

Sorry can't be more help, as I say this issue doesn't relate to this project so not really something that can be addressed here.

from homebridge-texecom.

paskovitch avatar paskovitch commented on September 4, 2024

Is there a version that only has IP support?

from homebridge-texecom.

kieranmjones avatar kieranmjones commented on September 4, 2024

There is not no, that is not to say it wouldn't be possible to strip out the serial aspects of the plugin. To be honest I would have thought fixing the serialport install wouldn't be too difficult, I appreciate it's a bit of a wasted effort as your device has no serial ports present.

I will apply some thought to the matter, in the meantime you could take the code yourself and strip out references to serial, I'm not sure what might break though as it's all tied quite closely together.

from homebridge-texecom.

paskovitch avatar paskovitch commented on September 4, 2024

Thank you for dealing with the problem! :)

from homebridge-texecom.

paskovitch avatar paskovitch commented on September 4, 2024

I acquired a raspberry pi 3 for this I could install. But forever, I see the sequel in the log:
[2019-3-11 18:35:57] [Texecom] received data
[2019-3-11 18:35:59] [Texecom] received data
[2019-3-11 18:36:01] [Texecom] received data
[2019-3-11 18:36:03] [Texecom] received data
[2019-3-11 18:36:18] [Texecom] received data
[2019-3-11 18:36:19] [Texecom] IP connection ended
[2019-3-11 18:36:19] [Texecom] IP connection closed

My config:
{
"platform": "Texecom",
"ip_address": "192.168.0.160",
"ip_port": "10001",
"zones": [
{
"name": "Room 1",
"zone_number": "02",
"zone_type": "motion",
"dwell": 1000
},
{
"name": "Bedroom",
"zone_number": "04",
"zone_type": "motion",
"dwell": 1000
},
{
"name": "Room 2",
"zone_number": "03",
"zone_type": "motion",
"dwell": 1000
},
{
"name": "Door",
"zone_number": "01",
"zone_type": "contact",
"dwell": 1000
}
]
}

What could be the problem?

from homebridge-texecom.

max-christian avatar max-christian commented on September 4, 2024

Huh. How long does it run for before the IP connection ends? (P.S. This should probably be under a separate issue.)

from homebridge-texecom.

paskovitch avatar paskovitch commented on September 4, 2024

When homebridge starts, there is no problem, but after I enter in the homekit, then throw the ip connection.

from homebridge-texecom.

paskovitch avatar paskovitch commented on September 4, 2024

Texecom IOS app and in Wintex desktop app aren't any probleme.

from homebridge-texecom.

max-christian avatar max-christian commented on September 4, 2024

Sounds like you might not have the Crestron protocol configured on the COM-IP port?

from homebridge-texecom.

paskovitch avatar paskovitch commented on September 4, 2024

How to configure it? Do you have a description of it?

from homebridge-texecom.

max-christian avatar max-christian commented on September 4, 2024

https://github.com/kieranmjones/homebridge-texecom/blob/master/README.md

(but since you have Wintex, use that instead as it's easier)

from homebridge-texecom.

simonlock avatar simonlock commented on September 4, 2024

So everything works. I'm sorry I thought it was just the serial port that needed this setting. Thanks!

Hi @paskovitch please could you share how you managed to install this on a raspberry pi? I've been trying to install this for a couple on months now. Did you strip out all references to serial port from the code?

I've tried installing this through Homebridge natively on a Pi, using docker on a Pi and also using a FreeBSD jail. Every Homebridge plugin installs for me except this one. Any help would be very much appreciated.

from homebridge-texecom.

paskovitch avatar paskovitch commented on September 4, 2024

Hi @simonlock I use Raspbian OS on raspberry pi. On the user interface, I turned on the serial port in the interface settings. Then the plugin worked. [https://images.ctfassets.net/tvfg2m04ppj4/4owZNQS99yKFHzxClG7PnA/aa405e22555866c62395c1d6daa4f7b8/SSH.jpg?w=800]

from homebridge-texecom.

simonlock avatar simonlock commented on September 4, 2024

@paskovitch thank you for replying. I too use Raspian (Linux buster 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux) but I'm using docker for homebridge. So I've just installed a fresh install of Raspian on another Raspberry Pi, enabled the Serial interface (raspi-config) as you indicated and installed Homebridge natively on the Pi. But this add-in still fails to install. I'm totally lost. Are you running Raspian Buster by any chance? Thanks again.

from homebridge-texecom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.