Raspberry Pi using libraries


Is it possible to use the raspberry libraries to get the usablilty i’m used in the terminal?

  • Like using the gpiozero library to read the values of the cpu temperature.
  • Like using the HDMI-cec library to control my screen
  • Like using the chromium commands for kiosk options etc

If anyone knows a way, please let me know,

Hello. Sure this is possible. Just

  1. Add required library;
  2. Write code you need;
  3. Proffit.

Here getting started for Blynk + PI - http://help.blynk.cc/hardware-and-libraries/node-js/how-to-install-nodejs-library-on-linux.

You can extend this with any code you want.

That was a really quick reply, thx =)
How can i do this then since these libraries are in python? could you please provide me an example of using this?

For example, to read the CPU temperature on the terminal would be:

From gpiozero import CPUTemperature
cpu = CPUTemperature()

In case you use python, you’ll have to find a way to run python scripts from node.js.