I have a file on my local network that gets updated every 16 seconds. I can control how the data is formatted, but right now it is a csv with an attribute in the first column and its value in the second. The file contains readings from various RF sensors throughout the house.
Is there a way I can have Hubitat scrape this file in order to make rules for if values get above certain thresholds or control other devices?
Although I wrote it to demonstrate the possibilities of the localFileMethods library you could use https://raw.githubusercontent.com/thebearmay/hubitat/main/fileMgr.groovy to create a file manager device and read the file into the fileContent attribute using the Read External File and then use RM or webCoRE to parse the text….