Kodi Community Forum

Full Version: YeeMee - (Control Yeelight Smart Bulb + Ambi from Kodi)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I I've turned off the Ambi function to try and as expected, the lamps stayed in white and no ambilight effects but it seems to be ok when I turn off YeeMee Service with YeeMee Ambi service On, the bulb I want it stays on does stays on.
Yes, that seems to be tha bug I mentioned that was already reported. I will try fixing it but right now I don't have much time...
excellent placement with the bulbs. can i ask what did you use to tire up the lights? i know that you are using the wall-mount holes to keep them there but what did you use ?

i might try to do the same when i finally get my bulb from stupid gearbest. this addon is really really great and dalanik has made a great effort but the algorithm needs a lot of improvement for the colors.
for example....
https://youtu.be/KsznVtHFWnc?t=176

the left bulb should have RED color instead of purple. and the bottom light strip should be blue. why in the world is it purple?
Thank you for your great work!

It would be great if you added the ability to use general purpose http lamps by adding to settings the http calls that should be called like:

color: http://mylamp/change?color=FF00FF
on/off: http://mylamp/on

With a lamp like AiLight and custom firmware, or with H801 or Magic Home LED controllers you can solve the problem with direct changes since the controllers implement RGB change with fade.
https://github.com/arendst/Sonoff-Tasmota

Moreover there is an effect on yeelight sdk for smooth transitions, do you already use it?
https://yeelight.readthedocs.io/en/stable/index.html
>>> bulb = Bulb("192.168.0.19", effect="smooth", duration=1000)

Do you plan opening the source of your plugin?
v3.42
- Option to turn off lights at Kodi exit
- Option for turn on lights at Kodi start to only turn on if in time-frame
- Option "Return to original state" on video stop
- Bug fix when Ambi and standard service used together - on stop event didn't work
- Couple of typos fixed

Available in the TEST REPO. I hope this finaly resolves the bug with the video stop Smile
(2017-10-10, 09:03)ageorgios Wrote: [ -> ]It would be great if you added the ability to use general purpose http lamps by adding to settings the http calls that should be called like:

color: http://mylamp/change?color=FF00FF
on/off: http://mylamp/on

With a lamp like AiLight and custom firmware, or with H801 or Magic Home LED controllers you can solve the problem with direct changes since the controllers implement RGB change with fade.
https://github.com/arendst/Sonoff-Tasmota

No, this would be too complex to support more than 1 type of bulb, best if each hw has it's own addon, someone that actually owns these bulbs Smile It'd be hard to test without the actual bulbs....

(2017-10-10, 09:03)ageorgios Wrote: [ -> ]Moreover there is an effect on yeelight sdk for smooth transitions, do you already use it?
https://yeelight.readthedocs.io/en/stable/index.html
>>> bulb = Bulb("192.168.0.19", effect="smooth", duration=1000)

Do you plan opening the source of your plugin?

There is option for smooth transitions, just take a look in the settings.
do you intend on open sourcing the project for different type of bulbs?
(2017-10-10, 11:34)ageorgios Wrote: [ -> ]do you intend on open sourcing the project for different type of bulbs?

All kodi addons are open source...
Hi DaLanik,
is it possible that ambi mode works WITH hardware acceleration on Android devicesĀ one day?
I have a xiaomi mi box tv and ambi mode works only without hardware acceleration, and without HA, movies are too much slow...
(2017-10-10, 15:39)stban1983 Wrote: [ -> ]Hi DaLanik,
is it possible that ambi mode works WITH hardware acceleration on Android devicesĀ one day?
I have a xiaomi mi box tv and ambi mode works only without hardware acceleration, and without HA, movies are too much slow...

It depends entirely on Kodi, this is not something I can change. I am using Kodi's built in function and it seems it doesn't work with accelleration.
Sometimes yeemee freeze at start :

https://pastebin.com/TK38xmz4

I am using 3.42 with Libreelec 8.1.2
(2017-10-12, 17:32)Purge Wrote: [ -> ]Sometimes yeemee freeze at start :

https://pastebin.com/TK38xmz4

I am using 3.42 with Libreelec 8.1.2

I can't see anything relating to YeeMee in log... there are lines:


Code:
DEBUG: YEEMEE >> STARTED VERSION 3.42 on Kodi 17.4
DEBUG: YEEMEE >> GOT CURRENT LAT-LON: 51.1803, 6.947
DEBUG: YEEMEE >> GOT TIMEZONE OFFSET: 2:00:00


And nothing relating YeeMee after that, not my debug output, nor anything from Kodi....
Yesterday i changed my skin (from Bello 6 to Aeon Nox)

After changing the skin Yeemee work like it should. Not a single freeze so far.
Strange
Maybe it is a skin + Yeemee problem ?
I will observe it a little bit longer.
Hi!

I have a problem. YeeMee works for me in PC, but it does not in my Philips android TV. The reason why is 'could not connect to repository' when trying to install addon form repository (btw. same error msg with others addons). Tried almost everything. Internet service provider is not blocking repository. But I did install one addon directly from .zip file (not repository from .zip, but addon directly (without connecting to repository)). So maybe you guys could help me and add YeeMee addon directly to .zip file? Would be graceful for doing that. Cheers!

P.S. Will be waiting for answer Smile
(2017-10-13, 18:38)g13drius Wrote: [ -> ]Hi!

I have a problem. YeeMee works for me in PC, but it does not in my Philips android TV. The reason why is 'could not connect to repository' when trying to install addon form repository (btw. same error msg with others addons). Tried almost everything. Internet service provider is not blocking repository. But I did install one addon directly from .zip file (not repository from .zip, but addon directly (without connecting to repository)). So maybe you guys could help me and add YeeMee addon directly to .zip file? Would be graceful for doing that. Cheers!

P.S. Will be waiting for answer Smile

http://kodi.lanik.org/_repo/service.yeem...ee-3.4.zip