Congratulations so far, WadDad!

Regarding the Python repository:
Are you sure that you have enough disk space available to download the
required repositories? The "Extensions" window of pCP shows the
available free space:
31184

"smbus-python3.6.tcz" and its dependencies require 16-17 MB. You might
need to increase the size of the partition as described in the screen
shot.


To investigate your problems with the shell script, I suggest to change
the following lines in the script as below:

Code:
--------------------
    
  # Uncomment for debugging & testing
  #    echo $LUX
  #    echo $TRGT
  
--------------------

to

Code:
--------------------
    
  # Uncomment for debugging & testing
  echo $LUX
  echo $TRGT
  
--------------------


If you start now the script in a terminal, you will see the measured LUX
value and the resulting brightness of the display ($TRGT). Now you
change the brightness in your room and you see what is measured by the
sensor. The measured LUX values can be used to adapt the parameters
MIN_THRESHOLD and MAX_THRESHOLD.


+-------------------------------------------------------------------+
|Filename: pCP-extensions.png                                       |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31184|
+-------------------------------------------------------------------+

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

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to