1

On a non Raspberry Pi (just an ordinary laptop, installed with 17.04) - I'm trying to run a Python script to control Pi's Remote GPIO, with no success.

pigpio module is installed as ordered in pigpio library.Installation was OK, and files are present designated directory.

When trying to load pigpio's daemon - sudo pigpiod, an error message recieved saying "file not found".

This is the first time I'm trying to use this daemon on a non RPi - perhaps I'm doing something wrong.

guy@LG-LAPTOP:~$ sudo pigpiod
[sudo] password for guy: 
sudo: pigpiod: command not found
guy@LG-LAPTOP:~$ 

1 Answer 1

2

The pigpio daemon will only run on a Raspberry Pi.

You can connect to the daemon from a laptop to control the GPIO of the Raspberry Pi, e.g. via a Python script or C program.

8
  • hi, it says "command not found", why?
    – guyd
    Aug 23, 2017 at 3:42
  • @Guy.D I have no idea. What command? Where are you running that command?
    – joan
    Aug 23, 2017 at 7:27
  • @joan- in the text of the question, there is an output. It was ran on PC using ubuntu 17.04.
    – guyd
    Aug 23, 2017 at 7:41
  • Yes, and what does my answer say?
    – joan
    Aug 23, 2017 at 7:42
  • 1
    That is correct. On a non-Pi just run a Python script with import pigpio and open the remote Pi with pi = pigpio.pi("remote_host_name_or_IP_address") or use the environment variable PIGPIO_ADDR=remote_host_name_or_IP_address
    – joan
    Aug 23, 2017 at 9:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.