Re: [weewx-user] Re: Weewx to Mastodon/ActivityPub?

2022-12-21 Thread DaveStLou
Very interesting. Temporarily I've been duplicating my Twitter posts to 
Mastodon using IFTTT but plan to make the change to native support. 
Would you mind posting a link to your Mastodon profile so we can see the 
results?

On Wednesday, December 21, 2022 at 8:16:34 AM UTC-6 mfr...@gmail.com wrote:

> On 21/12/2022 07:45, Glenn McKechnie wrote:
> > Hi Chris,
> > 
> > Nothing like finding a day where you can plunge, guilt free, into the
> > ToDo list. I didn't have a Snow day, but I borrowed yours!
> > 
> > I started re-purposing Matthew Walls twitter extension (which runs
> > uses RestX - [StdRESTful] ) and have had good success with it in the
> > half day or so that it's been runnng. Still some work to do on it
> > (phttt) but the text part works well enough.
> > 
> > Your use of the template is interesting - that gives it a bit of 
> flexibility.
> > 
> > I'll mull that one over while I continue down the media (image) path.
> > 
> > Alpha is at ...
> > https://github.com/glennmckechnie/weewx-mastodon
> > 
> > 
> > On 21/12/2022, Chris Alemany  wrote:
> >> The snowy weather here on Vancouver Island has given me some unexpected
> >> time to work on this. I now have a working template file and python 
> script
> >>
> >> that will produce and post weewx data to a Mastodon account.
> >> Just setup an account on your favourite Mastodon server,
> >> mark it as a bot,
> >> create an API/Client Key (under development in your account's 
> preferences)
> >> install the template file to one of your skins (I just added it to the
> >> Standard skin.
> >> put the python file somewhere it can be run with cron
> >> run the python file with a command like this:
> >>
> >> sudo python3 weewx_to_mastodon.py --server https://mstdn.ca --wxdata
> >> https://mywebpage.com/mastodon.json --api_key biglongstring234fssdf
> >>
> >> I've attached my working files if anyone is itching to have it, excuse 
> the
> >> messy code but it should be fairly self explanatory. You should only 
> really
> >>
> >> need to modify the values in the json.tmpl file.
> >>
> >> On Sunday, December 18, 2022 at 3:40:31 PM UTC-8 Chris Alemany wrote:
> >>
> >>> Here is the promised link to the fellow who created a Python script 
> from
> >>> cumulus on Mac to Mastodon/ActivityPub:
> >>> 
> https://github.com/buffaloseven/CumulusMX-Customizations/tree/main/integrations
> >>>
> >>> Sent from my iPhone
> >>>
> >>> On Dec 15, 2022, at 6:24 AM, Chris Alemany  wrote:
> >>>
> >>> Hi all,
> >>>
> >>>
> >>>
> >>> Has anyone had a go at having weewx post to Mastodon/Fediverse, either 
> to
> >>>
> >>> an existing @user@server or as an independent instance?
> >>>
> >>> There is at least one fellow who has written some Python to do it from 
> his
> >>>
> >>> cumulus based system. I will share his GitHub project if someone thinks
> >>> they can do it.
> >>>
> >>> Cheers
> >>> Chris
> >>>
> >>> Sent from my iPhone
>
> I've been posting to Mastodon for a while now and I've done it a bit 
> differently.
>
> In skin.conf of what ever skin you are using (Seasons for me) I added:
> [[MastodonHourly]]
> encoding = strict_ascii
> template = mastodon.out.tmpl
>
> mastodon.out.tmpl contains:
> Temp: $current.outTemp Humidity: $current.outHumidity\nPressure: 
> $current.barometer\nWind: $current.windDir.ordinal_compass, 
> $current.windSpeed (ave), $current.windGust (gust)\nRain Rate: 
> $current.rainRate Rain Total: $day.rain.sum\nSolar Radiation: 
> $current.radiation UV: $current.UV\nSoil Moisture: $current.soilMoist1
>
> Lastly I have this python script run hourly from a Crontab using 
> Mastodon.py and I can upload an image from my webcam at the same time:
>
> #!/usr/bin/env python3
> from mastodon import Mastodon
> from datetime import datetime
>
> # Set up Mastodon
> mastodon = Mastodon(
> access_token = '',
> api_base_url = ''
> )
>
> photo_path = '/var/www/html/webcam.jpg'
> now = datetime.now()
> spoiler = 'Live weather for #Yeovil at ' + now.strftime('%d/%m/%y %H.00')
>
> f = open('/var/www/html/weewx/mastodon.out','r')
> media = mastodon.media_post(photo_path)
> content = f.read()
> tweet = content.replace("\\n","\n")
> mastodon.status_post(tweet, media_ids=media, spoiler_text=spoiler)
> f.close()
>

-- 
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/d182632f-852d-4f4d-b810-93d349322485n%40googlegroups.com.


[weewx-user] Re: Belchertown Radar

2022-02-27 Thread DaveStLou
The other possibility, do you have aeris_map = 1?

On Sunday, February 27, 2022 at 5:56:04 AM UTC-6 DaveStLou wrote:

> What do you have under [Extras] for radar_html = ""?
>
> On Saturday, February 26, 2022 at 9:29:20 AM UTC-6 kk44...@gmail.com 
> wrote:
>
>> You can create an index_radar.inc file to include whatever you want 
>> instead of the radar image. Or you can set radar_html in skin.conf. 
>>
>> bchap...@gmail.com schrieb am Samstag, 26. Februar 2022 um 15:36:46 
>> UTC+1:
>>
>>> from everything I have read, it should be off by defaultI haven't 
>>> turned it on, however it is on.  I want to display on a browser that 
>>> doesn't support WebGL.
>>>
>>>
>>> On Saturday, February 26, 2022 at 8:31:24 AM UTC-5 bchap...@gmail.com 
>>> wrote:
>>>
>>>> How do I turn off the radar display in belchertown? 
>>>
>>>

-- 
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/64fcf648-75ec-4e1f-bc56-2240f04b859an%40googlegroups.com.


[weewx-user] Re: Belchertown Radar

2022-02-27 Thread DaveStLou
What do you have under [Extras] for radar_html = ""?

On Saturday, February 26, 2022 at 9:29:20 AM UTC-6 kk44...@gmail.com wrote:

> You can create an index_radar.inc file to include whatever you want 
> instead of the radar image. Or you can set radar_html in skin.conf. 
>
> bchap...@gmail.com schrieb am Samstag, 26. Februar 2022 um 15:36:46 UTC+1:
>
>> from everything I have read, it should be off by defaultI haven't 
>> turned it on, however it is on.  I want to display on a browser that 
>> doesn't support WebGL.
>>
>>
>> On Saturday, February 26, 2022 at 8:31:24 AM UTC-5 bchap...@gmail.com 
>> wrote:
>>
>>> How do I turn off the radar display in belchertown? 
>>
>>

-- 
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/99ffc3b6-6b90-4015-b985-155fa7f31f2en%40googlegroups.com.


[weewx-user] Re: Belchertown w/MQTT Temperature not updating?

2022-02-21 Thread DaveStLou
Bumping this since the issue still exists.
My own assessment of the lack of response to this thread:

   - I haven't provided enough or right information.
   - Not many users have expertise in Belchertown skin. 
   - Truly is a bug. 

If the first, please let me know what if any information would help in 
making suggestions to solve my issue. If the last two, I guess reporting on 
github is next step. Any other resources are appreciated as well.

Thanks!

On Friday, February 18, 2022 at 4:30:59 PM UTC-6 DaveStLou wrote:

> MQTT is sending data. I turned on debug. Logs shows the site reading the 
> data properly. Only fields changing are data received time, wind direction 
> and beaufort category. All other fields only updated by refreshing the 
> entire page.
>
> Seems unlikely to me that it's a bug. I looked at 
> https://belchertownweather.com/ and it is working correctly there.
>
> Anyone have any thoughts or direction? 
> On Friday, February 18, 2022 at 6:35:31 AM UTC-6 DaveStLou wrote:
>
>> Seems only the wind data is updating (direction and speed) from the mqtt 
>> data. In addition to temperature, I realize now that the barometer, dew 
>> point and humidity are also only updating when I refresh.
>>
>> Thanks for any assistance!
>>
>> On Friday, February 18, 2022 at 6:31:25 AM UTC-6 DaveStLou wrote:
>>
>>> I've attached logs, configs and mqtt data a couple of days ago. 
>>> Temperature and other data is in the mqtt file.
>>>
>>> Any thoughts on getting the live mqtt data to update temperature as 
>>> expected?
>>>
>>> Thanks!
>>>
>>> On Wednesday, February 16, 2022 at 6:53:56 AM UTC-6 DaveStLou wrote:
>>>
>>>> Here's a sample from subscribing to weather/loop. Shows outside temp at 
>>>> 51.4. Meanwhile my weather page at https://OakvilleWX.com on my 
>>>> browser was still showing 51.1 but wind was changing every three seconds 
>>>> as 
>>>> expected.
>>>>
>>>> When I refreshed page in browser it then showed 51.4 as well.
>>>>
>>>> On Wednesday, February 16, 2022 at 6:24:36 AM UTC-6 DaveStLou wrote:
>>>>
>>>>> Attached is a clip from my log this morning with debug on and config 
>>>>> files. I'll subscribe to the topic and post that asap.
>>>>> Thanks
>>>>>
>>>>> On Tuesday, February 15, 2022 at 5:00:03 PM UTC-6 vince wrote:
>>>>>
>>>>>> On Tuesday, February 15, 2022 at 1:24:28 PM UTC-8 DaveStLou wrote:
>>>>>>
>>>>>>> On my station website OakvilleWX.com, I see MQTT updates most values 
>>>>>>> real-time as it's supposed to. If I leave it up for a time though, I've 
>>>>>>> noticed that the temperature doesn't update unless I refresh the page.
>>>>>>>
>>>>>>>
>>>>>> In the absence of any logs or config files or description of your 
>>>>>> station,   I can only suggest doing an external mqtt subscribe to the 
>>>>>> same 
>>>>>> topic you have weewx subscribing to and verify you are sending 
>>>>>> temperature 
>>>>>> data.
>>>>>>
>>>>>>

-- 
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/e6dd38a8-2d69-4f23-85ae-f485d85860d7n%40googlegroups.com.


[weewx-user] Re: Belchertown w/MQTT Temperature not updating?

2022-02-18 Thread DaveStLou
MQTT is sending data. I turned on debug. Logs shows the site reading the 
data properly. Only fields changing are data received time, wind direction 
and beaufort category. All other fields only updated by refreshing the 
entire page.

Seems unlikely to me that it's a bug. I looked at 
https://belchertownweather.com/ and it is working correctly there.

Anyone have any thoughts or direction? 
On Friday, February 18, 2022 at 6:35:31 AM UTC-6 DaveStLou wrote:

> Seems only the wind data is updating (direction and speed) from the mqtt 
> data. In addition to temperature, I realize now that the barometer, dew 
> point and humidity are also only updating when I refresh.
>
> Thanks for any assistance!
>
> On Friday, February 18, 2022 at 6:31:25 AM UTC-6 DaveStLou wrote:
>
>> I've attached logs, configs and mqtt data a couple of days ago. 
>> Temperature and other data is in the mqtt file.
>>
>> Any thoughts on getting the live mqtt data to update temperature as 
>> expected?
>>
>> Thanks!
>>
>> On Wednesday, February 16, 2022 at 6:53:56 AM UTC-6 DaveStLou wrote:
>>
>>> Here's a sample from subscribing to weather/loop. Shows outside temp at 
>>> 51.4. Meanwhile my weather page at https://OakvilleWX.com on my browser 
>>> was still showing 51.1 but wind was changing every three seconds as 
>>> expected.
>>>
>>> When I refreshed page in browser it then showed 51.4 as well.
>>>
>>> On Wednesday, February 16, 2022 at 6:24:36 AM UTC-6 DaveStLou wrote:
>>>
>>>> Attached is a clip from my log this morning with debug on and config 
>>>> files. I'll subscribe to the topic and post that asap.
>>>> Thanks
>>>>
>>>> On Tuesday, February 15, 2022 at 5:00:03 PM UTC-6 vince wrote:
>>>>
>>>>> On Tuesday, February 15, 2022 at 1:24:28 PM UTC-8 DaveStLou wrote:
>>>>>
>>>>>> On my station website OakvilleWX.com, I see MQTT updates most values 
>>>>>> real-time as it's supposed to. If I leave it up for a time though, I've 
>>>>>> noticed that the temperature doesn't update unless I refresh the page.
>>>>>>
>>>>>>
>>>>> In the absence of any logs or config files or description of your 
>>>>> station,   I can only suggest doing an external mqtt subscribe to the 
>>>>> same 
>>>>> topic you have weewx subscribing to and verify you are sending 
>>>>> temperature 
>>>>> data.
>>>>>
>>>>>

-- 
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/3a0e53ee-bc46-4fe9-b6b1-78c2d707f60an%40googlegroups.com.


[weewx-user] Re: Belchertown w/MQTT Temperature not updating?

2022-02-18 Thread DaveStLou
Seems only the wind data is updating (direction and speed) from the mqtt 
data. In addition to temperature, I realize now that the barometer, dew 
point and humidity are also only updating when I refresh.

Thanks for any assistance!

On Friday, February 18, 2022 at 6:31:25 AM UTC-6 DaveStLou wrote:

> I've attached logs, configs and mqtt data a couple of days ago. 
> Temperature and other data is in the mqtt file.
>
> Any thoughts on getting the live mqtt data to update temperature as 
> expected?
>
> Thanks!
>
> On Wednesday, February 16, 2022 at 6:53:56 AM UTC-6 DaveStLou wrote:
>
>> Here's a sample from subscribing to weather/loop. Shows outside temp at 
>> 51.4. Meanwhile my weather page at https://OakvilleWX.com on my browser 
>> was still showing 51.1 but wind was changing every three seconds as 
>> expected.
>>
>> When I refreshed page in browser it then showed 51.4 as well.
>>
>> On Wednesday, February 16, 2022 at 6:24:36 AM UTC-6 DaveStLou wrote:
>>
>>> Attached is a clip from my log this morning with debug on and config 
>>> files. I'll subscribe to the topic and post that asap.
>>> Thanks
>>>
>>> On Tuesday, February 15, 2022 at 5:00:03 PM UTC-6 vince wrote:
>>>
>>>> On Tuesday, February 15, 2022 at 1:24:28 PM UTC-8 DaveStLou wrote:
>>>>
>>>>> On my station website OakvilleWX.com, I see MQTT updates most values 
>>>>> real-time as it's supposed to. If I leave it up for a time though, I've 
>>>>> noticed that the temperature doesn't update unless I refresh the page.
>>>>>
>>>>>
>>>> In the absence of any logs or config files or description of your 
>>>> station,   I can only suggest doing an external mqtt subscribe to the same 
>>>> topic you have weewx subscribing to and verify you are sending temperature 
>>>> data.
>>>>
>>>>

-- 
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/6f48642a-ed36-4633-b10f-193ea29d4bcan%40googlegroups.com.


[weewx-user] Re: Belchertown w/MQTT Temperature not updating?

2022-02-18 Thread DaveStLou
I've attached logs, configs and mqtt data a couple of days ago. Temperature 
and other data is in the mqtt file.

Any thoughts on getting the live mqtt data to update temperature as 
expected?

Thanks!

On Wednesday, February 16, 2022 at 6:53:56 AM UTC-6 DaveStLou wrote:

> Here's a sample from subscribing to weather/loop. Shows outside temp at 
> 51.4. Meanwhile my weather page at https://OakvilleWX.com on my browser 
> was still showing 51.1 but wind was changing every three seconds as 
> expected.
>
> When I refreshed page in browser it then showed 51.4 as well.
>
> On Wednesday, February 16, 2022 at 6:24:36 AM UTC-6 DaveStLou wrote:
>
>> Attached is a clip from my log this morning with debug on and config 
>> files. I'll subscribe to the topic and post that asap.
>> Thanks
>>
>> On Tuesday, February 15, 2022 at 5:00:03 PM UTC-6 vince wrote:
>>
>>> On Tuesday, February 15, 2022 at 1:24:28 PM UTC-8 DaveStLou wrote:
>>>
>>>> On my station website OakvilleWX.com, I see MQTT updates most values 
>>>> real-time as it's supposed to. If I leave it up for a time though, I've 
>>>> noticed that the temperature doesn't update unless I refresh the page.
>>>>
>>>>
>>> In the absence of any logs or config files or description of your 
>>> station,   I can only suggest doing an external mqtt subscribe to the same 
>>> topic you have weewx subscribing to and verify you are sending temperature 
>>> data.
>>>
>>>

-- 
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/9e0888b3-7fea-4f4e-91b3-c409c1281896n%40googlegroups.com.


[weewx-user] Re: Belchertown w/MQTT Temperature not updating?

2022-02-16 Thread DaveStLou
Here's a sample from subscribing to weather/loop. Shows outside temp at 
51.4. Meanwhile my weather page at https://OakvilleWX.com on my browser was 
still showing 51.1 but wind was changing every three seconds as expected.

When I refreshed page in browser it then showed 51.4 as well.

On Wednesday, February 16, 2022 at 6:24:36 AM UTC-6 DaveStLou wrote:

> Attached is a clip from my log this morning with debug on and config 
> files. I'll subscribe to the topic and post that asap.
> Thanks
>
> On Tuesday, February 15, 2022 at 5:00:03 PM UTC-6 vince wrote:
>
>> On Tuesday, February 15, 2022 at 1:24:28 PM UTC-8 DaveStLou wrote:
>>
>>> On my station website OakvilleWX.com, I see MQTT updates most values 
>>> real-time as it's supposed to. If I leave it up for a time though, I've 
>>> noticed that the temperature doesn't update unless I refresh the page.
>>>
>>>
>> In the absence of any logs or config files or description of your 
>> station,   I can only suggest doing an external mqtt subscribe to the same 
>> topic you have weewx subscribing to and verify you are sending temperature 
>> data.
>>
>>

-- 
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/b0ef9d5f-f994-4f74-8dfe-91a7e31a9677n%40googlegroups.com.
{"dateTime": "1645015618.0", "usUnits": "1.0", "barometer": "30.008", "inTemp": 
"61.8", "inHumidity": "44.0", "outTemp": "51.4", "windSpeed": "2.0", 
"windSpeed10": "4.0", "windDir": "152.0", "outHumidity": "66.0", "rainRate": 
"0.0", "stormRain": "0.0", "dayRain": "0.0", "monthRain": "1.21", "yearRain": 
"2.7", "dayET": "0.0", "monthET": "0.0", "yearET": "0.0", "leafWet4": "0.0", 
"insideAlarm": "0.0", "rainAlarm": "0.0", "outsideAlarm1": "0.0", 
"outsideAlarm2": "0.0", "extraAlarm1": "0.0", "extraAlarm2": "0.0", 
"extraAlarm3": "0.0", "extraAlarm4": "0.0", "extraAlarm5": "0.0", 
"extraAlarm6": "0.0", "extraAlarm7": "0.0", "extraAlarm8": "0.0", 
"soilLeafAlarm1": "0.0", "soilLeafAlarm2": "0.0", "soilLeafAlarm3": "0.0", 
"soilLeafAlarm4": "0.0", "txBatteryStatus": "0.0", "consBatteryVoltage": 
"3.77", "forecastIcon": "6.0", "forecastRule": "44.0", "sunrise": 
"1645023420.0", "sunset": "1645062540.0", "rain": "0.0", "windGust": "9.0", 
"windGustDir": "130.0", "pressure": "29.41518502846202", "altimeter": 
"30.009175316592362", "appTemp": "48.135690081723865", "cloudbase": 
"3043.8641896577337", "dewpoint": "40.42699756550597", "heatindex": "49.342", 
"humidex": "51.4", "inDewpoint": "39.65455192110421", "maxSolarRad": "0.0", 
"windchill": "51.4", "beaufort": "1.0", "hourRain": "0.0", "rain24": "0.0"}
{"dateTime": "1645015616.0", "usUnits": "1.0", "barometer": "30.008", "inTemp": 
"61.8", "inHumidity": "44.0", "outTemp": "51.4", "windSpeed": "1.0", 
"windSpeed10": "4.0", "windDir": "155.0", "outHumidity": "66.0", "rainRate": 
"0.0", "stormRain": "0.0", "dayRain": "0.0", "monthRain": "1.21", "yearRain": 
"2.7", "dayET": "0.0", "monthET": "0.0", &q

[weewx-user] Re: Belchertown w/MQTT Temperature not updating?

2022-02-16 Thread DaveStLou
Attached is a clip from my log this morning with debug on and config files. 
I'll subscribe to the topic and post that asap.
Thanks

On Tuesday, February 15, 2022 at 5:00:03 PM UTC-6 vince wrote:

> On Tuesday, February 15, 2022 at 1:24:28 PM UTC-8 DaveStLou wrote:
>
>> On my station website OakvilleWX.com, I see MQTT updates most values 
>> real-time as it's supposed to. If I leave it up for a time though, I've 
>> noticed that the temperature doesn't update unless I refresh the page.
>>
>>
> In the absence of any logs or config files or description of your station, 
>   I can only suggest doing an external mqtt subscribe to the same topic you 
> have weewx subscribing to and verify you are sending temperature data.
>
>

-- 
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/77d7ae7d-d363-48c7-a5bd-b0fc7a49022dn%40googlegroups.com.
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2021 Tom Keffer 
# See the file LICENSE.txt for your rights.

##

# This section is for general configuration information.

# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 0

# Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = /

# Whether to log successful operations
log_success = True

# Whether to log unsuccessful operations
log_failure = True

# How long to wait before timing out a socket (FTP, HTTP) connection
socket_timeout = 20

# Do not modify this. It is used when installing and updating weewx.
version = 4.6.2

##

#   This section is for information about the station.

[Station]

# Description of the station location
location = "Oakville, Missouri, USA"

# Latitude in decimal degrees. Negative for southern hemisphere
latitude = 38.477053
# Longitude in decimal degrees. Negative for western hemisphere.
longitude = -90.355590

# Altitude of the station, with the unit it is in. This is used only
# if the hardware cannot supply a value.
altitude = 515, foot# Choose 'foot' or 'meter' for unit

# Set to type of station hardware. There must be a corresponding stanza
# in this file, which includes a value for the 'driver' option.
station_type = Vantage

# If you have a website, you may specify an URL. This is required if you
# intend to register your station.
station_url = https://OakvilleWX.com

# The start of the rain year (1=January; 10=October, etc.). This is
# downloaded from the station if the hardware supports it.
rain_year_start = 1

# Start of week (0=Monday, 6=Sunday)
week_start = 6

##

[Vantage]
# This section is for the Davis Vantage series of weather stations.

# Connection type: serial or ethernet 
#  serial (the classic VantagePro)
#  ethernet (the WeatherLinkIP or Serial-Ethernet bridge)
type = serial

# If the connection type is serial, a port must be specified:
#   Debian, Ubuntu, Redhat, Fedora, and SuSE:
# /dev/ttyUSB0 is a common USB port name
# /dev/ttyS0   is a common serial port name
#   BSD:
# /dev/cuaU0   is a common serial port name
port = /dev/ttyUSB0

# If the connection type is ethernet, an IP Address/hostname is required:
#host = 1.2.3.4

##
# The rest of this section rarely needs any attention. 
# You can safely leave it "as is."
##

# Serial baud rate (usually 19200)
baudrate = 19200

# TCP port (when using the WeatherLinkIP)
tcp_port = 2

# TCP send delay (when using the WeatherLinkIP):
tcp_send_delay = 0.5

# The type of LOOP packet to request: 1 = LOOP1; 2 = LOOP2; 3 = both
loop_request = 1

# The id of your ISS station (usually 1). If you use a wind meter connected
# to a anemometer transmitter kit, use its id
iss_id = 1

# How long to wait for a response from the station before giving up (in
# seconds; must be greater than 2)
timeout = 4

# How long to wait before trying again (in seconds)
wait_before_retry = 1.2

# How many times to try before giving up:
max_tries = 4

# Vantage model Type: 1 = Vantage Pro; 2 = Vantage Pro2
model_type = 2

# The driver to use:
driver = weewx.drivers.vantage

#

[weewx-user] Belchertown w/MQTT Temperature not updating?

2022-02-15 Thread DaveStLou
On my station website OakvilleWX.com, I see MQTT updates most values 
real-time as it's supposed to. If I leave it up for a time though, I've 
noticed that the temperature doesn't update unless I refresh the page.

I reviewed the configuration settings this morning and didn't see anything 
obvious.

Any thoughts or suggestions? Thanks in advance!

-- 
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/d2f7a91b-89ff-4b4d-addf-a2654d2999f1n%40googlegroups.com.


Re: [weewx-user] Skin with webcam?

2022-01-21 Thread DaveStLou
Turns out it was these two lines:
 mqtt_websockets_username = ""
 mqtt_websockets_password = ""

I do not need either of these and thought leaving them blank caused them to 
be ignored but found out I had to comment them out. All is well.

On Thursday, January 20, 2022 at 9:18:54 AM UTC-6 DaveStLou wrote:

> On Wednesday, January 19, 2022 at 8:21:31 PM UTC-6 vince wrote:
>  
>
>> Not without seeing your logs.
>>  
>>
> When you say 'roll back' did you uninstall/reinstall, or restore a backup 
>> of the skins/Belchertown directory, or something else ?
>>
>  
> My weewx logs were normal. I turned on MQTT write success messages to 
> confirm the loop messages were being recorded. I rolled back by copying 
> weewx.conf and Belchertown folder files from backup.
>
> I'm going to try again and see if I can find anything else. My current 
> theory is that there may have been an issue with my webhost and CloudFlare. 
> I'm going to do further testing before I post logs.
>

-- 
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/86d59ba5-1a38-4831-9c96-0795fabbc196n%40googlegroups.com.


Re: [weewx-user] Skin with webcam?

2022-01-20 Thread DaveStLou


On Wednesday, January 19, 2022 at 8:21:31 PM UTC-6 vince wrote:
 

> Not without seeing your logs.
>  
> When you say 'roll back' did you uninstall/reinstall, or restore a backup 
> of the skins/Belchertown directory, or something else ?
>
 
My weewx logs were normal. I turned on MQTT write success messages to 
confirm the loop messages were being recorded. I rolled back by copying 
weewx.conf and Belchertown folder files from backup.

I'm going to try again and see if I can find anything else. My current 
theory is that there may have been an issue with my webhost and CloudFlare. 
I'm going to do further testing before I post logs.

-- 
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/a74df61a-0c4d-4be1-b85a-87bef1b8f387n%40googlegroups.com.


Re: [weewx-user] Skin with webcam?

2022-01-20 Thread DaveStLou
On Wednesday, January 19, 2022 at 7:50:00 PM UTC-6 Mitchell Tuckness wrote:

> I am far from an expert at updating, but I do know the mqtt settings can 
> get erased if they are located in the skin.conf and not in the weewx.conf, 
> maybe that is what happened? Have you checked the backup config it makes to 
> see if the statements are there or erased?
>
I compared the skin.conf and weewx.conf before and after the update and the 
only change was the option for setting a username and password to read MQTT 
which mine does not require. By end of the day my whole site went offline. 
Some sort of issue between CloudFlare and my webhost so it may have been 
something else happening. I'm going to try again.
 

-- 
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/6d3d4613-268a-4ea6-82ec-f309065e0199n%40googlegroups.com.


Re: [weewx-user] Skin with webcam?

2022-01-19 Thread DaveStLou
Hello!

I've been away for a bit and am trying to update my website using the 
information above. After downloading and installing the master.zip 
mentioned in issue 703, my MQTT live connection is failing. Using 
?debug=true, I see "Cannot connect to MQTT broker" in the browser console. 
I'd really like to take advantage of all the progress since I last visited 
this thread, but I don't want to lose MQTT live updates.

Any thoughts on what might be breaking the MQTT connection?

 When I roll back the files to prior to this update (still 1.3b1), MQTT 
connection resumes as usual (OakvilleWX.com }.

Thanks in advance for assistance!

On Thursday, December 16, 2021 at 8:12:09 AM UTC-6 ra...@norecords.org 
wrote:

> Hi everyone, just to notice you that my mod is a part of Belchertown skin 
> right now, you can update your installation with the latest github version 
> and use the radar_index.inc.example or see other taste at this issue 
> https://github.com/poblabs/weewx-belchertown/issues/703
> Cheers and have nice and happy Christmas
>
> Le lundi 30 août 2021 à 23:50:12 UTC+2, donnie...@gmail.com a écrit :
>
>> The incoming mqtt web sockets is running with SSL but the outgoing to 
>> mqtt broker is not. That is the part I can’t get to work.
>> I am not terribly concerned but it would tie everything up.
>>
>> The stills on the livestream work well. Those are actually snapshots 
>> generated by surveillance station on Synology. I have inotifywait running 
>> on pi to grab them and send to webfoot when a new one arrives. The 
>> time-lapse using one created by Synology did not work well as an mp4. I 
>> have instead converted the mp4 to an animated gif using ffmpeg which works 
>> much better. That is all done in a bash script using inotifywait.
>>
>> Thanks for your help.
>>
>> On Aug 30, 2021, at 3:20 PM, Doug Jenkins  wrote:
>>
>> Don:
>>
>> Sorry for the late reply. I checked your site and it appears to be up and 
>> running with SSL on both the Belchertown skin as well as your MQTT broker. 
>> I also see your live streams are working well too. 
>>
>> You have an interesting setup setting up a VPN to your synology NAS then 
>> NGINX as your proxy to the Pi. I understand why you have the setup given 
>> the Starlink dependency and using the Synology as the main ingress for your 
>> setup. 
>>
>> anyways I hope my approach helped. Just reach out on the user group again 
>> if you have any questions. There is a lot of great technical folks here 
>> that can assist.
>>
>> Doug Jenkins
>>
>> -- 
>> 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/y-RQmnoqcqQ/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/CACC0i0yj3gLt%3DfOZaz5YUAqAeMc8XQWv-su%3DzjX_DzcnOCk_DQ%40mail.gmail.com
>>  
>> 
>> .
>>
>>
>>

-- 
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/04377d30-e47d-4460-989d-a11776ec5877n%40googlegroups.com.


[weewx-user] Re: Can Weewx send alerts if it stops reporting?

2021-12-29 Thread DaveStLou
That's great @uajqq! Like OP, I've been looking for something like this 
since WeatherUnderground stopped sending alerts. Easy set up and I've got 
it running.

On Tuesday, December 28, 2021 at 11:34:05 AM UTC-6 uajqq wrote:

> Sorry, forgot to include the link: 
> https://github.com/uajqq/weewx-healthchecks
>
> On Tuesday, December 28, 2021 at 12:33:20 PM UTC-5 uajqq wrote:
>
>>
>> I was recently wondering the same thing, but I didn't find any easy 
>> answer. I ended up creating an extension that sends a ping to 
>> healthchecks.io with every archive interval. That way, you can get an 
>> email, text message, whatever if weewx stops reporting. 
>> On Tuesday, March 12, 2019 at 9:29:41 PM UTC-4 vk3...@gmail.com wrote:
>>
>>> It comes down to the source of the failure you want to monitor.
>>> Using systemd will let you restart weewx if it stops running  but will 
>>> not detect it looping or otherwise 'working' (as seen by the OS). It also 
>>> won't detect a OS crash or power down.
>>> if you just want the appearance of a file or data records etc. on some 
>>> external computer (whether inside or outside your LAN) then you could set 
>>> up something like an MQTT broker and have an app that subscribes tot he 
>>> packets and does whatever you want if something is not received - a bit 
>>> like a 'heartbeat monitor' app. However this would show you an error if 
>>> anything between weewx and the subscriber was not working, not weewx 
>>> specifically.
>>> Susan
>>>
>>

-- 
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/255e9b4c-4fa0-48e6-838b-694cb73d20ccn%40googlegroups.com.


Re: [weewx-user] Skin with webcam?

2021-04-16 Thread DaveStLou
Information on index_hook_after_station_info.inc is in the Belchertown Skin 
documentation here: 
https://github.com/poblabs/weewx-belchertown#add-custom-content-to-the-front-page

You create an html file with that name with whatever you want in it and 
place it in the root of the Belchertown skin folder. 


On Thursday, April 15, 2021 at 2:48:36 PM UTC-5 sanph...@gmail.com wrote:

> Can you share the information that needs to be added to the 
> "index_hook_after_station_info" section? I can't find any documentation on 
> it. Thanks!
>
> On Thursday, March 25, 2021 at 9:47:31 AM UTC-4 DaveStLou wrote:
>
>> Like In77, I use Belchertown skin. I added my webcam in 
>> "index_hook_after_station_info" section so it appears below the station 
>> information: OakvilleWx.com
>>
>> On Thursday, March 25, 2021 at 1:39:44 AM UTC-5 ln77 wrote:
>>
>>> Belchertown isn’t exactly pre-loaded, but it is well integrated and the 
>>> install is straightforward.  It has a radar feed. It doesn’t have the 
>>> webcam built in, but It has several places to insert user-defined content 
>>> and it would be easy to put a webcam in one of them.  I hacked it a little 
>>> to put the webcam in place of the current-conditions icon: 
>>> http://www.2pi.org/wx/
>>>
>>>   -Les
>>>
>>>
>>> On 24 Mar 2021, at 20:53, 'super zee' via weewx-user <
>>> weewx...@googlegroups.com> wrote:
>>>
>>> Brand new here and still learning.  Got Weewx loaded and it's uploading 
>>> to CWOP and my web page.  Is there a skin preloaded with WeeWX that can 
>>> accommodate a web cam and live radar feed?  
>>>
>>> Thanks for the help!
>>> Chris 
>>> KAZTEMPE47
>>>
>>> -- 
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/58b570f6-ba28-4b46-bbdf-dcc9447d36a5n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/58b570f6-ba28-4b46-bbdf-dcc9447d36a5n%40googlegroups.com?utm_medium=email_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/17922b65-727e-4785-ac0d-02f9cd4ef92an%40googlegroups.com.


Re: [weewx-user] I'm ready to try something different with the webpage

2021-04-15 Thread DaveStLou
As for recommendations, I use and recommend the Belchertown skin. You can 
see it in use on the original site: https://belchertownweather.com/ and 
this is my site: https://oakvillewx.com/

On Wednesday, April 14, 2021 at 12:03:22 PM UTC-5 vince wrote:

> On Tuesday, April 13, 2021 at 7:12:45 AM UTC-7 NightTripper wrote:
>
>> Either dead or missing parts.
>>
>> On Tuesday, April 13, 2021 at 5:28:53 AM UTC-5 daniel@gmail.com 
>> wrote:
>>
>>> I am in a same boat, looking to be a bit more adventurous with the web 
>>> page.
>>>
>>> So many of the links on the showcase page appear to be dead now though.
>>>
>>
>
> So many complaints.  Sigh.  C'mon guys
>
> I'd suggest using the weewx map instead.   You will find many more example 
> sites with a much greater chance of finding one with a valid station_url 
> link that gets you to their web page.
>
> (note - the station_url does not have to be valid, so there are no 
> guarantees the registered 'link' will work)
>
>

-- 
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/322127b0-0b97-47ee-88df-0b13a1377bf7n%40googlegroups.com.


[weewx-user] Re: Version 4.5.0 released

2021-04-03 Thread DaveStLou
 The FTP uploader change greatly improved my upload time. Thanks!

On Saturday, April 3, 2021 at 3:21:02 AM UTC-5 Gérard P wrote:

> It is possible to stay with 4.5.0 by changing the syntax of code using the 
> "+" operator, for instance :
> schema_extended = schemas.wview.schema + [('lightning_strikes', 
> 'REAL'), ('avg_distance', 'REAL')]
> become
> schema_extended = schemas.wview.schema.copy()
> schema_extended.update([('lightning_strikes', 'REAL'), 
> ('avg_distance', 'REAL')])
>
> Le vendredi 2 avril 2021 à 21:14:27 UTC+2, mksm...@gmail.com a écrit :
>
>> the upgrade to 4.5 from 4.4 failed and weewx is broken please advice
>> used these commands for upgrade
>> sudo apt update
>> apt list --upgradable  (4.5 was showing)
>> sudo apt full-upgrade
>> then I answered "N" to the upgrade select to keep my old files
>>
>> Apr  2 21:31:49 raspberrypi systemd[1]: Starting LSB: weewx weather 
>> system...
>> Apr  2 21:31:49 raspberrypi weewx[1049]: Starting weewx weather system: 
>> weewxTraceback (most recent call last):
>> Apr  2 21:31:49 raspberrypi weewx[1049]:   File 
>> "/usr/share/weewx/weewxd", line 29, in 
>> Apr  2 21:31:49 raspberrypi weewx[1049]: import user.extensions
>> Apr  2 21:31:49 raspberrypi weewx[1049]:   File 
>> "/usr/share/weewx/user/extensions.py", line 20, in 
>> Apr  2 21:31:49 raspberrypi weewx[1049]: schema_extended = 
>> schemas.wview.schema + [('lightning_strikes', 'REAL'), ('avg_distance', 
>> 'REAL')]
>> Apr  2 21:31:49 raspberrypi weewx[1049]: TypeError: unsupported operand 
>> type(s) for +: 'dict' and 'list'
>> Apr  2 21:31:49 raspberrypi weewx[1049]:  failed!
>> Apr  2 21:31:49 raspberrypi systemd[1]: weewx.service: Control process 
>> exited, code=exited, status=1/FAILURE
>> Apr  2 21:31:49 raspberrypi systemd[1]: weewx.service: Failed with result 
>> 'exit-code'.
>> Apr  2 21:31:49 raspberrypi systemd[1]: Failed to start LSB: weewx 
>> weather system.
>>
>
>

-- 
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/a99243dc-0bfe-4cbd-a8b5-8b0a4ccb6478n%40googlegroups.com.


Re: [weewx-user] Skin with webcam?

2021-04-02 Thread DaveStLou
I 'm no expert by any means. I usually just try things I find here: w3school's 
HTML Tutorial <https://www.w3schools.com/html/>. I'm sure there's room for 
improvement.

With that intro, I've attached the index_hook_after_station_info.inc I 
created which includes the link to YouTube livestream and the embeded 
EarthCam content.

On Friday, April 2, 2021 at 5:54:58 AM UTC-5 moth...@gmail.com wrote:

> I am also interested in how you did this. Thanks.
>
> Op donderdag 1 april 2021 om 14:02:24 UTC+2 schreef Mitchell Tuckness:
>
>> I don't suppose you would be interested in sharing the code you used to 
>> modify the Belchertown to look so nice. I am horrible on HTML, but I am 
>> pretty good at modifying, or write a guide on how you modified it. Looks 
>> great, would like to get mine like that!
>>
>> On Thursday, March 25, 2021 at 7:47:31 AM UTC-6 DaveStLou wrote:
>>
>>> Like In77, I use Belchertown skin. I added my webcam in 
>>> "index_hook_after_station_info" section so it appears below the station 
>>> information: OakvilleWx.com
>>>
>>> On Thursday, March 25, 2021 at 1:39:44 AM UTC-5 ln77 wrote:
>>>
>>>> Belchertown isn’t exactly pre-loaded, but it is well integrated and the 
>>>> install is straightforward.  It has a radar feed. It doesn’t have the 
>>>> webcam built in, but It has several places to insert user-defined content 
>>>> and it would be easy to put a webcam in one of them.  I hacked it a little 
>>>> to put the webcam in place of the current-conditions icon: 
>>>> http://www.2pi.org/wx/
>>>>
>>>>   -Les
>>>>
>>>>
>>>> On 24 Mar 2021, at 20:53, 'super zee' via weewx-user <
>>>> weewx...@googlegroups.com> wrote:
>>>>
>>>> Brand new here and still learning.  Got Weewx loaded and it's uploading 
>>>> to CWOP and my web page.  Is there a skin preloaded with WeeWX that can 
>>>> accommodate a web cam and live radar feed?  
>>>>
>>>> Thanks for the help!
>>>> Chris 
>>>> KAZTEMPE47
>>>>
>>>> -- 
>>>> 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+...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/58b570f6-ba28-4b46-bbdf-dcc9447d36a5n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/58b570f6-ba28-4b46-bbdf-dcc9447d36a5n%40googlegroups.com?utm_medium=email_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/f3d8e269-1b62-4274-9fce-677aedcdfbf2n%40googlegroups.com.




OakvilleWx WeatherCam  







Re: [weewx-user] Skin with webcam?

2021-03-26 Thread DaveStLou
I'm sure not an expert but be sure to ask for help if you need it. 
Belchertown skin does make a site look great!

On Friday, March 26, 2021 at 1:22:58 AM UTC-5 zman_...@yahoo.com wrote:

> Thanks for the help.  I will have to install the Belchertown skin and give 
> it a try.  Lots of coding to learn how to make this thing work.  Your site 
> looks great.
> Chris 
>
> On Thursday, March 25, 2021 at 6:47:31 AM UTC-7 DaveStLou wrote:
>
>> Like In77, I use Belchertown skin. I added my webcam in 
>> "index_hook_after_station_info" section so it appears below the station 
>> information: OakvilleWx.com
>>
>> On Thursday, March 25, 2021 at 1:39:44 AM UTC-5 ln77 wrote:
>>
>>> Belchertown isn’t exactly pre-loaded, but it is well integrated and the 
>>> install is straightforward.  It has a radar feed. It doesn’t have the 
>>> webcam built in, but It has several places to insert user-defined content 
>>> and it would be easy to put a webcam in one of them.  I hacked it a little 
>>> to put the webcam in place of the current-conditions icon: 
>>> http://www.2pi.org/wx/
>>>
>>>   -Les
>>>
>>>
>>> On 24 Mar 2021, at 20:53, 'super zee' via weewx-user <
>>> weewx...@googlegroups.com> wrote:
>>>
>>> Brand new here and still learning.  Got Weewx loaded and it's uploading 
>>> to CWOP and my web page.  Is there a skin preloaded with WeeWX that can 
>>> accommodate a web cam and live radar feed?  
>>>
>>> Thanks for the help!
>>> Chris 
>>> KAZTEMPE47
>>>
>>> -- 
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/58b570f6-ba28-4b46-bbdf-dcc9447d36a5n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/58b570f6-ba28-4b46-bbdf-dcc9447d36a5n%40googlegroups.com?utm_medium=email_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/11c80aea-4d20-4543-ab76-0124b1dd19d2n%40googlegroups.com.


Re: [weewx-user] Skin with webcam?

2021-03-25 Thread DaveStLou
Like In77, I use Belchertown skin. I added my webcam in 
"index_hook_after_station_info" section so it appears below the station 
information: OakvilleWx.com

On Thursday, March 25, 2021 at 1:39:44 AM UTC-5 ln77 wrote:

> Belchertown isn’t exactly pre-loaded, but it is well integrated and the 
> install is straightforward.  It has a radar feed. It doesn’t have the 
> webcam built in, but It has several places to insert user-defined content 
> and it would be easy to put a webcam in one of them.  I hacked it a little 
> to put the webcam in place of the current-conditions icon: 
> http://www.2pi.org/wx/
>
>   -Les
>
>
> On 24 Mar 2021, at 20:53, 'super zee' via weewx-user <
> weewx...@googlegroups.com> wrote:
>
> Brand new here and still learning.  Got Weewx loaded and it's uploading to 
> CWOP and my web page.  Is there a skin preloaded with WeeWX that can 
> accommodate a web cam and live radar feed?  
>
> Thanks for the help!
> Chris 
> KAZTEMPE47
>
> -- 
> 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+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/58b570f6-ba28-4b46-bbdf-dcc9447d36a5n%40googlegroups.com
>  
> 
> .
>
>
>

-- 
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/1c44051b-1f99-4bb4-8094-e441bf27d093n%40googlegroups.com.


[weewx-user] Re: Belchertown added ssl - mqtt stuck "connecting"

2021-03-16 Thread DaveStLou
Posting the resolution in case anyone finds this in a search. I had to 

   1. Set up and enable SSL on my mqtt server per Pat's instructions here: 
   https://obrienlabs.net/how-to-setup-your-own-mqtt-broker/
   2. Added SSL cert to MQTT config (from same page above)
   3. Set option "mqtt_websockets_ssl = 1" in skin.conf

All is well now: https://oakvillewx.com/

On Friday, February 19, 2021 at 5:04:57 AM UTC-6 DaveStLou wrote:

> That makes sense but I'm such a novice on certs, I'll have to do some 
> research on how to get the cert to be valid on both servers. 
> For the time being, I've disabled the mqtt portion of my website.
>
> On Tuesday, February 16, 2021 at 10:37:43 AM UTC-6 vince wrote:
>
>> We'd have to see the Belchertown portion of weewx.conf (with 
>> usernames/passwords obfuscated), but the documentation 
>> <https://github.com/poblabs/weewx-belchertown#mqtt-and-mqtt-websockets-optional>
>>  seems 
>> to show that you need to add a [[[tls]]] section to tell the skin which 
>> version and cert to use and I'd "guess" that the cert has to be valid on 
>> both computers. 
>>
>> On Tuesday, February 16, 2021 at 5:27:49 AM UTC-8 DaveStLou wrote:
>>
>>> To explain further, I added a certificate on the host to oakvillewx.com 
>>> so it's showing https now without a security warning.
>>>
>>> I am *not* getting the "Failed to connect to weather station" error 
>>> message. It just perpetually shows the "Connecting to weather station real 
>>> time data". So I wonder, could it be connected to the mqtt stream but just 
>>> not displaying the data?
>>>
>>> BTW, I tried changing "mqtt_websockets_ssl" to 1 in the skin.conf but 
>>> that DOES cause it to display the failed to connect error so that's a no go.
>>>
>>> If this is covered elsewhere, please point me to the thread. Thanks in 
>>> advance!
>>>
>>>
>>>
>>> On Monday, February 15, 2021 at 7:43:57 AM UTC-6 DaveStLou wrote:
>>>
>>>>
>>>> I recently added ssl to my website oakvillewx.com. Now my mqtt data 
>>>> feed is stuck saying "Connecting to weather station real time data" in all 
>>>> browser types. 
>>>>
>>>> I found references on the forum to using debugger in the browser. I can 
>>>> get that but I don't know how to use it to figure out what's happening. 
>>>>
>>>> Appreciate help on troubleshooting this. Thanks!
>>>>
>>>

-- 
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/5afd4ff9-e986-4f52-9c4b-e8658b64296cn%40googlegroups.com.


[weewx-user] Re: Belchertown added ssl - mqtt stuck "connecting"

2021-02-19 Thread DaveStLou
That makes sense but I'm such a novice on certs, I'll have to do some 
research on how to get the cert to be valid on both servers. 
For the time being, I've disabled the mqtt portion of my website.

On Tuesday, February 16, 2021 at 10:37:43 AM UTC-6 vince wrote:

> We'd have to see the Belchertown portion of weewx.conf (with 
> usernames/passwords obfuscated), but the documentation 
> <https://github.com/poblabs/weewx-belchertown#mqtt-and-mqtt-websockets-optional>
>  seems 
> to show that you need to add a [[[tls]]] section to tell the skin which 
> version and cert to use and I'd "guess" that the cert has to be valid on 
> both computers. 
>
> On Tuesday, February 16, 2021 at 5:27:49 AM UTC-8 DaveStLou wrote:
>
>> To explain further, I added a certificate on the host to oakvillewx.com 
>> so it's showing https now without a security warning.
>>
>> I am *not* getting the "Failed to connect to weather station" error 
>> message. It just perpetually shows the "Connecting to weather station real 
>> time data". So I wonder, could it be connected to the mqtt stream but just 
>> not displaying the data?
>>
>> BTW, I tried changing "mqtt_websockets_ssl" to 1 in the skin.conf but 
>> that DOES cause it to display the failed to connect error so that's a no go.
>>
>> If this is covered elsewhere, please point me to the thread. Thanks in 
>> advance!
>>
>>
>>
>> On Monday, February 15, 2021 at 7:43:57 AM UTC-6 DaveStLou wrote:
>>
>>>
>>> I recently added ssl to my website oakvillewx.com. Now my mqtt data 
>>> feed is stuck saying "Connecting to weather station real time data" in all 
>>> browser types. 
>>>
>>> I found references on the forum to using debugger in the browser. I can 
>>> get that but I don't know how to use it to figure out what's happening. 
>>>
>>> Appreciate help on troubleshooting this. Thanks!
>>>
>>

