Posts: 74
Joined: Jun 2008
Reputation:
0
2015-01-11, 15:26
(This post was last modified: 2015-01-11, 15:27 by IIINeOIIINL.)
I get the following error in OSX:
Error Type: <type 'exceptions.Exception'>
Error Contents: Handshake timed out.
Traceback (most recent call last):
File "/Users/Username/Library/Application Support/Kodi/addons/service.YazeedKodiLIFX/service.py", line 11, in <module>
lights = lifx.Lifx()
File "/Users/Username/Library/Application Support/Kodi/addons/service.YazeedKodiLIFX/lifx/lifx.py", line 11, in __init__
self.network = Network()
File "/Users/Username/Library/Application Support/Kodi/addons/service.YazeedKodiLIFX/lifx/network.py", line 27, in __init__
self.connect()
File "/Users/Username/Library/Application Support/Kodi/addons/service.YazeedKodiLIFX/lifx/network.py", line 57, in connect
raise Exception('Handshake timed out.')
Exception: Handshake timed out.
Doesn't seem to connect, anyway to fix this?
Posts: 128
Joined: Sep 2013
Reputation:
0
gshodg
Senior Member
Posts: 128
2015-01-21, 00:15
(This post was last modified: 2015-01-21, 00:22 by gshodg.)
I bought my first LIFX bulb today, installed your add-on and it worked as described. Well done and thanks for sharing.
I then updated the firmware on the bulb (from v1.1 to v1.5) and the add-on no longer works. Hopefully this helps to diagnose what needs to be amended. Good luck, can't wait to get it integrated again :-)
Main TV: LibreELEC 7.0.1 / Kodi 16.1, with Xonfluence skin on Asus Chromebox (1.4GHz, 4Gb RAM, 64Gb SSD) + DVB-S and DVB-T with TVH.
Plus testing v17 nighlies on Macbook, and using Estuary skin.
Posts: 1
Joined: Jan 2015
Reputation:
0
Works with Lifx 1.1 and not 1.5 since I have a bulb that wont update I found that out. Don't know how to enable debugging
Posts: 7
Joined: Nov 2011
Reputation:
2
Hiya Sultan et Al..
As one of the kickstarters for lifx i've been wanting to do this for 2 years but never had the coding prowess to figure it out! Very happy to have found this!
Only thing is I have 12 Lifx bulbs, but only one seems to react to XBMC integration! Is there a config somewhere that I am missing?
Thanks!
Posts: 63
Joined: Mar 2014
Reputation:
1
Awesome..
I only just found this but I've not actually tested it yet (not at home).. however just having a quick look into the code.. is there a way of finding out the "name" of the group of bulbs you want it to effect.. and possibly add some user defined settings and such so the lights can be customised not just hard coded.
Mostly I don't want ALL the lights to be effected in the whole house I just want the living room lights to dim and or turn back on etc. Could kinda be sucky for everyone else in the house.
Posts: 63
Joined: Mar 2014
Reputation:
1
Just got home and tried to test it.. and yes I'm having the same issue.. only one light is effected when you press play on Kodi and lucky me it's out in the other room... so kinda un-helpfull lol.
Posts: 63
Joined: Mar 2014
Reputation:
1
Understand.. can you think of any way to improve / correct the script? -- besides waiting 12 months for LIFX to get a new API out?
Posts: 307
Joined: Feb 2015
Reputation:
3
This is great, but I am not a fan of the bulb 'states'.
The bulb returns an ugly milky orange colour and nowhere near full brightness for me, and I would prefer a very dim state rather than off for when the movie is playing.
Is there a guide on what to edit in the service.py file to set the bulb 'states' to your own preference?
Posts: 63
Joined: Mar 2014
Reputation:
1
For anyone interested.. I'm rewriting the code fot he new API which is seeming to work pretty well.. Hitting a few snags.. but I'll put something up soon.