homebridge-goldair-fan's People
Forkers
gcordalishomebridge-goldair-fan's Issues
sample Config?
can you please give us a sample config.json
Unable to configure
There's no way to know what to config exactly. I've got my device ID & key but I'm unsure where I need to put this in my config JSON file.
Bugs / no response in home app
I've successfully added my fan & details into the config. I'm using the goldair sleepsmart pedestal fan (GCPF315).
The following code shows up when homebridge boots up:
(node:3988) UnhandledPromiseRejectionWarning: Error: resolveIds() timed out. Is the device powered on and the ID correct?
at C:\Users\Server\AppData\Roaming\npm\node_modules\homebridge-goldair-fan\node_modules\tuyapi\index.js:61:27
at Timeout._onTimeout (C:\Users\Server\AppData\Roaming\npm\node_modules\homebridge-goldair-fan\node_modules\p-timeout\index.js:19:13)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)
(node:3988) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:3988) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Also it often shows the following in the log files:
[6/26/2020, 11:26:48 AM] [GCPF315] Getting current light status...
[6/26/2020, 11:26:48 AM] [GCPF315] Getting current SwingMode...
[6/26/2020, 11:26:48 AM] [GCPF315] Getting current active state...
[6/26/2020, 11:26:48 AM] [GCPF315] Getting current rotation speed...
Add a refresh interval
Would it be possible to add a refresh interval to get the devices state? ie in homekit app, the device checks and updates its state every 5 seconds. Thanks for making this plugin, appreciate it.
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.