-- 
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/fb706879-4d67-4a70-8c5a-eb4a45ce1c43n%40googlegroups.com.


[weewx-user] Re: Belchertown added ssl - mqtt stuck "connecting"

2021-02-16 Thread DaveStLou
To explain further, I added a certificate on the host to oakvillewx.com so 
it's showing https now without a security warning.

I am *not* getting the "Failed to connect to weather station" error 
message. It just perpetually shows the "Connecting to weather station real 
time data". So I wonder, could it be connected to the mqtt stream but just 
not displaying the data?

BTW, I tried changing "mqtt_websockets_ssl" to 1 in the skin.conf but that 
DOES cause it to display the failed to connect error so that's a no go.

If this is covered elsewhere, please point me to the thread. Thanks in 
advance!



On Monday, February 15, 2021 at 7:43:57 AM UTC-6 DaveStLou wrote:

>
> I recently added ssl to my website oakvillewx.com. Now my mqtt data feed 
> is stuck saying "Connecting to weather station real time data" in all 
> browser types. 
>
> I found references on the forum to using debugger in the browser. I can 
> get that but I don't know how to use it to figure out what's happening. 
>
> Appreciate help on troubleshooting this. Thanks!
>

-- 
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/81fb3d10-9768-480f-9c3e-7e624ddeefc3n%40googlegroups.com.


