Is it possible to use a Python Script as a Shell Sensor and if yes how?
-
Use a Python Script with shell-plugin
-
@fabikrauss I am pretty sure (I didn’t try myself) that if you put something like
/usr/bin/python /path_to_your_script.py
you’ll get some, anything really as long as it produce an output that pimatic can deal with. am I right? @sweetpiPimatic, smart home made by smart folks, for the rest of us!
-
sure, go for it!
i tried with a python script to get date and time and it works.
run it with"command": "sudo python /home/pi/yourscript.py",
and you shouldn’t get into trouble.pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !