Comments (14)
@smartmatic do it works, but doesn't do color or dimming?
can you enable device logs and post them? So I can see more details?
from homebridge-switchbot.
I had some trouble with my Homebridge environment and set up a new one. These running now with Node v16.13.0 and NPM v8.1.0. The other settings are still the same as mentioned in my initial post.
Here is now the device Log for the Bulb.
homebridge.log-3.txt
Although the log sends a success message neither the brighness nor the color is changing.
Hope the log helps?
from homebridge-switchbot.
@smartmatic Thanks this helps. I will look into this.
from homebridge-switchbot.
@smartmatic , can you try Beta, and get me the log that will output in yellow when you make a change in HomeKit?:
Click here to find out how to install Beta
from homebridge-switchbot.
@smartmatic , can you try Beta, and get me the log that will output in yellow when you make a change in HomeKit?:
Thank you! I think i can test it today and send you feedback as soon as possible.
from homebridge-switchbot.
Thank you! I think i can test it today and send you feedback as soon as possible.
sounds good! it will actually be beta.11
now.
from homebridge-switchbot.
Is SwitchBot down?? I am not able to get my devices through token method.
from homebridge-switchbot.
@smartmatic, not that I am aware of. I just pushed another beta that actually may make everything work. beta.13
if you are still having issues, send me logs
from homebridge-switchbot.
Version 1.2.0 has been released, Please update me on this, and if it has been resolved with this version.
from homebridge-switchbot.
I can see now the color picker in Home App but control the bulb does not work propperly. I could switch on the bulb but now the bulb stucks. The device does no longer react to any other commands.
[11/20/2021, 12:48:47 PM] [SwitchBot] Color Bulb: Color Bulb On: true
[11/20/2021, 12:48:47 PM] [SwitchBot] Color Bulb: Color Bulb Brightness: 100
[11/20/2021, 12:48:47 PM] [SwitchBot] Color Bulb: Color Bulb color: "0:0:0"
[11/20/2021, 12:48:47 PM] [SwitchBot] Color Bulb: Color Bulb red: "0"
[11/20/2021, 12:48:47 PM] [SwitchBot] Color Bulb: Color Bulb green: "0"
[11/20/2021, 12:48:47 PM] [SwitchBot] Color Bulb: Color Bulb blue: "0"
[11/20/2021, 12:48:47 PM] [SwitchBot] Color Bulb: Color Bulb hs: [0,0]
[11/20/2021, 12:48:47 PM] [SwitchBot] Color Bulb: Color Bulb Hue: 0
[11/20/2021, 12:48:47 PM] [SwitchBot] Color Bulb: Color Bulb Saturation: 0
[11/20/2021, 12:48:47 PM] [@switchbot/homebridge-switchbot] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 154 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[11/20/2021, 2:37:47 PM] [SwitchBot] Color Bulb: Color Bulb Sending request to SwitchBot API. command: setColorTemperature, parameter: {2146}, commandType: command
[11/20/2021, 2:37:48 PM] [SwitchBot] Color Bulb: Color Bulb Device internal error due to device states not synchronized with server, Or command: {"statusCode":190,"body":{},"message":"ExpressionAttributeValues contains invalid value: The parameter cannot be converted to a numeric value: NaN for key :dataItem"} format is invalid
[11/20/2021, 2:37:48 PM] [SwitchBot] 0
[11/20/2021, 2:37:48 PM] [SwitchBot] 0
[11/20/2021, 2:37:48 PM] [SwitchBot] Color Bulb: Color Bulb rgb: [255,204,204]
[11/20/2021, 2:37:48 PM] [SwitchBot] Color Bulb: Color Bulb Sending request to SwitchBot API. command: setColor, parameter: {255}:{204}:{204}, commandType: command
[11/20/2021, 2:37:59 PM] [SwitchBot] Color Bulb: Color Bulb On: true
[11/20/2021, 2:37:59 PM] [SwitchBot] Color Bulb: Color Bulb Brightness: 100
[11/20/2021, 2:37:59 PM] [SwitchBot] Color Bulb: Color Bulb color: "0:0:0"
[11/20/2021, 2:37:59 PM] [SwitchBot] Color Bulb: Color Bulb red: "0"
[11/20/2021, 2:37:59 PM] [SwitchBot] Color Bulb: Color Bulb green: "0"
[11/20/2021, 2:37:59 PM] [SwitchBot] Color Bulb: Color Bulb blue: "0"
[11/20/2021, 2:37:59 PM] [SwitchBot] Color Bulb: Color Bulb hs: [0,0]
[11/20/2021, 2:37:59 PM] [SwitchBot] Color Bulb: Color Bulb Hue: 0
[11/20/2021, 2:37:59 PM] [SwitchBot] Color Bulb: Color Bulb Saturation: 0
[11/20/2021, 2:37:59 PM] [@switchbot/homebridge-switchbot] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 466 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[11/20/2021, 2:38:05 PM] [SwitchBot] Color Bulb: Color Bulb Sending request to SwitchBot API. command: turnOn, parameter: default, commandType: command
[11/20/2021, 2:38:06 PM] [SwitchBot] Color Bulb: Color Bulb Sending request to SwitchBot API. command: setBrightness, parameter: {100}, commandType: command
[11/20/2021, 2:38:06 PM] [SwitchBot] Color Bulb: Color Bulb Device internal error due to device states not synchronized with server, Or command: {"statusCode":190,"body":{},"message":"ExpressionAttributeValues contains invalid value: The parameter cannot be converted to a numeric value: NaN for key :dataItem"} format is invalid
[11/20/2021, 2:38:06 PM] [SwitchBot] Color Bulb: Color Bulb Sending request to SwitchBot API. command: setColorTemperature, parameter: {2146}, commandType: command
[11/20/2021, 2:38:07 PM] [SwitchBot] Color Bulb: Color Bulb Device internal error due to device states not synchronized with server, Or command: {"statusCode":190,"body":{},"message":"ExpressionAttributeValues contains invalid value: The parameter cannot be converted to a numeric value: NaN for key :dataItem"} format is invalid
[11/20/2021, 2:38:07 PM] [SwitchBot] 199
[11/20/2021, 2:38:07 PM] [SwitchBot] 83
[11/20/2021, 2:38:07 PM] [SwitchBot] Color Bulb: Color Bulb rgb: [43,188,255]
[11/20/2021, 2:38:07 PM] [SwitchBot] Color Bulb: Color Bulb Sending request to SwitchBot API. command: setColor, parameter: {43}:{188}:{255}, commandType: command
Is node.js. 14.18.1 now really a prerequisite for version 1.2.0?
I still have 14.18.0 installed
from homebridge-switchbot.
@smartmatic, finally got my hands on a lightbulb and I have the latest beta closer to a finished product. Still need to tweak some things but you shouldn't be receiving anymore errors.
Click here to find out how to install Beta
from homebridge-switchbot.
@smartmatic this should actually be fixed with v1.3.0
from homebridge-switchbot.
@smartmatic this should actually be fixed with v1.3.0
@donavanbecker I can confirm that the Bulb is now working as expected. I am able to change the color with Home App.
Only thing i observed is that the color should not change to fast. Then it looks like that the API is not able to handle the commands in the right time. Then sometimes the color don't change or it takes a while.
However thank you very much, great work! I really like that Plugin and really appreciate your effort you spend to optimize it!
from homebridge-switchbot.
@smartmatic You could try changing the push rate of the plugin and see if that helps.
from homebridge-switchbot.
Related Issues (20)
- Feature Request: S10 HOT 18
- Feature Request: K10+ HOT 4
- Question: Why do I see this in the log every time the plugin runs a scan? HOT 3
- Support Request: No volume control for IR speakers HOT 3
- Bug: Unknown statusCode HOT 3
- Bug: Hub 2: Hub 2 F0 Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500 HOT 5
- Bug: HOT 2
- Bug: cannot upgrade beyond v2.13.1 HOT 2
- Bug: v3.5.0-beta crashes on restart HOT 30
- Feature Request: Add Troubleshooting in docs HOT 5
- Feature Request: Customised Mode for Bot HOT 3
- Bug: SwitchBot not working with BLE and keep rebooting the child bridge HOT 16
- Bug: Switchbot accessory status (Garage Door) stuck at "Opening" HOT 5
- Bug: Request to turn off bot is being sent as turn on request. HOT 3
- Bug: plugin loses humidity values for IO-Sensor during Parsing HOT 9
- Bug: Bug: latest update has broken Custom IR devices HOT 11
- Bug: Homebridge shuts down. If there is a ceiling light. HOT 5
- Bug: IR Air Conditioning will not turn on anymore, but off still works HOT 7
- Bug: switch lock not working throgh homebridge after 3.5 update HOT 4
- libudev.h: No such file or directory HOT 2
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-switchbot.