[weewx-user] Belchertown added ssl - mqtt stuck "connecting"

2021-02-15 Thread DaveStLou

I recently added ssl to my website oakvillewx.com. Now my mqtt data feed is 
stuck saying "Connecting to weather station real time data" in all browser 
types. 

I found references on the forum to using debugger in the browser. I can get 
that but I don't know how to use it to figure out what's happening. 

Appreciate help on troubleshooting this. Thanks!

-- 
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/4a1c677e-7d6b-460a-a419-90d12c01b7d6n%40googlegroups.com.


Re: [weewx-user] Max tries exceeded while getting LOOP data

2020-11-24 Thread DaveStLou
Clearing the logger memory is what got mine back on track after recent 
extended power outage caused the same error.
On Monday, November 23, 2020 at 5:07:30 PM UTC-6 tke...@gmail.com wrote:

> You could try clearing the memory. It's hard to imagine how that would 
> cause an unresponsive logger, but it wouldn't cost you anything to try.
>
> On Mon, Nov 23, 2020 at 3:05 PM ccroom  wrote:
>
>> Yes, it was on a UPS.  The computer ran for about 4 hours following the 
>> power outage.  I'm a bit puzzled about how this could happen as well.  I'm 
>> not throwing it in the trash.  Maybe some sort of corruption??  
>>
>> On Monday, November 23, 2020 at 5:58:26 PM UTC-5 tke...@gmail.com wrote:
>>
>>> Seems that way. Perhaps a power surge? Do you have the unit on a UPS or, 
>>> at least, a surge suppressor?
>>>
>>> Logger failures are rare. This is maybe the  4th or 5th I've heard of.
>>>
>>> On Mon, Nov 23, 2020 at 2:54 PM ccroom  wrote:
>>>
 Thanks for your suggestions.  I removed and reset the logger, removed 
 batteries from the console, etc but still no data from the logger.  I did 
 have a brand new logger as a backup and installed the new logger.  After 
 doing so everything works and it is operating normally.  I suppose 
 "something"  during or after the storm caused a failure to the data 
 logger.  

 On Monday, November 23, 2020 at 10:28:37 AM UTC-5 tke...@gmail.com 
 wrote:

