1.  Try using "python3" everywhere Mike used 'python' in his writeup.  Look 
at "Install the Python3 libraries" in the S3 page where it mentions that 
you need to use python3.

2. I think you need to learn how to edit a file on a pi.  It can be a 
little rough for new unix/linux users.   I'd suggest you look in the free 
edx.org class "https://www.edx.org/course/introduction-to-linux"; at the 
chapter on editors which should walk you through how to do that.

On Thursday, October 14, 2021 at 12:47:32 PM UTC-7 kan...@gmail.com wrote:

> Thanks, Mike. Super helpful. Got the domain registered and hosted via 
> Route 53. Set up buckets in S3. Set up IAM account. All good.
>
> Now stuck on "Enabling S3 Access on rPi". Two questions, both silly, I 
> think:
>
> 1. Python -V returns: Python 2.7.16 
>
> Do I need to upgrade?
>
> 2. vi ~/.aws/credentials [weewx] returns endless lines of ~ on the 
> terminal. It's not obvious how/where to enter access and secret keys. I'm 
> think I'm doing something really dumb. What is it? 
>
> Thanks.
> Mukul
>
> On Thursday, October 14, 2021 at 6:56:36 AM UTC-6 mi...@cougar.eu.com 
> wrote:
>
>> Hi Mukul,
>>
>>  
>>
>> Thanks for the kind words.
>>
>>  
>>
>>    
>>
>>    1. I see that the weather page on your site updates automatically 
>>    every 5 minutes. Is that 5 minutes set by the archive interval in weewx? 
>>    Could I make it update more frequently if I wanted?
>>
>>
>>    1. This is a setting in the HTML page   ‘<meta http-equiv="refresh" 
>>       content="300" />’ is the command that does this
>>    
>>  
>>
>>    
>>
>>    1. I think you've built a "lighter" custom skin, in part to keep AWS 
>>    costs down. Is that right? If I disregard costs for the time being, can I 
>>    skip creating the custom skin? Or, if II set my default skin as 
>> Belchertown 
>>    (or any other skin), will weewx send that to the S3 bucket?
>>
>>
>>    1. I did this because I wanted to learn HTML coding and javascript, 
>>       although I have since trimed it to reduce AWS costs
>>    
>>  
>>
>>    
>>
>>    1. I've never hosted a site on AWS. I own a domain that I would like 
>>    to use for this project. Is there a useful guide that you recommend that 
>> I 
>>    can study to understand the webhost side of all this?
>>
>>
>>    1. There are lots of good tutorials in AWS and a free account you can 
>>       use for training
>>       2. 
>>       
>> https://aws.amazon.com/free/?all-free-tier.sort-by=item.additionalFields.SortRank&all-free-tier.sort-order=asc&awsf.Free%20Tier%20Types=*all&awsf.Free%20Tier%20Categories=*all
>>    
>>  
>>
>>    1. 
>>       
>> https://docs.aws.amazon.com/AmazonS3/latest/userguide/HostingWebsiteOnS3Setup.html
>>    
>>  
>>
>>    1. 
>>       
>> https://docs.aws.amazon.com/AmazonS3/latest/userguide/website-hosting-custom-domain-walkthrough.html
>>    
>>  
>>
>>  
>>
>>  
>>
>>  
>>
>> *Mike Revitt*
>>
>> *Database Migration Specialist* – *Database Migration Accelerator*
>>
>> *A*mazon *W*eb *S*ervices
>>
>> *e*: revi...@amazon.com | *p*: +44.7825.063.466 <+44%207825%20063466>| 
>> *w*:  aws.amazon.com 
>> <https://aws.amazon.com/solutions/databasemigrations/database-freedom/>
>>
>> Thoughts on our interaction? Provide feedback here 
>> <https://feedback.aws.amazon.com/?ea=revittmk&fn=Mike&ln=Revitt>.
>>
>>  
>>
>>  
>>
>> [image: signature_1577675884]
>>
>>  
>>
>>  
>>
>>  
>>
>> *From: *<weewx...@googlegroups.com> on behalf of mukbar <kan...@gmail.com
>> >
>> *Reply to: *"weewx...@googlegroups.com" <weewx...@googlegroups.com>
>> *Date: *Wednesday, 13 October 2021 at 18:23
>> *To: *weewx-user <weewx...@googlegroups.com>
>> *Subject: *[weewx-user] Re: Weewx 4.0.0b16 finally up and running on my 
>> new Raspberry Pi
>>
>>  
>>
>> Hey Mike,
>>
>>  
>>
>> First, just wanted to say thank you for your posts here and also your 
>> website. If you have noticed any traffic from Belize recently, that's me. I 
>> really appreciate all the time you've taken to document and share how you 
>> built your set up. Thank you!
>>
>>  
>>
>> Second, I'm in the early stages of my weewx life. The next big step is 
>> for me to publish my weather station data via weewx to a custom domain. And 
>> I want my equipment in Belize to do as little as possible. I would like to 
>> learn about cloud computing and this seems like a good opportunity to start.
>>
>>  
>>
>> An overview of what I've got so far:
>>
>>  
>>
>> Weatherflow Tempest
>>
>> Raspberry Pi 4
>>
>> Weewx 4.5.1
>>
>> Belchertown skin (installed but not my default skin)
>>
>> Sending data via weewx to all the usual suspects: WU, PWSWeather, 
>> Weathercloud, WOW, Windy, Weewx map, etc. If you look on the weewx map, my 
>> station is the one in Belize. 
>>
>>  
>>
>> All working smoothly. I can access the weewx default skin and belchertown 
>> skin on my internal network. I have a few questions for you:
>>
>>  
>>
>> 1. I see that the weather page on your site updates automatically every 5 
>> minutes. Is that 5 minutes set by the archive interval in weewx? Could I 
>> make it update more frequently if I wanted? 
>>
>>  
>>
>> 2. I think you've built a "lighter" custom skin, in part to keep AWS 
>> costs down. Is that right? If I disregard costs for the time being, can I 
>> skip creating the custom skin? Or, if II set my default skin as Belchertown 
>> (or any other skin), will weewx send that to the S3 bucket?
>>
>>  
>>
>> 3.  I've never hosted a site on AWS. I own a domain that I would like to 
>> use for this project. Is there a useful guide that you recommend that I can 
>> study to understand the webhost side of all this?
>>
>>  
>>
>> Thanks!
>>
>> Mukul
>>
>> On Saturday, March 28, 2020 at 8:52:55 AM UTC-6 mi...@cougar.eu.com 
>> wrote:
>>
>> For those that are interested, I have completed the port of my weewx 
>> installation from my iMac to a new Raspberry Pi 4.
>>
>>  
>>
>> I have weeks running as a service via systemctl, and I am publishing the 
>> website up to an AWS S3 bucket every 5 minutes via BOTO3 and backing up the 
>> database also to an S3 bucket once per day again using BOTO3. And thanks to 
>> another post I found I am also monitoring the CPU temperature and mapping 
>> that in the Sensor Status sub section.
>>
>>  
>>
>> A huge thank you to everyone that helped me with my various issues whilst 
>> I was doing this.
>>
>>  
>>
>> The website can be viewed here https://weather.cougar.eu.com/index.html 
>> and if anyone wants to know how I did any of this reach out and I will try 
>> to help. 
>>
>>  
>>
>> Mike
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/weewx-user/onRG8wzFvXs/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/deee7b14-6dcd-48e0-acb4-ede0577c3f2fn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/deee7b14-6dcd-48e0-acb4-ede0577c3f2fn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/7508c4da-69e2-4fec-945a-44ce4a7b0db5n%40googlegroups.com.

Reply via email to