I need to develop a plugin that reads the status of the Power-LED of the Raspberry Pi 3 B and print the status of the LED on the Web-page.
Please Help !!!
I need to develop a plugin that reads the status of the Power-LED of the Raspberry Pi 3 B and print the status of the LED on the Web-page.
Please Help !!!
The power LED is connected to the power management IC (APX803), which in turn is connected directly to the power input. You cannot change whether it is on or off from user space.
Not sure about plugin
but you can access the state of the APX803 https://github.com/6by9/rpi3-gpiovirtbuf/
The APX803 is connected to pin 135.
echo file_get_contents('/sys/class/leds/led1/brightness')==255?1:0;
– GM-Script-Writer-62850 Sep 02 '18 at 08:49