> He had a multi-hour outage. It's not surprising the Vantage clock 
> would be way behind. 
>
> On Mon, Nov 23, 2020 at 6:19 AM Graham Eddy  
> wrote:
>
>> also this does not look good
>>
>> On 24 Nov 2020, at 12:38 am, Tom Keffer  wrote:
>>
>> Nov 23 07:38:07 wxfitpc weewx[1201] INFO weewx.engine: Clock error is 
>> -1755.28 seconds (positive is fast)
>>
>>
>> -- 
>> 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+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/DE89371B-36A0-4A3B-918E-790F870667D0%40gmail.com
>>  
>> 
>> .
>>
> -- 
 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+...@googlegroups.com.

>>> To view this discussion on the web visit 
 https://groups.google.com/d/msgid/weewx-user/9f53e40e-780a-475c-8a7e-c413682a58ean%40googlegroups.com
  
 
 .

>>> -- 
>> 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+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/b6c5956d-f4bc-4b1e-b91c-65ba53f97d77n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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/0e34c519-f04d-46f3-8320-cb9f3b357692n%40googlegroups.com.


Re: [weewx-user] How to show a barometer trend (rising, falling, steady)

2020-10-21 Thread DaveStLou
I'm suspect it's related to a recent power outage that I recovered from. 
Some how bad data has found it's way into the database. 

