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.
How's the vaca?
Managed to have a peek at the log?
When I grep only lines of interest, I get:

22:37:53.871 T:2724   DEBUG: YEEMEE >> PLAYBACK >>PLAYING<<
22:37:53.872 T:2724   ERROR: EXCEPTION: Unknown addon id 'screensaver.video'.
22:37:53.902 T:3612   ERROR: Previous line repeats 1 times.
22:37:55.907 T:2724   DEBUG: YEEMEE >> LUMIFACTOR IS 100
22:38:00.743 T:2724   DEBUG: YEEMEE >> PLAYBACK >>STOPPED<<
22:38:00.744 T:2724   ERROR: EXCEPTION: Unknown addon id 'screensaver.video'.
22:38:00.751 T:4100   ERROR: Previous line repeats 1 times.
22:38:16.373 T:2724   DEBUG: YEEMEE >> OFF AT END >> ACTIVATION TIME: 0
22:38:16.373 T:2724   DEBUG: YEEMEE >> OFF AT END >> TURNING OFF BULB 192.168.1.231
22:38:16.380 T:2724   DEBUG: YEEMEE >> 192.168.1.231: STOP CF RESULT >> ok
22:38:16.688 T:2724   DEBUG: YEEMEE >> 192.168.1.231: TURN OFF RESULT >> ok
22:38:16.688 T:2724   DEBUG: YEEMEE >> OFF AT END >> TURNING OFF BULB 192.168.1.235
22:38:16.707 T:2724   DEBUG: YEEMEE >> 192.168.1.235: STOP CF RESULT >> ok
22:38:17.015 T:2724   DEBUG: YEEMEE >> 192.168.1.235: TURN OFF RESULT >> ok
22:38:17.015 T:2724   DEBUG: YEEMEE >> EXIT

I see nothing wrong....
I'm back but I have a lot of work at work Smile

Again, when I filter only lines of interest (errors and YeeMee) nothing special:
Quote:00:17:23.984 T:196791878896   DEBUG: YEEMEE >> INIT BULB NUM: 1, IP ADDR: 192.168.1.80, MODEL: stripe
00:17:23.985 T:196791878896   DEBUG: YEEMEE >> NUMBER OF ACTIVE BULBS >> 1
00:17:23.985 T:196791878896   DEBUG: YEEMEE >> Number           Act Int Color   Eff Duration
00:17:23.985 T:196791878896   DEBUG: YEEMEE >> BULB 0 PLAY     :   0  20 #BA2B2B   0  400
00:17:23.985 T:196791878896   DEBUG: YEEMEE >> BULB 0 STOP     :   0  20 #BA2B2B   0  400
00:17:23.985 T:196791878896   DEBUG: YEEMEE >> BULB 0 PAUSE    :   0  20 #BA2B2B   0  400
00:17:23.985 T:196791878896   DEBUG: YEEMEE >> BULB 0 AMBI     : 1 BIAS: 0
00:17:23.985 T:196791878896   DEBUG: YEEMEE >> NUMBER OF AMBI BULBS >> 1
00:17:23.986 T:196791878896   DEBUG: YEEMEE >> NUMBER OF CONTROLLERS >> 0
00:17:24.564 T:196829107440   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://www.lyngsat-logo.com/hires/rr/rt_america.png
00:17:25.029 T:196830143728   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
00:17:25.029 T:196830143728   ERROR: CCurlFile::Open failed with code 0 for http://sceper.ws/feed
00:17:29.289 T:196791878896   DEBUG: YEEMEE >> PLAYBACK >>PLAYING<<
00:17:29.290 T:196791878896   ERROR: EXCEPTION: Unknown addon id 'screensaver.video'.
00:17:29.290 T:196791878896   DEBUG: YEEMEE >> ACTIVATION TIME ON/OFF: 0
00:17:29.307 T:196935271664   DEBUG: YEEMEE >> SERVER >> 192.168.1.64 WAITING FOR CONNECTION...
00:17:29.314 T:196791878896   DEBUG: YEEMEE >> MESSAGE TO 192.168.1.80: {u'params': [u'power', u'music_on'], u'id': 1, u'method': u'get_prop'}
00:17:29.322 T:196917314800   DEBUG: YEEMEE >> LUMIFACTOR IS 100
00:17:29.586 T:196791878896   DEBUG: YEEMEE >> RESPONSE FROM 192.168.1.80: off, 0
00:17:29.586 T:196791878896   DEBUG: YEEMEE >> MESSAGE TO 192.168.1.80: {u'params': [u'on', u'smooth', 200], u'id': 1, u'method': u'set_power'}
00:17:29.610 T:196791878896   DEBUG: YEEMEE >> RESPONSE FROM 192.168.1.80: ok,
00:17:29.721 T:196791878896   DEBUG: YEEMEE >> MESSAGE TO 192.168.1.80: {u'params': [1, u'192.168.1.64', 55440], u'id': 1, u'method': u'set_music'}
00:17:29.755 T:196791878896   DEBUG: YEEMEE >> RESPONSE FROM 192.168.1.80: ok,
00:17:29.756 T:196935271664   DEBUG: YEEMEE >> SERVER >> CONNECTION FROM: ('192.168.1.80', 49166) ACCEPTED
00:17:29.756 T:196947789040   DEBUG: YEEMEE >> SERVER >> CONNECTION OPEN FOR ('192.168.1.80', 49166)
00:17:29.756 T:196947789040   DEBUG: YEEMEE >> SERVER >> LUMIFACTOR IS 100
00:17:32.033 T:196830143728   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
00:17:32.033 T:196830143728   ERROR: CCurlFile::Open failed with code 0 for http://sceper.ws/feed
00:17:39.037 T:196830143728   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
00:17:39.037 T:196830143728   ERROR: CCurlFile::Open failed with code 0 for http://sceper.ws/feed
00:17:39.037 T:196830143728   ERROR: Unable to obtain rss feed: http://sceper.ws/feed
00:18:24.901 T:196791878896   DEBUG: YEEMEE >> PLAYBACK >>STOPPED<<
00:18:24.926 T:196791878896   ERROR: EXCEPTION: Unknown addon id 'screensaver.video'.
00:18:24.926 T:196791878896   DEBUG: YEEMEE >> ACTIVATION TIME ON/OFF: 0
00:18:24.926 T:196947789040   DEBUG: YEEMEE >> SERVER >> CONNECTION CLOSED FOR 192.168.1.80
00:18:24.928 T:196935271664   DEBUG: YEEMEE >> SERVER >> CONNECTION FROM: ('192.168.1.64', 51647) ACCEPTED
00:18:24.929 T:196791878896   DEBUG: YEEMEE >> SERVER >> STOP SERVER EXCEPTION (THIS IS EXPECTED AND OK): [Errno 9] Bad file descriptor
00:18:24.930 T:196935271664   DEBUG: YEEMEE >> SERVER >> END
00:18:24.936 T:196732986608   DEBUG: YEEMEE >> SERVER >> NO BULB, CONNECTION FROM ('192.168.1.64', 51647), TERMINATING HANDLER
00:18:25.128 T:196947789040   DEBUG: YEEMEE >> MESSAGE TO 192.168.1.80: {u'params': [u'power', u'music_on'], u'id': 1, u'method': u'get_prop'}
00:18:25.134 T:196947789040   DEBUG: YEEMEE >> RESPONSE FROM 192.168.1.80: on, 0
00:18:25.235 T:196947789040   DEBUG: YEEMEE >> MESSAGE TO 192.168.1.80: {u'params': [u'off', u'smooth', 500], u'id': 1, u'method': u'set_power'}
00:18:25.246 T:196947789040   DEBUG: YEEMEE >> RESPONSE FROM 192.168.1.80: ok,
00:18:29.855 T:196782023920   ERROR: DoWork - Direct texture file loading failed for androidapp://sources/apps/com.plexapp.android.png

