Release Service to change Intel Intel NUC7i[x]BN and NUC6CAY LED to show Kodi is recording
#1
I have written a basic service for Ubuntu-based systems that changes the Intel NUC7i[x]BN and NUC6CAY LED settings to indicate when Kodi is recording something. 

It is available here:
    https://github.com/xptsp/service.recording-led-for-nuc

It is required to have the Intel NUC LED kernel installed.  You may compile it from the original repository:
   https://github.com/milesp20/intel_nuc_led
or from my repository, which is a fork of the previously listed repository:
   https://github.com/xptsp/intel_nuc_led
A pre-compiled DEB installer for the Intel NUC LED kernel is available here:
   https://github.com/xptsp/intel_nuc_led/r....0_all.deb
Please install the build dependencies before installing the DEB file.

Also required is that the LEDs to control be set to "Software Control"!

This allows the user to control whether the power and/or ring LEDs are changed, and the settings used to set both the "normal mode" and "recording mode".  Settings include brightness, color fade/blink, and the colors.  The user is allowed to change the polling period from the default 5 seconds between polls.  Most usages will be communicating with the local Kodi install, however, it can be changed to control another Kodi install.

Image

Image

Image
Reply
#2
This is great but since when does Kodi record something?  Are you actually using this with a particular PVR backend (such as Tvheadend) or are you just watching for messages sent from any backend to Kodi or what?

I just didn't think that Kodi had any ability to record anything without backend support.
Reply
#3
(2019-07-31, 18:21)xbmclinuxuser Wrote: This is great but since when does Kodi record something?  Are you actually using this with a particular PVR backend (such as Tvheadend) or are you just watching for messages sent from any backend to Kodi or what?

I just didn't think that Kodi had any ability to record anything without backend support.
You're right.  Kodi by itself doesn't do recording by itself (unless you have a fork of the IPTV PVR that does recording from IPTV sources)....  What this addon does is calls the JSON interface to determine if the PVR backend(s) are recording, and if Kodi reports that it/they are, the lights on the front of the machine will change to the specified settings.  No specific PVR backend is required for this addon to work.
Reply
#4
Awesome plugin @douglas.orend. I've tried it out but the newer BIOS version of the NUC messed up the Intel NUC LED kernel module. I think this should be fairly easy to fix but as I don't have a whole lot of C++ experience I would like to request your help. I think the WMAA, SLED and GLED method from the DSDT needs to be included in the Intel NUC LED kernel module in order to be properly recognised. I've added as much as possible information to a GitHub issue: https://github.com/xptsp/intel_nuc_led/issues/1

Thanks a million already!!
Reply

Logout Mark Read Team Forum Stats Members Help
Service to change Intel Intel NUC7i[x]BN and NUC6CAY LED to show Kodi is recording0