0

The objective of my current RaspberryPi test setup is to read from/write to hardware, and constantly monitor the state/log message stream for test scenarios. The testing code runs on the RPi, and development happens on my local machine (i scp copy the repo over via ssh). I'm using pyserial to access the serial port info: https://pyserial.readthedocs.io/en/latest/

Goal: While the tests are functional, I'd like to abstract this out so that the code can run on my local machine, interacting with the serial port on the RPi remotely. This would help to streamline development, as well as allowing me to run from an ec2 instance later on for automated testing.

what are some ideas for how to set up this environment?

1 Answer 1

0

You could run the pigpio daemon or the lg daemon on the Pi and access the results from a pigpio Python script or lg Python script running on your local machine.

pigpio may be preinstalled depending on the operating system running on your Pi.

Or you could write your own equivalent using network software.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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