On Wednesday, October 21, 2020 at 7:17:46 PM UTC-5 tke...@gmail.com wrote:

> In WeeWX, the value None is used to signal missing or bad data. You must 
> be constantly vigilant to its possible presence. 
>
> Can't help you on why the value went to None.
>
> On Wed, Oct 21, 2020 at 4:41 PM DaveStLou  wrote:
>
>> For many months I've been using the formula below in a twitter template 
>> I've created today it started throwing this error.
>>
>> Oct 21 16:00:23 pi4 weewx[8659] ERROR weewx.cheetahgenerator: Generate 
>> failed with exception ''
>> Oct 21 16:00:23 pi4 weewx[8659] ERROR weewx.cheetahgenerator:  
>> Ignoring template /etc/weewx/skins/Twitter/tweet.txt.tmpl
>> Oct 21 16:00:23 pi4 weewx[8659] ERROR weewx.cheetahgenerator:  *Reason: 
>> '<' not supported between instances of 'NoneType' and 'float'*
>> Oct 21 16:00:23 pi4 weewx[8659] ERROR weewx.cheetahgenerator:   
>> Traceback (most recent call last):
>> Oct 21 16:00:23 pi4 weewx[8659] ERROR weewx.cheetahgenerator: 
>> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate
>> Oct 21 16:00:23 pi4 weewx[8659] ERROR weewx.cheetahgenerator:   
>> unicode_string = compiled_template.respond()
>> Oct 21 16:00:23 pi4 weewx[8659] ERROR weewx.cheetahgenerator: 
>> File "_etc_weewx_skins_Twitter_tweet_txt_tmpl.py", line 106, in respond
>> Oct 21 16:00:23 pi4 weewx[8659] ERROR weewx.cheetahgenerator:   
>> *TypeError: 
>> '<' not supported between instances of 'NoneType' and 'float'*
>>
>> Not sure why it popped up all of a sudden except maybe there's a value in 
>> $current.barometer.raw that doesn't work with this expression.
>>
>> I appreciate any help or direction. Thanks!
>>  
>>
>> On Saturday, February 8, 2020 at 10:11:48 AM UTC-6 tke...@gmail.com 
>> wrote:
>>
>>> You can add the text in the template. The key is to test for the raw 
>>> value, using the .raw suffix. Something like (NOT TESTED):
>>>
>>> #set trend_raw = $trend.barometer.raw
>>>
>>> Wind $current.windSpeed Barometer $current.barometer #slurp
>>> #if $trend_raw < -0.05
>>> falling rapidly#slurp
>>> #elif $trend_raw < -0.01
>>> falling slowly#slurp
>>> #elif $trend_raw < 0.005
>>> steady#slurp
>>> #elif $trend_raw < 0.01
>>> rising slowly#slurp
>>> #else
>>> rising rapidly#slurp
>>> Temperature $current.outTemp Rain today $day.rain.sum Humidity 
>>> $current.outHumidity
>>>
>>> Adjust values as you see fit. The #slurp directive prevents a newline 
>>> from being injected.
>>>
>>> See the Language overview 
>>> <https://cheetahtemplate.org/users_guide/language.html> in the Cheetah 
>>> User's Guide for the full template syntax.
>>>
>>> -tk
>>>
>> -- 
>>
> 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+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/bc3935cc-9f3d-4157-92d9-8548c122b4den%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/bc3935cc-9f3d-4157-92d9-8548c122b4den%40googlegroups.com?utm_medium=email_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/bee7dd0e-2dd5-45d1-b4f7-021fb6b6fbden%40googlegroups.com.


