Accessing database from a python script

You have a couple of options:

  1. Write a normal python script (not using the python_scripts component of course) then use a command line sensor
  2. Use the API - but some processing of the returned data would be required, perhaps a python_script could be used for the processing
  3. Try this suggestion and just use a restful_sensor
    For processing data checkout my data-detective, which you could import to do some processing.
    Please post your progress
    Cheers
2 Likes