Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mini Remote Linc remote type not supported? #306

Open
RossGGG opened this issue Jan 7, 2024 Discussed in #305 · 1 comment
Open

Mini Remote Linc remote type not supported? #306

RossGGG opened this issue Jan 7, 2024 Discussed in #305 · 1 comment

Comments

@RossGGG
Copy link

RossGGG commented Jan 7, 2024

Discussed in #305

Originally posted by RossGGG January 6, 2024
Hello,
I'm trying to setup a Mini Remote Linc with the plugin and having issues. For reference, this is a two-button remote that just looks like a decora paddle light switch. When I set the device type to "remote" in the configuration, I get the following error every time I press a button on the remote and then homebridge crashes.

TypeError: Cannot read properties of undefined (reading 'call') at Insteon.<anonymous> (/usr/local/lib/node_modules/homebridge-platform-insteonlocal/src/InsteonLocalPlatform.ts:552:49) at Insteon.emit (node:events:514:28) at Insteon.handler (/usr/local/lib/node_modules/homebridge-platform-insteonlocal/node_modules/home-controller/lib/Insteon/index.js:725:12) at Insteon._checkStatus (/usr/local/lib/node_modules/homebridge-platform-insteonlocal/node_modules/home-controller/lib/Insteon/index.js:667:33) at Insteon.checkStatus (/usr/local/lib/node_modules/homebridge-platform-insteonlocal/node_modules/home-controller/lib/Insteon/index.js:603:21) at SerialPort.<anonymous> (/usr/local/lib/node_modules/homebridge-platform-insteonlocal/node_modules/home-controller/lib/Insteon/index.js:165:12) at SerialPort.emit (node:events:514:28) at addChunk (node:internal/streams/readable:545:12) at readableAddChunkPushByteMode (node:internal/streams/readable:495:3) at SerialPort.Readable.push (node:internal/streams/readable:375:5)

I can set the device type to "keypad" and then I can at least trigger it on and off by pressing the buttons on the remote, but I can't figure out how to register a button press when the device state already matches the button that was pressed. I would like to setup triggers in HomeKit that work when the "on" or "off" buttons are pressed regardless of what state the device believes it is already in.

@kuestess
Copy link
Owner

kuestess commented Jan 7, 2024

@RossGGG The remote device type is for the 8-button mini remotes, but it will probably work with the two-button remote that you have, perhaps with some configuration finagling. Can you post your config for the remote and run homebridge in debug mode homebridge -D and post the output when you get the error (including some of the messages before and after the above).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants