• 1
  • 55
  • 56
  • 57(current)
  • 58
  • 59
  • 67
Broken YeeMee - (Control Yeelight Smart Bulb + Ambi from Kodi)
(2019-01-29, 23:44)DaLanik Wrote: If you're on Leia (18.0) and your settings don't work as they should... they don't work for me either! Smile

https://forum.kodi.tv/showthread.php?tid=321370
 Right got it, Sad

Have any of the Kodi devs given any time frame on this?

Also to the person that said its still in beta, its the release that you get when you download Kodi from the Android store.
Reply
Everything I know is in the thread linked in my post.... Sad
Reply
Just updated to 18.1 and it still doesn't work.... Sad
Reply
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?
Reply
Yes, either use 17.4 or write to Kodi team to fix this Smile
Reply
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.
Reply
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?
Reply
(2019-03-01, 20:20)Mar.co Wrote: 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?
 I will try modifying the settings file asap (probably in this week). Any examples to use as blueprints?
Reply
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.
Reply
Do you have developer mode on? HArdware acceleration on your box off?
Reply
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.
Reply
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>
Reply
@"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 ;-)
Reply
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.
Reply
@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
Reply
  • 1
  • 55
  • 56
  • 57(current)
  • 58
  • 59
  • 67

Logout Mark Read Team Forum Stats Members Help
YeeMee - (Control Yeelight Smart Bulb + Ambi from Kodi)2