Giter VIP home page Giter VIP logo

Comments (14)

donavanbecker avatar donavanbecker commented on July 30, 2024

@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.

smartmatic avatar smartmatic commented on July 30, 2024

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.

donavanbecker avatar donavanbecker commented on July 30, 2024

@smartmatic Thanks this helps. I will look into this.

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on July 30, 2024

@smartmatic , can you try Beta, and get me the log that will output in yellow when you make a change in HomeKit?:

npm version

Click here to find out how to install Beta

from homebridge-switchbot.

smartmatic avatar smartmatic commented on July 30, 2024

@smartmatic , can you try Beta, and get me the log that will output in yellow when you make a change in HomeKit?:

npm version

Click here to find out how to install Beta

Thank you! I think i can test it today and send you feedback as soon as possible.

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on July 30, 2024

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.

smartmatic avatar smartmatic commented on July 30, 2024

Is SwitchBot down?? I am not able to get my devices through token method.

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on July 30, 2024

@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.

donavanbecker avatar donavanbecker commented on July 30, 2024

Version 1.2.0 has been released, Please update me on this, and if it has been resolved with this version.

from homebridge-switchbot.

smartmatic avatar smartmatic commented on July 30, 2024

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.

Bulb_01 - 1

Bulb_02 - 1

[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.

donavanbecker avatar donavanbecker commented on July 30, 2024

@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.

npm version

Click here to find out how to install Beta

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on July 30, 2024

@smartmatic this should actually be fixed with v1.3.0

from homebridge-switchbot.

smartmatic avatar smartmatic commented on July 30, 2024

@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.

donavanbecker avatar donavanbecker commented on July 30, 2024

@smartmatic You could try changing the push rate of the plugin and see if that helps.

from homebridge-switchbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.