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

Timed pins are broken #1

rsg98 opened this Issue Dec 9, 2016 · 0 comments


None yet
1 participant

rsg98 commented Dec 9, 2016

If you set "duration" in the config file, it tries to pass an invalid value to pinAction and throws an error.

[12/9/2016, 12:38:19 AM] Homebridge is running on port 51826.
[12/9/2016, 12:38:23 AM] [GPIO2] Turning on pin #2
[12/9/2016, 12:38:27 AM] [GPIO2] Turning off pin #2
wpi.digitalWrite(, action);

Error: digitalWrite: IsInt32(arguments['state']) === false
at Error (native)
at GPIOAccessory.pinAction (/usr/lib/node_modules/homebridge-gpio-wpi/index.js:64:9)
at Timeout._onTimeout (/usr/lib/node_modules/homebridge-gpio-wpi/index.js:72:14)
at ontimeout (timers.js:365:14)
at tryOnTimeout (timers.js:237:5)
at Timer.listOnTimeout (timers.js:207:5)
pi@raspberrypi:~ $

@rsg98 rsg98 self-assigned this Dec 9, 2016

@rsg98 rsg98 closed this Dec 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment