Re: [SlimDevices: Unix] [piCorePlayer] Switch off HDMI output when turning off player?

2020-08-16 Thread WadDad


CJS wrote: 
> @WadDad, are there other situations in which the screen is turned OFF
> while you would want to keep it ON?
> 

No.



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=112748

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] [piCorePlayer] Switch off HDMI output when turning off player?

2020-08-16 Thread WadDad


Useful script. But script not recognize if screensaver sets on. On
screensaver run screen goes to turn off state.



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=112748

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2020-08-14 Thread WadDad


There is no effect. I used "pcp_" and "jive_" prefixes. Convert them to
png or jpg format.



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2020-08-13 Thread WadDad


ralphy wrote: 
> You must select the wallpaper from the jivelite
> settinging->screen->wallpaper menus.
> 
> In the Now Playing screens the wallpaper is only used on the original
> (small album artwork and text only screens) all others are forced to
> black.
I do it exactly! Screen still black.



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2020-08-12 Thread WadDad


ralphy wrote: 
> The png filename must begin with pcp_ for jivelite to use it with the
> 800x480 resolution.
Files converted to png format. Added "pcp_" in begin of each file. Add
them from LMS options page. No effect. They are present in Jivelite
menu, but if I select any one of them, screen becames black.



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2020-08-12 Thread WadDad


ralphy wrote: 
> The png filename
Wallpaper must be in .png format?



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2020-08-12 Thread WadDad


Howard Passman wrote: 
> You can add it in the LMS settings, Advanced, Customize Device.
> 
> Howard

There is no size in LMS for Raspberry Pi Touchscreen wallpapers. How can
it recognise the player type?



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2020-08-11 Thread WadDad


Hello! Trying to customize my 7 inch touchscreen wallpaper. Make an
image as 800x480. Copy it to /home/tc/.jivelite/userpath/wallpapers.
Send "pcp bu" command. But there is no any additional wallpaper name in
jivelite interface. What I did wrong?



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer and automatic screen brightness control.

2020-08-05 Thread WadDad


Thank you very very much. Now all right.



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=112460

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer and automatic screen brightness control.

2020-08-04 Thread WadDad


Sorry friends, but my English is not so good. I see one problem. I
haven't files:

Code:

. /var/www/cgi-bin/pcp-functions
  . /var/www/cgi-bin/pcp-lms-functions

  
I think it because my PCP uses network LMS on NAS. As I think that files
are part of local LMS. Or I'm be in error? Additionally I forgot how to
start local LMS :)



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=112460

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer and automatic screen brightness control.

2020-08-03 Thread WadDad


Hello, jd68. Thank you for answer. 
I think 337MB must be enough. 
Script running. I'm sure. I checked it by deleting symbol # at showed
strings. Displayed numbers changes if I set the light near sensor. 
I think touchscreen brightness must have two stages: one for turned off
PCP and another for PCP that plays music. If PCP turned off maximum and
minimum brightness of screen must be lower. As I remember Touchbox had
special string in menu for screen brightness called "Reduce on
screensaver".



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=112460

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer and automatic screen brightness control.

2020-08-02 Thread WadDad


I made it! But I've got some troubles. First of all, python script
doesn't run. When I add "smbus-python3.6.tcz" it's moved
to uninstalled list. Now I'm using .sh script. It's work. But minimal
brightness sets by program even I turn on piCorePlayer and brightness in
room is so low. I use next variables: 

Code:

#!/bin/sh
  
  WDIR=/home/tc/lux
  # if the measured value is below MIN_THRESHOLD then the display is set to 
MIN_BRIGHTNESS
  MIN_THRESHOLD=1
  MIN_BRIGHTNESS=20
  # if the measured value is above MAX_THRESHOLD then the display is set to 
