Open dcaccount opened 6 years ago
That’s my fault - I haven’t published the latest changes in Git to NPM. I need to test and publish, but am severely limited for time at the moment.
If you pull the code directly from GitHub, the “type” config should work. On Thu, 24 May 2018 at 21:07, dcaccount notifications@github.com wrote:
Hello, I have tried to configure an input pin as MotionSensor. My config.json file looks like:
{ "type":"MotionSensor", "name" : "Input 1 - BCM 26", "pin" : 26, "enabled" : "true", "mode" : "in", "pull" : "off" }
Unfortunately it is always seen by HomeKit as contact sensor and not as motion sensor.
What am I doing wrong? How can I achieve this?
Please advise. Thanks, dan
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rsg98/homebridge-gpio-wpi2/issues/50, or mute the thread https://github.com/notifications/unsubscribe-auth/ARe_tdOkVfaYEhpwkTwHgk8aa224MzSnks5t1xLqgaJpZM4UM5td .
Thanks for replying.
I will wait for final tests!
Dan
Hello, When do you expect to publish lastest changes?
Ps, thanks for your great work! Dan
Latest version published as beta
on npm now...
npm i homebridge-gpio-wpi2@beta
Should get it installed for you. Apologies - I have very little time at the moment, so progress is slow. If people can confirm it's working for them, I'll move it from beta
to latest
.
Hi @rsg98 I have the same issue. I did try the latest changes (beta) but the only difference is that by default the sensor is now closed instead of open, but the type is still Contact Sensor even if the config file says "MotionSensor". Motion Sensor type does not show in the list of available type, see attached screenshot.
Thanks in advance for your help
Update...
ALL WORKING!!!
Hello, I have tried to configure an input pin as MotionSensor. My config.json file looks like:
{ "type":"MotionSensor", "name" : "Input 1 - BCM 26", "pin" : 26, "enabled" : "true", "mode" : "in", "pull" : "off" }
Unfortunately it is always seen by HomeKit as contact sensor and not as motion sensor.
What am I doing wrong? How can I achieve this?
Please advise. Thanks, dan