Guy . D Guy . D - 10 months ago 65
Python Question

Run `pigpiod` daemon over remote Linux

is a daemon to control Remote GPIO (Raspberry Pi).
I'm trying to load it remotely from rpi#1 on rpi#2, unsuccessfuly.

Both RPi run Python 3.5 With Ubuntu 16.04.

when using on local machine- daemon's executed OK:

def runpigpiod_local():['sudo','pigpiod'])

BUT- when trying to execute it remotely- it fails

def runpigpiod(adress):
result =['ssh','guy@','sudo pigpiod'])


guy@'s password:
sudo: no tty present and no askpass program specified

Answer Source

Question is answered in: Configuring Remote GPIO

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download