sanghviharshit / script.kodi.lifx.ambilight

💡📺🌈Kodi add-on for Lifx lights with ambilight support.
https://bit.ly/kodilifx
GNU General Public License v2.0
32 stars 13 forks source link

No bulbs are being discovered on Windows 10 #1

Closed d-rez closed 7 years ago

d-rez commented 7 years ago

Looks promising but it's unable to discover any bulbs.

I'm able to control them using win10/Android Lifx apps and home-assistant on my RasPi, so they're definitely on the network.

EDIT: Issue exists on Kodi on Windows 10. When kodi is running in a Linux VM (VirtualBox) using Bridged network adapter, both bulbs are being detected properly

EDIT2: They're detected properly in VBox Ubuntu but when a video starts they dim to OFF and that's it, forever. Also getting some errors when "flash when discovered" is selected

sanghviharshit commented 7 years ago

Hi, I'd appreciate if you could provide me with logs for each of the issues. Don't forget to enable the addon specific logging from addon's settings (My Addons-Scripts-Kodi Lifx Ambilight-Settings-Advanced) first. Also, screenshots of your current addon settings and names of your bulbs will help.

sanghviharshit commented 7 years ago

Also, for Edit2 (dims to off): Try disabling Mediacodec (Surface) in Settings > Video> Acceleration.

d-rez commented 7 years ago

Hi! Sorry for the delay, was super busy recently ;(

My config is basically the default one. Out of the box it doesn't detect any bulbs on Windows 10. Running as admin doesn't help, Windows firewall is allowing connections.

As for logs, there isn't much there tbh

18:52:42 T:9424 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
18:52:42 T:9424  NOTICE: ActiveAE DSP - starting
18:52:42 T:9424  NOTICE: initialize done
18:52:43 T:9424  NOTICE: CJoystick::EnumJoysticksCallback : Enabled Joystick: Razer Orbweaver
18:52:43 T:9424  NOTICE: CJoystick::EnumJoysticksCallback : Total Axis: 6 Total Hats: 1 Total Buttons: 24
18:52:43 T:9424  NOTICE: Running the application...
18:52:43 T:9424  NOTICE: starting upnp client
18:52:43 T:6168  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
18:52:43 T:6168  NOTICE: UDP: Listening on port 9777
18:52:43 T:10336  NOTICE: Kodi Lifx service started, version: 0.1.1
18:52:43 T:10336  NOTICE: Kodi Lifx: DEBUG useLegacyApi - True
18:52:43 T:10336  NOTICE: Kodi Lifx: DEBUG testing connection
18:52:50 T:9424  NOTICE: Storing total System Uptime
18:52:50 T:9424  NOTICE: Saving settings
18:52:50 T:9424  NOTICE: stop all
18:52:50 T:9424  NOTICE: stop player
18:52:50 T:9424  NOTICE: ES: Stopping event server
18:52:50 T:9424  NOTICE: stopping upnp
18:52:51 T:6168  NOTICE: ES: UDP Event server stopped
18:52:51 T:9424  NOTICE: stop sap announcement listener
18:52:51 T:9424  NOTICE: clean cached files!
18:52:51 T:9424  NOTICE: unload skin
18:52:52 T:10336  NOTICE: Kodi Lifx: DEBUG Connected
18:52:52 T:9424  NOTICE: stopped
18:52:52 T:9424  NOTICE: destroy
18:52:52 T:9424  NOTICE: closing down remote control service
18:52:52 T:9424  NOTICE: unload sections
18:52:52 T:9424  NOTICE: special://profile/ is mapped to: special://masterprofile/
18:52:52 T:9424  NOTICE: destroy
18:52:52 T:9424 WARNING: Attempted to remove window 10013 from the window manager when it didn't exist
18:52:52 T:9424 WARNING: Attempted to remove window 10014 from the window manager when it didn't exist
18:52:52 T:9424 WARNING: Attempted to remove window 10015 from the window manager when it didn't exist
18:52:52 T:9424 WARNING: Attempted to remove window 10016 from the window manager when it didn't exist
18:52:52 T:9424 WARNING: Attempted to remove window 10017 from the window manager when it didn't exist
18:52:52 T:9424 WARNING: Attempted to remove window 10018 from the window manager when it didn't exist
18:52:52 T:9424 WARNING: Attempted to remove window 10019 from the window manager when it didn't exist
18:52:52 T:9424 WARNING: Attempted to remove window 10021 from the window manager when it didn't exist
18:52:52 T:9424 WARNING: Attempted to remove window 10107 from the window manager when it didn't exist
18:52:52 T:9424 WARNING: Attempted to remove window 10115 from the window manager when it didn't exist
18:52:52 T:9424 WARNING: Attempted to remove window 10104 from the window manager when it didn't exist
18:52:52 T:9424  NOTICE: closing down remote control service
18:52:52 T:9424  NOTICE: unload sections
18:52:52 T:9424  NOTICE: application stopped...

Bulb names: Ceiling, Desk

d-rez commented 7 years ago

On a side note, disabling hw accel fixed the plugin on virtualized linux, thanks!

sanghviharshit commented 7 years ago

Thanks. The log seems to be ok. And I can see from the logs, it was, in fact, able to find at least one bulb (Only then it goes to 18:52:52 T:10336 NOTICE: Kodi Lifx: DEBUG Connected. Did you try playing a video during the same session?