I'm running XBMCbuntu Eden and i've got an Arduino board witch
has Temperature/Hygrometer and air pressure sensors attached.
I've found a python library to gather the information from the USB interface on the Arduino
And i would like to have my VFD display this info during XBMC-screensaver.
Since it's possible to display infolabels on my LCD/VFD the best option would be
to create extra infolabels .. e.g. infolabel.temp_inside, infolabel.temp_outside, infolabel.hygro and infolabel.airpressure
Another option would be to start a python script during the screensaver witch would display the info
and make XBMC send no info to the LCD/VFD when idle
Monitor a process to detect when the screensaver is active
I've looked at the process list, but can't find additional processes when the screensaver is active
Any suggestions ?
Found Boolean "System.ScreenSaverActive" in this link http://wiki.xbmc.org/index.php?title=Lis...Conditions
Can i use this Boolean in a python add-on script ?
Joined: Nov 2004
2012-06-20 22:04 Post: #1
(This post was last modified: 2012-06-21 07:05 by ReMi.)
Joined: Jul 2009
2012-06-21 14:03 Post: #2
I would recommend writing a service addon (runs permanent in background) which gathers the needed infos and expose it via infolabel to your lcd
My GitHub. My Addons:
HD-Trailers.net | Shoutcast 2 | Apple Itunes Podcasts | Radio | MyVideo.de | Nasa | The Big Pictures | Collegehumor | WhatTheMovie | 4Players | Wimp.com | HWClips.com | TheHollywoodReporter | XBMC Log Uploader | Rofl.to | MyZen.tv | Dump.com | Disclose.tv | Dokumonster.de | Netzkino.de
Joined: Nov 2004
2012-06-21 19:50 Post: #3
(2012-06-21 14:03)sphere Wrote: I would recommend writing a service addon (runs permanent in background) which gathers the needed infos and expose it via infolabel to your lcd
That would be best ..
I'm new into Python so can you please give me an example on changing or adding infolabels ?
.. i could'nt find it
(This post was last modified: 2012-06-21 19:51 by ReMi.)