Literally need help
Closed this issue · 6 comments
Hi so I tried to copy and paste the info in the code.gs file into google scripts and it just gave me a million error messages. If you want screenshots I'm happy to provide some. But like I need very detailed step-by-step intructions because I have little to no technical knowledge.
Thanks
Hi @carcar367.
Here are some detailed instructions:
1. Create a Google Apps Script Project
- Open your browser and go to Google Apps Script.
- Click on New Project.
- Name your project by clicking on the "Untitled project" name at the top and giving it any other new name.
2. Overwrite the Default Code
- Delete any default code in the script editor.
- Open the
code.gs
file from this repository. - Copy all the content of the
code.gs
file. - Paste it into the script editor in your new project.
3. Configure the Script
-
Choose Your Datasource:
- Modify the
datasource
variable on line 10 according to your data source. - For example, for IBM Wunderground, set
datasource
toibm
. - Add the required API keys and station IDs as specified in the
code.gs
file.
- Modify the
-
Configure Forwarding Destinations:
- Set the appropriate forwarding destinations to
true
and provide necessary API keys and IDs. - For example, to send data to Wunderground, set
updateWunderground
totrue
on line 32, and add yourwundergroundAPIKey
andwundergroundStationId
.
- Set the appropriate forwarding destinations to
4. Run the Schedule Function
- In the script editor, select the
Schedule
function from the dropdown menu next to the▷ Run
button. - Click on the
▷ Run
button to execute the function. - Grant any necessary permissions when prompted.
5. Monitor Executions
- Click on the
Executions
tab on the left sidebar to monitor the script's periodic runs.
Does that help? What step(s) are you getting stuck on?
Not sure. I think I just fixed it...somehow. But coincidentially just as I came back to this I realized that there's a new release but I didn't install it because I'm not gonna go through all that pain just to put all my info in again. I think it's fixed now but I'll leave this open for a few more days to see if anything else comes up.
Yeah, just added support for a new datasource and fixed a couple of bugs. If you want, you can copy/paste only everything below "Do Not Edit Below" (Line 74 and down) to update, as long as you're not planning on using APRS (CWOP) as your datasource.
I'm gonna close this since it's not an issue with the project, but feel free to continue commenting.
Okay thank you. And does it only send every 15 minutes to CWOP?