As you can see, It starts the server, turns on the bulb, sets music mode and connects.... and you can see responses from the bulb that everything is ok...
(2018-06-25, 10:26)TeDeV Wrote: [ -> ]another weird thing is that....
i am using a url controller to turn my smart plug off when the movie starts and the turn ambilight on.
 Can you try without the URL control? Does it work then? Just delete the IP adress of the controller.
can you confirm me if your addon also works with the yeelight Light Strip Plus version?
the difference between them is that the yeelight PLUS can be increased up to 10 meters

https://pt.aliexpress.com/item/2018-Mais...2e0eTPQq21
I know the difference but don't know the ID Smile If it has the same ID, it should work.
just confirm one thing for me.
if I buy two 2m RGB Yeelight they work together at Yeemee?
They should. Even new extendeble should work, if it has different ID than the old one (and there's no reason it should, since it is only longer and has no new functionality) it would be easy to make it work, just add the new ID in my addon (couple lines of code). But hard to tell if no one has tried it yet.
no. no it doesn't.

i am running Kodi 18 with GRID skin.
i turned the urls off and still the same thing.

the addon is a hit or miss (usually a miss)

most of the times if you want it to make it work you must choose a movie from the main menu where it shows the recent movies. it usually works there but not always.
if i go in the movies menu and select the movie from there! 7/10 it doesn't work. it's like your plugin doesn't understand that a movie started (only with the bulbs. the url controllers always work)
and i guess that it is not your fault exactly because i know that the addon used to work fine. maybe something was changed in Kodi?

and i don't know if you have any idea but that red color is killing me. for example... if you start a movie where the UNIVERSAL logo with the earth shows up..... you will see a red color somewhere. (where it shouldn't)
keep in mind that i have 2 bulbs behind my tv set to left and right at 1/2.
Aha, maybe, Kodi 18 is still alpha/beta so it was never tested.... but the log showed everything OK.... strange. I'm still on kodi 17.6

Can you try debug capture and get the images? We'll see if the images containg RED... if they do - it is a problem with kodi...

Also, you can try 17.6
well i don't know how easy it is to try 17.6 since i don't want to remove my kodi. i will try to keep a backup.

as for the images, can you please guide me how to get the pictures you want for the debug?
See the 1st post in this thread, it is explained there.
@"DaLanik" 

Thank you for the addon. Iam using it for a long time.

Yesterday i switch to LibreELEC (Leia) v8.90.003 ALPHA

The Addon is still working fine except the time frame. I try both manually and automatic. But both do not function. The Strip lights up at every time of day
OK, could you turn on debugging and post the whole log when it does that?
anyone using the addon with kodi 18?

i can't figure out why it doesn't work 80% of the times and 20% it works.
i am trying to figure it out but nothing.

i am using the "START" testing method in the addon and the bulbs are not working.
i am then testing each bulb separately and it works through the plugin.

this is so weird. most of the times i have to close kodi and start it again in order for it to work.
another weird thing is that sometimes, if i stop a movie and the addon was working.... kodi crashes.

i can't place my finger on it