Comments (5)
The problem is this line
homebridge-bigAssFans/index.js
Lines 180 to 184 in 4807275
A plugin MUST NOT fire the change
event manually. This is NOT public API.
For such scenarios where you want to push an updated value to HomeKit, use characteristic.updateValue(...).
from homebridge-bigassfans.
I saw the same issue, thanks for reporting
from homebridge-bigassfans.
The problem is this line
homebridge-bigAssFans/index.js
Lines 180 to 184 in 4807275
.
A plugin MUST NOT fire thechange
event manually. This is NOT public API.
For such scenarios where you want to push an updated value to HomeKit, use characteristic.updateValue(...).
Understand the plugin is calling a private event here. Is there a way to mitigate where this does not cause a crash of Homebridge, or has the private event changed since prior to 1.3 and now the crash is because it's being called incorrectly despite never being intended to being called by a plugin in the first place?
Does anyone know if this plugin is actively maintained? I see a number of outstanding PR's for the motion sensor and no recent commits.
from homebridge-bigassfans.
[...] has the private event changed since prior to 1.3 and now the crash is because it's being called incorrectly despite never being intended to being called by a plugin in the first place?
That is exactly what is happening. I see if I may be able to mitigate that.
EDIT: Indeed latest beta should not crash anymore, as of this.
However the plugin MUST still change that, as emitting a change
event does not properly persist the value in the characteristic cache.
from homebridge-bigassfans.
@Supereg confirmed beta 41 does not crash. thank you.
from homebridge-bigassfans.
Related Issues (20)
- Array Handling Error
- Fan w/out Wall Controller HOT 1
- expose fan smart mode as HomeKit thermostat
- Haiku lights HOT 1
- homebridge crashed with this error
- lights unintentionally turn on to full brightness instead of partial brightness
- iOS 13 changed fan and light to one object HOT 1
- Enabling this platform makes homekit stall and fail to update all other devices HOT 3
- Haiku fans show up in Lutron app all in the same room duplicated HOT 3
- [FEATURE] Eve App 4.2 Issue with homebridge-bigAssFans
- [email protected] - Plugin 'homebridge-bigAssFans' tried to register with an incorrect plugin identifier: 'homebridge-bigAssFan'. Please report this to the developer! HOT 1
- Issue with homebridge >= 1.0.0 HOT 1
- i6 Fan compatibility HOT 2
- Error after configuration and installation of plugin in Homebridge
- Occupancy Sensor - Always triggered HOT 5
- Last fan speed and light level not saved HOT 1
- Plugin crashes Homebridge on launch HOT 2
- Duplicate Serial Numbers for all fans
- Latest firmware update to haiku fans broke compatibility HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-bigassfans.