Thanks to and others, I now have a raspberry pi set up to do a speed test every 15min, and a ping every 1min. Instead, I implemented something in the middle - albeit a bit closer to the former. Suggestions ranged from just keeping a ping running on a laptop, to setting up an end-to-end tracing solution using half a dozen Azure resources and client applications. This suggestion was echoed by a number of friends and colleagues. They know NBN won't do anything without proof. They can track outages, but there's only so much they can see from their end. An "outage" is something longer, and it's really only outages that matter.Īfter a swathe of other troubleshooting attempts, one of the representatives at Aussie Broadband (and I want to be clear - I love Aussie) suggested I keep my own records. The trouble is, I'm told NBN (Australia's National Broadband Network) doesn't see them as serious enough to trigger a response. I think Aussie Broadband (my provider) calls them "flaps", and according to their app, I've had 150 of them in the last 8 days. Just enough to stop me in my tracks and force me onto a tethered mobile phone connection. Only a handful of times per day, and usually only for a few minutes at a time. In summary, I've been getting really short drop-outs semi-regularly. I need to prove it.- Damian Brady □ #BLM September 3, 2020 but apparently not enough visible ones that will do anything. Time to get out a Raspberry Pi and set up some stuff to continuously test my Internet.īecause I'm getting dropouts. Update: I wrote a little script to do a regular HTTP GET and ran the tests again over a weekend. Why yes, I am in Australia! Funny you ask! When you click a switch, a picture will be captured and uploaded to Dropbox.Menu Tracking my Internet with a Raspberry Pi 08 September 2020 on Internet, NBN, RaspberryPi Photo = “./dropbox_uploader.sh upload /home/pi/Dropbox-Uploader/%s.jpg /boxthang/” % (timeStampString,timeStampString) Print “Hello, This is Capture photo program.” Use command Sudo nano picuploader.py and add code.Ĭv.NamedWindow(“window1”, cv.CV_WINDOW_AUTOSIZE)Ĭapture = cv.CaptureFromCAM(camera_index)Ĭv.SetCaptureProperty( capture, cv.CV_CAP_PROP_FRAME_WIDTH, imageWidth ) Ĭv.SetCaptureProperty( capture, cv.CV_CAP_PROP_FRAME_HEIGHT, imageHeight ) įont = cv.InitFont(cv.CV_FONT_HERSHEY_COMPLEX_SMALL, 0.5, 0.5, 0, 1, cv.CV_AA) This will guide you through setting up the OAuth connection to your dropbox account Now change the permissions of the program.įinally run the script and follow the instructions it gives you. Linking your Raspberry Pi to your Dropbox Accountįirst be sure that you have a DropBox account ( If you do not then set one up before going on. Then Download Dropbox Uploader. The result may look like:Ģ.Image storage system with motion capture by Raspberry Pi. #write a new row to the spreadsheet with the current time and temperature Print “Writing new row to %s: %s – %3.1f” % (GSHEET_NAME,curr_time,temp_$ Gsheet = client_inst.open(GSHEET_NAME).sheet1 Json_key = json.load(open(JSON_FILENAME))Ĭreds = om_json_keyfile_name(JSON_FILENAME, SCOPES) #load credentials from json and open the spreadsheet for writing JSON_FILENAME = ‘ your json file name.json‘ json file name, spreadsheet name and 28-*** directory.įrom rvice_account import ServiceAccountCredentials ![]() Make sure your RPi connected and online, run the following command :Ĭreate a python file “gspreadsheet.py” by “sudo nano gspreadsheet.py” and add this code. ![]() json file to RPi.Ĭopy the client_email and share your Google spreadsheet to.įirst, we have to install the “gspread” python library. ![]() When you’ve created a spreadsheet, delete all except the first line. 1.Send Data to Google Docs Spreadsheet Setting Google Docs Spreadsheetįirst, you need to sign in (or sign up) for Google Docs and create a spreadsheet.
0 Comments
Leave a Reply. |