Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homebridge not working with Mi-Philips-Light #19

Open
SolarAngel opened this issue Feb 15, 2018 · 8 comments
Open

Homebridge not working with Mi-Philips-Light #19

SolarAngel opened this issue Feb 15, 2018 · 8 comments

Comments

@SolarAngel
Copy link

[2018-2-15 21:39:34] [MiPhilipsLightPlatform] [MiPhilipsLightPlatform][ERROR]MiPhilipsSmartBulb - Light - setBrightness Error: Error: Method not found.
[2018-2-15 21:39:34] [MiPhilipsLightPlatform] [MiPhilipsLightPlatform][ERROR]MiPhilipsSmartBulb - Light - setPower Error: Error: Method not found.

Hello!
Added a smartbulb to Homebridge. Apple Homekit sees the device but when trying to use no action is being taken; error messages shown above. Some help please :+1 :)

@SolarAngel
Copy link
Author

Anyone?

@patrick7659
Copy link

I encountered the similar issue.
[2018-3-4 19:58:58] [MiPhilipsLightPlatform] [MiPhilipsLightPlatform][ERROR]MiPhilipsSmartBulb - Light - getColorTemperature Error: Error: Call to device timed out
[2018-3-4 19:58:58] [MiPhilipsLightPlatform] [MiPhilipsLightPlatform][ERROR]MiPhilipsSmartBulb - Light - getBrightness Error: Error: Call to device timed out
[2018-3-4 19:58:58] [MiPhilipsLightPlatform] [MiPhilipsLightPlatform][ERROR]MiPhilipsSmartBulb - Light - getPower Error: Error: Call to device timed out

@phenomeus
Copy link

sadly I have the same issues. @YinHangCode can you have a look please?

Mär 16 23:11:21 raspberrypi homebridge[17266]: [2018-3-16 23:11:21] [MiPhilipsLightPlatform] [MiPhilipsLightPlatform][ERROR]MiPhilipsCeilingLamp - getBrightness Error: Error: Call to device timed out
Mär 16 23:11:21 raspberrypi homebridge[17266]: [2018-3-16 23:11:21] [MiPhilipsLightPlatform] [MiPhilipsLightPlatform][ERROR]MiPhilipsCeilingLamp - getPower Error: Error: Call to device timed out
Mär 16 23:11:21 raspberrypi homebridge[17266]: [2018-3-16 23:11:21] [MiPhilipsLightPlatform] [MiPhilipsLightPlatform][ERROR]MiPhilipsCeilingLamp - getColorTemperature Error: Error: Call to device timed out

@phenomeus
Copy link

its strange that I can extract very long Tokens, longer than 32 characters

bildschirmfoto 2018-03-17 um 08 58 27

@phenomeus
Copy link

I think its timing out because of the wrong token size?

@SolarAngel
Copy link
Author

Well, I tried it with for sure a 32 characters token size but still the same unfortunately :(

@phenomeus
Copy link

phenomeus commented Mar 17, 2018

Fixed it. It’s working right now.

iOS stores the token encrypted as 96 characters.
Decrypted are 32 what we need.

So you have another step before it will work: decrypt the token

See under: non jailbroken iOS users
https://github.com/jghaanstra/com.xiaomi-miio/blob/master/docs/obtain_token.md

And on this page you can decrypt it for free: http://aes.online-domain-tools.com

And you have to look in the right corner, the two lines are the decrypted 32 Charakters token:
https://forum.smartapfel.de/attachment/573-token-decode-png/

This was referenced Mar 17, 2018
@snowman-repos
Copy link

I have the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants