I’m looking to integrate my existing raspberry pi based automation system for a chicken coop with my Smarthings system so I can read in data from an external temperature sensor. The PI is running headless and is set up to be fairly resilient to internet drop outs as it operates the chickens door and I can’t have it stop working through an internet failure. Hence I’m not looking to change too much on the way that the PI operates. The pi does however update a txt file with a single temperature value that is updated regularly and I can read this from a html interface from outside my home network.
So, the question is: Is there an easy way to set up a virtual temperature sensor that pulls its value straight from the text file on my Raspberry Pi? I’m fairly new to Smarthings so have struggled with some of the more complex (and some of the basic!) setup of ST stuff but if anyone could give me any pointers it would be appreciated.