RESTful sensor, parsing json

It needs to write to ‘standard output’. In other words, if you are at the Linux command line and execute your script, it’s output should appear on the command line (‘standard output’).

Here’s an example of a command line sensor calling a python script:

Here’s an example using shell script but it’s the same principal.