Re: [weewx-user] How to show a barometer trend (rising, falling, steady)

2020-10-21 Thread DaveStLou
For many months I've been using the formula below in a twitter template 
I've created today it started throwing this error.

Oct 21 16:00:23 pi4 weewx[8659] ERROR weewx.cheetahgenerator: Generate 
failed with exception ''
Oct 21 16:00:23 pi4 weewx[8659] ERROR weewx.cheetahgenerator:  Ignoring 
template /etc/weewx/skins/Twitter/tweet.txt.tmpl
Oct 21 16:00:23 pi4 weewx[8659] ERROR weewx.cheetahgenerator:  *Reason: 
'<' not supported between instances of 'NoneType' and 'float'*
Oct 21 16:00:23 pi4 weewx[8659] ERROR weewx.cheetahgenerator:   
Traceback (most recent call last):
Oct 21 16:00:23 pi4 weewx[8659] ERROR weewx.cheetahgenerator: File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate
Oct 21 16:00:23 pi4 weewx[8659] ERROR weewx.cheetahgenerator:   
unicode_string = compiled_template.respond()
Oct 21 16:00:23 pi4 weewx[8659] ERROR weewx.cheetahgenerator: File 
"_etc_weewx_skins_Twitter_tweet_txt_tmpl.py", line 106, in respond
Oct 21 16:00:23 pi4 weewx[8659] ERROR weewx.cheetahgenerator:   *TypeError: 
'<' not supported between instances of 'NoneType' and 'float'*

