So first things first, hi im mike and im computer illiterate .
Im currently running hass.io on a pi4 and would like to scrape a file on my laptop to use for information.Can anyone point me in the right direction please? i tried search function here at the top but alas were here, mind you my search ability does seem limited by my illiteracy.
Hi Mike,
I believe this is a challenge and I don’t expect native support for it. My preferred approach would be to store the file from my Windows machine on the SMB share of HA.
Next you can use the File Integration to read the file. It might be possible to use the UNC of your desktop, but I have no experience with it.
Ideally one would generate the file using HA by the way, but I totally understand a step by step approach.
ill see if i can get the files to save to that section, when the replacement parts get in friday. might be easier than ripping from one platform to another
That’s exactly my idea. If you can set a location to store the CSV, a UNC path shouldn’t be an issue from the Windows side towards HA. If it is, you could mount it to a drive letter as-wel of course.
Not sure what you mean with this. You can ssh from your HA if that’s what you want. You can create a shell command that can be scheduled using HA so you might even save some electricity shutting your Windows machine and let the Pi do the trick for you. But as said, I don’t know your situation and despite that, it’s wise to set one step at a time
Thanks to both of you guys for your help. i was able to automate a script using @ondras12345 scp command to get the files then a file sensor to extract the information.
so off the csv file you guys helped me figure out ive then used it as the main part of my automation. i first used it as a monitoring system once i parsed the file on lovelace. In node red its the main setup. i tail the file then parse it to use it to control switches that are told to come on/ off for a brief moment. eventaully id like it to check the timestamp inside the file to the current time - seconds but havent quite looked at how that would be possible…
just a mini update ill keep you posted as things come together, again thank you all