Posts: 1,607
Joined: Apr 2016
Everything I know is in the thread linked in my post....
Posts: 1,607
Joined: Apr 2016
Just updated to 18.1 and it still doesn't work....
Posts: 3
Joined: Jan 2015
Reputation:
0
I have the same problem. Kodi 18 on RPi, the addon detects my bulb but there is no way to configure the play/pause/stop options or to test any functionality.
Any suggestions?
Posts: 1,607
Joined: Apr 2016
Yes, either use 17.4 or write to Kodi team to fix this
Posts: 82
Joined: Jan 2012
Reputation:
0
or use Kodi 18 beta before their official release where the plugin still worked which is what i am doing at the moment.
don't understand why the messed it up.
Posts: 1
Joined: Mar 2019
Reputation:
0
In the plugin folder there is the settings file. Is possible to modify with a text editor... it work but is really not user friendly!
A solution could be a GUI maybe in windows that can write this file, then we can manually overwrite in kodi, but really I don’t how to make a GUI.
Is there anyone who wants and has time to do it?
Posts: 3
Joined: Jan 2015
Reputation:
0
Ok, so i managed to add my bulb and now its turn green when a video is playing and off when its stops. In the settings.xml file I am unable to find any indication to color green as the default color is a tone of red (#BA2B2B). I have the same result when I have the Ambi option on.
Posts: 1,607
Joined: Apr 2016
Do you have developer mode on? HArdware acceleration on your box off?
Posts: 70
Joined: Sep 2014
Reputation:
2
Damn...
I've upgraded my configuration with Mi bulbs only to discover that your addon settings are broken with the Leia release...
I should have sticked with my fully functional Krypton build.
I know it's not your fault though, and Kodi devs don't seem to be really invested in that "problem"...
Hell, I'm a dev too, and even if it's a "hobby" for them, regressions should never be treated like if it is not a problem.
PS: I don't mind fidling with the settings.xml but I have some problems understanding the logic behind, would you mind giving some indications on how to modify it to make my bulb work ? (it's a color one)
With infos regarding that xml file I could probably even make an exe file to edit it easily.
Posts: 1,607
Joined: Apr 2016
It is pretty streightforward/ for each bulb there are setting same you have in Kodi settings:
<setting id="bulb_1">192.168.1.201</setting> ip adress
<setting id="bulb_1_ambipos">5</setting> position of ambi, left, right, top, etc
<setting id="bulb_1_bias" default="true">0</setting>
<setting id="bulb_1_model" default="true">color</setting> color is RGB bulb
<setting id="bulb_1_pause_action">2</setting> now actions for pause, play, stop
<setting id="bulb_1_pause_bg_action" default="true">0</setting>
<setting id="bulb_1_pause_bg_color" default="true">#BA2B2B</setting>
<setting id="bulb_1_pause_bg_duration">400</setting>
<setting id="bulb_1_pause_bg_effect" default="true">0</setting>
<setting id="bulb_1_pause_bg_intensity">20</setting>
<setting id="bulb_1_pause_color" default="true">#BA2B2B</setting> color
<setting id="bulb_1_pause_duration">400</setting> duration in ms
<setting id="bulb_1_pause_effect" default="true">0</setting> effect or not (immediately/fade)
<setting id="bulb_1_pause_intensity">20</setting>
<setting id="bulb_1_play_action">1</setting>
<setting id="bulb_1_play_bg_action" default="true">0</setting>
<setting id="bulb_1_play_bg_color" default="true">#BA2B2B</setting>
<setting id="bulb_1_play_bg_duration">400</setting>
<setting id="bulb_1_play_bg_effect" default="true">0</setting>
<setting id="bulb_1_play_bg_intensity">20</setting>
<setting id="bulb_1_play_color" default="true">#BA2B2B</setting>
<setting id="bulb_1_play_duration">400</setting>
<setting id="bulb_1_play_effect" default="true">0</setting>
<setting id="bulb_1_play_intensity">20</setting>
<setting id="bulb_1_saveroff_action" default="true">0</setting>
<setting id="bulb_1_saveroff_bg_action" default="true">0</setting>
<setting id="bulb_1_saveroff_bg_color" default="true">#BA2B2B</setting>
<setting id="bulb_1_saveroff_bg_duration">400</setting>
<setting id="bulb_1_saveroff_bg_effect" default="true">0</setting>
<setting id="bulb_1_saveroff_bg_intensity">20</setting>
<setting id="bulb_1_saveroff_color" default="true">#BA2B2B</setting>
<setting id="bulb_1_saveroff_duration">400</setting>
<setting id="bulb_1_saveroff_effect" default="true">0</setting>
<setting id="bulb_1_saveroff_intensity">20</setting>
<setting id="bulb_1_saveron_action" default="true">0</setting>
<setting id="bulb_1_saveron_bg_action" default="true">0</setting>
<setting id="bulb_1_saveron_bg_color" default="true">#BA2B2B</setting>
<setting id="bulb_1_saveron_bg_duration">400</setting>
<setting id="bulb_1_saveron_bg_effect" default="true">0</setting>
<setting id="bulb_1_saveron_bg_intensity">20</setting>
<setting id="bulb_1_saveron_color" default="true">#BA2B2B</setting>
<setting id="bulb_1_saveron_duration">400</setting>
<setting id="bulb_1_saveron_effect" default="true">0</setting>
<setting id="bulb_1_saveron_intensity">20</setting>
<setting id="bulb_1_stop_action">2</setting>
<setting id="bulb_1_stop_bg_action" default="true">0</setting>
<setting id="bulb_1_stop_bg_color" default="true">#BA2B2B</setting>
<setting id="bulb_1_stop_bg_duration">400</setting>
<setting id="bulb_1_stop_bg_effect" default="true">0</setting>
<setting id="bulb_1_stop_bg_intensity">20</setting>
<setting id="bulb_1_stop_color" default="true">#BA2B2B</setting>
<setting id="bulb_1_stop_duration">400</setting>
<setting id="bulb_1_stop_effect" default="true">0</setting>
<setting id="bulb_1_stop_intensity">20</setting>
Posts: 70
Joined: Sep 2014
Reputation:
2
@"DaLanik" Would you mind elaborating a bit on the values for the settings ?
First what is the difference between these :
<setting id="bulb_1_pause_action">2</setting>
<setting id="bulb_1_pause_bg_action">0</setting>
I suppose "bg" is somewhat related to background but what does that mean ?
Now for the "action" settings, I can see 0, 1 or 2, what are the actions related to these numbers ? (I would say 1 is light off, 2 is light on but...).
Also, is "intensity" related to brightness of the bulb ?
And finally, I saw in the addon description that there is an option to restore previous state of the bulb when kodi stops, where is it located in that file ?
Many thanks in advance for your answer ;-)
Posts: 1,607
Joined: Apr 2016
bg is for ceiling 650 which has background light.
play action 1 is off, 2 is on, 0 is don't do anything
intensity is brightness for selected action.
Posts: 8
Joined: Nov 2006
Reputation:
0
@DaLanik thank you for your great work.can you give me an option file where YeeMee would turn the light on blue (like in movie scene in Yeelight app) when the video starts and would return to the same state when the video stops.In my case YeeMee would turn off the light no matter if it was in the turned on mode or not.
Thank you