Not sure why it popped up all of a sudden except maybe there's a value in 
$current.barometer.raw that doesn't work with this expression.

I appreciate any help or direction. Thanks!
 

On Saturday, February 8, 2020 at 10:11:48 AM UTC-6 tke...@gmail.com wrote:

> You can add the text in the template. The key is to test for the raw 
> value, using the .raw suffix. Something like (NOT TESTED):
>
> #set trend_raw = $trend.barometer.raw
>
> Wind $current.windSpeed Barometer $current.barometer #slurp
> #if $trend_raw < -0.05
> falling rapidly#slurp
> #elif $trend_raw < -0.01
> falling slowly#slurp
> #elif $trend_raw < 0.005
> steady#slurp
> #elif $trend_raw < 0.01
> rising slowly#slurp
> #else
> rising rapidly#slurp
> Temperature $current.outTemp Rain today $day.rain.sum Humidity 
> $current.outHumidity
>
> Adjust values as you see fit. The #slurp directive prevents a newline from 
> being injected.
>
> See the Language overview 
>  in the Cheetah 
> User's Guide for the full template syntax.
>
> -tk
>

-- 
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/bc3935cc-9f3d-4157-92d9-8548c122b4den%40googlegroups.com.


[weewx-user] Re: Imported data not appearing in history