MAX_BRIGHTNESS
  MAX_THRESHOLD=400
  MAX_BRIGHTNESS=150
  LUX_RANGE=`echo "$MAX_THRESHOLD-$MIN_THRESHOLD" | bc`
  BRIGHTNESS_RANGE=`echo "$MAX_BRIGHTNESS-$MIN_BRIGHTNESS" | bc`
  STEPSIZE=$(echo "scale=2 ; $LUX_RANGE/$BRIGHTNESS_RANGE" | bc -l | cut -f1 
-d\.);
  # time interval between two measurements
  INTERVAL=5
  
  
  # Debugging ...
  echo `date` > $WDIR/deleteme
  
  
  # Let's wait until pCP is up & running
  sleep 20
  
  
  while true; do
  # Measuring the current LUX value
  LUX=$($WDIR/lux)
  # Calculating the target brightness of the display
  if [ $LUX -lt $MIN_THRESHOLD ]; then
  TRGT=$MIN_BRIGHTNESS
  elif [ $LUX -gt $MAX_THRESHOLD ]; then
  TRGT=$MAX_BRIGHTNESS
  else
  TRGT=$(echo "$MIN_BRIGHTNESS+(($LUX-$MIN_THRESHOLD)/$STEPSIZE)" | bc -l | cut 
-f1 -d\.);
  fi
  
  
  # Setting the brightness value of the display
  echo $TRGT > /sys/class/backlight/rpi_backlight/brightness
  
  
  # Uncomment for debugging & testing
  #echo $LUX
  #echo $TRGT
  
  
  # Wait some seconds before the next calculation
  sleep $INTERVAL
  done
  
  
  
  


It because my Raspberry Pi stay in equipment rack.



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=112460

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer and automatic screen brightness control.

2020-07-13 Thread WadDad


*jd68, *there are two kinds of light sensor on market, based on BH1750
and BH1750FVI.  Is it principal, what kind of sensor uses manufacturer?
And I found 'two ' (https://aliexpress.ru/item/1549533510.html)models of
sensors: GY-30 and GY-302. First sensor has dimensions 32.6x15.1 mm. As
you sayed sizes of GY-30 is closed to your recomendations. First of all
I need to buy something to realize my wishes.



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=112460

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: JiveLite - cut down squeezebox control application

2020-07-13 Thread WadDad


Hello. Some songs, singers and albums on my LMS called in Russian. Has
JiveLite supports input on another language in search screen?



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=98156

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer and automatic screen brightness control.

2020-06-23 Thread WadDad


Step by step configuration is be better for me. What commands I'll can
send to pcp, what module should I choose.



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=112460

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer and automatic screen brightness control.

2020-06-22 Thread WadDad


Oh! It's seems you talk about 'VEML7700 LUX SENSOR'
(https://www.adafruit.com/product/4162).



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=112460

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer and automatic screen brightness control.

2020-06-22 Thread WadDad


paul- wrote: 
> You can diy that all day long.   I've used an i2c light sensor. from
> adafruit.  Simple python/smbus libraries.   But the yocto should be
> fine.   Python dependencies can be a little fun, as some of them require
> alot of extra libraries.   you should be able to install with pip --user
> option.
Do you mean 'this' (https://www.adafruit.com/product/3194)? It's marked
as discontinued. About "user options". Where is it in pcp web interface?



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=112460

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] piCorePlayer and automatic screen brightness control.

2020-06-22 Thread WadDad


Hello community!
I'm using Raspberry Pi 3+ with official 7 inch touchscreen in official
case for all of this. It's working, playing music so well. But in one
thing Squeezebox Touch was better. In darkness the screen of Touch
becomes darker. There are so many sensors in market that can drive the
brightness of screen. For example 'Yocto-Light'
(http://www.yoctopuce.com/EN/article/automated-brightness-control-for-the-raspberry-pi),
'cheap Chinese sensor'
(http://www.uugear.com/portfolio/using-light-sensor-module-with-raspberry-pi/)
and many others. Does piCorePlayer can control the brightness of screen
based on external light? May be it's already has a lib or programs to do
this? 
I'm so sorry if my questions seems you so stupid. Sorry for my English
too. It's my first steps on raspberry pi DIY.



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=112460

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0

2020-06-12 Thread WadDad


Hello everybody! Which RCU can work with piCorePlayer based on Raspberry
Pi 3+: 'first' (https://aliexpress.ru/item/32916726086.html), 'second'
(https://aliexpress.ru/item/32847416060.html) or 'third'
(https://aliexpress.ru/item/33001222926.html)?



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=111787

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.5.0

2020-05-17 Thread WadDad


Hi! What remote control unite can you recommend to use with
piCorePlayer? I prefer one side RCU and something from Aliexpress.



WadDad's Profile: http://forums.slimdevices.com/member.php?userid=64557
View this thread: http://forums.slimdevices.com/showthread.php?t=108852

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix