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

Assigned Functions Do Not Work #14

Open
lswee opened this issue Aug 4, 2018 · 5 comments
Open

Assigned Functions Do Not Work #14

lswee opened this issue Aug 4, 2018 · 5 comments

Comments

@lswee
Copy link

lswee commented Aug 4, 2018

Hey, I've gone through the ringer today re-setting up my homebridge from scratch. Everything works as it used to... except my Flics.

The Flics are in my Home app.

When I click them, home bridge knows that's happened:
[2018-8-4 20:20:59] [Flic] 80e4da73b7f6 - ButtonSingleClick
and within the Home app it pulses to show that it's been clicked.

However, even though an action has been assigned to the single click, it doesn't do that action.

If I go into the settings for the single click/action and tap 'test action' the light turns on as expected.

Where could the issue be?

@lswee
Copy link
Author

lswee commented Aug 4, 2018

I mentioned in the other thread that Hesperus says it "times out" when I add a new button, but from that point everything works (registered by homebridge and within Home app) except for it's assigned function.

Could the timeout thing be causing an issue?

Here's the log:
[2018-8-4 20:46:27] [Flic] Controller [localhost:5551] - Scanner removed
[2018-8-4 20:46:27] [Flic] Found a public button. Now connecting...
[2018-8-4 20:46:27] [Flic] Found: Flic 73b7f3 (80e4da73b7f3)
[2018-8-4 20:46:27] [Flic] Controller [localhost:5551] - Scanner failed: Timed out
[2018-8-4 20:46:28] [Flic] 80e4da73b7f3 - Disconnected TimedOut
[2018-8-4 20:46:28] [Flic] 80e4da73b7f3 - Disconnected TimedOut
fs.js:646
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^

Error: EACCES: permission denied, open '/home/pi/.homebridge/config.json'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.writeFileSync (fs.js:1299:33)
at Server._handleNewConfig (/usr/lib/node_modules/homebridge/lib/server.js:626:6)
at emitMany (events.js:147:13)
at BridgeSetupManager.emit (events.js:224:7)
at BridgeSetupManager. (/usr/lib/node_modules/homebridge/lib/bridgeSetupManager.js:83:12)
at emitMany (events.js:147:13)
at BridgeSetupSession.emit (events.js:224:7)
at BridgeSetupSession.pluginResponseHandler (/usr/lib/node_modules/homebridge/lib/bridgeSetupSession.js:98:10)
at FlicPlatform.configurationRequestHandler (/usr/lib/node_modules/homebridge-flic/index.js:294:17)

@lswee
Copy link
Author

lswee commented Aug 10, 2018

I managed to get this working in the end. I think it was a problem with the AppleTV not relaying the message, but I’m not sure...

@hellomarb
Copy link

I have the same issue. How you got this working?
Restarting Apple TV or the pi didn't help, but the actions are triggered in homebridge ...

@lswee
Copy link
Author

lswee commented Dec 15, 2018

I think I had to reset (more than restart) the AppleTV, which isn’t an ideal solution.

@hellomarb
Copy link

For all other searching this issue: it is homekit syncing on the other devices.
After 15 min I was able to control it over the home app.
Restarting the devices didn't triggered a sync, it took some time.

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