•   
  • 1
  • 44
  • 45
  • 46(current)
  • 47
  • 48
  • 52
  •   
Release -  YeeMee - (Control Yeelight Smart Bulb + Ambi from Kodi)
On the latest LibreElec an error, anything I'm doing wrong?

20:06:46.041 T:1598079904 WARNING: CPythonInvoker(23): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
20:06:46.848 T:1598079904   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'module' object has no attribute 'system'
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/service.yeemee/discover.py", line 17, in <module>
                                                from standalone import RepeatedTimer, OverlayText
                                              File "/storage/.kodi/addons/service.yeemee/standalone.py", line 17, in <module>
                                                import requests
                                              File "/storage/.kodi/addons/script.module.requests/lib/requests/__init__.py", line 97, in <module>
                                                from . import utils
                                              File "/storage/.kodi/addons/script.module.requests/lib/requests/utils.py", line 42, in <module>
                                                if platform.system() == 'Windows':
                                            AttributeError: 'module' object has no attribute 'system'
                                            -->End of Python script error report<--
Reply
Can you post the whole log?
Kodi addons: Lanik repo
Reply
https://paste.ubuntu.com/p/VSgFxbrjWW/
Reply
Thanks, but I don't think that debugging was turned on - In Settings -> System -> Logging, toggle the Enable debug logging setting.
Kodi addons: Lanik repo
Reply
Just did a clean install to check if the problem persists, it didn't, so it's time for a new Kodi install for me, no biggy. Tnx for the support.
Reply
OK, cool Smile because the error was inside the dependency and I am not sure I can do anything about it Smile
Kodi addons: Lanik repo
Reply
v4.5
- Added support for White Bulb 2nd gen (ct_bulb)
- Language file format related changes
Kodi addons: Lanik repo
Reply
there is a bug with the bulbs V2 RGB not always starting.
most of the times i have to start the movie then stop the movie and then start the movie again in order for the bulbs to work.

feature question....
since i am using openhab and it accepts json requests to interact with different things in the house.... is it possible that we could have some json controllers so that they can use post parameters?
Reply
I do not know the ID of the new V2 color bulbs....
Kodi addons: Lanik repo
Reply
The bulbs also use JSON format for received commands, I am not sure I understand what exactly you want?
Kodi addons: Lanik repo
Reply
can't we ask yeelight for their ID or find it somehow if that's the issue with the new color bulbs?

openhab has a url that you can call for each item found by it.

it has for example (url) ..... /xplug/state

if you call that... it returns you the state of the xiaomi smart plug.

if you post a json parameter.... to that url state : OFF then the plug will turn off.

this will allow a better home automation flexibility.


general question: since you might know.... have you found a way to force two kodi plugins to play at the same time? meaning.... i start a movie at my main htpc and i want my android tablet at the kitchen to start playing that movie at the same time. when i stop the movie.... i want it to stop.
Reply
I already asked at the Yeelight forum, and got no answer Smile And I only have gen2 white bulb, not RGB Smile

As far as Openhab is concerned - that is Openhab functionality - you'd have to have Openhab in order for this to work and it seems rather complex and it is a question how many people would find this interesting at all....

and Nope, I don't ever play on 2 devices....
Kodi addons: Lanik repo
Reply
how can i find their id?

i have RGB so i could tell you
Reply
i was trying the addon some more today....

every time i stop a movie.... kodi crashes when i am using yeemee.

and for some reason... it loves the red color even when there is no red at the image.

really weird.
Reply
I'd need a debug log to confirm it is YeeMee... I never had any crashes on stop on my HTPC (LibreElec) or PC.

The color preference could be something else - when brightness is <5 it doesn't change the color so the last color is displayed, I see no reason why it would prefer red Smile
Kodi addons: Lanik repo
Reply
  •   
  • 1
  • 44
  • 45
  • 46(current)
  • 47
  • 48
  • 52
  •   
 
Thread Rating:
  • 2 Vote(s) - 5 Average



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