Closed pedroserano closed 7 years ago
i tried to merge your changes into my fork and i get this error when i try and start homebridge. My fork is Sean9keenan base untouched.
[2/27/2017, 3:23:23 PM] [Big Ass Fan] No light exists for: Haiku Fan Light /home/pi/.nvm/versions/node/v6.9.5/lib/node_modules/homebridge-bigAssFans/node_modules/BigAssFansAPI/BigAssApi.js:220 } while (this.updateCallbacks[name][possibleKey] != undefined); ^
TypeError: Cannot read property '0.9596669043392851' of undefined
at BigAssProperty.
Not exactly sure but double check the BigAssAPI.js is using the version that uses the variable "sensor" for the occupancy state
Yeah - even though I merged that commit into master - I forgot to update NPM.
I just updated the NPM package on the BigAssFanAPI though - so it should now be version 1.1.1
All good now. I see my two occupancy sensors now! pretty cool.
Occupancy sensor finally works!