RaspberryPi real-world control with REST API