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

IOLinc showing backwards on home bridge. #318

Open
languy99 opened this issue Jul 19, 2024 · 5 comments
Open

IOLinc showing backwards on home bridge. #318

languy99 opened this issue Jul 19, 2024 · 5 comments

Comments

@languy99
Copy link

languy99 commented Jul 19, 2024

Hello,

I have the IOLink set up for my garage door and it is reporting the status backwards. When it is open it shows closed, when it is closed it shows open. Is there a way to fix this?
IMG_3984

IMG_3985

if I reboot home bridge the state changes and then it gets reported correctly.

IMG_3988
IMG_3986

@kuestess
Copy link
Owner

@languy99 You can add the invert_sensor field to the device config for your Iolinc (set it to true), and you should get the correct sensor status.

@languy99
Copy link
Author

languy99 commented Jul 20, 2024

I think I figured it out. The issue is not the it is inverted it’s that as the garage door is closing it gets the status to fast before the door is closed and it thinks it is still open. I set a refresh of 60 secondsand once it refreshes it gets the correct state. I wonder if introduce a delay of let’s say 30 seconds after if that would also fix it.

Also I think the extension might be broken with the latest version of homebridge 1.8.4. I had to roll back to 1.8.2 to get it to work again.

@kuestess
Copy link
Owner

Just set the gdo_delay to a larger value (however long it takes for your garage to close) and that should do it. What issues do you have with 1.8.4? I'm running that version no problem.

@languy99
Copy link
Author

Huh 1.8.3 broke it and now 1.8.4 seems to be working fine. Weird. Well all is good now.

@languy99
Copy link
Author

That didn’t work.

This is what the log shows.

‘20/2024, 7:05:24 PM] [InsteonLocal] Setting Garage door relay to 0
[7/20/2024, 7:05:24 PM] [InsteonLocal] >>> New target state is false (Open)
[7/20/2024, 7:07:08 PM] [InsteonLocal] Setting Garage door relay to 1
[7/20/2024, 7:07:08 PM] [InsteonLocal] >>> New target state is false (Open)’

The new target state when it is closed should change to true correct? It doesn’t, it states false (open). If I refresh then it pulls the correct state.

‘7/20/2024, 8:40:24 PM] [InsteonLocal] Setting Garage door relay to 0
[7/20/2024, 8:40:24 PM] [InsteonLocal] >>> New target state is false (Open)
[7/20/2024, 8:40:45 PM] [InsteonLocal] Setting Garage door relay to 0
[7/20/2024, 8:40:45 PM] [InsteonLocal] >>> New target state is false (Open)
[7/20/2024, 8:42:44 PM] [InsteonLocal] Polling status for Garage door...
[7/20/2024, 8:42:44 PM] [InsteonLocal] Getting sensor state for Garage door’

@languy99 languy99 reopened this Jul 21, 2024
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