2020-05-11 Thread DaveStLou
Gary, 
Obviously, I don't have a grasp on the report side yet. Thank you!
Dave

-- 
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/3250ef46-b025-4b93-aa38-623c1ac85011%40googlegroups.com.


[weewx-user] Re: Imported data not appearing in history

2020-05-11 Thread DaveStLou
I should have mentioned I'm on weewx 4.0 / python 3

On Monday, May 11, 2020 at 3:27:12 PM UTC-5, DaveStLou wrote:
>
> I'm importing data from my old CumulusMX system. All appears to go well 
> and I see records in the database when I query them.However the data is not 
> showing in the monthly and yearly reports when I view them in my browser. 
> Although the drop down now shows the imported periods, the data doesn't 
> show for the month or day.
>
> Do I need to run or update something to get them to appear?
>

-- 
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/4f483dbe-cdde-47aa-b760-6f376f12ccdd%40googlegroups.com.


[weewx-user] Imported data not appearing in history

2020-05-11 Thread DaveStLou
I'm importing data from my old CumulusMX system. All appears to go well and 
I see records in the database when I query them.However the data is not 
showing in the monthly and yearly reports when I view them in my browser. 
Although the drop down now shows the imported periods, the data doesn't 
show for the month or day.

Do I need to run or update something to get them to appear?

-- 
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/181b1acf-667a-4513-b40e-7f93a86d7ce4%40googlegroups.com.


Re: [weewx-user] SyntaxError in twitter.py

2020-05-08 Thread DaveStLou


On Friday, May 8, 2020 at 1:28:17 PM UTC-5, Tom Keffer wrote:
>
> Dave,
>
> Can you give this copy of twitter.py 
> 
>  
> a try?
>
> -tk
>

Tom, it's running without error. I'm putting in some content to post now 
and doing further testing. I'll let you know if I run into any issues but 
appears to be fixed. Thanks! 

-- 
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/1678b33b-cc15-40f3-83d6-4527c21df7ce%40googlegroups.com.


[weewx-user] SyntaxError in twitter.py

2020-05-08 Thread DaveStLou
 

Hi I'm new to weewx and Python. I'm switching from CumulusMx and I've 
gotten the basics running on my Raspberry Pi.

 

My trouble is when I attempt to install the Twitter extension. I've 
followed the instructions here:https://github.com/weewx/weewx/wiki/Twitter 
except I found I had to put sudo before "wee_extension --install 
weewx-twitter.zip" to avoid a permission error in the usr folder.

 

After entering the api credentials, I see this a SyntaxError in the syslog: 
https://pastebin.com/17uVf3E0

 

I assumed it was due to Python 3 incompatibility but when I switched to 
Python 2, I see the same error.

 

Thanks in advance for any help!

 

-- 
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/93c7a3cd-cefe-465d-ada3-8b8747e00f19%40googlegroups.com.