[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-13 Thread Manfred Maier
I've just looked at my installation.
I think the only missing step is to include the extension in the weewx.conf:

##

#   This section configures the internal weewx engine.

[Engine]

[[Services]]
# This section specifies the services that should be run. They are
# grouped by type, and the order of services within each group
# determines the order in which the services will be run.
prep_services = weewx.engine.StdTimeSynch
data_services = ,
process_services = user.radiationhours.RadiationHours, 
weewx.engine.StdConvert, weewx.engine.StdCalibrate, weewx.engine.StdQC, 
weewx.wxservices.StdWXCalculate
#process_services = weewx.engine.StdConvert, 
weewx.engine.StdCalibrate, weewx.engine.StdQC, 
weewx.wxservices.StdWXCalculate
archive_services = weewx.engine.StdArchive
restful_services = weewx.restx.StdStationRegistry, 
weewx.restx.StdWunderground, weewx.restx.StdPWSweather, 
weewx.restx.StdCWOP, weewx.restx.StdWOW, weewx.restx.StdAWEKAS, 
user.mqtt.MQTT, user.windy.Windy, user.wcloud.WeatherCloud, 
user.twitter.Twitter, user.wetter.Wetter, user.owm.OpenWeatherMap
report_services = weewx.engine.StdPrint, weewx.engine.StdReport

grua...@gmail.com schrieb am Freitag, 12. März 2021 um 10:49:16 UTC+1:

> ok i think i didn't do the first extension with extension.py because mine 
> is empty :-)
>
> i changed schema in weewx.config and recreated the database, then i got 
> the new fields
>
> i am a bit confused now what to do :-)
>
> [DataBindings]
>
> [[wx_binding]]
> # The database must match one of the sections in [Databases].
> # This is likely to be the only option you would want to change.
> database = archive_sqlite
> # The name of the table within the database
> table_name = archive
> # The manager handles aggregation of data for historical summaries
> manager = weewx.manager.DaySummaryManager
> # The schema defines the structure of the database.
> # It is *only* used when the database is created.
> schema = user.weatherlink_live.schema
>
> Manfred Maier schrieb am Freitag, 12. März 2021 um 09:53:59 UTC+1:
>
>> I've also extended my database scheme a second time - without any issues.
>>
>> Here's my extensions.py
>> I've just added the additional three fields to the already extended 
>> scheme.
>>
>> grua...@gmail.com schrieb am Freitag, 12. März 2021 um 08:42:17 UTC+1:
>>
>>> got it, thank you manfred!
>>>
>>> now a question about radiationhours: i have extended the schema already 
>>> one time for the weatherlink-driver: 
>>> https://github.com/michael-slx/weewx-weatherlink-live
>>>
>>> whats the correct way to extend the schema a second time? i tried it one 
>>> time, but then i lost the additional fields from the weatherlink-driver
>>>
>>> Manfred Maier schrieb am Donnerstag, 11. März 2021 um 19:28:55 UTC+1:
>>>
>>>> Yes, you are correct. If the page is using https, all components need 
>>>> to have a ssl certificate.
>>>>
>>>> grua...@gmail.com schrieb am Donnerstag, 11. März 2021 um 10:00:07 
>>>> UTC+1:
>>>>
>>>>> hi,
>>>>>
>>>>> thanks for this file, i will try it after mqtt-setup :-)
>>>>>
>>>>> i always get failed connecting on my website and i think it's because 
>>>>> my site is using https
>>>>>
>>>>> the test here is working fine, i get the live data 
>>>>> http://www.hivemq.com/demos/websocket-client/
>>>>>
>>>>> do i have to run my local mosquitto installation also with ssl/tls or 
>>>>> is there another way to get it working?
>>>>>
>>>>> regards,
>>>>> chris
>>>>>
>>>>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 20:44:02 UTC+1:
>>>>>
>>>>>> I'm using the attached file, which I found somewhere here in this 
>>>>>> user forum. 
>>>>>> I've slightly adapted it to bette fit my needs. 
>>>>>>
>>>>>> Don't get confused by the filed name 'EmptyReal'. That was just a 
>>>>>> spare field I had in my database.
>>>>>>
>>>>>> The calculation of the theoretical radiation level is not 100% 
>>>>>> perfect, but it does the job.
>>>>>>
>>>>>>
>>>>>> grua...@gmail

[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-12 Thread Manfred Maier
I've also extended my database scheme a second time - without any issues.

Here's my extensions.py
I've just added the additional three fields to the already extended scheme.

grua...@gmail.com schrieb am Freitag, 12. März 2021 um 08:42:17 UTC+1:

> got it, thank you manfred!
>
> now a question about radiationhours: i have extended the schema already 
> one time for the weatherlink-driver: 
> https://github.com/michael-slx/weewx-weatherlink-live
>
> whats the correct way to extend the schema a second time? i tried it one 
> time, but then i lost the additional fields from the weatherlink-driver
>
> Manfred Maier schrieb am Donnerstag, 11. März 2021 um 19:28:55 UTC+1:
>
>> Yes, you are correct. If the page is using https, all components need to 
>> have a ssl certificate.
>>
>> grua...@gmail.com schrieb am Donnerstag, 11. März 2021 um 10:00:07 UTC+1:
>>
>>> hi,
>>>
>>> thanks for this file, i will try it after mqtt-setup :-)
>>>
>>> i always get failed connecting on my website and i think it's because my 
>>> site is using https
>>>
>>> the test here is working fine, i get the live data 
>>> http://www.hivemq.com/demos/websocket-client/
>>>
>>> do i have to run my local mosquitto installation also with ssl/tls or is 
>>> there another way to get it working?
>>>
>>> regards,
>>> chris
>>>
>>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 20:44:02 UTC+1:
>>>
>>>> I'm using the attached file, which I found somewhere here in this user 
>>>> forum. 
>>>> I've slightly adapted it to bette fit my needs. 
>>>>
>>>> Don't get confused by the filed name 'EmptyReal'. That was just a spare 
>>>> field I had in my database.
>>>>
>>>> The calculation of the theoretical radiation level is not 100% perfect, 
>>>> but it does the job.
>>>>
>>>>
>>>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 20:05:55 UTC+1:
>>>>
>>>>> ok, i will try it locally before, but vserver is also a good (cheap) 
>>>>> option :-)
>>>>>
>>>>> another question to you: how do you calculate sun hours on your site, 
>>>>> is it from here? https://github.com/gjr80/weewx-weewx-wd
>>>>>
>>>>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 19:23:40 UTC+1:
>>>>>
>>>>>> No, I didn't.
>>>>>>
>>>>>> I'm (unfortunately) sitting behind fiberglass without a static IPv4. 
>>>>>> So I anyway had to rent a vServer for running my own tunneling 
>>>>>> solution for my local webcam.
>>>>>>
>>>>>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 19:12:12 
>>>>>> UTC+1:
>>>>>>
>>>>>>> hi manfred,
>>>>>>>
>>>>>>> did you try to run the broker locally before? 
>>>>>>>
>>>>>>> i have a static ip with symmetric bandwidth. or are there other 
>>>>>>> reasons why it doesnt work?
>>>>>>>
>>>>>>> regards,
>>>>>>> chris
>>>>>>>
>>>>>>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 15:16:35 UTC+1:
>>>>>>>
>>>>>>>> Hi Chris,
>>>>>>>> I've been in a similar situation to you.
>>>>>>>> My web hosting service didn't allow me to run a MQTT broker and the 
>>>>>>>> (free) public brokers didn't perform very well. The majority of MQTT 
>>>>>>>> packages got lost and were not delivered to the web client.
>>>>>>>> So in the end I've decided to rent an additional vServer and run my 
>>>>>>>> own MQTT broker. The setup was really easy, but there's a server cost 
>>>>>>>> of 
>>>>>>>> approx. 2€ per month.
>>>>>>>>
>>>>>>>> Manfred  
>>>>>>>>
>>>>>>>> kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 11:59:33 
>>>>>>>> UTC+1:
>>>>>>>>
>>>>>>>>> You need a publicly available MQTT broker. Either you install one 
>>>>>>>>> on your webhoster's webspace (if possible), or you use a public 
>>>>>>>>> broker like 
>>>>&

[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-11 Thread Manfred Maier
Yes, you are correct. If the page is using https, all components need to 
have a ssl certificate.

grua...@gmail.com schrieb am Donnerstag, 11. März 2021 um 10:00:07 UTC+1:

> hi,
>
> thanks for this file, i will try it after mqtt-setup :-)
>
> i always get failed connecting on my website and i think it's because my 
> site is using https
>
> the test here is working fine, i get the live data 
> http://www.hivemq.com/demos/websocket-client/
>
> do i have to run my local mosquitto installation also with ssl/tls or is 
> there another way to get it working?
>
> regards,
> chris
>
> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 20:44:02 UTC+1:
>
>> I'm using the attached file, which I found somewhere here in this user 
>> forum. 
>> I've slightly adapted it to bette fit my needs. 
>>
>> Don't get confused by the filed name 'EmptyReal'. That was just a spare 
>> field I had in my database.
>>
>> The calculation of the theoretical radiation level is not 100% perfect, 
>> but it does the job.
>>
>>
>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 20:05:55 UTC+1:
>>
>>> ok, i will try it locally before, but vserver is also a good (cheap) 
>>> option :-)
>>>
>>> another question to you: how do you calculate sun hours on your site, is 
>>> it from here? https://github.com/gjr80/weewx-weewx-wd
>>>
>>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 19:23:40 UTC+1:
>>>
>>>> No, I didn't.
>>>>
>>>> I'm (unfortunately) sitting behind fiberglass without a static IPv4. 
>>>> So I anyway had to rent a vServer for running my own tunneling solution 
>>>> for my local webcam.
>>>>
>>>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 19:12:12 UTC+1:
>>>>
>>>>> hi manfred,
>>>>>
>>>>> did you try to run the broker locally before? 
>>>>>
>>>>> i have a static ip with symmetric bandwidth. or are there other 
>>>>> reasons why it doesnt work?
>>>>>
>>>>> regards,
>>>>> chris
>>>>>
>>>>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 15:16:35 UTC+1:
>>>>>
>>>>>> Hi Chris,
>>>>>> I've been in a similar situation to you.
>>>>>> My web hosting service didn't allow me to run a MQTT broker and the 
>>>>>> (free) public brokers didn't perform very well. The majority of MQTT 
>>>>>> packages got lost and were not delivered to the web client.
>>>>>> So in the end I've decided to rent an additional vServer and run my 
>>>>>> own MQTT broker. The setup was really easy, but there's a server cost of 
>>>>>> approx. 2€ per month.
>>>>>>
>>>>>> Manfred  
>>>>>>
>>>>>> kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 11:59:33 
>>>>>> UTC+1:
>>>>>>
>>>>>>> You need a publicly available MQTT broker. Either you install one on 
>>>>>>> your webhoster's webspace (if possible), or you use a public broker 
>>>>>>> like 
>>>>>>> test.mosquitto.org.
>>>>>>>
>>>>>>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 07:46:52 
>>>>>>> UTC+1:
>>>>>>>
>>>>>>>> hello,
>>>>>>>>
>>>>>>>> i am uploading the reports via FTP to my webhoster. can i use mqtt 
>>>>>>>> then for live data oder do i need a locally webserver?
>>>>>>>>
>>>>>>>> regards,
>>>>>>>> chris
>>>>>>>>
>>>>>>>

-- 
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/ddee24fe-1b35-42d1-9c02-1e0a86cdc31cn%40googlegroups.com.


[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-10 Thread Manfred Maier
I'm using the attached file, which I found somewhere here in this user 
forum. 
I've slightly adapted it to bette fit my needs. 

Don't get confused by the filed name 'EmptyReal'. That was just a spare 
field I had in my database.

The calculation of the theoretical radiation level is not 100% perfect, but 
it does the job.


grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 20:05:55 UTC+1:

> ok, i will try it locally before, but vserver is also a good (cheap) 
> option :-)
>
> another question to you: how do you calculate sun hours on your site, is 
> it from here? https://github.com/gjr80/weewx-weewx-wd
>
> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 19:23:40 UTC+1:
>
>> No, I didn't.
>>
>> I'm (unfortunately) sitting behind fiberglass without a static IPv4. 
>> So I anyway had to rent a vServer for running my own tunneling solution 
>> for my local webcam.
>>
>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 19:12:12 UTC+1:
>>
>>> hi manfred,
>>>
>>> did you try to run the broker locally before? 
>>>
>>> i have a static ip with symmetric bandwidth. or are there other reasons 
>>> why it doesnt work?
>>>
>>> regards,
>>> chris
>>>
>>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 15:16:35 UTC+1:
>>>
>>>> Hi Chris,
>>>> I've been in a similar situation to you.
>>>> My web hosting service didn't allow me to run a MQTT broker and the 
>>>> (free) public brokers didn't perform very well. The majority of MQTT 
>>>> packages got lost and were not delivered to the web client.
>>>> So in the end I've decided to rent an additional vServer and run my own 
>>>> MQTT broker. The setup was really easy, but there's a server cost of 
>>>> approx. 2€ per month.
>>>>
>>>> Manfred  
>>>>
>>>> kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 11:59:33 UTC+1:
>>>>
>>>>> You need a publicly available MQTT broker. Either you install one on 
>>>>> your webhoster's webspace (if possible), or you use a public broker like 
>>>>> test.mosquitto.org.
>>>>>
>>>>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 07:46:52 
>>>>> UTC+1:
>>>>>
>>>>>> hello,
>>>>>>
>>>>>> i am uploading the reports via FTP to my webhoster. can i use mqtt 
>>>>>> then for live data oder do i need a locally webserver?
>>>>>>
>>>>>> regards,
>>>>>> chris
>>>>>>
>>>>>

-- 
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/f3f7ac18-e49e-4b3c-9406-00538bfd0cf3n%40googlegroups.com.
"""
Adds three new observation fields to weewx: [sunshineTime], [sunshineTheoretical], [emptyReal]
Installation:
1. Save this file to your user customisations directory (which is often /usr/share/weewx/user)
2. Follow these instructions for adding the three new data columns to your database:
   https://github.com/poblabs/weewx-belchertown/wiki/Adding-a-new-observation-type-to-the-WeeWX-database
   CAUTION: Have a backup of your database before trying to add the new data fields!
3. Use [sunshineTime], [sunshineTheoretical], [emptyReal] in your graphs and html template tags.

Prerequisite: 
a. sun radiation field in database (radiation)
b. theoretical maximum radiation in database (maxSolarRad) 

[sunshineTime] = Time of sunshine (in minutes)
[sunshineTheoretical] = Time, when sunshine theoretically could have been (in Minutes)
[emptyReal] = Ratio of radiation / theoretical maximum radiation (only calculated during daytime)

Settings:
a. Sunshine can only occur when radiation is greater than 50 W/m2  (thresholdRadiation)
b. If radiation is 80-90% of maximum radiation, the radiation time counts half
c. If radiation is >90% of maximum radiation, the radiation time fully counts

Radiation time = archive interval

"""

import syslog
from math import sin,cos,pi,asin
from datetime import datetime
import time

import weewx
from weewx.wxengine import StdService
import schemas.wview

class RadiationHours(StdService):

def __init__(self, engine, config_dict):
# Pass the initialization information on to my superclass:
super(RadiationHours, self).__init__(engine, config_dict)

# Start intercepting events:
   

[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-10 Thread Manfred Maier
No, I didn't.

I'm (unfortunately) sitting behind fiberglass without a static IPv4. 
So I anyway had to rent a vServer for running my own tunneling solution for 
my local webcam.

grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 19:12:12 UTC+1:

> hi manfred,
>
> did you try to run the broker locally before? 
>
> i have a static ip with symmetric bandwidth. or are there other reasons 
> why it doesnt work?
>
> regards,
> chris
>
> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 15:16:35 UTC+1:
>
>> Hi Chris,
>> I've been in a similar situation to you.
>> My web hosting service didn't allow me to run a MQTT broker and the 
>> (free) public brokers didn't perform very well. The majority of MQTT 
>> packages got lost and were not delivered to the web client.
>> So in the end I've decided to rent an additional vServer and run my own 
>> MQTT broker. The setup was really easy, but there's a server cost of 
>> approx. 2€ per month.
>>
>> Manfred  
>>
>> kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 11:59:33 UTC+1:
>>
>>> You need a publicly available MQTT broker. Either you install one on 
>>> your webhoster's webspace (if possible), or you use a public broker like 
>>> test.mosquitto.org.
>>>
>>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 07:46:52 UTC+1:
>>>
>>>> hello,
>>>>
>>>> i am uploading the reports via FTP to my webhoster. can i use mqtt then 
>>>> for live data oder do i need a locally webserver?
>>>>
>>>> regards,
>>>> chris
>>>>
>>>

-- 
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/012d21fe-6355-4c27-ad61-ded6df29231dn%40googlegroups.com.


[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-10 Thread Manfred Maier
Hi Chris,
I've been in a similar situation to you.
My web hosting service didn't allow me to run a MQTT broker and the (free) 
public brokers didn't perform very well. The majority of MQTT packages got 
lost and were not delivered to the web client.
So in the end I've decided to rent an additional vServer and run my own 
MQTT broker. The setup was really easy, but there's a server cost of 
approx. 2€ per month.

Manfred  

kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 11:59:33 UTC+1:

> You need a publicly available MQTT broker. Either you install one on your 
> webhoster's webspace (if possible), or you use a public broker like 
> test.mosquitto.org.
>
> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 07:46:52 UTC+1:
>
>> hello,
>>
>> i am uploading the reports via FTP to my webhoster. can i use mqtt then 
>> for live data oder do i need a locally webserver?
>>
>> regards,
>> chris
>>
>

-- 
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/e0944228-64db-4f6a-b7d0-20ec6decb809n%40googlegroups.com.


[weewx-user] Re: Error at Translation Belchertown Skin

2021-03-04 Thread Manfred Maier
Hi Christian,
you might want to move all your customizations to the weewx.conf file (and 
not store them in skin.conf).
The reason is: When you update the belchertown skin, all your changes to 
the skin.conf will be lost.

Manfred 

radermache...@gmail.com schrieb am Donnerstag, 4. März 2021 um 09:32:44 
UTC+1:

> Sorry, I saved the Problem.
> Started with a new skin.conf I transfer all Customizing step by step to 
> the whew conf.
> No it worked correct, and is the better solution.
>
> Regards
> Christian
>
> Christian Radermacher schrieb am Mittwoch, 3. März 2021 um 21:42:36 UTC+1:
>
>> Hi, 
>> i have an error if I translate the Skin:
>>
>> All customizing I made in the skin.conf.
>>
>> If I haver the following in the skin.conf
>> # General Forecast translations
>> forecast_header = 7 Day Forecast
>> daily_forecast  = Daily Forecast
>> alert_in_effect = in effect until
>> forecast_last_updated   = Last Updated on
>> I get a parsing error.
>> If remove this (forecast with aeris is on) I have a Problem at display 
>> the Timestamps.
>> Maybe this is not the same error.
>>
>>
>>

-- 
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/c9d7df23-1b28-4604-832c-2ca8771c5f25n%40googlegroups.com.


[weewx-user] Re: Sunshine Hours convert in hours

2021-01-01 Thread Manfred Maier
Please try:
observation_type = sunshine_hours / 60

This at least works for me.

Best regards,
Manfred

Meteo Oberwallis schrieb am Freitag, 1. Januar 2021 um 13:58:14 UTC+1:

> Hi Guys. I'm just adjusting my climate values. Now I wanted to display the 
> hours of sunshine there as well. But since these are required in minutes, 
> this is beyond the scope of the graphic. Couldn't the value of the sunshine 
> duration be mathematically converted to hours and then displayed in the 
> graphic? Or is there another option? thank you for your Help.
>
> My Code:
>
> [[Klima2020]]
> title = "Jahr 2020"
> type = spline
> time_length = year_specific
> year_specific = 2020
> aggregate_type = max
> aggregate_interval = 86400 # 1 day
> gapsize = 8640
> xaxis_groupby = month
> xaxis_categories = 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 
> 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
> [[[outTemp]]]
> zIndex = 2
> name = Max Temperatur
> color = "#fc0404"
> marker
> enabled = true
> radius = 4
> [[[outTemp_min]]]
> name = Min Temperatur
> observation_type = outTemp
> aggregate_type = min
> zIndex = 2
> color = "#173c6a"
> marker
> enabled = true
> radius = 4
> [[[rainTotal]]]
> name = Total Regen
> type = column
> yAxis = 1
> zIndex = 0
> color = "#438bd6"
> [[[sunshine_hours]]]
> type = column
> yAxis = 1
> zIndex = 0
> aggregate_type = sum
> color = "#e4d354"
> name = Sunshine Hours
>
> [image: Unbenannt.PNG]
>

-- 
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/ca137070-eb9d-43cb-bb1c-f147c667ab92n%40googlegroups.com.


[weewx-user] Re: Belchertown hook1 not refreshing

2020-09-24 Thread Manfred Maier
So, this is my approach.

In the index.html.tmpl I've included the following script:


setInterval("reload_hook();", 1);
function reload_hook () {
$.get('./hooks/hook_after_station_info.html', 
function(data) {
\$('#target_after_station_info').html(data);
})
}
  

This script replaces later in the index.html a certain content by the 
content of the file hook_after_station_info.html in the subfolder 'hooks'. 
The replacement is done every 1 milliseconds.

In the same index.html.tmpl file I've replaced the code, that manages the 
content of the "index_hook_after-station_info" by the following:

#if os.path.exists("index_hook_after_station_info.inc")



#include "index_hook_after_station_info.inc"



#end if

 In the index_hook_after_station_info.inc I've put the HTML code that 
should be displayed on the page. In my case the file contains a couple of 
custom calculations of variables and then the following html code:



$suntext $raintext

https://www.brezentrager.de/wetter-zorneding/; 
target="_blank">Hier geht's zur aktuellen Vorhersage für Zorneding



The last missing part is the file that is used to update the index hook.
As mentioned above, this file is stored in the subfolder 'hooks'. So create 
this subfolder in your Belchertown folder and create a file called 
'hook_after_station_info.html.tmpl'. The content of this file is identical 
to the content of the index_hook_after_station_info.inc

Finally you have to tell Belchertown, that this file has to be produced 
every time the skin is produced. This can be done in the skin.conf file.
Under [CheetahGenerator] add:

[[[hooks]]]
template = hooks/hook_after_station_info.html.tmpl

This approach leads to the desired behavior (i.e. the index hook updates 
automatically). But I'm definitely not an experienced web-programmer. I'm 
pretty sure there is a more elegant way of doing it. There's for example no 
reason for having two separate file with the code for the index_hook. This 
easily could be done with just one file.

Hope this works for you. In case you have any questions, please let me know.

Best,
Manfred

Manfred Maier schrieb am Donnerstag, 24. September 2020 um 13:46:16 UTC+2:

> Hi Tim,
> the only thing you've missed is that the refresh of the image hooks only 
> works for images.
>
> There is a workaround available (using some custom script). I hopefully 
> find some time later in the evening to post the solution here.
>
> I'm using this workaround on my page: wetter-zorneding.de
> The text below the station observations updates automatically (showing the 
> sunshine hours and amount of rain).
>
> Best,
> Manfred
>
> ti...@skybase.net schrieb am Donnerstag, 24. September 2020 um 09:39:28 
> UTC+2:
>
>> Hi all, 
>>
>> I have this in my index_hook_after_station_info.inc 
>>
>>  
>>   The 24hr AQI for South Penrith is 
>> $current($data_binding='aqi_binding').aqi_pm2_5 which is 
>> $aqi($current($data_binding='aqi_binding').aqi_pm2_5_category).category.
>>  
>>
>>  
>>
>>
>> and in /etc/weewx/weewx.conf I have .. 
>>
>> reload_hook_images = 1 
>> reload_images_hook_asi = 300 
>>
>> But hook1 never refreshes. 
>>
>> Have I missed something ? 
>>
>> thanks 
>>
>> Tim 
>>
>>
>>

-- 
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/ec9f86d9-7a8f-4df7-aa39-9dab82d9df52n%40googlegroups.com.


[weewx-user] Re: Belchertown hook1 not refreshing

2020-09-24 Thread Manfred Maier
Hi Tim,
the only thing you've missed is that the refresh of the image hooks only 
works for images.

There is a workaround available (using some custom script). I hopefully 
find some time later in the evening to post the solution here.

I'm using this workaround on my page: wetter-zorneding.de
The text below the station observations updates automatically (showing the 
sunshine hours and amount of rain).

Best,
Manfred

ti...@skybase.net schrieb am Donnerstag, 24. September 2020 um 09:39:28 
UTC+2:

> Hi all,
>
> I have this in my index_hook_after_station_info.inc
>
> 
>   The 24hr AQI for South Penrith is 
> $current($data_binding='aqi_binding').aqi_pm2_5 which is
>
> $aqi($current($data_binding='aqi_binding').aqi_pm2_5_category).category.
> 
>
>
> and in /etc/weewx/weewx.conf I have ..
>
> reload_hook_images = 1
> reload_images_hook_asi = 300
>
> But hook1 never refreshes.
>
> Have I missed something ?
>
> thanks
>
> Tim
>
>
>

-- 
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/120cb021-d69a-422e-ac1e-ee5ded201550n%40googlegroups.com.


[weewx-user] Re: Belchertown, graphics are faulty

2020-07-15 Thread Manfred Maier
Couldn't this just be an issue with how the timespan for the chart is 
defined?
The chart displays the past 2592000 seconds and splits it into pieces of 
86400 seconds (24 hours). But those 24 hours might go from 11am - 11am.

Just a thought and probably wrong ...

Pat schrieb am Mittwoch, 15. Juli 2020 um 14:48:25 UTC+2:

> I'm at a loss because I can't recreate this. 
>
> Please send me a copy of your database as well as your graphs.conf, and 
> public_html/belchertown/json/weewx_data.json
>
> My time to dedicate to this is slim right now, so if anyone else finds the 
> problem that'd be helpful and I can merge it to development branch. 
>
>
> On Wednesday, July 15, 2020 at 8:44:58 AM UTC-4, Andre wrote:
>>
>> I can reproduce the display issues.
>> I have dropped all daily reports and rebuild daily.
>>
>> [image: noaa_2020-07.png]
>>
>>
>> Last 7 days
>>
>> [image: last_7_days.png]
>>
>> [image: last_30_days.png]
>> Last 30 days...
>>
>> Am Mittwoch, 15. Juli 2020 14:19:19 UTC+2 schrieb Pat:
>>>
>>> Sounds like you may have some problems with your database. I suggest you 
>>> take a backup and follow the database drop-daily 
>>> and 
>>> rebuild-daily 
>>> and see 
>>> if that helps
>>>
>>> The graphs uses your archive table
>>>
>>> The reports uses your daily tables. 
>>>
>>> Seems like those aren't in sync for you.
>>>
>>> On Wednesday, July 15, 2020 at 6:16:48 AM UTC-4, Geni 0815 wrote:

 Hi Pat, I just noticed the following:
 As an example in the graphic "last 30 days", "rain per day". These 
 values sometimes change every hour!
 For my understanding, the amount of rain per day is to be understood on 
 a calendar day within the last 30 days.
 In the graphics, however, the day begins fluently.
 I want a day to be a calendar day and not flowing 24h.
 This is how it is handled in the Templete Season.
 How do I have to make the graphic settings so that a day is a calendar 
 day?
 I hope I have clearly described my wish.

 Am Sonntag, 12. Juli 2020 10:47:51 UTC+2 schrieb Geni 0815:
>
> On 3 days we had rain of 9mm, 8.6mm and 0.6mm. The graphic now shows 
> 0mm, 15mm and 3.2mm on the corresponding days. The sum is correct but 
> wrongly divided. Where is the mistake?
> [image: belch10.jpg]
> [image: belch11.jpg]
> [month]
> # Chart Timespan Defaults
> title = "Letzte 30 Tage"
> show_button = true
> button_text = "Letzte 30 Tage"
> type = spline
> time_length = 2592000 # Last 30 days
> tooltip_date_format = " LL"
> aggregate_type = max
> aggregate_interval = 86400 # 1 day
> gapsize = 8640 # 1 day in milliseconds
> 
> [[chart3]]
> title = Regenx
> type = line
> aggregate_type=sum
> [[[rainTotal]]]
> name = Regen Total
> [[[rain]]]
> yAxis = 1
> type = column
> 
> Live: https://affolter.familyds.net/wetter/graphs/?graph=month
>


-- 
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/fab798c8-37ab-4d70-a491-01b77ce4367an%40googlegroups.com.


[weewx-user] Re: Belchertown Difference for the same temperature type

2020-06-26 Thread Manfred Maier
Sorry. Hatte ich vergessen.

geni08...@gmail.com schrieb am Freitag, 26. Juni 2020 um 11:13:44 UTC+2:

> Kannst  du deine extensions.py bitte hier reinstellen?
>
>
> Manfred Maier schrieb am Freitag, 26. Juni 2020 um 10:41:53 UTC+2:
>
>> Ich habe meine Datenbank inzwischen schon zweimal erweitert. Einmal nach 
>> ca. drei Wochen (um appTemp und maxSolarRad in der Datenbank zu haben) und 
>> dann nochmal letzte Woche, um endlich auch die Anzahl der Sonnenstunden 
>> schön darstellen zu können.
>>
>> Beide Male hat es absolut ohne Probleme funktioniert. 
>> Schau einfach nur, dass Du ein Backup der Datenbank hast, sollte wirklich 
>> etwas schief laufen.
>>
>> Mit Mariadb10 habe ich leider keinerlei Erfahrung. 
>> Bei meiner Installation (mit SQLite) wird einfach nur die existierende DB 
>> erweitert.
>>
>> Und bei der Installation der Skin ist es einfach nicht sinnvoll, an der 
>> Datenbank rumzuspielen. 
>>
>> geni08...@gmail.com schrieb am Freitag, 26. Juni 2020 um 10:27:06 UTC+2:
>>
>>> @Manfred: Hast du dies schon mal gemacht? Wenn ja ohne Probleme?
>>> Bleibt dies eine einmalige Sache oder wird dies bei jedem Update von 
>>> weewx oder Belchertown wieder fällig?
>>> Wie muss dann die extensions.py aussehen?
>>> Ich verwende eine externe Mariadb10, wird nun eine neue DB gemacht oder 
>>> die bestehende modifiziert?
>>> Dies funktioniert auf meinem Raspberry ja nicht?
>>> Warum wird dies nicht von der Belchertown installation gemacht?
>>>
>>> Bin da für jede Hilfe dankbar.
>>>
>>> Manfred Maier schrieb am Freitag, 26. Juni 2020 um 07:59:42 UTC+2:
>>>
>>>> Good morning!
>>>> You can use these instructions to add appTemp to your database:
>>>>
>>>> https://github.com/poblabs/weewx-belchertown/wiki/Adding-a-new-observation-type-to-the-WeeWX-database
>>>>
>>>> Just make sure you really have a backup of your database stored.
>>>>
>>>> geni08...@gmail.com schrieb am Freitag, 26. Juni 2020 um 07:43:08 
>>>> UTC+2:
>>>>
>>>>> There are errors, a test with $current.appTemp and once with appTemp.
>>>>> The appTemp field is not in the database, how can I modify my database?
>>>>>
>>>>>
>>>>> Pat schrieb am Donnerstag, 25. Juni 2020 um 21:32:55 UTC+2:
>>>>>
>>>>>> Good question. If appTemp doesn't exist in the database, then I would 
>>>>>> have thought the entry would be empty or given an error in the syslog. 
>>>>>> Any 
>>>>>> errors?
>>>>>>
>>>>>>
>>>>>> On Thursday, June 25, 2020 at 1:36:54 PM UTC-4, Manfred Maier wrote:
>>>>>>>
>>>>>>> Ok. I've just seen that appTemp is not part of the standard 
>>>>>>> installation of weewx. I've added it later to the database.
>>>>>>>
>>>>>>> @Pat: In your index.html.tmpl it looks like your are displaying 
>>>>>>> $current.appTemp for the "Feels like" temperature. What is used when 
>>>>>>> appTemp does not exist in the database? Or is appTemp calculated by 
>>>>>>> weewx 
>>>>>>> anyway, but if there isn't a field in the database it's just not stored 
>>>>>>> and 
>>>>>>> can't be used for the charts?
>>>>>>>
>>>>>>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 
>>>>>>> 19:22:55 UTC+2:
>>>>>>>
>>>>>>>> if appTemp instead of windchill, graphics no longer work
>>>>>>>>
>>>>>>>>
>>>>>>>> Am Donnerstag, 25. Juni 2020 17:46:56 UTC+2 schrieb Manfred Maier:
>>>>>>>>>
>>>>>>>>> appTemp is best translated with "Gefühlte Temperatur".
>>>>>>>>>
>>>>>>>>> I would have to look it up in the weewx code, but I think it's 
>>>>>>>>> calculated based on temperature, humidity and wind.
>>>>>>>>> appTemp can be higher or lower than the temperature.
>>>>>>>>>
>>>>>>>>> Windchill is normally (always?) lower than the temperature. It's 
>>>>>>>>> therefore primarily used in winter. At least in the German news I 
>>>>>>>>> only 

[weewx-user] Re: Belchertown Difference for the same temperature type

2020-06-26 Thread Manfred Maier
Ich habe meine Datenbank inzwischen schon zweimal erweitert. Einmal nach 
ca. drei Wochen (um appTemp und maxSolarRad in der Datenbank zu haben) und 
dann nochmal letzte Woche, um endlich auch die Anzahl der Sonnenstunden 
schön darstellen zu können.

Beide Male hat es absolut ohne Probleme funktioniert. 
Schau einfach nur, dass Du ein Backup der Datenbank hast, sollte wirklich 
etwas schief laufen.

Mit Mariadb10 habe ich leider keinerlei Erfahrung. 
Bei meiner Installation (mit SQLite) wird einfach nur die existierende DB 
erweitert.

Und bei der Installation der Skin ist es einfach nicht sinnvoll, an der 
Datenbank rumzuspielen. 

geni08...@gmail.com schrieb am Freitag, 26. Juni 2020 um 10:27:06 UTC+2:

> @Manfred: Hast du dies schon mal gemacht? Wenn ja ohne Probleme?
> Bleibt dies eine einmalige Sache oder wird dies bei jedem Update von weewx 
> oder Belchertown wieder fällig?
> Wie muss dann die extensions.py aussehen?
> Ich verwende eine externe Mariadb10, wird nun eine neue DB gemacht oder 
> die bestehende modifiziert?
> Dies funktioniert auf meinem Raspberry ja nicht?
> Warum wird dies nicht von der Belchertown installation gemacht?
>
> Bin da für jede Hilfe dankbar.
>
> Manfred Maier schrieb am Freitag, 26. Juni 2020 um 07:59:42 UTC+2:
>
>> Good morning!
>> You can use these instructions to add appTemp to your database:
>>
>> https://github.com/poblabs/weewx-belchertown/wiki/Adding-a-new-observation-type-to-the-WeeWX-database
>>
>> Just make sure you really have a backup of your database stored.
>>
>> geni08...@gmail.com schrieb am Freitag, 26. Juni 2020 um 07:43:08 UTC+2:
>>
>>> There are errors, a test with $current.appTemp and once with appTemp.
>>> The appTemp field is not in the database, how can I modify my database?
>>>
>>>
>>> Pat schrieb am Donnerstag, 25. Juni 2020 um 21:32:55 UTC+2:
>>>
>>>> Good question. If appTemp doesn't exist in the database, then I would 
>>>> have thought the entry would be empty or given an error in the syslog. Any 
>>>> errors?
>>>>
>>>>
>>>> On Thursday, June 25, 2020 at 1:36:54 PM UTC-4, Manfred Maier wrote:
>>>>>
>>>>> Ok. I've just seen that appTemp is not part of the standard 
>>>>> installation of weewx. I've added it later to the database.
>>>>>
>>>>> @Pat: In your index.html.tmpl it looks like your are displaying 
>>>>> $current.appTemp for the "Feels like" temperature. What is used when 
>>>>> appTemp does not exist in the database? Or is appTemp calculated by weewx 
>>>>> anyway, but if there isn't a field in the database it's just not stored 
>>>>> and 
>>>>> can't be used for the charts?
>>>>>
>>>>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 19:22:55 
>>>>> UTC+2:
>>>>>
>>>>>> if appTemp instead of windchill, graphics no longer work
>>>>>>
>>>>>>
>>>>>> Am Donnerstag, 25. Juni 2020 17:46:56 UTC+2 schrieb Manfred Maier:
>>>>>>>
>>>>>>> appTemp is best translated with "Gefühlte Temperatur".
>>>>>>>
>>>>>>> I would have to look it up in the weewx code, but I think it's 
>>>>>>> calculated based on temperature, humidity and wind.
>>>>>>> appTemp can be higher or lower than the temperature.
>>>>>>>
>>>>>>> Windchill is normally (always?) lower than the temperature. It's 
>>>>>>> therefore primarily used in winter. At least in the German news I only 
>>>>>>> hear 
>>>>>>> about it in winter.
>>>>>>>
>>>>>>> Heat Index is the opposite. It's normally (always?) higher than the 
>>>>>>> temperature. It useful in the summer.
>>>>>>>
>>>>>>> Other people might want to add or correct me here!
>>>>>>>
>>>>>>> As mentioned: appTemp get's closest to what we refer to as "Gefühlte 
>>>>>>> Temperature" in Germany (and hopefully also in Switzerland).
>>>>>>> Have you tried to put appTemp in your chart? Does the value 
>>>>>>> correspond to the other value on your page?
>>>>>>>
>>>>>>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 
>>>>>>> 17:34:22 UTC+2:
>>>>>>>
>>>>>>>> wh

[weewx-user] Re: Belchertown Difference for the same temperature type

2020-06-25 Thread Manfred Maier
Good morning!
You can use these instructions to add appTemp to your database:
https://github.com/poblabs/weewx-belchertown/wiki/Adding-a-new-observation-type-to-the-WeeWX-database

Just make sure you really have a backup of your database stored.

geni08...@gmail.com schrieb am Freitag, 26. Juni 2020 um 07:43:08 UTC+2:

> There are errors, a test with $current.appTemp and once with appTemp.
> The appTemp field is not in the database, how can I modify my database?
>
>
> Pat schrieb am Donnerstag, 25. Juni 2020 um 21:32:55 UTC+2:
>
>> Good question. If appTemp doesn't exist in the database, then I would 
>> have thought the entry would be empty or given an error in the syslog. Any 
>> errors?
>>
>>
>> On Thursday, June 25, 2020 at 1:36:54 PM UTC-4, Manfred Maier wrote:
>>>
>>> Ok. I've just seen that appTemp is not part of the standard installation 
>>> of weewx. I've added it later to the database.
>>>
>>> @Pat: In your index.html.tmpl it looks like your are displaying 
>>> $current.appTemp for the "Feels like" temperature. What is used when 
>>> appTemp does not exist in the database? Or is appTemp calculated by weewx 
>>> anyway, but if there isn't a field in the database it's just not stored and 
>>> can't be used for the charts?
>>>
>>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 19:22:55 
>>> UTC+2:
>>>
>>>> if appTemp instead of windchill, graphics no longer work
>>>>
>>>>
>>>> Am Donnerstag, 25. Juni 2020 17:46:56 UTC+2 schrieb Manfred Maier:
>>>>>
>>>>> appTemp is best translated with "Gefühlte Temperatur".
>>>>>
>>>>> I would have to look it up in the weewx code, but I think it's 
>>>>> calculated based on temperature, humidity and wind.
>>>>> appTemp can be higher or lower than the temperature.
>>>>>
>>>>> Windchill is normally (always?) lower than the temperature. It's 
>>>>> therefore primarily used in winter. At least in the German news I only 
>>>>> hear 
>>>>> about it in winter.
>>>>>
>>>>> Heat Index is the opposite. It's normally (always?) higher than the 
>>>>> temperature. It useful in the summer.
>>>>>
>>>>> Other people might want to add or correct me here!
>>>>>
>>>>> As mentioned: appTemp get's closest to what we refer to as "Gefühlte 
>>>>> Temperature" in Germany (and hopefully also in Switzerland).
>>>>> Have you tried to put appTemp in your chart? Does the value correspond 
>>>>> to the other value on your page?
>>>>>
>>>>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 17:34:22 
>>>>> UTC+2:
>>>>>
>>>>>> what is appTemp?
>>>>>> windchill corresponds to 'feels like'?
>>>>>>
>>>>>>
>>>>>> Am Donnerstag, 25. Juni 2020 17:18:38 UTC+2 schrieb Manfred Maier:
>>>>>>>
>>>>>>> Try to change it to [[[appTemp]]]. It then should correspond to the 
>>>>>>> figure at the top.
>>>>>>>
>>>>>>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 
>>>>>>> 17:16:32 UTC+2:
>>>>>>>
>>>>>>>> in graphs.inc is  [[[windchill]]]
>>>>>>>>
>>>>>>>>
>>>>>>>> Am Donnerstag, 25. Juni 2020 16:51:00 UTC+2 schrieb Manfred Maier:
>>>>>>>>>
>>>>>>>>> Next try ... the "Gefühlte Temp" in your graphs.conf is displaying 
>>>>>>>>> "appTemp"?
>>>>>>>>>
>>>>>>>>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 
>>>>>>>>> 16:43:53 UTC+2:
>>>>>>>>>
>>>>>>>>>> MQTT ist not activ.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Am Donnerstag, 25. Juni 2020 15:51:16 UTC+2 schrieb Manfred Maier:
>>>>>>>>>>>
>>>>>>>>>>> Hi Geni,
>>>>>>>>>>> do you have MQTT switched on?
>>>>>>>>>>>
>>>>>>>>>>> If so, the station observations (top area) display the live 
>>>>>>>>>>> data. The charts display the temperature of the last archive loop 
>>>>>>>>>>> (= couple 
>>>>>>>>>>> of minutes old).
>>>>>>>>>>>
>>>>>>>>>>> Manfred
>>>>>>>>>>>
>>>>>>>>>>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 
>>>>>>>>>>> 15:42:15 UTC+2:
>>>>>>>>>>>
>>>>>>>>>>>> Why is there a different temperature displayed?
>>>>>>>>>>>>
>>>>>>>>>>>

-- 
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/2cbf5e32-3c3e-4819-abba-306411146754n%40googlegroups.com.


[weewx-user] Re: Belchertown Difference for the same temperature type

2020-06-25 Thread Manfred Maier
Ok. I've just seen that appTemp is not part of the standard installation of 
weewx. I've added it later to the database.

@Pat: In your index.html.tmpl it looks like your are displaying 
$current.appTemp for the "Feels like" temperature. What is used when 
appTemp does not exist in the database? Or is appTemp calculated by weewx 
anyway, but if there isn't a field in the database it's just not stored and 
can't be used for the charts?

geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 19:22:55 UTC+2:

> if appTemp instead of windchill, graphics no longer work
>
>
> Am Donnerstag, 25. Juni 2020 17:46:56 UTC+2 schrieb Manfred Maier:
>>
>> appTemp is best translated with "Gefühlte Temperatur".
>>
>> I would have to look it up in the weewx code, but I think it's calculated 
>> based on temperature, humidity and wind.
>> appTemp can be higher or lower than the temperature.
>>
>> Windchill is normally (always?) lower than the temperature. It's 
>> therefore primarily used in winter. At least in the German news I only hear 
>> about it in winter.
>>
>> Heat Index is the opposite. It's normally (always?) higher than the 
>> temperature. It useful in the summer.
>>
>> Other people might want to add or correct me here!
>>
>> As mentioned: appTemp get's closest to what we refer to as "Gefühlte 
>> Temperature" in Germany (and hopefully also in Switzerland).
>> Have you tried to put appTemp in your chart? Does the value correspond to 
>> the other value on your page?
>>
>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 17:34:22 
>> UTC+2:
>>
>>> what is appTemp?
>>> windchill corresponds to 'feels like'?
>>>
>>>
>>> Am Donnerstag, 25. Juni 2020 17:18:38 UTC+2 schrieb Manfred Maier:
>>>>
>>>> Try to change it to [[[appTemp]]]. It then should correspond to the 
>>>> figure at the top.
>>>>
>>>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 17:16:32 
>>>> UTC+2:
>>>>
>>>>> in graphs.inc is  [[[windchill]]]
>>>>>
>>>>>
>>>>> Am Donnerstag, 25. Juni 2020 16:51:00 UTC+2 schrieb Manfred Maier:
>>>>>>
>>>>>> Next try ... the "Gefühlte Temp" in your graphs.conf is displaying 
>>>>>> "appTemp"?
>>>>>>
>>>>>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 16:43:53 
>>>>>> UTC+2:
>>>>>>
>>>>>>> MQTT ist not activ.
>>>>>>>
>>>>>>>
>>>>>>> Am Donnerstag, 25. Juni 2020 15:51:16 UTC+2 schrieb Manfred Maier:
>>>>>>>>
>>>>>>>> Hi Geni,
>>>>>>>> do you have MQTT switched on?
>>>>>>>>
>>>>>>>> If so, the station observations (top area) display the live data. 
>>>>>>>> The charts display the temperature of the last archive loop (= couple 
>>>>>>>> of 
>>>>>>>> minutes old).
>>>>>>>>
>>>>>>>> Manfred
>>>>>>>>
>>>>>>>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 
>>>>>>>> 15:42:15 UTC+2:
>>>>>>>>
>>>>>>>>> Why is there a different temperature displayed?
>>>>>>>>>
>>>>>>>>

-- 
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/535406cd-365b-41c1-8c1b-4afb5ebdd5bcn%40googlegroups.com.


[weewx-user] Re: Belchertown Difference for the same temperature type

2020-06-25 Thread Manfred Maier
appTemp is best translated with "Gefühlte Temperatur".

I would have to look it up in the weewx code, but I think it's calculated 
based on temperature, humidity and wind.
appTemp can be higher or lower than the temperature.

Windchill is normally (always?) lower than the temperature. It's therefore 
primarily used in winter. At least in the German news I only hear about it 
in winter.

Heat Index is the opposite. It's normally (always?) higher than the 
temperature. It useful in the summer.

Other people might want to add or correct me here!

As mentioned: appTemp get's closest to what we refer to as "Gefühlte 
Temperature" in Germany (and hopefully also in Switzerland).
Have you tried to put appTemp in your chart? Does the value correspond to 
the other value on your page?

geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 17:34:22 UTC+2:

> what is appTemp?
> windchill corresponds to 'feels like'?
>
>
> Am Donnerstag, 25. Juni 2020 17:18:38 UTC+2 schrieb Manfred Maier:
>>
>> Try to change it to [[[appTemp]]]. It then should correspond to the 
>> figure at the top.
>>
>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 17:16:32 
>> UTC+2:
>>
>>> in graphs.inc is  [[[windchill]]]
>>>
>>>
>>> Am Donnerstag, 25. Juni 2020 16:51:00 UTC+2 schrieb Manfred Maier:
>>>>
>>>> Next try ... the "Gefühlte Temp" in your graphs.conf is displaying 
>>>> "appTemp"?
>>>>
>>>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 16:43:53 
>>>> UTC+2:
>>>>
>>>>> MQTT ist not activ.
>>>>>
>>>>>
>>>>> Am Donnerstag, 25. Juni 2020 15:51:16 UTC+2 schrieb Manfred Maier:
>>>>>>
>>>>>> Hi Geni,
>>>>>> do you have MQTT switched on?
>>>>>>
>>>>>> If so, the station observations (top area) display the live data. The 
>>>>>> charts display the temperature of the last archive loop (= couple of 
>>>>>> minutes old).
>>>>>>
>>>>>> Manfred
>>>>>>
>>>>>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 15:42:15 
>>>>>> UTC+2:
>>>>>>
>>>>>>> Why is there a different temperature displayed?
>>>>>>>
>>>>>>

-- 
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/ab7bde57-3489-4fc4-8238-b8c8839a6123n%40googlegroups.com.


[weewx-user] Re: Belchertown Difference for the same temperature type

2020-06-25 Thread Manfred Maier
Try to change it to [[[appTemp]]]. It then should correspond to the figure 
at the top.

geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 17:16:32 UTC+2:

> in graphs.inc is  [[[windchill]]]
>
>
> Am Donnerstag, 25. Juni 2020 16:51:00 UTC+2 schrieb Manfred Maier:
>>
>> Next try ... the "Gefühlte Temp" in your graphs.conf is displaying 
>> "appTemp"?
>>
>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 16:43:53 
>> UTC+2:
>>
>>> MQTT ist not activ.
>>>
>>>
>>> Am Donnerstag, 25. Juni 2020 15:51:16 UTC+2 schrieb Manfred Maier:
>>>>
>>>> Hi Geni,
>>>> do you have MQTT switched on?
>>>>
>>>> If so, the station observations (top area) display the live data. The 
>>>> charts display the temperature of the last archive loop (= couple of 
>>>> minutes old).
>>>>
>>>> Manfred
>>>>
>>>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 15:42:15 
>>>> UTC+2:
>>>>
>>>>> Why is there a different temperature displayed?
>>>>>
>>>>

-- 
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/153a05a9-003b-408f-a0aa-2d454db0f0fen%40googlegroups.com.


[weewx-user] Re: Belchertown Difference for the same temperature type

2020-06-25 Thread Manfred Maier
Next try ... the "Gefühlte Temp" in your graphs.conf is displaying 
"appTemp"?

geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 16:43:53 UTC+2:

> MQTT ist not activ.
>
>
> Am Donnerstag, 25. Juni 2020 15:51:16 UTC+2 schrieb Manfred Maier:
>>
>> Hi Geni,
>> do you have MQTT switched on?
>>
>> If so, the station observations (top area) display the live data. The 
>> charts display the temperature of the last archive loop (= couple of 
>> minutes old).
>>
>> Manfred
>>
>> geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 15:42:15 
>> UTC+2:
>>
>>> Why is there a different temperature displayed?
>>>
>>

-- 
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/4a13b415-9e5e-4d8d-a3d1-eaa480b960a5n%40googlegroups.com.


[weewx-user] Re: Belchertown Difference for the same temperature type

2020-06-25 Thread Manfred Maier
Hi Geni,
do you have MQTT switched on?

If so, the station observations (top area) display the live data. The 
charts display the temperature of the last archive loop (= couple of 
minutes old).

Manfred

geni08...@gmail.com schrieb am Donnerstag, 25. Juni 2020 um 15:42:15 UTC+2:

> Why is there a different temperature displayed?
>

-- 
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/8a13fa81-aa5b-48e7-b025-6d3b6f433c35n%40googlegroups.com.


Re: [weewx-user] Re: Full day highcharts question

2020-06-25 Thread Manfred Maier
A new installation of the entire skin fixed it.

I have no idea what went wrong with the old one. My suspicion would be that 
there was some encoding issue with a file. 

Something I noticed after the new installation:
* In the old version of the weewx.conf, I had included the DarkSky secret 
key in quotation marks
* After the re-install of the development skin, those quotation marks were 
gone
--> This caused a weird behavior: When triggering a report with wee_reports 
everything worked fine. But in the next regular report loop, the DarkSky 
forecast disappeared . With a wee_reports it came back. And disappeared 
again in the next regular reporting cycle.
* Putting back the quotation marks fixed this issue


Pat schrieb am Mittwoch, 24. Juni 2020 um 23:19:04 UTC+2:

> Wow! I'm not sure why you're getting that error either. Something is 
> missing somewhere
>
> On Wed, Jun 24, 2020, 5:14 PM Manfred Maier  
> wrote:
>
>> I'll have to try that tomorrow. 
>> My skin installation includes a number of individual adaptions (e.g. pi 
>> page, individual website widget, horizontal lines in some graphs, etc) and 
>> it always takes me 1-2 hours to update the skin. 
>>
>> Pat schrieb am Mittwoch, 24. Juni 2020 um 23:07:57 UTC+2:
>>
>>> Can you try to reinstall the whole development skin and restart weewx?
>>>
>>> On Wed, Jun 24, 2020, 5:03 PM Manfred Maier  
>>> wrote:
>>>
>>>> Didn't work :(
>>>>
>>>> I don't understand this error. The 'forecast_provider' is in my 
>>>> skin.conf and the weewx.conf:
>>>>
>>>> # Forecast defaults
>>>>
>>>> forecast_enabled = 1
>>>>
>>>> forecast_provider = "darksky"
>>>>
>>>> forecast_api_id = "b6b2add3..."
>>>>
>>>> forecast_api_secret = "b6b2add3..."
>>>>
>>>> forecast_units = "ca"
>>>>
>>>> forecast_lang = "de"
>>>>
>>>> forecast_stale = 3540
>>>>
>>>> forecast_alert_enabled = 1
>>>>
>>>> forecast_alert_limit = 1
>>>>
>>>> forecast_show_daily_forecast_link = 0
>>>>
>>>> forecast_daily_forecast_link = ""
>>>>
>>>>
>>>> Pat schrieb am Mittwoch, 24. Juni 2020 um 22:32:50 UTC+2:
>>>>
>>>>> Update your skins.conf to latest version too
>>>>>
>>>>> On Wed, Jun 24, 2020, 4:28 PM Manfred Maier  
>>>>> wrote:
>>>>>
>>>>>>
>>>>>> Hi Pat,
>>>>>> apologies, it's me again.
>>>>>>
>>>>>> Yesterday (and today) I've just copied the new belchertown.py in my 
>>>>>> user folder.
>>>>>> Now I've seen that i get a two error messages in my syslog.
>>>>>>
>>>>>> The first one I've been able to resolve. It was caused by the "check 
>>>>>> for update" functionality that you have removed recently. After setting 
>>>>>> the 
>>>>>> update setting to zero the error was gone.
>>>>>>
>>>>>> The second one I'm not able to locate. This is the error I get:
>>>>>>
>>>>>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>>>>> Generate failed with exception ''
>>>>>>
>>>>>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>>>>>  Ignoring template 
>>>>>> /etc/weewx/skins/Belchertown/js/belchertown.js.tmpl
>>>>>>
>>>>>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>>>>>  Reason: cannot find 'forecast_provider'
>>>>>>
>>>>>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>>>>>   Traceback (most recent call last):
>>>>>>
>>>>>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>>>>> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in 
>>>>>> generate
>>>>>>
>>>>>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>>>>>   unicode_string = compiled_template.r

Re: [weewx-user] Re: Full day highcharts question

2020-06-24 Thread Manfred Maier
I'll have to try that tomorrow. 
My skin installation includes a number of individual adaptions (e.g. pi 
page, individual website widget, horizontal lines in some graphs, etc) and 
it always takes me 1-2 hours to update the skin. 

Pat schrieb am Mittwoch, 24. Juni 2020 um 23:07:57 UTC+2:

> Can you try to reinstall the whole development skin and restart weewx?
>
> On Wed, Jun 24, 2020, 5:03 PM Manfred Maier  
> wrote:
>
>> Didn't work :(
>>
>> I don't understand this error. The 'forecast_provider' is in my skin.conf 
>> and the weewx.conf:
>>
>> # Forecast defaults
>>
>> forecast_enabled = 1
>>
>> forecast_provider = "darksky"
>>
>> forecast_api_id = "b6b2add3..."
>>
>> forecast_api_secret = "b6b2add3..."
>>
>> forecast_units = "ca"
>>
>> forecast_lang = "de"
>>
>> forecast_stale = 3540
>>
>> forecast_alert_enabled = 1
>>
>> forecast_alert_limit = 1
>>
>> forecast_show_daily_forecast_link = 0
>>
>> forecast_daily_forecast_link = ""
>>
>>
>> Pat schrieb am Mittwoch, 24. Juni 2020 um 22:32:50 UTC+2:
>>
>>> Update your skins.conf to latest version too
>>>
>>> On Wed, Jun 24, 2020, 4:28 PM Manfred Maier  
>>> wrote:
>>>
>>>>
>>>> Hi Pat,
>>>> apologies, it's me again.
>>>>
>>>> Yesterday (and today) I've just copied the new belchertown.py in my 
>>>> user folder.
>>>> Now I've seen that i get a two error messages in my syslog.
>>>>
>>>> The first one I've been able to resolve. It was caused by the "check 
>>>> for update" functionality that you have removed recently. After setting 
>>>> the 
>>>> update setting to zero the error was gone.
>>>>
>>>> The second one I'm not able to locate. This is the error I get:
>>>>
>>>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>>> Generate failed with exception ''
>>>>
>>>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>>>  Ignoring template /etc/weewx/skins/Belchertown/js/belchertown.js.tmpl
>>>>
>>>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>>>  Reason: cannot find 'forecast_provider'
>>>>
>>>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>>>   Traceback (most recent call last):
>>>>
>>>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>>> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in 
>>>> generate
>>>>
>>>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>>>   unicode_string = compiled_template.respond()
>>>>
>>>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>>> File "_etc_weewx_skins_Belchertown_js_belchertown_js_tmpl.py", 
>>>> line 
>>>> 1154, in respond
>>>>
>>>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>>>   NameMapper.NotFound: cannot find 'forecast_provider'
>>>>
>>>> didier@gmail.com schrieb am Mittwoch, 24. Juni 2020 um 21:12:50 
>>>> UTC+2:
>>>>
>>>>> Perfect !
>>>>> Thanks
>>>>>
>>>>> Le mer. 24 juin 2020 à 16:04, Manfred Maier  
>>>>> a écrit :
>>>>>
>>>>>> Solved!
>>>>>> Thanks so much! 
>>>>>>
>>>>>> Pat schrieb am Mittwoch, 24. Juni 2020 um 15:41:13 UTC+2:
>>>>>>
>>>>>>> Can you try the latest belchertown.py file from the devleopment 
>>>>>>> branch? I think I got it working. See screenshot.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wednesday, June 24, 2020 at 8:48:53 AM UTC-4, Manfred Maier wrote:
>>>>>>>>
>>>>>>>> Sent by email. The file has been too big for an upload here (or the 
>>>>>>>> database content isn't allowed?).
>>>>>>>> Thanks for looking into it!
>>>>>

Re: [weewx-user] Re: Full day highcharts question

2020-06-24 Thread Manfred Maier
Didn't work :(

I don't understand this error. The 'forecast_provider' is in my skin.conf 
and the weewx.conf:

# Forecast defaults

forecast_enabled = 1

forecast_provider = "darksky"

forecast_api_id = "b6b2add3..."

forecast_api_secret = "b6b2add3..."

forecast_units = "ca"

forecast_lang = "de"

forecast_stale = 3540

forecast_alert_enabled = 1

forecast_alert_limit = 1

forecast_show_daily_forecast_link = 0

forecast_daily_forecast_link = ""


Pat schrieb am Mittwoch, 24. Juni 2020 um 22:32:50 UTC+2:

> Update your skins.conf to latest version too
>
> On Wed, Jun 24, 2020, 4:28 PM Manfred Maier  
> wrote:
>
>>
>> Hi Pat,
>> apologies, it's me again.
>>
>> Yesterday (and today) I've just copied the new belchertown.py in my user 
>> folder.
>> Now I've seen that i get a two error messages in my syslog.
>>
>> The first one I've been able to resolve. It was caused by the "check for 
>> update" functionality that you have removed recently. After setting the 
>> update setting to zero the error was gone.
>>
>> The second one I'm not able to locate. This is the error I get:
>>
>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>> Generate failed with exception ''
>>
>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>  Ignoring template /etc/weewx/skins/Belchertown/js/belchertown.js.tmpl
>>
>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>  Reason: cannot find 'forecast_provider'
>>
>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>   Traceback (most recent call last):
>>
>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in 
>> generate
>>
>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>   unicode_string = compiled_template.respond()
>>
>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>> File "_etc_weewx_skins_Belchertown_js_belchertown_js_tmpl.py", line 
>> 1154, in respond
>>
>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
>>   NameMapper.NotFound: cannot find 'forecast_provider'
>>
>> didier@gmail.com schrieb am Mittwoch, 24. Juni 2020 um 21:12:50 
>> UTC+2:
>>
>>> Perfect !
>>> Thanks
>>>
>>> Le mer. 24 juin 2020 à 16:04, Manfred Maier  
>>> a écrit :
>>>
>>>> Solved!
>>>> Thanks so much! 
>>>>
>>>> Pat schrieb am Mittwoch, 24. Juni 2020 um 15:41:13 UTC+2:
>>>>
>>>>> Can you try the latest belchertown.py file from the devleopment 
>>>>> branch? I think I got it working. See screenshot.
>>>>>
>>>>>
>>>>>
>>>>> On Wednesday, June 24, 2020 at 8:48:53 AM UTC-4, Manfred Maier wrote:
>>>>>>
>>>>>> Sent by email. The file has been too big for an upload here (or the 
>>>>>> database content isn't allowed?).
>>>>>> Thanks for looking into it!
>>>>>>
>>>>>> -- 
>>>> 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/295f9456-430d-44fb-9c4e-9b61640794e0n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/295f9456-430d-44fb-9c4e-9b61640794e0n%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> -- 
>>
> 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/UWSnqt7tY3Q/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/4e605379-67f9-4db4-b1a9-07b752dcbcebn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/4e605379-67f9-4db4-b1a9-07b752dcbcebn%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/aa56d448-ba0a-4d31-a737-ba2eb27c191fn%40googlegroups.com.


Re: [weewx-user] Re: Full day highcharts question

2020-06-24 Thread Manfred Maier

Hi Pat,
apologies, it's me again.

Yesterday (and today) I've just copied the new belchertown.py in my user 
folder.
Now I've seen that i get a two error messages in my syslog.

The first one I've been able to resolve. It was caused by the "check for 
update" functionality that you have removed recently. After setting the 
update setting to zero the error was gone.

The second one I'm not able to locate. This is the error I get:

Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: 
Generate failed with exception ''

Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator:  
Ignoring template /etc/weewx/skins/Belchertown/js/belchertown.js.tmpl

Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator:  
Reason: cannot find 'forecast_provider'

Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator:   
Traceback (most recent call last):

Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator:   
  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate

Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator:   
unicode_string = compiled_template.respond()

Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator:   
  File "_etc_weewx_skins_Belchertown_js_belchertown_js_tmpl.py", line 1154, 
in respond

Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator:   
NameMapper.NotFound: cannot find 'forecast_provider'

didier@gmail.com schrieb am Mittwoch, 24. Juni 2020 um 21:12:50 UTC+2:

> Perfect !
> Thanks
>
> Le mer. 24 juin 2020 à 16:04, Manfred Maier  a 
> écrit :
>
>> Solved!
>> Thanks so much! 
>>
>> Pat schrieb am Mittwoch, 24. Juni 2020 um 15:41:13 UTC+2:
>>
>>> Can you try the latest belchertown.py file from the devleopment branch? 
>>> I think I got it working. See screenshot.
>>>
>>>
>>>
>>> On Wednesday, June 24, 2020 at 8:48:53 AM UTC-4, Manfred Maier wrote:
>>>>
>>>> Sent by email. The file has been too big for an upload here (or the 
>>>> database content isn't allowed?).
>>>> Thanks for looking into it!
>>>>
>>>> -- 
>> 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/295f9456-430d-44fb-9c4e-9b61640794e0n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/295f9456-430d-44fb-9c4e-9b61640794e0n%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/4e605379-67f9-4db4-b1a9-07b752dcbcebn%40googlegroups.com.


[weewx-user] Re: Belchertown skin: Reload index_hooks

2020-06-24 Thread Manfred Maier
So a better strategy for me would be to try to include the hours of 
sunshine in the station observations?

Pat schrieb am Mittwoch, 24. Juni 2020 um 20:37:13 UTC+2:

> Ok that makes more sense. Right now the reloads are only for images, not 
> text. 
>
> I'm not sure how I'd be able to reliably reload the hook area text. Those 
> .inc files are only called when the skin is generated, and when the page is 
> reloaded. The AJAX portion does not reload them (since they're unavailable 
> to the public because they live in the skins folder).
>
>
> On Wednesday, June 24, 2020 at 2:30:12 PM UTC-4, Manfred Maier wrote:
>>
>> It's text.
>> I'm displaying the amount of sunshine hours on that day. In a somewhat 
>> dynamic way.
>>
>> Here's the index_hook_after_station_info I'm using.
>>
>> #set sunshinetime = $day.sunshineTime.sum.raw
>> #set sunshinetheoretical = $day.sunshineTheoretical.sum.raw
>> #set ratio = 0 
>>
>> #set hours = int($sunshinetime / 60)
>> #set minutes = int($sunshinetime - ($hours * 60))
>>
>> #if $sunshinetheoretical > 0
>> #set $ratio = $sunshinetime / $sunshinetheoretical
>> #end if
>>
>> #set $hoursstr = str($hours)
>>
>> #if $minutes < 10
>> #set $minutesstr = '0' + str($minutes)
>> #else
>> #set $minutesstr = str($minutes)
>> #end if
>>
>> #set $sundurationtext = $hoursstr + ':' + $minutesstr + ' Stunden'
>>
>> #if $sunshinetheoretical > 0 and $current.sunshineTheoretical.raw == 
>> 0 and $sunshinetime > 0
>> #set $suntext = 'Heute gab es insgesamt ' + $sundurationtext + ' 
>> Sonnenschein.'
>> #else if $sunshinetheoretical > 0 and 
>> $current.sunshineTheoretical.raw == 0 and $sunshinetime == 0
>> #set $suntext = 'Heute gab es leider gar keinen Sonnenschein.'
>> #else if $ratio >= 0.7
>> #set $suntext = 'Heute gab es schon ' + $sundurationtext + ' 
>> Sonnenschein.'
>> #else if $ratio >= 0.4
>> #set $suntext = 'Heute gab es bisher ' + $sundurationtext + ' 
>> Sonnenschein.'
>> #else if $ratio < 0.4 and $sunshinetheoretical > 0 and $sunshinetime 
>> > 0
>> #set $suntext = 'Heute gab es erst ' + $sundurationtext + ' 
>> Sonnenschein.'
>> #else if $ratio < 0.4 and $sunshinetheoretical > 0 and $sunshinetime 
>> == 0
>> #set $suntext = 'Heute gab es leider noch keinen Sonnenschein.' 
>> #else
>> #set $suntext = ''  
>> #end if
>>
>> #set $dailyrain = $day.rain.sum.raw 
>>
>> #if $dailyrain == 0
>> #set raintext = 'Bisher kein Regen.'
>> #else 
>> #set $raintext = 'Bisher ' + str($day.rain.sum) + ' Regen.'
>> #end if
>>
>> 
>> 
>> $suntext $raintext
>> 
>> 
>>
>>

-- 
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/a0a4f98d-d748-4bb7-8530-b9aab705a34an%40googlegroups.com.


[weewx-user] Re: Belchertown skin: Reload index_hooks

2020-06-24 Thread Manfred Maier
It's text.
I'm displaying the amount of sunshine hours on that day. In a somewhat 
dynamic way.

Here's the index_hook_after_station_info I'm using.

#set sunshinetime = $day.sunshineTime.sum.raw
#set sunshinetheoretical = $day.sunshineTheoretical.sum.raw
#set ratio = 0 

#set hours = int($sunshinetime / 60)
#set minutes = int($sunshinetime - ($hours * 60))

#if $sunshinetheoretical > 0
#set $ratio = $sunshinetime / $sunshinetheoretical
#end if

#set $hoursstr = str($hours)

#if $minutes < 10
#set $minutesstr = '0' + str($minutes)
#else
#set $minutesstr = str($minutes)
#end if

#set $sundurationtext = $hoursstr + ':' + $minutesstr + ' Stunden'

#if $sunshinetheoretical > 0 and $current.sunshineTheoretical.raw == 0 
and $sunshinetime > 0
#set $suntext = 'Heute gab es insgesamt ' + $sundurationtext + ' 
Sonnenschein.'
#else if $sunshinetheoretical > 0 and $current.sunshineTheoretical.raw 
== 0 and $sunshinetime == 0
#set $suntext = 'Heute gab es leider gar keinen Sonnenschein.'
#else if $ratio >= 0.7
#set $suntext = 'Heute gab es schon ' + $sundurationtext + ' 
Sonnenschein.'
#else if $ratio >= 0.4
#set $suntext = 'Heute gab es bisher ' + $sundurationtext + ' 
Sonnenschein.'
#else if $ratio < 0.4 and $sunshinetheoretical > 0 and $sunshinetime > 0
#set $suntext = 'Heute gab es erst ' + $sundurationtext + ' 
Sonnenschein.'
#else if $ratio < 0.4 and $sunshinetheoretical > 0 and $sunshinetime == 
0
#set $suntext = 'Heute gab es leider noch keinen Sonnenschein.' 
#else
#set $suntext = ''  
#end if

#set $dailyrain = $day.rain.sum.raw 

#if $dailyrain == 0
#set raintext = 'Bisher kein Regen.'
#else 
#set $raintext = 'Bisher ' + str($day.rain.sum) + ' Regen.'
#end if



$suntext $raintext



-- 
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/7ad319e9-6ece-44e8-9e0b-72e0e55c6ae6n%40googlegroups.com.


Re: [weewx-user] Re: Full day highcharts question

2020-06-24 Thread Manfred Maier
Solved!
Thanks so much! 

Pat schrieb am Mittwoch, 24. Juni 2020 um 15:41:13 UTC+2:

> Can you try the latest belchertown.py file from the devleopment branch? I 
> think I got it working. See screenshot.
>
>
>
> On Wednesday, June 24, 2020 at 8:48:53 AM UTC-4, Manfred Maier wrote:
>>
>> Sent by email. The file has been too big for an upload here (or the 
>> database content isn't allowed?).
>> Thanks for looking into it!
>>
>>

-- 
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/295f9456-430d-44fb-9c4e-9b61640794e0n%40googlegroups.com.


Re: [weewx-user] Re: Full day highcharts question

2020-06-24 Thread Manfred Maier
Good catch, Didier!
I just found that I get the same wrong behavior for my 2019 chart. My 
station started in July only. And the RainTotal chart shows values for 
Jan-June.
It's the second one from the 
bottom: https://www.wetter-zorneding.de/graphs/?graph=2019


didier@gmail.com schrieb am Mittwoch, 24. Juni 2020 um 14:13:12 UTC+2:

> Please find enclosed:
> week.jpg graphic
> month.jpg graphic
> year.jpg graphic
> graphs.conf file
>
> Le mer. 24 juin 2020 à 13:50, Pat  a écrit :
>
>> Please paste your full graph that's broken so I can take a look at it
>>
>> -- 
>> 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/2669f288-4099-45af-88e7-5382397bf5b9o%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/7cdf3ede-4d39-43e5-8277-1353df7d4b88n%40googlegroups.com.


[weewx-user] Belchertown skin: Reload index_hooks

2020-06-24 Thread Manfred Maier
Hi Pat,
there might be a possible issue with the reload functionality of the 
additional index_hook section on the front-page of the skin.

I have the following settings in the weewx.conf

reload_hook_images = 1

reload_images_radar = 300

reload_images_hook_asi = 300

reload_images_hook_af = -1

reload_images_hook_as = -1

reload_images_hook_ac = 300


Still, the index_hook_after_station_info doesn't reload.

Is there anything wrong with this functionality or did I make a mistake in 
setting up the index_hook (which is much more likely)?

Manfred

-- 
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/28f41b9d-2597-41ea-8ca4-80ea27060a1fn%40googlegroups.com.


[weewx-user] Re: Retroactively calculate database fields

2020-06-23 Thread Manfred Maier
Pushing once.
Is there a way to perform the calculations of 3rd party extensions for 
historic timestamps in the database?

Manfred Maier schrieb am Sonntag, 21. Juni 2020 um 22:22:43 UTC+2:

> Hi,
> I've added new fields to the database (e.g. sunshineTime) and I'm 
> populating them with an adapted version of the radiationhours.py extension. 
>
> Is there a way to also populate those fields for data records of past 
> times?
> I've tried "wee_database --calc-missing", but had no success.
>
> Ideas and hints highly appreciated!
>
> Thanks!
> Manfred 
>

-- 
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/29b86d4a-4836-43a5-ac3d-006eda168f52n%40googlegroups.com.


Re: [weewx-user] Re: Full day highcharts question

2020-06-23 Thread Manfred Maier
one" using this new way of getting data for the rain 
>>>>>>>>>>>> observation?
>>>>>>>>>>>>
>>>>>>>>>>>> Gary - did you create an issue for this? I'd hate to patch 
>>>>>>>>>>>> something in the skin to only undo it if/when Tom properly patches 
>>>>>>>>>>>> this.
>>>>>>>>>>>>
>>>>>>>>>>>> On Friday, June 19, 2020 at 1:06:11 PM UTC-4, 
>>>>>>>>>>>> didier@gmail.com wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Oh, just a small problem:
>>>>>>>>>>>>> For Rain graph, the curve continue after "now"! (screenshot 
>>>>>>>>>>>>> attached)
>>>>>>>>>>>>> All others curves stop at datetime=now, it's correct)
>>>>>>>>>>>>> The problem concern "rainTotal" and is also available for day, 
>>>>>>>>>>>>> week, month and year time_length
>>>>>>>>>>>>> Have you an idea?
>>>>>>>>>>>>>
>>>>>>>>>>>>> hereafter the part of grah.conf
>>>>>>>>>>>>>
>>>>>>>>>>>>> [week]
>>>>>>>>>>>>> # Chart Timespan Defaults
>>>>>>>>>>>>> title = "Cette semaine"
>>>>>>>>>>>>> show_button = true
>>>>>>>>>>>>> button_text = "SEMAINE"
>>>>>>>>>>>>> time_length = week
>>>>>>>>>>>>> tooltip_date_format = ""
>>>>>>>>>>>>> type = spline
>>>>>>>>>>>>> aggregate_type = max
>>>>>>>>>>>>> aggregate_interval = 3600 # 1 hour
>>>>>>>>>>>>> gapsize = 360 # 1 hour in milliseconds
>>>>>>>>>>>>>
>>>>>>>>>>>>> [[chart1]]
>>>>>>>>>>>>> title = Température
>>>>>>>>>>>>> [[[outTemp]]]
>>>>>>>>>>>>> color = "#b2df8a"
>>>>>>>>>>>>> [[[dewpoint]]]
>>>>>>>>>>>>> yAxis_label = ( °C )
>>>>>>>>>>>>> yAxis_tickInterval = 2
>>>>>>>>>>>>> yAxis_softMin = 0
>>>>>>>>>>>>> 
>>>>>>>>>>>>> [[chart2]]
>>>>>>>>>>>>> title = Pluie
>>>>>>>>>>>>> [[[rainTotal]]]  < 
>>>>>>>>>>>>> Problem
>>>>>>>>>>>>> color = "#f7a35c"
>>>>>>>>>>>>> name = Cumul
>>>>>>>>>>>>> [[[rain]]]
>>>>>>>>>>>>> color = "#268bd2"
>>>>>>>>>>>>> aggregate_type = sum
>>>>>>>>>>>>> name = pluie
>>>>>>>>>>>>> type = column
>>>>>>>>>>>>> yAxis_tickInterval = 1
>>>>>>>>>>>>> yAxis_label = ( mm )
>>>>>>>>>>>>> yAxis_min = 0
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Le lundi 15 juin 2020 à 14:58:26 UTC+2, Pat a écrit :
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Awesome! Glad that it worked for you
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Monday, June 15, 2020 at 5:29:59 AM UTC-4, 
>>>>>>>>>>>>>> didier@gmail.com wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks it's work 
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Le lundi 15 juin 2020 à 11:12:27 UTC+2, Manfred Maier a 
>>>>>>>>>>>>>>> écrit :
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks, Gary, for this comprehensive explanation.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Based on what you wrote I was now able to plot an entire 
>>>>>>>>>>>>>>>> day.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> [image: Bildschirmfoto 2020-06-15 um 11.07.53.png]
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The trick is quite simple: I just had to define an 
>>>>>>>>>>>>>>>> aggregation for the daily charts. I.e. adding the following 
>>>>>>>>>>>>>>>> two lines to 
>>>>>>>>>>>>>>>> the graphs.conf:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> aggregate_type = max
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> aggregate_interval = 300
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> -- 
>>>>>>>>>>> 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...@googlegroups.com.
>>>>>>>>>>> To view this discussion on the web visit 
>>>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/35aa4d91-2dd6-4fc5-882d-78ddfd99c18co%40googlegroups.com
>>>>>>>>>>>  
>>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/35aa4d91-2dd6-4fc5-882d-78ddfd99c18co%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...@googlegroups.com.
>>>>>>>>> To view this discussion on the web visit 
>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/d738ffbd-0729-42a0-8b0e-15aa37381d95o%40googlegroups.com
>>>>>>>>>  
>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/d738ffbd-0729-42a0-8b0e-15aa37381d95o%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...@googlegroups.com.
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/weewx-user/4a5a30f5-2eef-40ba-976d-f80e8ff11893o%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/weewx-user/4a5a30f5-2eef-40ba-976d-f80e8ff11893o%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...@googlegroups.com.
>>>>
>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/e1f5cc02-3585-4aa7-af87-fc37df0e5ba5o%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/e1f5cc02-3585-4aa7-af87-fc37df0e5ba5o%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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/fc7ec2c8-8d1c-415c-be60-62dda8f956aeo%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/fc7ec2c8-8d1c-415c-be60-62dda8f956aeo%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/690bccbc-85af-4d11-bcac-f4c2d23cb975n%40googlegroups.com.


[weewx-user] Retroactively calculate database fields

2020-06-21 Thread Manfred Maier
Hi,
I've added new fields to the database (e.g. sunshineTime) and I'm 
populating them with an adapted version of the radiationhours.py extension. 

Is there a way to also populate those fields for data records of past times?
I've tried "wee_database --calc-missing", but had no success.

Ideas and hints highly appreciated!

Thanks!
Manfred 

-- 
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/33b40c35-9e2b-4cf1-85c3-af035c82ff94n%40googlegroups.com.


[weewx-user] Re: Belchertown no charts

2020-06-20 Thread Manfred Maier
Am Widget habe ich nichts geändert.

In der .htaccess Datei auf dem Webserver habe ich folgenden Code eingefügt:
# Extra Security Headers

Header set Feature-Policy "geolocation 'none'"


Bei manchen Browsers (leider nicht bei allen) unterdrückt dieser Code die 
Standort-Abfrage der Windy-Widgets.

Ich kann mir aber nicht vorstellen, dass dies der Grund dafür ist, dass bei 
Dir eine Fehlermeldung kommt und bei mir nicht.
Bekommst Du die gleiche Fehlermeldung, wenn Du auf andere Seiten mit dem 
Belchertown-Skin gehst?

Hast Du schon mal im Forum von Windy nachgelesen, ob das Problem bekannt 
ist?

geni08...@gmail.com schrieb am Samstag, 20. Juni 2020 um 17:04:32 UTC+2:

> Ich verwende Firefox 77.0.1 (64-Bit), die Fehlermeldung kommt aber nur von 
> meiner Seite, bei Deiner gibt es keine!
> Was ist bei Windy bei dir anders?
>
> Am Samstag, 20. Juni 2020 13:08:25 UTC+2 schrieb Manfred Maier:
>>
>> Das Widget von Meteoblue ist leider nach unten hin nicht responsive. 
>> Bisher ist Meteoblue aber die beste und schönste Vorhersage, die ich 
>> gefunden habe.
>> Sowohl DarkSky als auch Aeris liegen hier bei mir von den Vorhersagen her 
>> leider deutlich daneben.
>>
>> Die Fehlermeldung von Windy bekomme ich nicht. Welchen Browser (mit 
>> Version) verwendest Du?
>>  
>>
>> geni08...@gmail.com schrieb am Samstag, 20. Juni 2020 um 13:04:10 UTC+2:
>>
>>> Auf dem Handy wird aber abgeschnitten!
>>>
>>> warum kommt die Fehlermeldung von Windy
>>>
>>> Am Samstag, 20. Juni 2020 11:29:05 UTC+2 schrieb Manfred Maier:
>>>>
>>>> Responsive ist es bei mir auch nur in Grenzen.
>>>> Es gibt eine minimale Breite, ab der das Widget dann abgeschnitten 
>>>> wird. Nur nach oben hin skaliert es schön.
>>>>
>>>> geni08...@gmail.com schrieb am Samstag, 20. Juni 2020 um 10:21:01 
>>>> UTC+2:
>>>>
>>>>> @Manfred
>>>>> Der Eintrag gemäss deinen Angaben funktioniert aber nicht Responsiv, 
>>>>> irgendwie bekommt das iframe die benutzte breite nicht mit.
>>>>> Hast du eine Idee?
>>>>>
>>>>> Am Freitag, 19. Juni 2020 13:14:23 UTC+2 schrieb Manfred Maier:
>>>>>>
>>>>>> Ist bei mir in der index_hook_after_charts.inc drin.
>>>>>>
>>>>>>
>>>>>> 1) Datei (index_hook_after_charts.inc) im Belchertown-Verzeichnis 
>>>>>> anlegen
>>>>>> 2) den folgenden Code reinkopieren
>>>>>> 3) In der weewx.conf (Belchertown -Section) einschalten, dass der 
>>>>>> Index-Hook alle 300 Sekunden (oder auch weniger oft) neu geladen wird.
>>>>>> 4) Noch den iframe aus meinem Code für Deinen Standort anpassen (den 
>>>>>> Code gibt's auf Meteoblue unter Website-Widgets).
>>>>>>
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> https://www.meteoblue.com/de/wetter/widget/three/zorneding_deutschland_2803884?geoloc=fixed=1=0=7=CELSIUS=KILOMETER_PER_HOUR=image;
>>>>>>  
>>>>>>  frameborder="0" scrolling="YES" allowtransparency="true" 
>>>>>> sandbox="allow-same-origin allow-scripts allow-popups 
>>>>>> allow-popups-to-escape-sandbox" style="width: 100%; height: 525px; 
>>>>>> padding-left: 16px; padding-right: 16px">
>>>>>> 
>>>>>> 
>>>>>>
>>>>>>

-- 
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/51cb759a-0711-4e62-857a-8f36ce9a61afn%40googlegroups.com.


[weewx-user] Re: Belchertown no charts

2020-06-20 Thread Manfred Maier
Das Widget von Meteoblue ist leider nach unten hin nicht responsive. Bisher 
ist Meteoblue aber die beste und schönste Vorhersage, die ich gefunden habe.
Sowohl DarkSky als auch Aeris liegen hier bei mir von den Vorhersagen her 
leider deutlich daneben.

Die Fehlermeldung von Windy bekomme ich nicht. Welchen Browser (mit 
Version) verwendest Du?
 

geni08...@gmail.com schrieb am Samstag, 20. Juni 2020 um 13:04:10 UTC+2:

> Auf dem Handy wird aber abgeschnitten!
>
> warum kommt die Fehlermeldung von Windy
>
> Am Samstag, 20. Juni 2020 11:29:05 UTC+2 schrieb Manfred Maier:
>>
>> Responsive ist es bei mir auch nur in Grenzen.
>> Es gibt eine minimale Breite, ab der das Widget dann abgeschnitten wird. 
>> Nur nach oben hin skaliert es schön.
>>
>> geni08...@gmail.com schrieb am Samstag, 20. Juni 2020 um 10:21:01 UTC+2:
>>
>>> @Manfred
>>> Der Eintrag gemäss deinen Angaben funktioniert aber nicht Responsiv, 
>>> irgendwie bekommt das iframe die benutzte breite nicht mit.
>>> Hast du eine Idee?
>>>
>>> Am Freitag, 19. Juni 2020 13:14:23 UTC+2 schrieb Manfred Maier:
>>>>
>>>> Ist bei mir in der index_hook_after_charts.inc drin.
>>>>
>>>>
>>>> 1) Datei (index_hook_after_charts.inc) im Belchertown-Verzeichnis 
>>>> anlegen
>>>> 2) den folgenden Code reinkopieren
>>>> 3) In der weewx.conf (Belchertown -Section) einschalten, dass der 
>>>> Index-Hook alle 300 Sekunden (oder auch weniger oft) neu geladen wird.
>>>> 4) Noch den iframe aus meinem Code für Deinen Standort anpassen (den 
>>>> Code gibt's auf Meteoblue unter Website-Widgets).
>>>>
>>>> 
>>>> 
>>>> 
>>>> https://www.meteoblue.com/de/wetter/widget/three/zorneding_deutschland_2803884?geoloc=fixed=1=0=7=CELSIUS=KILOMETER_PER_HOUR=image;
>>>>  
>>>>  frameborder="0" scrolling="YES" allowtransparency="true" 
>>>> sandbox="allow-same-origin allow-scripts allow-popups 
>>>> allow-popups-to-escape-sandbox" style="width: 100%; height: 525px; 
>>>> padding-left: 16px; padding-right: 16px">
>>>> 
>>>> 
>>>>
>>>>

-- 
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/f3be1436-c8c5-44b5-985e-5f64963a63d8n%40googlegroups.com.


[weewx-user] Re: Belchertown no charts

2020-06-20 Thread Manfred Maier
Responsive ist es bei mir auch nur in Grenzen.
Es gibt eine minimale Breite, ab der das Widget dann abgeschnitten wird. 
Nur nach oben hin skaliert es schön.

geni08...@gmail.com schrieb am Samstag, 20. Juni 2020 um 10:21:01 UTC+2:

> @Manfred
> Der Eintrag gemäss deinen Angaben funktioniert aber nicht Responsiv, 
> irgendwie bekommt das iframe die benutzte breite nicht mit.
> Hast du eine Idee?
>
> Am Freitag, 19. Juni 2020 13:14:23 UTC+2 schrieb Manfred Maier:
>>
>> Ist bei mir in der index_hook_after_charts.inc drin.
>>
>>
>> 1) Datei (index_hook_after_charts.inc) im Belchertown-Verzeichnis anlegen
>> 2) den folgenden Code reinkopieren
>> 3) In der weewx.conf (Belchertown -Section) einschalten, dass der 
>> Index-Hook alle 300 Sekunden (oder auch weniger oft) neu geladen wird.
>> 4) Noch den iframe aus meinem Code für Deinen Standort anpassen (den Code 
>> gibt's auf Meteoblue unter Website-Widgets).
>>
>> 
>> 
>> 
>> https://www.meteoblue.com/de/wetter/widget/three/zorneding_deutschland_2803884?geoloc=fixed=1=0=7=CELSIUS=KILOMETER_PER_HOUR=image;
>>  
>>  frameborder="0" scrolling="YES" allowtransparency="true" 
>> sandbox="allow-same-origin allow-scripts allow-popups 
>> allow-popups-to-escape-sandbox" style="width: 100%; height: 525px; 
>> padding-left: 16px; padding-right: 16px">
>> 
>> 
>>
>>

-- 
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/85a7c0d1-2c91-4646-bfdf-5901bcc03320n%40googlegroups.com.


[weewx-user] Re: Belchertown no charts

2020-06-19 Thread Manfred Maier
Switching back to English, since I guess we need the help of Pat here.

@Pat 
Have you seen the following issue before?
There is data behind the Highcharts and individual data points are 
displayed, but somehow the line seems to be set to 'hidden'.
Is there anything wring in the graphs.conf?

Here is an example screenshot.



geni08...@gmail.com schrieb am Freitag, 19. Juni 2020 um 16:23:39 UTC+2:

> Gratuliere, der Schuss ging ins schwarze!
> Im skin.conf habe ich auto
> Der Raspberry lief natürlich für mich lokal auf de_CH.UTF-8
> ich habe diesen nun auf de_DE.UTF-8 geändert und schon hatte ich das 
> Zuletzt aktualisiert und Charts.
> Die Charts sind leider teilweise leer?
>
>
> Am Freitag, 19. Juni 2020 15:25:44 UTC+2 schrieb Manfred Maier:
>>
>> Das ist jetzt ein Schuss ins Blaue (vielleicht treffe ich aber):
>> Welche "belchertown_locale" hast Du angegeben? Bzw. in welcher 
>> "Locale"Einstellung läuft Dein Rechner?
>>
>> In der besagten Belchertown.js auf Deinem Webserver steht in Zeile 507:
>>thousandsSep: '''
>>
>> Es sieht so aus, als würde ein Hochkomma als Tausender-Punkt verwendet. 
>> Der Browser fällt hier wohl drüber (3 Hochkommas nacheinander).
>>
>> Der Tausender-Seperator ist eigentlich automatisch von der Locale 
>> gesteuert.
>>  
>>
>> Manfred Maier schrieb am Freitag, 19. Juni 2020 um 15:01:48 UTC+2:
>>
>>> Ich hab mir Deine Website jetzt mal angesehen.
>>> Es sieht so aus, als hättest Du ein Problem mit Deiner 
>>> Belchertown.js.tmpl
>>>
>>> Hast Du da mal etwas geändert?
>>>
>>> Wenn ich die Fehlermeldung richtig interpretiere, gibt es ein Problem 
>>> bei Zeile 506. Das EOF bedeutet meiner Meinung nach, dass das File hier 
>>> endet?
>>> Wie viele Zeilen hat Deine Belchertown.js.tmpl?
>>>
>>>
>>>
>>> Manfred Maier schrieb am Freitag, 19. Juni 2020 um 13:14:23 UTC+2:
>>>
>>>> Ist bei mir in der index_hook_after_charts.inc drin.
>>>>
>>>>
>>>> 1) Datei (index_hook_after_charts.inc) im Belchertown-Verzeichnis 
>>>> anlegen
>>>> 2) den folgenden Code reinkopieren
>>>> 3) In der weewx.conf (Belchertown -Section) einschalten, dass der 
>>>> Index-Hook alle 300 Sekunden (oder auch weniger oft) neu geladen wird.
>>>> 4) Noch den iframe aus meinem Code für Deinen Standort anpassen (den 
>>>> Code gibt's auf Meteoblue unter Website-Widgets).
>>>>
>>>> 
>>>> 
>>>> 
>>>> https://www.meteoblue.com/de/wetter/widget/three/zorneding_deutschland_2803884?geoloc=fixed=1=0=7=CELSIUS=KILOMETER_PER_HOUR=image;
>>>>  
>>>>  frameborder="0" scrolling="YES" allowtransparency="true" 
>>>> sandbox="allow-same-origin allow-scripts allow-popups 
>>>> allow-popups-to-escape-sandbox" style="width: 100%; height: 525px; 
>>>> padding-left: 16px; padding-right: 16px">
>>>> 
>>>> 
>>>>
>>>>

-- 
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/76558996-bdbe-4120-82b6-1d92afaec910n%40googlegroups.com.


[weewx-user] Re: Belchertown no charts

2020-06-19 Thread Manfred Maier
Das ist jetzt ein Schuss ins Blaue (vielleicht treffe ich aber):
Welche "belchertown_locale" hast Du angegeben? Bzw. in welcher 
"Locale"Einstellung läuft Dein Rechner?

In der besagten Belchertown.js auf Deinem Webserver steht in Zeile 507:
   thousandsSep: '''

Es sieht so aus, als würde ein Hochkomma als Tausender-Punkt verwendet. 
Der Browser fällt hier wohl drüber (3 Hochkommas nacheinander).

Der Tausender-Seperator ist eigentlich automatisch von der Locale gesteuert.
 

Manfred Maier schrieb am Freitag, 19. Juni 2020 um 15:01:48 UTC+2:

> Ich hab mir Deine Website jetzt mal angesehen.
> Es sieht so aus, als hättest Du ein Problem mit Deiner Belchertown.js.tmpl
>
> Hast Du da mal etwas geändert?
>
> Wenn ich die Fehlermeldung richtig interpretiere, gibt es ein Problem bei 
> Zeile 506. Das EOF bedeutet meiner Meinung nach, dass das File hier endet?
> Wie viele Zeilen hat Deine Belchertown.js.tmpl?
>
>
>
> Manfred Maier schrieb am Freitag, 19. Juni 2020 um 13:14:23 UTC+2:
>
>> Ist bei mir in der index_hook_after_charts.inc drin.
>>
>>
>> 1) Datei (index_hook_after_charts.inc) im Belchertown-Verzeichnis anlegen
>> 2) den folgenden Code reinkopieren
>> 3) In der weewx.conf (Belchertown -Section) einschalten, dass der 
>> Index-Hook alle 300 Sekunden (oder auch weniger oft) neu geladen wird.
>> 4) Noch den iframe aus meinem Code für Deinen Standort anpassen (den Code 
>> gibt's auf Meteoblue unter Website-Widgets).
>>
>> 
>> 
>> 
>> https://www.meteoblue.com/de/wetter/widget/three/zorneding_deutschland_2803884?geoloc=fixed=1=0=7=CELSIUS=KILOMETER_PER_HOUR=image;
>>  
>>  frameborder="0" scrolling="YES" allowtransparency="true" 
>> sandbox="allow-same-origin allow-scripts allow-popups 
>> allow-popups-to-escape-sandbox" style="width: 100%; height: 525px; 
>> padding-left: 16px; padding-right: 16px">
>> 
>> 
>>
>>

-- 
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/fa3c4e9e-659b-4305-8762-4cc72af91f7dn%40googlegroups.com.


[weewx-user] Re: Belchertown no charts

2020-06-19 Thread Manfred Maier
Ist bei mir in der index_hook_after_charts.inc drin.


1) Datei (index_hook_after_charts.inc) im Belchertown-Verzeichnis anlegen
2) den folgenden Code reinkopieren
3) In der weewx.conf (Belchertown -Section) einschalten, dass der 
Index-Hook alle 300 Sekunden (oder auch weniger oft) neu geladen wird.
4) Noch den iframe aus meinem Code für Deinen Standort anpassen (den Code 
gibt's auf Meteoblue unter Website-Widgets).




https://www.meteoblue.com/de/wetter/widget/three/zorneding_deutschland_2803884?geoloc=fixed=1=0=7=CELSIUS=KILOMETER_PER_HOUR=image;
 
 frameborder="0" scrolling="YES" allowtransparency="true" 
sandbox="allow-same-origin allow-scripts allow-popups 
allow-popups-to-escape-sandbox" style="width: 100%; height: 525px; 
padding-left: 16px; padding-right: 16px">



-- 
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/fce92db2-c73d-4533-8d4d-04bf5e95a75cn%40googlegroups.com.


[weewx-user] Re: Belchertown no charts

2020-06-19 Thread Manfred Maier
Ist Deine Seite schon von extern erreichbar? Kannst Du mal die Adresse 
schicken?

geni08...@gmail.com schrieb am Freitag, 19. Juni 2020 um 12:59:59 UTC+2:

> Die charts liefen noch nie.
> Der Eintrag highcharts_enabled = 1 ist nur in der skin.conf.
> Es gibt keine Fehlermeldungen, ich habe das belchertown_debug = 1 gesetzt, 
> wo sieht man diese Meldungen?
>
> Am Freitag, 19. Juni 2020 11:49:03 UTC+2 schrieb Manfred Maier:
>>
>> Liefen die Charts bei Dir schon mal?
>>
>> Der generelle Switch für die Highcharts ist in der skin.conf (bzw. 
>> weewx.conf):
>> # Highcharts settings
>> highcharts_enabled = 1
>>
>> Kommen auf Deiner Website irgendwelche Fehlermeldungen? 
>>
>> geni08...@gmail.com schrieb am Freitag, 19. Juni 2020 um 11:42:06 UTC+2:
>>
>>> Es ist die Original graphs.conf.example, da sollte doch nichts falsch 
>>> sein?
>>>
>>>
>>> Am Freitag, 19. Juni 2020 10:59:49 UTC+2 schrieb Manfred Maier:
>>>>
>>>> And if still no charts are produced, you probably have an error in 
>>>> somewhere in your graphs.conf. If one chart in there is invalid, no charts 
>>>> at all are produced.
>>>>
>>>> geni08...@gmail.com schrieb am Freitag, 19. Juni 2020 um 10:48:16 
>>>> UTC+2:
>>>>
>>>>>
>>>>> What do I have to set where and how to get diagrams
>>>>>
>>>>> Regards
>>>>> Geni
>>>>>
>>>>

-- 
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/70efbc3b-08d6-4ac0-aa3a-0b983b5d8d54n%40googlegroups.com.


[weewx-user] Re: Belchertown no charts

2020-06-19 Thread Manfred Maier
Liefen die Charts bei Dir schon mal?

Der generelle Switch für die Highcharts ist in der skin.conf (bzw. 
weewx.conf):
# Highcharts settings
highcharts_enabled = 1

Kommen auf Deiner Website irgendwelche Fehlermeldungen? 

geni08...@gmail.com schrieb am Freitag, 19. Juni 2020 um 11:42:06 UTC+2:

> Es ist die Original graphs.conf.example, da sollte doch nichts falsch sein?
>
>
> Am Freitag, 19. Juni 2020 10:59:49 UTC+2 schrieb Manfred Maier:
>>
>> And if still no charts are produced, you probably have an error in 
>> somewhere in your graphs.conf. If one chart in there is invalid, no charts 
>> at all are produced.
>>
>> geni08...@gmail.com schrieb am Freitag, 19. Juni 2020 um 10:48:16 UTC+2:
>>
>>>
>>> What do I have to set where and how to get diagrams
>>>
>>> Regards
>>> Geni
>>>
>>

-- 
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/41dbedad-5fdc-4d2f-a632-12186e5114b2n%40googlegroups.com.


[weewx-user] Re: Belchertown no charts

2020-06-19 Thread Manfred Maier
And if still no charts are produced, you probably have an error in 
somewhere in your graphs.conf. If one chart in there is invalid, no charts 
at all are produced.

geni08...@gmail.com schrieb am Freitag, 19. Juni 2020 um 10:48:16 UTC+2:

>
> What do I have to set where and how to get diagrams
>
> Regards
> Geni
>

-- 
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/b954dd24-3914-4d99-9e82-514400805c03n%40googlegroups.com.


[weewx-user] Re: Horizontal line with Highcharts

2020-06-18 Thread Manfred Maier
Keine Sache. Ich habe hier auch unzählige Fragen gestellt und war froh, 
wenn mir jemand geholfen hat.
Einige meiner Fragen hast Du jetzt auch und ich kenne mittlerweile die 
Antworten :)

Andre schrieb am Donnerstag, 18. Juni 2020 um 19:02:00 UTC+2:

> Many thanks, Manfred.
> So langsam muss ich mal über eine eigene Danksagungseite nur für Dich 
> nachdenken. ;)
>
>
> Am Donnerstag, 18. Juni 2020 18:57:16 UTC+2 schrieb Manfred Maier:
>>
>> Here you go:
>>
>> // Barometer chart plots get a higher precision yAxis tick
>> if (s.obsType == "barometer") {
>> if ( typeof s.yAxis_tickInterval === "undefined" ) { 
>> // If no tick interval override, set 0.01 as 
>> default tick interval to satisfy an old request for this level of 
>> precision. 
>> options.yAxis[this_yAxis].tickInterval = 0.01;
>> }
>> // Define yAxis label float format if rounding is 
>> defined. Default to 2 decimals if nothing defined
>> if ( typeof s.rounding !== "undefined" ) {
>> options.yAxis[this_yAxis].labels = { format: 
>> '{value:.'+s.rounding+'f}' }
>> } else {
>> options.yAxis[this_yAxis].labels = { format: 
>> '{value:.2f}' }
>> }
>> *options.yAxis[this_yAxis].plotLines = [{*
>> *value: 1013.25,*
>> *color: '#E5544E',*
>> *width: 1,*
>> *dashStyle: 'ShortDash',*
>> *zIndex: 0,*
>> *}]*
>> }
>>
>> // Dewpoint chart plots get Schwuele indicator for the 
>> yAxis
>> if (s.obsType == "dewpoint") {
>> options.yAxis[this_yAxis].plotLines = [{
>> value: 17,
>> color: '#E5544E',
>> width: 1,
>> dashStyle: 'ShortDash',
>> zIndex: 0,
>> },
>> {
>> value: 19.9,
>> color: '#E5544E',
>> width: 1,
>> dashStyle: 'ShortDash',
>> zIndex: 0,
>> }]
>> }
>>
>>
>>
>> The first 10 lines or so are already part of the belchertown.js.tmpl (in 
>> the 'js' folder) - from line 1374 onwards (in my case). 
>> The code in bold writing adds a line to the barometer chart. And the next 
>> section adds two lines to the Dewpoint chart.
>>
>> You probably will want to adapt this 'dewpoint' part to your needs.
>>
>> Manfred 
>> Andre schrieb am Donnerstag, 18. Juni 2020 um 18:49:15 UTC+2:
>>
>>> Yes, this is excacly what I'm looking for.
>>> Your code sharing will be very nice.
>>>
>>>
>>> Am Donnerstag, 18. Juni 2020 18:43:28 UTC+2 schrieb Manfred Maier:
>>>>
>>>> Hi,
>>>> a line like on my barometer chart (www.wetter-zorneding.de)?
>>>>
>>>> If so: Yes, that's possible but requires some additional lines in the 
>>>> belchertown.js.tmpl
>>>>
>>>> In case this is what you are looking for, I can copy my code here.
>>>>
>>>>
>>>> Manfred 
>>>>
>>>> Am Donnerstag, 18. Juni 2020 18:40:19 UTC+2 schrieb Andre:
>>>>>
>>>>> Is it possible to draw a horizontal colored line on specific yaxis 
>>>>> value?
>>>>> I need a fixed line to show peak values.
>>>>>
>>>>> Regards Andre
>>>>>
>>>>

-- 
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/2c95d9b3-a054-4819-9392-498a9f426345n%40googlegroups.com.


[weewx-user] Re: Horizontal line with Highcharts

2020-06-18 Thread Manfred Maier
Here you go:

// Barometer chart plots get a higher precision yAxis tick
if (s.obsType == "barometer") {
if ( typeof s.yAxis_tickInterval === "undefined" ) { 
// If no tick interval override, set 0.01 as 
default tick interval to satisfy an old request for this level of 
precision. 
options.yAxis[this_yAxis].tickInterval = 0.01;
}
// Define yAxis label float format if rounding is 
defined. Default to 2 decimals if nothing defined
if ( typeof s.rounding !== "undefined" ) {
options.yAxis[this_yAxis].labels = { format: 
'{value:.'+s.rounding+'f}' }
} else {
options.yAxis[this_yAxis].labels = { format: 
'{value:.2f}' }
}
*options.yAxis[this_yAxis].plotLines = [{*
*value: 1013.25,*
*color: '#E5544E',*
*width: 1,*
*dashStyle: 'ShortDash',*
*zIndex: 0,*
*}]*
}

// Dewpoint chart plots get Schwuele indicator for the yAxis
if (s.obsType == "dewpoint") {
options.yAxis[this_yAxis].plotLines = [{
value: 17,
color: '#E5544E',
width: 1,
dashStyle: 'ShortDash',
zIndex: 0,
},
{
value: 19.9,
color: '#E5544E',
width: 1,
dashStyle: 'ShortDash',
zIndex: 0,
}]
}



The first 10 lines or so are already part of the belchertown.js.tmpl (in 
the 'js' folder) - from line 1374 onwards (in my case). 
The code in bold writing adds a line to the barometer chart. And the next 
section adds two lines to the Dewpoint chart.

You probably will want to adapt this 'dewpoint' part to your needs.

Manfred 
Andre schrieb am Donnerstag, 18. Juni 2020 um 18:49:15 UTC+2:

> Yes, this is excacly what I'm looking for.
> Your code sharing will be very nice.
>
>
> Am Donnerstag, 18. Juni 2020 18:43:28 UTC+2 schrieb Manfred Maier:
>>
>> Hi,
>> a line like on my barometer chart (www.wetter-zorneding.de)?
>>
>> If so: Yes, that's possible but requires some additional lines in the 
>> belchertown.js.tmpl
>>
>> In case this is what you are looking for, I can copy my code here.
>>
>>
>> Manfred 
>>
>> Am Donnerstag, 18. Juni 2020 18:40:19 UTC+2 schrieb Andre:
>>>
>>> Is it possible to draw a horizontal colored line on specific yaxis value?
>>> I need a fixed line to show peak values.
>>>
>>> Regards Andre
>>>
>>

-- 
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/18f23152-86cd-40f1-a651-52a76fc046b5n%40googlegroups.com.


[weewx-user] Re: Horizontal line with Highcharts

2020-06-18 Thread Manfred Maier
Hi,
a line like on my barometer chart (www.wetter-zorneding.de)?

If so: Yes, that's possible but requires some additional lines in the 
belchertown.js.tmpl

In case this is what you are looking for, I can copy my code here.


Manfred 

Am Donnerstag, 18. Juni 2020 18:40:19 UTC+2 schrieb Andre:
>
> Is it possible to draw a horizontal colored line on specific yaxis value?
> I need a fixed line to show peak values.
>
> Regards Andre
>

-- 
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/1be847db-e13d-4c6d-bd5e-c7ef561b81ddo%40googlegroups.com.


[weewx-user] Re: Belchertown - German Translation

2020-06-17 Thread Manfred Maier
Here you go:

[[MQTT]]
server_url = mqtt://user:passw...@servername.bestsrv.de:8883/
topic = weather
unit_system = METRIC
binding = archive, loop
aggregation = aggregate
log_success = False
log_failure = True
[[[inputs]]]
dayRain
name = dayRain_mm
units = mm
rainRate
name = rainRate_mm_per_hour
units = mm_per_hour
[[[tls]]]
tls_version = tlsv1
ca_certs = /etc/ssl/certs/ca-certificates.crt


Am Mittwoch, 17. Juni 2020 19:30:18 UTC+2 schrieb teqqyde:
>
> Hello Manfred,
>
> I recently installed the same Skin and struggle to get my mqtt data to 
> work. Could you please provide your mqtt config in the the whew.conf file? 
> Expect of your host of course! I got "undefined" units in my measurements. 
> The rest is fine, so I guess its just a mqtt problem.
>
> Thanks.
>
> Am Sonntag, 14. Juni 2020 22:02:35 UTC+2 schrieb Manfred Maier:
>>
>> What I meant is an additional 'legal page', not a cookie banner.
>> Such legal pages are required in many countries around the world.
>>
>> As you saw on my page, I have the 'station' page (with information about 
>> the PWS) and the additional legal page.
>>
>> I can see three options:
>> 1) Leave everything as it is. People should know that such a page is 
>> legally required and they will find the information of how to add such a 
>> page.
>> 2) Make it easier for people to find the information on how to add an 
>> additional page to the skin (--> include it in your instruction page)
>> 3) The one option with most work for you: Add this page as an option to 
>> the skin (something like 'legal_page = 1') in the skin.conf. With a 
>> legal.inc in the belchertown folder.
>>
>> Option 3 would be ideal for new users, option 2 will be the most 
>> realistic one.
>>
>>
>>

-- 
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/d62b326f-72ab-488a-bcde-3f8b89a1cb9co%40googlegroups.com.


Re: [weewx-user] Re: Full day highcharts question

2020-06-15 Thread Manfred Maier
Thanks, Gary, for this comprehensive explanation.

Based on what you wrote I was now able to plot an entire day.

[image: Bildschirmfoto 2020-06-15 um 11.07.53.png]

The trick is quite simple: I just had to define an aggregation for the 
daily charts. I.e. adding the following two lines to the graphs.conf:

aggregate_type = max

aggregate_interval = 300



-- 
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/2cdeaecb-279e-42d4-af61-a1c0038333bbo%40googlegroups.com.


[weewx-user] Re: Belchertown - German Translation

2020-06-14 Thread Manfred Maier
What I meant is an additional 'legal page', not a cookie banner.
Such legal pages are required in many countries around the world.

As you saw on my page, I have the 'station' page (with information about 
the PWS) and the additional legal page.

I can see three options:
1) Leave everything as it is. People should know that such a page is 
legally required and they will find the information of how to add such a 
page.
2) Make it easier for people to find the information on how to add an 
additional page to the skin (--> include it in your instruction page)
3) The one option with most work for you: Add this page as an option to the 
skin (something like 'legal_page = 1') in the skin.conf. With a legal.inc 
in the belchertown folder.

Option 3 would be ideal for new users, option 2 will be the most realistic 
one.


-- 
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/2f33d3e7-2f54-4fb2-a152-745d55d6c627o%40googlegroups.com.


Re: [weewx-user] Re: Belchertown skin - page "yesterday"...

2020-06-14 Thread Manfred Maier
The graphs.conf will not get overwritten by the update.
All your translations and other settings of Belchertown should be stored in 
the weewx.conf anyway (and not in the skin.conf of Belchertown!). 
Adaptions of the CSS-layout should be stored in the custom.css file (which 
again will not get overwritten).

In case you made changes to other files (like I did), you will have to make 
the same changes again :(  

To be on the safe side, you should save a backup-version of your current 
setup. Then you can at least compare the updated version to your current 
one and trace possible changes.

Manfred. 

Am Sonntag, 14. Juni 2020 21:13:31 UTC+2 schrieb Didier Decoodt:
>
> OK...
> What is the procedure for updating the skin without loss of 
> many adjustments (translation, graphs change...)?
> (I have pass a lot of time to do this)
>
> Thank you for your recommendation
> Didier
>
> Le dim. 14 juin 2020 à 21:09, Manfred Maier  > a écrit :
>
>> Yes, that's why I recommended the Aeris-API. ;)
>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/c6ef79c5-ee0c-444f-8dd1-0a0d885dabcdo%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/c6ef79c5-ee0c-444f-8dd1-0a0d885dabcdo%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/162df227-eb1f-4804-9967-cb94e0f6da72o%40googlegroups.com.


Re: [weewx-user] Re: Full day highcharts question

2020-06-14 Thread Manfred Maier
My post didn't want to say that you have to look into it NOW. 
I just wanted to give a '+1' for this feature request ;)

... perhaps it's even something that is not possible at all with weewx 4.0. 

-- 
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/73b6bbfc-b980-4463-8d90-f7bce4408dc6o%40googlegroups.com.


Re: [weewx-user] Re: Belchertown skin - page "yesterday"...

2020-06-14 Thread Manfred Maier
Yes, that's why I recommended the Aeris-API. ;)

-- 
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/c6ef79c5-ee0c-444f-8dd1-0a0d885dabcdo%40googlegroups.com.


Re: [weewx-user] Re: Full day highcharts question

2020-06-14 Thread Manfred Maier

This new behavior (ie. showing the entire year / month on the x-axis) has 
been the main motivation for me for switching to weewx 4.0.
In my opinion, this makes the charts much more readable. 

Personally I would love to use this 'feature' also for the daily charts.

-- 
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/95b20ca2-ed9a-430d-8df7-e8327d8ccbaeo%40googlegroups.com.


[weewx-user] Re: Belchertown skin - page "yesterday"...

2020-06-14 Thread Manfred Maier
Salut!

Yes, the icon is powered by the forecast API of the belchertown skin. 
Personally I'm still using the DarkSky API. But in case you should not 
already have a DarkSky-Key, you can also use the new Aeris-API, which is 
available in the latest belchertown version (at least I think so).

Best regards,
Manfred 

Am Sonntag, 14. Juni 2020 17:34:52 UTC+2 schrieb didier@gmail.com:
>
> Hello Manfred,
> Very nice site.
> I have receipt my station and installed the Belchertown skin
>
> How do you display the forecast icons? is it by DarkSky?
> Have a good day
>
> Le mercredi 10 juin 2020 à 21:33:21 UTC+2, sebastien...@gmail.com a 
> écrit :
>
>> Hello Manfred,
>>
>>
>> Thank you for your answer. It's work.
>> I am really impressed with the power of the graphs. And they are very 
>> easy to use. well done.
>>
>> Regards
>>
>>

-- 
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/7f8ed2e0-9179-4ba3-b96b-c6916938e728o%40googlegroups.com.


[weewx-user] Re: Belchertown - German Translation

2020-06-14 Thread Manfred Maier
Good question.

As a starting point, the skin could include an empty template for a 
Impressum / data protection page. This page is (as far as I know) required 
in the entire European Union. Such an empty template page would at least 
inspire people to fill it with content.
The content of this page is then up to the owner of the page.

As for the cookie consent:
Out of the box the skin doesn't require any cookies. So a consent isn't 
required.
I've just checked the cookies on my computer. It seems that even Windy 
doesn't store any?

-- 
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/7b8d7a8b-354b-4f1c-b114-6492d74f0c0eo%40googlegroups.com.


[weewx-user] Re: Belchertown - German Translation

2020-06-14 Thread Manfred Maier
... and even my Impressum / GDPR page is most certainly not 100% bullet 
proof.
But it's hopefully 'good enough' for at least putting legal trolls off.

Especially when using cookies, we would have to use an ACTIVE consent in 
Germany now. That's the reason why I kicked Google Analytics and switch to 
Matomo (without tracking cookies).



Am Sonntag, 14. Juni 2020 09:46:58 UTC+2 schrieb NanoG5Kite:
>
> Pat,
>
> I really don’t know, as this depend..
> But if you look to the Impressum of Manfred his site above you see what I 
> mean...:
>
> https://www.wetter-zorneding.de/about/
>
> He secured himself against all possible chambers dissuasions by drafting a 
> huge Impressum, but not sure if he missed something finally ;-)
>
>
>

-- 
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/8ada8e34-de52-4b3e-881a-a1f7bc19b88co%40googlegroups.com.


[weewx-user] Re: Belchertown - German Translation

2020-06-11 Thread Manfred Maier
Here you go!

Attached please find my skin.conf (with - I guess - no relevant information 
in it), plus the relevant part of my weewx.conf that holds all the German 
translations. It's important to put the translations into the weewx.conf. 
Otherwise the translations might get lost when updating the skin.

Would be great if you could post the URL of your site. I'm always looking 
for ideas of how to improve my site ;)

Best regards!
Manfred 

Am Donnerstag, 11. Juni 2020 11:02:22 UTC+2 schrieb Manfred Maier:
>
> Sure. 
> I'll upload my translations for you. Give me 15 mins.
>
> Manfred
>
> PS: On my site you can see my German translation in action (
> wetter-zorneding.de) 
>
> Am Donnerstag, 11. Juni 2020 10:53:22 UTC+2 schrieb NanoG5Kite:
>>
>> Hello everybody
>>
>> Would someone support me with his German skin-conf...?
>>
>> Regards,
>>
>> Matthias
>>
>

-- 
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/9cd4de72-5fd5-41e5-b19b-23f9273ae138o%40googlegroups.com.
###
# SKIN CONFIGURATION FILE #
# Copyright (c) 2010 Tom Keffer#
# Updated for the Belchertown Skin by Pat O'Brien, 2019   #
###

[Extras]

# General Site Defaults
check_for_updates = 1
belchertown_debug = 0
belchertown_locale = "auto"
theme = light
theme_toggle_enabled = 1
site_title = "My Weather Website"
logo_image = ""
radar_html = ""

# Station Observations. Special observation rainWithRainRate combines Daily 
Rain with Rain Rate in 1 line
station_observations = "barometer", "dewpoint", "outHumidity", 
"rainWithRainRate"

# Manifest Settings for Mobile Phones
manifest_name = "My Weather Website"
manifest_short_name = "MWW"

# Highcharts settings
highcharts_enabled = 1
graph_page_show_all_button = 1
graph_page_default_graphgroup = "day"
highcharts_homepage_graphgroup = "homepage"
highcharts_decimal = "auto"
highcharts_thousands = "auto"

# MQTT Websockets defaults
mqtt_websockets_enabled = 0
mqtt_websockets_host = ""
mqtt_websockets_port = 1883
mqtt_websockets_ssl = 0
mqtt_websockets_topic = ""
disconnect_live_website_visitor = 180

# Show an alert if the page updated timestamp is older than expected with 
this setting. Does not apply to MQTT Websocket enabled websites
# The late time threshold is defined in seconds. This should be greater 
than your archive_interval from weewx.conf.
# Typically you would want this 2 or 3 times archive_interval
show_last_updated_alert = 0
last_updated_alert_threshold = 1800

# If mqtt_websockets_enabled is set to 0, but want the page to full reload 
on an interval, specify this below in milliseconds. 30 = 5 minutes
webpage_autorefresh = 0

# Image Reload Section.
# Set reload_hook_images to 1 to enable, then set the number of *seconds* 
for each section to reload.
# A value of -1 will disable reloading images in that section.
# radar = the radar image if you used radar_html setting
# asi = index_hook_after_station_info.inc
# af = index_hook_after_forecast.inc
# as = index_hook_after_snapshot.inc
# ac = index_hook_after_charts.inc
reload_hook_images = 0
reload_images_radar = 300
reload_images_hook_asi = -1
reload_images_hook_af = -1
reload_images_hook_as = -1
reload_images_hook_ac = -1

# Forecast defaults
forecast_enabled = 0
forecast_provider = "aeris"
forecast_api_id = ""
forecast_api_secret = ""
forecast_units = "us"
forecast_lang = "en"
forecast_stale = 3540
forecast_alert_enabled = 0
forecast_alert_limit = 1
forecast_show_daily_forecast_link = 0
forecast_daily_forecast_link = ""

# Earthquake defaults
earthquake_enabled = 0
earthquake_maxradiuskm = 1000
earthquake_stale = 10740

# Social Share Button Defaults. Define the text below under Labels
facebook_enabled = 0
twitter_enabled = 0
social_share_html = "http://yourwebsite;

# Google Analytics
#googleAnalyticsId = _deleted

# This is the display of the Pi Kiosk which is in the /pi folder
pi_kiosk_bold = "false"
pi_the

[weewx-user] Re: Belchertown - German Translation

2020-06-11 Thread Manfred Maier
Sure. 
I'll upload my translations for you. Give me 15 mins.

Manfred

PS: On my site you can see my German translation in action 
(wetter-zorneding.de) 

Am Donnerstag, 11. Juni 2020 10:53:22 UTC+2 schrieb NanoG5Kite:
>
> Hello everybody
>
> Would someone support me with his German skin-conf...?
>
> Regards,
>
> Matthias
>

-- 
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/bb8a5b84-2157-457b-a6e5-a50a742fad2bo%40googlegroups.com.


[weewx-user] Re: Belchertown skin - page "yesterday"...

2020-06-09 Thread Manfred Maier
Hi Sebastian,
you can find the documentation for the graphs 
here: 
https://github.com/poblabs/weewx-belchertown/wiki/Belchertown-Charts-Documentation

Have fun with your weather station!
Manfred (wetter-zorneding.de)

Am Dienstag, 9. Juni 2020 20:49:20 UTC+2 schrieb Sébastien Bouillon:
>
> Hello,
>
>
> I am a happy owner of a Davis Pro station and a raspberry, since few weeks.
>
>
> I just installed the Belchertown's skin. It's really nice. Thanks you Pat. 
> I live in French. The URL of my station is www.solognemeteo.com
>
>
> A question : I don't have all the pages that I can see on the Pat's pages 
> : https://belchertownweather.com/graphs/ : yesterday's graphs, month... 
> How can I get them ? It's need to code some news files ?.
> I find the presentation of the wind with windrose very nice . How can I 
> activate it.
>
>
> Have a good day
>

-- 
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/5aa8ce59-6ed7-45d8-9d0c-c074392473dbo%40googlegroups.com.


[weewx-user] Re: Using a ProData WiFi Logger?

2020-05-29 Thread Manfred Maier
I don't want to promote the meteostick and the other devices are certainly 
equally good.

One of the reasons for choosing the meteostick was that it works absolutely 
independent of the Davis console. 
My console is placed in the living room (ground floor), the RPi is in my 
office (2nd floor). That brings a lot of flexibility.

For the meteostick there's a weewx-driver available, which allows you to 
create your own webpage. Here's mine (in German unfortunately): 
www.wetter-zorneding.de



Am Freitag, 29. Mai 2020 22:25:42 UTC+2 schrieb Sébastien Bouillon:
>
> Hello,
>
> Thank you for your answers.The "Meteo-pi hat" is the product sell by 
> prodata system (https://www.weatherstations.co.uk/meteo-pi.htm) ?
>
> This shop proposes an other device which seem very fine: the meteobridge 
> nano (https://shop.weatherstations.co.uk/meteobridge-nano-1771-p.asp), It 
> seem to use wifi,  so you don't need cable between the Davis console and 
> your box And it can upload the information directly in Intert. Do you 
> confirm, or I do a mistake ?
>
> But can we also receive the data in a rasberry with wifi to create our own 
> internet page (like this for example (
> http://meteovouzon.hopto.org/weewx/belchertown)
>
> Regards
>
>
>

-- 
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/9da7db80-9dcc-435d-a346-16e3a03e140d%40googlegroups.com.


[weewx-user] Re: Using a ProData WiFi Logger?

2020-05-29 Thread Manfred Maier
Hi Sébastien,
I don't know either data-logger.

Personally I'm using this one:
https://www.smartbedded.com/wiki/index.php/Meteostick

It works perfectly with my Vantage Pro 2 and two transmitters.

Manfred 

-- 
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/73b7f198-2a8e-4ee2-bd4e-46c9e7162bc3%40googlegroups.com.


[weewx-user] Re: Belchertown MQTT update time is chaotic

2020-05-24 Thread Manfred Maier
I guess the system can't properly work with your commas and dots in your 
translation. Try to either delete the commas or put the translation in 
quotes "Verbonden met weerstation,"

Manfred 

Am Sonntag, 24. Mai 2020 20:54:46 UTC+2 schrieb Keimpe Bleeker:
>
> Thanks for your much appreciated assistance!
>
> I would not dare to change someting deep in de system like in 
> /weewx/skins/Belchetown/js/belchertown.js.tmpl. Nevertheless and on your 
> advice, I checked line 839 and it is exactly as you mentioned.
>
> In /weewx/skins/Belchertown/skin.conf I have these Dutch terms:
>
> header_last_updated = Laatste update
> mqtt_websockets_connecting  = Verbinden met weerstation,
> mqtt_websockets_waiting = Verbonden, wacht op data.
> mqtt_websockets_connected   = Verbonden met weerstation,
> mqtt_websockets_stopped = Updates zijn gestopt
> mqtt_websockets_continue= Updates hervatten
> mqtt_websockets_failed  = Verbinding verbroken
> mqtt_websockets_lost= Verbinding verbroken
>
> In weewx.conf the term '...websockets...' was not found.  
>
>
>
>
>
> Op zondag 24 mei 2020 20:03:47 UTC+2 schreef Jacques Terrettaz:
>>
>> The text is defined by the variable *mqtt_websockets_connected * in 
>> skin.conf.
>>
>> If it does not correspond, check your skin.conf as well as your 
>> weewx.conf to be sure that you have not the variable   
>> *mqtt_websockets_connected 
>>  *defined also elsewhere*.*
>> If you have changed something in the template 
>> weewx/skins/Belchetown/js/belchertown.js.tmpl, verify that the line 839 is :
>>
>> updated_text = "$obs.label.mqtt_websockets_connected " + updated;
>>  
>>
>> Le dimanche 24 mai 2020 19:38:27 UTC+2, Keimpe Bleeker a écrit :
>>>
>>> Thank you so much Jacques Terrettaz, you have solved my time-issue; it 
>>> seems that I have spoiled a variable!
>>>
>>> Last issue is to get the text 'Connected to weather station live. Data 
>>> received ' up and running. 
>>>
>>>
>>> [image: Brackets_24052020.jpg]
>>> As you can see on the screencap, I only get (in Dutch) 'Connected to 
>>> weatherstation' between brackets and single quotes...
>>>
>>>
>>>
>>>
>>> Op zondag 24 mei 2020 10:13:36 UTC+2 schreef Jacques Terrettaz:

 I think I have found the problem :

 In your first post I see :

 # moment.js default labels formats
 time_earthquake= "LLL"
 time_lastUpdated   = "LL, 
 LTS"
 time_snapshot_records_today_header  = ", LL"
 time_snapshot_records_month_header = " "
 ...

 You should replace 
  time_lastUpdated by time_last_updated :

  # moment.js default labels formats
 time_earthquake= "LLL"
 *time_last_updated  * = 
 "LL, LTS"
 time_snapshot_records_today_header  = ", LL"
 time_snapshot_records_month_header = " "
   




-- 
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/b90dc15f-a335-40bf-bcee-32e8daaddaf2%40googlegroups.com.


Re: [weewx-user] Re: Belchertown Skin Charts

2020-05-22 Thread Manfred Maier
So, I've just tried to replicate your slide:

This is the syntax:

[test]

# Chart Timespan Defaults

title = "Test for Ron"

show_button = true

button_text = "Test"

time_length = year

tooltip_date_format = " LL"

aggregate_type = max

aggregate_interval = 86400 # 1 day

gapsize = 8640 # 1 day in milliseconds



[[climatological]]

title = Average Climatological Values

xAxis_groupby = month

xAxis_categories = 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 
'Aug', 'Sep', 'Oct', 'Nov', 'Dec'

[[[rainTotal]]]

aggregate_type = max

type = column

name = Rain Total

yAxis = 1

[[[outTemp]]]

aggregate_type = max

type = spline

name = Max Temp

[[[mintemp]]]

type = spline

aggregate_type = min

observation_type = outTemp

name = Min Temp

And this is the result:
https://www.wetter-zorneding.de/graphs/?graph=test

The issue obviously hasn't been the aggregate_interval, but that you've 
used 'xaxis' instead of 'xAxis'. 

Hope it works now!

Manfred 


Am Freitag, 22. Mai 2020 17:11:39 UTC+2 schrieb Ron Sell:
>
> 1.1
>
> On Fri, May 22, 2020 at 10:38 AM Manfred Maier  > wrote:
>
>> What version of Belchertown are you running? There are slight differences 
>> in the graphs syntax between 1.0 and 1.1 
>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/becd2fef-5abf-42e7-a3bc-5da9791d8aa4%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/becd2fef-5abf-42e7-a3bc-5da9791d8aa4%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/c9510c06-923b-4fac-8327-765acf549d64%40googlegroups.com.


[weewx-user] Re: Belchertown Skin Charts

2020-05-22 Thread Manfred Maier
What version of Belchertown are you running? There are slight differences 
in the graphs syntax between 1.0 and 1.1 

-- 
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/becd2fef-5abf-42e7-a3bc-5da9791d8aa4%40googlegroups.com.


[weewx-user] Re: Question about Belchertown script (index_hook_after_station_info.inc)

2020-05-22 Thread Manfred Maier
Hmm .. it also shows up in the Edge browser on my iPhone.

Am Freitag, 22. Mai 2020 12:03:41 UTC+2 schrieb Maarten van der Hoeven:
>
> Thanks Manfred. I also have an iPhone, but am using the webbrowser Edge. 
> Doesnt show up there. Never occured to me to test with safari, there it 
> shows. Thanks for letting me know, it's a browser thing and not something 
> with the Belchertown skin.
>
> Op vrijdag 22 mei 2020 11:56:37 UTC+2 schreef Manfred Maier:
>>
>> On my phone (iPhone) the text is visible. 
>> It's located beneath your webcam picture.
>>
>> Manfred 
>>
>>
>> Am Freitag, 22. Mai 2020 10:58:12 UTC+2 schrieb Maarten van der Hoeven:
>>>
>>> I know, it not really the place to ask something about Belchertown in 
>>> this weewx-group. My apologies...
>>>
>>> Fairly easy question, I've added custom text at my website using 
>>> index-Hook_after_station.inc. Working okay when watching the website on my 
>>> computer. However, the custom text is not shown using a mobile phone. 
>>>
>>> Is this by design, that index_hook_after_station_info.inc is only 
>>> working on a PC/desktop/laptop/whatever, and not working on a browser on a 
>>> mobile phone?
>>>
>>> See http://www.weerinwelsum.nl, added text just below the station info. 
>>> It's in Dutch, showing the lack of rain this year, datetime of last rain 
>>> and lowest grass temperature today with timestamp.
>>>
>>>
>>>

-- 
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/77ee11ac-f431-4e3c-8332-933525623e04%40googlegroups.com.


[weewx-user] Re: Question about Belchertown script (index_hook_after_station_info.inc)

2020-05-22 Thread Manfred Maier
On my phone (iPhone) the text is visible. 
It's located beneath your webcam picture.

Manfred 


Am Freitag, 22. Mai 2020 10:58:12 UTC+2 schrieb Maarten van der Hoeven:
>
> I know, it not really the place to ask something about Belchertown in this 
> weewx-group. My apologies...
>
> Fairly easy question, I've added custom text at my website using 
> index-Hook_after_station.inc. Working okay when watching the website on my 
> computer. However, the custom text is not shown using a mobile phone. 
>
> Is this by design, that index_hook_after_station_info.inc is only working 
> on a PC/desktop/laptop/whatever, and not working on a browser on a mobile 
> phone?
>
> See http://www.weerinwelsum.nl, added text just below the station info. 
> It's in Dutch, showing the lack of rain this year, datetime of last rain 
> and lowest grass temperature today with timestamp.
>
>
>

-- 
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/021197b2-3121-4da1-a1b3-7fa3e8df3b51%40googlegroups.com.


[weewx-user] Re: Belchertown Skin Charts

2020-05-20 Thread Manfred Maier
Hi Ron,
you don't require the aggregate_interval, especially not with a setting of 
'1 day'.

Here is an example (for Belchertown version 1.1) from my webpage 
(www.wetter-zorneding.de - the rain chart on the Year 2020 page):
[[rainmonthtotals]]
title = Monatliche Niederschlagsmenge
type = column
aggregate_type = max
xAxis_groupby = month
xAxis_categories = 'Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 
'Aug', 'Sep', 'Okt', 'Nov', 'Dez'
[[[rainTotal]]]
name = Rain Total

Hope that helps!

Manfred 


Am Mittwoch, 20. Mai 2020 06:04:38 UTC+2 schrieb Ron Sell:
>
> Having a little trouble with this one it showing individual days instead 
> of by the month:
>
> Any one have any clues?
> thanks
>
>
> [[avgclimatethisyear]]
> title = "Average Climatological Values for This Year"
> type = spline
> time_length = year
> aggregate_type = max
> aggregate_interval = 86400 # 1 day
> gapsize = 8640
> xaxis_groupby = month
> xaxis_categories = 'Jan' , 'Feb' , 'Mar', 'Apr' , 'May' , 'June' , 
> 'July' , 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
> [[[outTemp]]]
> zIndex = 2
> name = Max Temperature
> color = red
> [[[outTemp_min]]]
> name = Min Temperature
> observation_type = outTemp
> aggregate_type = min
> zIndex = 2
> [[[rainTotal]]]
> name = Rain Total
> type = column
> yAxis = 1
> zIndex = 0
> color = "#268bd2"
>
> [image: 2020-05-19-235800_1920x1080_scrot.png]
>
>

-- 
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/e703c51e-8b02-4b4c-8e23-9202c60c80be%40googlegroups.com.


Re: [weewx-user] Re: Weewx and Weathercloud

2020-05-03 Thread Manfred Maier
Thanks for the hint, Tom!

The extension crashed yesterday. And when I was looking at the Weewx Wiki 
on Github it mentioned that version 0.11 (from 2017) of the extension is 
the latest one.

Glad to learn that there is a 0.13 version meanwhile :)



Am Sonntag, 3. Mai 2020 14:26:00 UTC+2 schrieb Tom Keffer:
>
> Sure it is. I'm running it myself. 
>
> https://github.com/matthewwall/weewx-wcloud
>
> On Sun, May 3, 2020 at 1:46 AM Manfred Maier  > wrote:
>
>> Hi Andy,
>> just as a side note: In case the WeatherCloud upload is important to you, 
>> do not update to weewx 4.0 (Python 3) at the moment. The weathercloud 
>> extension is not yet Python 3 compatible.
>>
>> Manfred 
>>
>> Am Sonntag, 3. Mai 2020 09:44:57 UTC+2 schrieb Andy Harrold:
>>>
>>> I've setup my weewx to upload data to Weathercloud. On my Weathercloud 
>>> Station page app.weathercloud.net/d9110687615#profile its showing that 
>>> it's receiving data from my setup, the Barometer reading is correct, but 
>>> there's no other data getting through and being displayed.
>>> I've run the Weathercloud Weewx extension installer (
>>> https://github.com/weewx/weewx/wiki/weathercloud) but cant really see 
>>> what it does, as my weewx.conf file already had an entry section for 
>>> Weathercloud. The only thing i can see thats missing, even after running 
>>> the installer is the mention of [StdRESTful] directly above where it 
>>> mentions [[WeatherCloud]] .
>>>
>>> Weewx version 3.9.2
>>> Raspbian V10
>>> Linux raspberrypi 4.19.97+ #1294
>>>
>>> Weathercloud - https://app.weathercloud.net/d9110687615
>>>
>>> Thnx
>>>
>>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/f2916013-daba-4c3a-b2c1-db16db81dd80%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/f2916013-daba-4c3a-b2c1-db16db81dd80%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/8fe60b91-257c-4ae9-af2f-bfb03ab1c03e%40googlegroups.com.


[weewx-user] Re: Weewx and Weathercloud

2020-05-03 Thread Manfred Maier
Hi Andy,
just as a side note: In case the WeatherCloud upload is important to you, 
do not update to weewx 4.0 (Python 3) at the moment. The weathercloud 
extension is not yet Python 3 compatible.

Manfred 

Am Sonntag, 3. Mai 2020 09:44:57 UTC+2 schrieb Andy Harrold:
>
> I've setup my weewx to upload data to Weathercloud. On my Weathercloud 
> Station page app.weathercloud.net/d9110687615#profile its showing that 
> it's receiving data from my setup, the Barometer reading is correct, but 
> there's no other data getting through and being displayed.
> I've run the Weathercloud Weewx extension installer (
> https://github.com/weewx/weewx/wiki/weathercloud) but cant really see 
> what it does, as my weewx.conf file already had an entry section for 
> Weathercloud. The only thing i can see thats missing, even after running 
> the installer is the mention of [StdRESTful] directly above where it 
> mentions [[WeatherCloud]] .
>
> Weewx version 3.9.2
> Raspbian V10
> Linux raspberrypi 4.19.97+ #1294
>
> Weathercloud - https://app.weathercloud.net/d9110687615
>
> Thnx
>
>

-- 
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/f2916013-daba-4c3a-b2c1-db16db81dd80%40googlegroups.com.


Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-03 Thread Manfred Maier
Thanks, vince!

... and meanwhile I found the answer to question 2 myself. Reading 
documentation sometimes helps :)


Am Samstag, 2. Mai 2020 22:51:03 UTC+2 schrieb vince:
>
> On Saturday, May 2, 2020 at 1:37:30 PM UTC-7, Manfred Maier wrote:
>>
>> 1) Is there somewhere a list of packages that should be updated to Python 
>> 3?
>>
>
> http://www.weewx.com/docs/setup.htm has a nice list
>
>  
>

-- 
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/88ec7f19-fbc8-426d-a559-abe7f2e5638f%40googlegroups.com.


[weewx-user] Re: Belchertown highcharts : from a specific day to now & cumulative temp

2020-05-02 Thread Manfred Maier
Hi Eric,
concerning your first question: What version of weewx are you using? 

I've been on 3.9.2 and the timespan_specific also didn't work for me.
After upgrading to version 4.0 (Python 3) the specific timespan now works.

Manfred 


Am Freitag, 1. Mai 2020 10:43:03 UTC+2 schrieb Eric 972:
>
> Hi all,
> I am a farmer and I would like to follow my sowing of barley since the 
> sowing date, especially with rain and cumulative temperature which are 
> relevant parameters for analyzing growth.
>
> 1. I used timespan parameters like "2019 bomb cyclone example" but it 
> does'nt work. The sowing date is 14th of April. 
>
> 2. We all know rainTotal, but how could we obtain something like tempTotal 
> which should be the sum of average daily temp from the sewing date to now.
>
> Thanks in advance. 
>
> Sorry for my froggy English lamguage
>
>

-- 
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/20ae61a8-4024-429a-a8ec-a3a113addacb%40googlegroups.com.


Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Manfred Maier
User 'Dale' nailed it!

After installing ephem for Python3 I have maxSolarRad back in my database 
:). 
Thanks so much! The support here is absolutely fantastic!

Three related questions:
1) Is there somewhere a list of packages that should be updated to Python 3?
2) Is there a way to calculate maxSolarRad for the missing times in the 
database?
3) Is there somewhere a 'piggybank' for the weewx developers? Haven't found 
anything on the website.

Manfred 



Am Samstag, 2. Mai 2020 22:24:10 UTC+2 schrieb Tom Keffer:
>
> Manfred, user 'Dale' suggested to me offline that the problem could be 
> that you have not installed the package 'ephem' for Python 3.
>
> *sudo apt install python3-ephem*
>
> -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/f10ec4eb-03ac-48bb-878e-e404d1d8ab26%40googlegroups.com.


Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Manfred Maier
Here you go.
syslog since the restart of weewx

-- 
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/1325bd11-dfd0-4683-98aa-ae2835321cb0%40googlegroups.com.
May  2 21:58:00 raspberrypi systemd[1]: Starting LSB: weewx weather system...
May  2 21:58:00 raspberrypi weewx[2187] INFO __main__: Initializing weewx 
version 4.0.0
May  2 21:58:00 raspberrypi weewx[2187] INFO __main__: Using Python 3.7.3 
(default, Apr  3 2019, 05:39:12) #012[GCC 8.2.0]
May  2 21:58:00 raspberrypi weewx[2187] INFO __main__: Platform 
Linux-4.19.58-v7l+-armv7l-with-debian-10.0
May  2 21:58:00 raspberrypi weewx[2187] INFO __main__: Locale is 'de_DE.UTF-8'
May  2 21:58:00 raspberrypi weewx[2187] INFO __main__: PID file is 
/var/run/weewx.pid
May  2 21:58:00 raspberrypi weewx[2191] INFO __main__: Using configuration file 
/etc/weewx/weewx.conf
May  2 21:58:00 raspberrypi weewx[2191] DEBUG __main__: Initializing engine
May  2 21:58:00 raspberrypi weewx[2191] INFO weewx.engine: Loading station type 
Meteostick (user.meteostick)
May  2 21:58:00 raspberrypi weewx[2175]: Starting weewx weather system: weewx.
May  2 21:58:00 raspberrypi systemd[1]: Started LSB: weewx weather system.
May  2 21:58:00 raspberrypi /weewxd: meteostick: driver version is 0.61
May  2 21:58:00 raspberrypi /weewxd: meteostick: using rain_bucket_type 1
May  2 21:58:00 raspberrypi /weewxd: meteostick: sensor map is: {'pressure': 
'pressure', 'inTemp': 'temp_in', 'windSpeed': 'wind_speed', 'windDir': 
'wind_dir', 'outTemp': 'temperature', 'outHumidity': 'humidity', 'inHumidity': 
'humidity_in', 'radiation': 'solar_radiation', 'UV': 'uv', 'rxCheckPercent': 
'pct_good', 'soilTemp1': 'soil_temp_1', 'soilTemp2': 'soil_temp_2', 
'soilTemp3': 'soil_temp_3', 'soilTemp4': 'soil_temp_4', 'soilMoist1': 
'soil_moisture_1', 'soilMoist2': 'soil_moisture_2', 'soilMoist3': 
'soil_moisture_3', 'soilMoist4': 'soil_moisture_4', 'leafWet1': 
'leaf_wetness_1', 'leafWet2': 'leaf_wetness_2', 'leafTemp1': 'leaf_temp_1', 
'leafTemp2': 'leaf_temp_2', 'extraTemp1': 'temp_1', 'extraTemp2': 'temp_2', 
'extraTemp3': 'temp_3', 'extraHumid1': 'humid_1', 'extraHumid2': 'humid_2', 
'txBatteryStatus': 'bat_iss', 'windBatteryStatus': 'bat_anemometer', 
'rainBatteryStatus': 'bat_leaf_soil', 'outTempBatteryStatus': 'bat_th_1', 
'inTempBatteryStatus': 'bat_th_2', 'referenceVoltage': 'solar_power', 
'supplyVoltage': 'supercap_volt'}
May  2 21:58:00 raspberrypi /weewxd: meteostick: using serial port /dev/ttyUSB0
May  2 21:58:00 raspberrypi /weewxd: meteostick: using baudrate 115200
May  2 21:58:00 raspberrypi /weewxd: meteostick: using frequency EU
May  2 21:58:00 raspberrypi /weewxd: meteostick: using rf sensitivity 90 (-90 
dB)
May  2 21:58:00 raspberrypi /weewxd: meteostick: using iss_channel 1
May  2 21:58:00 raspberrypi /weewxd: meteostick: using anemometer_channel 2
May  2 21:58:00 raspberrypi /weewxd: meteostick: using leaf_soil_channel 0
May  2 21:58:00 raspberrypi /weewxd: meteostick: using temp_hum_1_channel 0
May  2 21:58:00 raspberrypi /weewxd: meteostick: using temp_hum_2_channel 0
May  2 21:58:00 raspberrypi /weewxd: meteostick: using transmitters 03
May  2 21:58:00 raspberrypi /weewxd: meteostick: establish communication with 
the meteostick
May  2 21:58:02 raspberrypi /weewxd: meteostick: reset: 
May  2 21:58:02 raspberrypi /weewxd: meteostick: configure meteostick to logger 
mode
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Loading service 
weewx.engine.StdTimeSynch
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Finished loading 
service weewx.engine.StdTimeSynch
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Loading service 
weewx.engine.StdConvert
May  2 21:58:04 raspberrypi weewx[2191] INFO weewx.engine: StdConvert target 
unit is 0x1
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Finished loading 
service weewx.engine.StdConvert
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Loading service 
weewx.engine.StdCalibrate
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Finished loading 
service weewx.engine.StdCalibrate
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Loading service 
weewx.engine.StdQC
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Finished loading 
service weewx.engine.StdQC
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Loading service 
weewx.wxservices.StdWXCalculate
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.manager: Daily summary 
version is 2.0
May  2 21:58:04 raspberrypi weewx[2191] INFO weewx.wxservices: The following 
values will be calculated: pressure=prefer_hardware, barometer=prefer_hardware, 
altimeter=prefer_hardware, windchill=prefer_hardware, 
heatindex=prefer_hardware, 

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Manfred Maier
1) In the archive table in the database it's  since I've switched to 
the Python 3 version. 
I've just noticed, that appTemp and windrun were also affected for a couple 
of hours (also ). But both meanwhile get calculated and have valid 
values in the database

2) This is what I find in the log:

May  2 21:01:43 raspberrypi wee_reports[3538] INFO weewx.wxservices: The 
following values will be calculated: pressure=prefer_hardware, 
barometer=prefer_hardware, altimeter=prefer_hardware, 
windchill=prefer_hardware, heatindex=prefer_hardware, 
dewpoint=prefer_hardware, inDewpoint=prefer_hardware, 
rainRate=prefer_hardware, maxSolarRad=prefer_hardware, 
windrun=prefer_hardware, appTemp=prefer_hardware, 
cloudbase=prefer_hardware, humidex=prefer_hardware, ET=prefer_hardware

May  2 21:01:43 raspberrypi wee_reports[3538] INFO weewx.wxservices: The 
following algorithms will be used for calculations: altimeter=aaASOS, 
maxSolarRad=RS




Am Samstag, 2. Mai 2020 21:18:39 UTC+2 schrieb Tom Keffer:
>
> 1. When you say "maxSolarRadiation isn't calculated" do you mean it does 
> not appear in LOOP or archive records at all? Or, that it has value None?
>
> 2. Look in the system log for something like
>
> May  2 07:21:39 nuc weewx[110614] INFO weewx.wxservices: The following 
> values will be calculated: pressure=prefer_hardware, 
> altimeter=prefer_hardware, appTemp=prefer_hardware, 
> barometer=prefer_hardware, beaufort=prefer_hardware, 
> cloudbase=prefer_hardware, dewpoint=prefer_hardware, ET=prefer_hardware, 
> heatindex=prefer_hardware, humidex=prefer_hardware, 
> inDewpoint=prefer_hardware, maxSolarRad=prefer_hardware, 
> rainRate=prefer_hardware, windchill=prefer_hardware, windrun=prefer_hardware
>
> What does it say?
>
> -tk
>
>
>
> On Sat, May 2, 2020 at 11:57 AM Manfred Maier  > wrote:
>
>> Hi,
>> I've just detected that maxSolarRadiation isn't calculated since I've 
>> switched to the Python 3 version of Weewx.
>> Before switching to Python 3, I already had the Python 2 version of 4.0.0 
>> installed for a couple of hours. maxSolarRad got calculated during that 
>> time.
>>
>> Any idea what the issue could be? 
>>
>> maxSolarRad is included in the weewx.conf.
>> I've tried the prefer_hardware and software option.
>>
>> [StdWXCalculate]
>>
>>
>> [[Calculations]]
>>
>> # How to calculate derived quantities.  Possible values are:
>>
>> #  hardware- use the value provided by hardware
>>
>> #  software- use the value calculated by weewx
>>
>> #  prefer_hardware - use value provide by hardware if available,
>>
>> #  otherwise use value calculated by weewx
>>
>>
>> pressure = prefer_hardware
>>
>> barometer = prefer_hardware
>>
>> altimeter = prefer_hardware
>>
>> windchill = prefer_hardware
>>
>> heatindex = prefer_hardware
>>
>> dewpoint = prefer_hardware
>>
>> inDewpoint = prefer_hardware
>>
>> rainRate = prefer_hardware
>>
>> maxSolarRad = prefer_hardware
>>
>> windrun = prefer_hardware
>>
>> appTemp = prefer_hardware
>>
>> cloudbase = prefer_hardware
>>
>> humidex = prefer_hardware
>>
>> ET = prefer_hardware
>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/c1744cac-b0ab-4d71-bda3-bbfe438ddf42%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/c1744cac-b0ab-4d71-bda3-bbfe438ddf42%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/e7ffbd8a-3d0c-46cd-b3c3-86d5005d76d8%40googlegroups.com.


[weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Manfred Maier
Hi,
I've just detected that maxSolarRadiation isn't calculated since I've 
switched to the Python 3 version of Weewx.
Before switching to Python 3, I already had the Python 2 version of 4.0.0 
installed for a couple of hours. maxSolarRad got calculated during that 
time.

Any idea what the issue could be? 

maxSolarRad is included in the weewx.conf.
I've tried the prefer_hardware and software option.

[StdWXCalculate]


[[Calculations]]

# How to calculate derived quantities.  Possible values are:

#  hardware- use the value provided by hardware

#  software- use the value calculated by weewx

#  prefer_hardware - use value provide by hardware if available,

#  otherwise use value calculated by weewx


pressure = prefer_hardware

barometer = prefer_hardware

altimeter = prefer_hardware

windchill = prefer_hardware

heatindex = prefer_hardware

dewpoint = prefer_hardware

inDewpoint = prefer_hardware

rainRate = prefer_hardware

maxSolarRad = prefer_hardware

windrun = prefer_hardware

appTemp = prefer_hardware

cloudbase = prefer_hardware

humidex = prefer_hardware

ET = prefer_hardware

-- 
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/c1744cac-b0ab-4d71-bda3-bbfe438ddf42%40googlegroups.com.


[weewx-user] Re: Version 4.0 is (finally) here!

2020-05-01 Thread Manfred Maier
After some hiccups (incompatible extensions: SFTP, OWM, Wetter, WCloud) my 
system (python 3) is now up and running.

Thanks a lot to everyone involved in the development and the entire 
community that provides a fantastic support here!

-- 
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/b32706a4-a43c-4ee9-abbf-cadefd665611%40googlegroups.com.


[weewx-user] Re: Rasbian 10 - Update failed

2020-05-01 Thread Manfred Maier
I've cheered too soon. 
The new version only worked with wee-Reports, but not in the normal 
reporting loop.

Anyway, I'm using FTP instead of SFTP now.



Am Freitag, 1. Mai 2020 21:37:25 UTC+2 schrieb Manfred Maier:
>
> Just FYI
>
> I was able to resolve the python 3 issue of the SFTP extension by making a 
> few changes in the sftp.py file.
>
> Thanks vince for pointing me in the right direction!
>  
>
> Am Freitag, 1. Mai 2020 20:00:51 UTC+2 schrieb Manfred Maier:
>>
>> I'll give it a try, once the kids are in bed.
>>
>> 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/9d7879d1-e030-443e-a38a-c1c3f92ac5e7%40googlegroups.com.


[weewx-user] Re: Rasbian 10 - Update failed

2020-05-01 Thread Manfred Maier
Just FYI

I was able to resolve the python 3 issue of the SFTP extension by making a 
few changes in the sftp.py file.

Thanks vince for pointing me in the right direction!
 

Am Freitag, 1. Mai 2020 20:00:51 UTC+2 schrieb Manfred Maier:
>
> I'll give it a try, once the kids are in bed.
>
> 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/8fc87643-6941-4653-ab1f-991101e03027%40googlegroups.com.


[weewx-user] Re: Rasbian 10 - Update failed

2020-05-01 Thread Manfred Maier
I'll give it a try, once the kids are in bed.

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/cd89faa2-8cb3-4850-b2c8-5e49b4cb6c83%40googlegroups.com.


[weewx-user] Re: Rasbian 10 - Update failed

2020-05-01 Thread Manfred Maier
That's Matthew Wall's SFTP extension and I haven't found an updated version.
Anyway, I'll raise this issue directly in the Github project.

Thanks!



Am Freitag, 1. Mai 2020 19:34:49 UTC+2 schrieb vince:
>
> On Friday, May 1, 2020 at 9:45:38 AM UTC-7, Manfred Maier wrote:
>>
>> except pysftp.ConnectionException, e:
>>
>>  ^
>>
>> SyntaxError: invalid syntax
>>
>>
>>
>
> Any time you see something that looks like that, you are running python3 
> against code written for python2
>
> All the extensions written for python2 need to be updated to support 
> python3.
> You should check to see if there is a more recent version of this 
> extension.
>
>
>

-- 
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/8b52587a-af76-479c-a03d-614cb4ead062%40googlegroups.com.


[weewx-user] Re: Rasbian 10 - Update failed

2020-05-01 Thread Manfred Maier
Apologies for talking to myself here :)

I've now updated the SFTP extension. 
At least the error massaged changed:

*pi@raspberrypi*:*~ $* sudo wee_reports

Using configuration file /etc/weewx/weewx.conf

Generating for all time

Traceback (most recent call last):

  File "/usr/share/weewx/weewx/reportengine.py", line 197, in run

obj.start()

  File "/usr/share/weewx/weewx/reportengine.py", line 280, in start

self.run()

  File "/usr/share/weewx/user/sftp.py", line 259, in run

n = uploader.run()

  File "/usr/share/weewx/user/sftp.py", line 89, in run

(timestamp, fileset) = self.get_last_upload()

  File "/usr/share/weewx/user/sftp.py", line 158, in get_last_upload

timestamp = cPickle.load(f)

TypeError: a bytes-like object is required, not 'str'



Now I'm really running out of ideas.


>

-- 
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/1e213c8a-579e-44c8-9da6-c73b47071061%40googlegroups.com.


[weewx-user] Re: Rasbian 10 - Update failed

2020-05-01 Thread Manfred Maier
Good. Next one solved.
The Belchertown graphs.conf seems to be case sensitive with the new weewx 
4.0

The observation "MaxSolarRad" worked in 3.9.2, but does not work in 4.0
After renaming it to "maxSolarRad" this issue was gone.


But there's another issue - and hopefully the last one:
Is that again a python 3 issue with an extension? In this case SFTP?

Any hint welcome!


*pi@raspberrypi*:*~ $* sudo wee_reports

Using configuration file /etc/weewx/weewx.conf

Generating for all time

Traceback (most recent call last):

  File "/usr/share/weewx/weewx/reportengine.py", line 180, in run

obj = weeutil.weeutil.get_object(generator)(

  File "/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object

mod = __import__(module)

  File "/usr/share/weewx/user/sftp.py", line 81

except pysftp.ConnectionException, e:

 ^

SyntaxError: invalid syntax



-- 
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/d139513c-da5e-47bf-bcdd-a9c853d21817%40googlegroups.com.


[weewx-user] Re: Rasbian 10 - Update failed

2020-05-01 Thread Manfred Maier
So, the next issue has to do with MaxSolarRad
I have that in my database, but as 'maxSolarRad'


May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: Caught 
unrecoverable exception in generator 
'user.belchertown.HighchartsJsonGenerator'

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  Error trying to use database binding wx_binding to graph observation 
MaxSolarRad. Error was: MaxSolarRad.

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  Traceback (most recent call last):

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
File "/usr/share/weewx/user/belchertown.py", line 1821, in 
get_observation_data

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  (time_start_vt, time_stop_vt, obs_vt) = 
archive.getSqlVectors(TimeSpan(start_ts, end_ts), obs_lookup, 
aggregate_type, aggregate_in$

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/manager.py", line 452, in getSqlVectors

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  aggregate_type, aggregate_interval)

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/xtypes.py", line 91, in get_series

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  raise weewx.UnknownType(obs_type)

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  weewx.UnknownType: MaxSolarRad

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 


May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  During handling of the above exception, another exception occurred:

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 


May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  Traceback (most recent call last):

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/reportengine.py", line 197, in run

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  obj.start()

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/reportengine.py", line 280, in start

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  self.run()

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
File "/usr/share/weewx/user/belchertown.py", line 1370, in run

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  series_data = self.get_observation_data(binding, archive, 
observation_type, minstamp, maxstamp, aggregate_type, aggregate_interval$

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
File "/usr/share/weewx/user/belchertown.py", line 1823, in 
get_observation_data

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  raise Warning( "Error trying to use database binding %s to graph 
observation %s. Error was: %s." % (binding, obs_lookup, e) )

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  Warning: Error trying to use database binding wx_binding to graph 
observation MaxSolarRad. Error was: MaxSolarRad.

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  Generator terminated

May  1 17:55:22 raspberrypi weewx[21194] DEBUG weewx.reportengine: Running 
report 'sftp'

May  1 17:55:22 raspberrypi weewx[21194] DEBUG weewx.reportengine: Found 
configuration file /etc/weewx/skins/sftp/skin.conf for report 'sftp'

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: Unable 
to instantiate generator 'user.sftp.SFTPGenerator'

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  invalid syntax (sftp.py, line 81)

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  Traceback (most recent call last):

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/reportengine.py", line 180, in run

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  obj = weeutil.weeutil.get_object(generator)(

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
File "/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  mod = __import__(module)

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
File "/usr/share/weewx/user/sftp.py", line 81

May  1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: 
  except pysftp.ConnectionException, e:

May  1 

[weewx-user] Re: Rasbian 10 - Update failed

2020-05-01 Thread Manfred Maier
Three more steps done!

Extensions that crash with Python 3:
* OpenWeatherMap
* WCloud
* Wetter

For OWM I've tried to find a newer version (> 0.8), but could find any.
Same for the other two :(


So currently my only issue left:
The JSON files for the Belchertown skin are still not produced.

 




Am Freitag, 1. Mai 2020 17:41:16 UTC+2 schrieb Manfred Maier:
>
> Oh. That might be OpenWeatherMap
>
> Give me a minute.
>
>
>

-- 
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/17581253-c600-44c6-9e85-89cbdbeab3b1%40googlegroups.com.


[weewx-user] Re: Rasbian 10 - Update failed

2020-05-01 Thread Manfred Maier
Oh. That might be OpenWeatherMap

Give me a minute.



Am Freitag, 1. Mai 2020 17:38:48 UTC+2 schrieb Manfred Maier:
>
> Ok. One step done.
>
> Python 3 version still is crashing, but now with a slightly different 
> error message in the log:
>
> May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.engine: Finished 
> loading service user.windy.Windy
>
> May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.engine: Loading 
> service user.owm.OpenWeatherMap
>
> May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.manager: Daily 
> summary version is 2.0
>
> May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.manager: Daily 
> summary version is 2.0
>
> May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.manager: Daily 
> summary version is 2.0
>
> May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.manager: Daily 
> summary version is 2.0
>
> May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.restx: Shut down 
> Windy thread.
>
> May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.restx: Shut down MQTT 
> thread.
>
> May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.restx: Shut down 
> AWEKAS thread.
>
> May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.restx: Shut down WOW 
> thread.
>
> May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.restx: Shut down CWOP 
> thread.
>
> May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.restx: Shut down 
> PWSWeather thread.
>
> May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.restx: Shut down 
> Wunderground-PWS thread.
>
> May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.restx: Shut down 
> StationRegistry thread.
>
> May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__: Caught 
> unrecoverable exception:
>
> May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
> invalid syntax (owm.py, line 84)
>
> May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
> Traceback (most recent call last):
>
> May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__: 
> File "/usr/share/weewx/weewxd", line 148, in main
>
> May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
> engine = weewx.engine.StdEngine(config_dict)
>
> May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__: 
> File "/usr/share/weewx/weewx/engine.py", line 75, in __init__
>
> May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
> self.loadServices(config_dict)
>
> May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__: 
> File "/usr/share/weewx/weewx/engine.py", line 138, in loadServices
>
> May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
> obj = weeutil.weeutil.get_object(svc)(self,config_dict)
>
> May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__: 
> File "/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object
>
> May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
> mod = __import__(module)
>
> May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__: 
> File "/usr/share/weewx/user/owm.py", line 84
>
> May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
> except KeyError, e:
>
> May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:    
>   ^
>
> May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
> SyntaxError: invalid syntax
>
> May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
> Exiting.
>
>
> Am Freitag, 1. Mai 2020 17:26:21 UTC+2 schrieb Michael:
>>
>> try it with 
>>
>>
>> sudo pip3 install paho-mqtt
>>
>>

-- 
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/4f9b71eb-fe29-4f6c-93c8-6f4a9b23141d%40googlegroups.com.


[weewx-user] Re: Rasbian 10 - Update failed

2020-05-01 Thread Manfred Maier
Ok. One step done.

Python 3 version still is crashing, but now with a slightly different error 
message in the log:

May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.engine: Finished 
loading service user.windy.Windy

May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.engine: Loading 
service user.owm.OpenWeatherMap

May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.manager: Daily summary 
version is 2.0

May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.manager: Daily summary 
version is 2.0

May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.manager: Daily summary 
version is 2.0

May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.manager: Daily summary 
version is 2.0

May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.restx: Shut down Windy 
thread.

May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.restx: Shut down MQTT 
thread.

May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.restx: Shut down 
AWEKAS thread.

May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.restx: Shut down WOW 
thread.

May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.restx: Shut down CWOP 
thread.

May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.restx: Shut down 
PWSWeather thread.

May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.restx: Shut down 
Wunderground-PWS thread.

May  1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.restx: Shut down 
StationRegistry thread.

May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__: Caught 
unrecoverable exception:

May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
invalid syntax (owm.py, line 84)

May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
Traceback (most recent call last):

May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__: 
File "/usr/share/weewx/weewxd", line 148, in main

May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
engine = weewx.engine.StdEngine(config_dict)

May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__: 
File "/usr/share/weewx/weewx/engine.py", line 75, in __init__

May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
self.loadServices(config_dict)

May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__: 
File "/usr/share/weewx/weewx/engine.py", line 138, in loadServices

May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
obj = weeutil.weeutil.get_object(svc)(self,config_dict)

May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__: 
File "/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object

May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
mod = __import__(module)

May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__: 
File "/usr/share/weewx/user/owm.py", line 84

May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
except KeyError, e:

May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:    
  ^

May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
SyntaxError: invalid syntax

May  1 17:28:48 raspberrypi weewx[19064] CRITICAL __main__:   
Exiting.


Am Freitag, 1. Mai 2020 17:26:21 UTC+2 schrieb Michael:
>
> try it with 
>
>
> sudo pip3 install paho-mqtt
>
>

-- 
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/9a582b5d-7c5b-4fe5-903e-8018c11f67a2%40googlegroups.com.


[weewx-user] Re: Rasbian 10 - Update failed

2020-05-01 Thread Manfred Maier
Yes, I've used the wrong command for the download :/

Still, even after updating the MQTT extension, the python 3 version crashes.

I've followed Matthew's instructions for installing the extension:

mqtt - weewx extension that sends data to an MQTT broker
Copyright 2014-2020 Matthew Wall
Distributed under the terms of the GNU Public License (GPLv3)

Installation instructions:

0) install the MQTT python bindings

sudo pip install paho-mqtt



When installing the MQTT python bindings, I get the following output:

*Looking in indexes: https://pypi.org/simple, 
https://www.piwheels.org/simple*

*Requirement already satisfied: paho-mqtt in 
/usr/local/lib/python2.7/dist-packages (1.4.0)*

This looks a lot like Python 2.7

-- 
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/4ba01f40-c185-4b34-a2e4-3abd6e9bc650%40googlegroups.com.


[weewx-user] Re: Rasbian 10 - Update failed

2020-05-01 Thread Manfred Maier
Thanks for your support!

Tried that already - with not much success after downloading the master.zip

*pi@raspberrypi*:*~ $* sudo wee_extension --install master.zip

Request to install 'master.zip'

Extracting from zip archive master.zip

Traceback (most recent call last):

  File "/usr/share/weewx/wee_extension", line 88, in 

main()

  File "/usr/share/weewx/wee_extension", line 80, in main

ext.install_extension(options.install)

  File "/usr/share/weewx/weecfg/extension.py", line 113, in 
install_extension

self.tmpdir, self.logger)

  File "/usr/share/weewx/weecfg/__init__.py", line 1760, in extract_zip

zip_archive = zipfile.ZipFile(filename)

  File "/usr/lib/python3.7/zipfile.py", line 1222, in __init__

self._RealGetContents()

  File "/usr/lib/python3.7/zipfile.py", line 1289, in _RealGetContents

raise BadZipFile("File is not a zip file")

zipfile.BadZipFile: File is not a zip file




Am Freitag, 1. Mai 2020 17:03:36 UTC+2 schrieb Tarmo:
>
> grab it from here 
> https://github.com/matthewwall/weewx-mqtt/archive/master.zip
>
> wee_extension supports zip files as well
>
> On Friday, May 1, 2020 at 5:56:55 PM UTC+3, Manfred Maier wrote:
>>
>> A very stupid question:
>> How do I update the extension?
>>
>> I don't find the weewx-mqtt.tgz that I need for the installation.
>>
>>
>>
>>
>> Am Freitag, 1. Mai 2020 16:37:04 UTC+2 schrieb Tarmo:
>>>
>>> Hi Manfred!
>>>
>>> try to update mqtt extension https://github.com/matthewwall/weewx-mqtt
>>>
>>>
>>> On Friday, May 1, 2020 at 5:34:11 PM UTC+3, Manfred Maier wrote:
>>>>
>>>> Also pulling my issues while updating in a separate thread.
>>>>
>>>> I was using version 3.9.2 on a RPi4 (Rasbian 10) with the Belchertown 
>>>> skin installed.
>>>>
>>>> I've tried to install the Python 3 version with:
>>>>
>>>> curl -s http://weewx.com/apt/weewx-python3.list | sudo tee 
>>>> /etc/apt/sources.list.d/weewx.list
>>>>
>>>> sudo apt-get update
>>>> sudo apt-get install weewx
>>>>
>>>>
>>>> The system crashed with the following lines in the log-file:
>>>>
>>>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: Caught 
>>>> unrecoverable exception:
>>>>
>>>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
>>>> invalid syntax (mqtt.py, line 197)
>>>>
>>>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
>>>> Traceback (most recent call last):
>>>>
>>>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
>>>> File "/usr/share/weewx/weewxd", line 148, in main
>>>>
>>>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
>>>>   engine = weewx.engine.StdEngine(config_dict)
>>>>
>>>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
>>>> File "/usr/share/weewx/weewx/engine.py", line 75, in __init__
>>>>
>>>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
>>>>   self.loadServices(config_dict)
>>>>
>>>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
>>>> File "/usr/share/weewx/weewx/engine.py", line 138, in loadServices
>>>>
>>>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
>>>>   obj = weeutil.weeutil.get_object(svc)(self,config_dict)
>>>>
>>>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
>>>> File "/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object
>>>>
>>>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
>>>>   mod = __import__(module)
>>>>
>>>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
>>>> File "/usr/share/weewx/user/mqtt.py", line 197
>>>>
>>>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
>>>>   except KeyError, e:
>>>>
>>>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:    
>>>>   ^
>>>>
>>>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
>>>> SyntaxError: invalid syntax
>>>>
>>>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
>>>> Exiting.
>>>>
>>>>
>>>> I then installed the Python 2 version.
>>>> Weewx at least started again. The MQTT is working, too. 
>>>>
>>>> But the system stopped creating most of JSON files for the skins.
>>>> The weewx_data.json gets created, but all the files for my belchertown 
>>>> graphs do not get generated.
>>>>
>>>>
>>>> Ideally I would like to switch to the Python 3 version.
>>>> Any thoughts what the problem of my Python 3 installation is?
>>>>
>>>>
>>>> Manfred. 
>>>>
>>>

-- 
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/2e8b6a82-127a-4fb1-a057-49961c42a98c%40googlegroups.com.


[weewx-user] Re: Rasbian 10 - Update failed

2020-05-01 Thread Manfred Maier
A very stupid question:
How do I update the extension?

I don't find the weewx-mqtt.tgz that I need for the installation.




Am Freitag, 1. Mai 2020 16:37:04 UTC+2 schrieb Tarmo:
>
> Hi Manfred!
>
> try to update mqtt extension https://github.com/matthewwall/weewx-mqtt
>
>
> On Friday, May 1, 2020 at 5:34:11 PM UTC+3, Manfred Maier wrote:
>>
>> Also pulling my issues while updating in a separate thread.
>>
>> I was using version 3.9.2 on a RPi4 (Rasbian 10) with the Belchertown 
>> skin installed.
>>
>> I've tried to install the Python 3 version with:
>>
>> curl -s http://weewx.com/apt/weewx-python3.list | sudo tee 
>> /etc/apt/sources.list.d/weewx.list
>>
>> sudo apt-get update
>> sudo apt-get install weewx
>>
>>
>> The system crashed with the following lines in the log-file:
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: Caught 
>> unrecoverable exception:
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
>> invalid syntax (mqtt.py, line 197)
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
>> Traceback (most recent call last):
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
>> File "/usr/share/weewx/weewxd", line 148, in main
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
>> engine = weewx.engine.StdEngine(config_dict)
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/engine.py", line 75, in __init__
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
>> self.loadServices(config_dict)
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/engine.py", line 138, in loadServices
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
>> obj = weeutil.weeutil.get_object(svc)(self,config_dict)
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
>> File "/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
>> mod = __import__(module)
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
>> File "/usr/share/weewx/user/mqtt.py", line 197
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
>> except KeyError, e:
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:  
>> ^
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
>> SyntaxError: invalid syntax
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
>> Exiting.
>>
>>
>> I then installed the Python 2 version.
>> Weewx at least started again. The MQTT is working, too. 
>>
>> But the system stopped creating most of JSON files for the skins.
>> The weewx_data.json gets created, but all the files for my belchertown 
>> graphs do not get generated.
>>
>>
>> Ideally I would like to switch to the Python 3 version.
>> Any thoughts what the problem of my Python 3 installation is?
>>
>>
>> Manfred. 
>>
>

-- 
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/ad2da09b-808a-46c0-b0bb-d9dc1c1c9920%40googlegroups.com.


[weewx-user] Rasbian 10 - Update failed

2020-05-01 Thread Manfred Maier
Also pulling my issues while updating in a separate thread.

I was using version 3.9.2 on a RPi4 (Rasbian 10) with the Belchertown skin 
installed.

I've tried to install the Python 3 version with:

curl -s http://weewx.com/apt/weewx-python3.list | sudo tee 
/etc/apt/sources.list.d/weewx.list

sudo apt-get update
sudo apt-get install weewx


The system crashed with the following lines in the log-file:

May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: Caught 
unrecoverable exception:

May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
invalid syntax (mqtt.py, line 197)

May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
Traceback (most recent call last):

May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
File "/usr/share/weewx/weewxd", line 148, in main

May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
engine = weewx.engine.StdEngine(config_dict)

May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
File "/usr/share/weewx/weewx/engine.py", line 75, in __init__

May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
self.loadServices(config_dict)

May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
File "/usr/share/weewx/weewx/engine.py", line 138, in loadServices

May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
obj = weeutil.weeutil.get_object(svc)(self,config_dict)

May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
File "/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object

May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
mod = __import__(module)

May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: 
File "/usr/share/weewx/user/mqtt.py", line 197

May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
except KeyError, e:

May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:    
  ^

May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
SyntaxError: invalid syntax

May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:   
Exiting.


I then installed the Python 2 version.
Weewx at least started again. The MQTT is working, too. 

But the system stopped creating most of JSON files for the skins.
The weewx_data.json gets created, but all the files for my belchertown 
graphs do not get generated.


Ideally I would like to switch to the Python 3 version.
Any thoughts what the problem of my Python 3 installation is?


Manfred. 

-- 
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/4388d34b-c4f7-4d72-b23e-3ff71fd818a5%40googlegroups.com.


[weewx-user] Re: Version 4.0 is (finally) here!

2020-05-01 Thread Manfred Maier
OK. Now I've killed weewx on my system.

I've tried to run curl -s http://weewx.com/apt/weewx-python3.list | sudo 
tee /etc/apt/sources.list.d/weewx.list before doing the update. 
The update itself was performed and 4.0 got installed.

But now weewx isn't running anymore. I can "start" it, but it doesn't start.

Any help will be highly appreciated!

Manfred 

 

Am Freitag, 1. Mai 2020 10:50:56 UTC+2 schrieb Manfred Maier:
>
> Hmm ... I'm obviously doing something wrong.
>
> I'm running Weewx on a RPi 4 (latest version of Rasbian). The original 
> installation was done via the DEB package (at least I think that I did it 
> that way).
>
> I've now tried to update:
> sudo apt-get update:   Runs fine
> sudo apt-get install weewx:Returns with a message, that I'm already on 
> the latest version (3.9.2)
>
> Where is my mistake?
>
>
> Thanks! 
> Manfred 
>
>
>>

-- 
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/4bafa835-8d2d-4b52-817c-ec24c9cb75c6%40googlegroups.com.


[weewx-user] Re: Version 4.0 is (finally) here!

2020-05-01 Thread Manfred Maier
Hmm ... I'm obviously doing something wrong.

I'm running Weewx on a RPi 4 (latest version of Rasbian). The original 
installation was done via the DEB package (at least I think that I did it 
that way).

I've now tried to update:
sudo apt-get update:   Runs fine
sudo apt-get install weewx:Returns with a message, that I'm already on 
the latest version (3.9.2)

Where is my mistake?


Thanks! 
Manfred 


>

-- 
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/873c9a3d-40a1-4490-bbc0-d2c1803c3bc6%40googlegroups.com.


[weewx-user] Re: weewx_4.0.0b18-1_all.deb vs. python3-weewx_4.0.0b18-1_all.deb

2020-04-30 Thread Manfred Maier
Matthew, 
I guess it's safe now to update?
With  `apt-get update; apt-get install weewx` 

Manfred


Am Mittwoch, 29. April 2020 00:08:20 UTC+2 schrieb mwall:
>
> please do not use the beta .deb files.  they will probably bork your 
> system.  in fact, i will remove them now.
>
> i am currently testing the 4.0.0b18-3 (3rd iteration of debian packaging) 
> deb files, and there are still a few hiccups.
>
> the new apt repo is almost there, but a few naming/dependency problems 
> keep nipping at my heels
>
> the new redhat yum repository is working swell
>
> m
>

-- 
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/f6086e9b-3d58-4551-9d70-f6be7713862a%40googlegroups.com.


[weewx-user] Re: weewx_4.0.0b18-1_all.deb vs. python3-weewx_4.0.0b18-1_all.deb

2020-04-29 Thread Manfred Maier
Thanks a lot, Matthew!

Then I was really in luck. Normally I don't ask before installing beta 
versions ;)

So I'll have to be patient ...



Am Mittwoch, 29. April 2020 00:13:08 UTC+2 schrieb mwall:
>
>
>
> On Tuesday, April 28, 2020 at 3:47:01 PM UTC-4, Manfred Maier wrote:
>>
>> I'm currently planning to update my system to version 4.0
>> The initial installation (3.9.2) was done with the DEB package. So I'll 
>> of course use the same method for the update.
>>
>> On the download page there are two versions of beta 18: One with a 
>> python3 prefix, one without. 
>> What's the difference? Is one using python 3 and the other one python 2?
>>
>
> when all the dust settles, there will be one .deb file for python3, and a 
> different .deb file for python2
>
> if you installed using `apt-get install weewx`, then all you will have to 
> do is `apt-get update; apt-get install weewx` to get the new version. 
>
> to use python3, you must install on debian10 or later.
>
> for those who want to see all the gory details, the compatibility and 
> dependency matrices are here:
>
> https://github.com/weewx/weewx/wiki/weewx4-compatibility-matrix
>
> i'm working through the testing matrix at the bottom of the page.
>
> m
>

-- 
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/7303a8f3-10d2-42b0-8faf-984fd1934bd8%40googlegroups.com.


[weewx-user] weewx_4.0.0b18-1_all.deb vs. python3-weewx_4.0.0b18-1_all.deb

2020-04-28 Thread Manfred Maier
I'm currently planning to update my system to version 4.0
The initial installation (3.9.2) was done with the DEB package. So I'll of 
course use the same method for the update.

On the download page there are two versions of beta 18: One with a python3 
prefix, one without. 
What's the difference? Is one using python 3 and the other one python 2?

An even more stupid question:
Do I have to expect any specific issues when switching to python 3 and the 
4.0 version?
I'm planning to keep the existing weewx.conf. Any issues with this decision?


Apologies for all those questions.
I'm quite experiences with beta testing, but unfortunately not at all with 
python- / linux-based systems.

Thanks!
Manfred

-- 
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/1af8ef6b-e005-4db7-8771-24ebb20c21dc%40googlegroups.com.


[weewx-user] Re: Belchertown skin 1.1 released!

2020-04-25 Thread Manfred Maier
Hi,
there really is/was an issue with the database entry from "01/01/2020 
00:00:00 (local time)". For all charts with "group_by = month", Belchertown 
/ Weewx obviously interpreted this entry as Jan/2019. 

I've now changed the dateTime value of this entry (shifted it back by 100 
seconds) and now all charts work perfectly well.

Manfred 


Am Donnerstag, 23. April 2020 21:44:28 UTC+2 schrieb Manfred Maier:
>
> Hi Pat,
> adding another question. Might be an issue since version 1.1, but I'm not 
> sure.
>
> My database contains data since July 2019 (so 6 months).
> My charts for 2019 now look like this:
>
> [image: Bildschirmfoto 2020-04-23 um 21.32.52.png]
> As you can see, there's a 7th category.
> Actually, the 6 categories to the right are the correct ones (with wrong 
> labels on the x-axis). The one most left shouldn't be there.
>
> I've already figured out that this most left category obviously is based 
> on just one line of my database. It's the data for 2020-Jan-01 00:00 (local 
> time).
>
> Is that a weewx issue, a skin issue or did I do anything wrong?
>
> Thanks, 
> Manfred
>
>
>

-- 
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/4914b87b-27e6-4114-a4a4-66bfd1b77e12%40googlegroups.com.


[weewx-user] Re: Belchertown skin 1.1 released!

2020-04-23 Thread Manfred Maier
Hi Pat,
adding another question. Might be an issue since version 1.1, but I'm not 
sure.

My database contains data since July 2019 (so 6 months).
My charts for 2019 now look like this:

[image: Bildschirmfoto 2020-04-23 um 21.32.52.png]
As you can see, there's a 7th category.
Actually, the 6 categories to the right are the correct ones (with wrong 
labels on the x-axis). The one most left shouldn't be there.

I've already figured out that this most left category obviously is based on 
just one line of my database. It's the data for 2020-Jan-01 00:00 (local 
time).

Is that a weewx issue, a skin issue or did I do anything wrong?

Thanks, 
Manfred


-- 
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/ba9a59df-8161-4678-9289-c1ff1f363e34%40googlegroups.com.


[weewx-user] Re: Belchertown skin 1.1 released!

2020-04-19 Thread Manfred Maier
Oh, how embarrassing. 

I've asked the same question about a year ago, already.
The issue was (once more) the order of the Belchertown section and the SFTP 
section in the weewx.conf file.



Am Samstag, 18. April 2020 23:47:15 UTC+2 schrieb Manfred Maier:
>
> Sorry, Pat. One last question (for today ;)) - and definitely not an 
> urgent one.
>
> I've noticed that my page isn't up to date. It's 5 minutes behind.
> When it's 8:58, the data of the website is from 8:50 (and not from 8:55).
>
> Is that likely to be a weewx or a belchertown issue?
> (just noticed that the standard skin in up-to-date)
>
>
> Manfred 
>
>
>

-- 
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/ce451695-5bf4-4e84-9f4c-e56741a3b307%40googlegroups.com.


[weewx-user] Re: Belchertown skin 1.1 released!

2020-04-18 Thread Manfred Maier
Sorry, Pat. One last question (for today ;)) - and definitely not an urgent 
one.

I've noticed that my page isn't up to date. It's 5 minutes behind.
When it's 8:58, the data of the website is from 8:50 (and not from 8:55).

Is that likely to be a weewx or a belchertown issue?
(just noticed that the standard skin in up-to-date)


Manfred 


-- 
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/db7c2674-00d7-4063-8e09-fec8cd47bbf4%40googlegroups.com.


[weewx-user] Re: Belchertown skin 1.1 released!

2020-04-18 Thread Manfred Maier
This has fixed it. Thanks so much!



Am Samstag, 18. April 2020 21:49:56 UTC+2 schrieb Pat:
>
> Found it - it has to do with your relative url. It's not defined correctly 
> since this is a custom page. 
>
> Open the skins/Belchertown/js/belchertown.js.tmpl file, and find this line:
>
> var pages = ["graphs", "records", "reports", "about"];
>
>
> Then make it look like
>
> var pages = ["graphs", "records", "reports", "about", "station"];
>
>
> Then see if it gets updated on next archive interval. If not, restart 
> weewx and see if that fixes it
>
> On Saturday, April 18, 2020 at 3:42:14 PM UTC-4, Manfred Maier wrote:
>>
>>
>>
>> Am Samstag, 18. April 2020 21:30:29 UTC+2 schrieb Pat:
>>>
>>> Can you share the weewx.conf [Belchertown] section too? Make sure to 
>>> omit passwords and sensitive data.
>>>
>>>
>>> On Saturday, April 18, 2020 at 3:27:42 PM UTC-4, Manfred Maier wrote:
>>>>
>>>> Here you go
>>>>
>>>>
>>>> Am Samstag, 18. April 2020 21:21:41 UTC+2 schrieb Pat:
>>>>>
>>>>> That's weird. Why would it be looking for it in the wrong spot? If 
>>>>> your front page graphs are working this one should be too. Can you share 
>>>>> your configs?
>>>>>
>>>>>
>>>>>
>>>>> On Saturday, April 18, 2020 at 3:17:29 PM UTC-4, Manfred Maier wrote:
>>>>>>
>>>>>> The station.json is stored at:
>>>>>> https://www.wetter-zorneding.de/json/station.json
>>>>>>
>>>>>> So it searches for the file in the wrong folder.
>>>>>>
>>>>>>
>>>>>> Am Samstag, 18. April 2020 21:06:47 UTC+2 schrieb Pat:
>>>>>>>
>>>>>>> For some reason the station.json isn't being generated. Check to 
>>>>>>> make sure the station.json file exists in your json folder in 
>>>>>>> public_html
>>>>>>>
>>>>>>> This is returning 404 not found: 
>>>>>>> https://www.wetter-zorneding.de/station/json/station.json
>>>>>>>
>>>>>>> On Saturday, April 18, 2020 at 2:53:24 PM UTC-4, Manfred Maier wrote:
>>>>>>>>
>>>>>>>> Another issue after switching to version 1.1:
>>>>>>>> On my "station" page I used to have an embedded Highchart. But now 
>>>>>>>> it's not produced anymore :(
>>>>>>>>
>>>>>>>> In the graphs.conf I have:
>>>>>>>>
>>>>>>>> [station]
>>>>>>>> show_button = false
>>>>>>>> time_length = 259200 # 72 hours in seconds
>>>>>>>> aggregate_type = last
>>>>>>>> aggregate_interval = 300 # 5 min
>>>>>>>> gapsize = 30 # 5 min
>>>>>>>> 
>>>>>>>> [[rxchart]]
>>>>>>>> title = ISS Empfangsstärke
>>>>>>>> [[[rxCheckPercent]]]
>>>>>>>> name = Stärke des Funksignals
>>>>>>>> color = "#e5544e"
>>>>>>>> lineWidth = 1
>>>>>>>> yaxis_min = 20
>>>>>>>> yaxis_max = 100
>>>>>>>>
>>>>>>>>
>>>>>>>> My station.inc begins with:
>>>>>>>>
>>>>>>>> #encoding UTF-8
>>>>>>>> showChart("station");
>>>>>>>>
>>>>>>>> ... and later on there is the line
>>>>>>>> 
>>>>>>>>
>>>>>>>> On my website the chart still is not visible (but it had been with 
>>>>>>>> version 1.0).
>>>>>>>> https://www.wetter-zorneding.de/station/
>>>>>>>>
>>>>>>>>
>>>>>>>> Again some encoding issue?
>>>>>>>>
>>>>>>>> Any hints are highly welcome.
>>>>>>>>
>>>>>>>> Best regards,
>>>>>>>> Manfred
>>>>>>>>
>>>>>>>>

-- 
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/154ddbef-5708-4f84-9cb5-2425039ae4ab%40googlegroups.com.


[weewx-user] Re: Belchertown skin 1.1 released!

2020-04-18 Thread Manfred Maier


Am Samstag, 18. April 2020 21:30:29 UTC+2 schrieb Pat:
>
> Can you share the weewx.conf [Belchertown] section too? Make sure to omit 
> passwords and sensitive data.
>
>
> On Saturday, April 18, 2020 at 3:27:42 PM UTC-4, Manfred Maier wrote:
>>
>> Here you go
>>
>>
>> Am Samstag, 18. April 2020 21:21:41 UTC+2 schrieb Pat:
>>>
>>> That's weird. Why would it be looking for it in the wrong spot? If your 
>>> front page graphs are working this one should be too. Can you share your 
>>> configs?
>>>
>>>
>>>
>>> On Saturday, April 18, 2020 at 3:17:29 PM UTC-4, Manfred Maier wrote:
>>>>
>>>> The station.json is stored at:
>>>> https://www.wetter-zorneding.de/json/station.json
>>>>
>>>> So it searches for the file in the wrong folder.
>>>>
>>>>
>>>> Am Samstag, 18. April 2020 21:06:47 UTC+2 schrieb Pat:
>>>>>
>>>>> For some reason the station.json isn't being generated. Check to make 
>>>>> sure the station.json file exists in your json folder in public_html
>>>>>
>>>>> This is returning 404 not found: 
>>>>> https://www.wetter-zorneding.de/station/json/station.json
>>>>>
>>>>> On Saturday, April 18, 2020 at 2:53:24 PM UTC-4, Manfred Maier wrote:
>>>>>>
>>>>>> Another issue after switching to version 1.1:
>>>>>> On my "station" page I used to have an embedded Highchart. But now 
>>>>>> it's not produced anymore :(
>>>>>>
>>>>>> In the graphs.conf I have:
>>>>>>
>>>>>> [station]
>>>>>> show_button = false
>>>>>> time_length = 259200 # 72 hours in seconds
>>>>>> aggregate_type = last
>>>>>> aggregate_interval = 300 # 5 min
>>>>>> gapsize = 30 # 5 min
>>>>>> 
>>>>>> [[rxchart]]
>>>>>> title = ISS Empfangsstärke
>>>>>> [[[rxCheckPercent]]]
>>>>>> name = Stärke des Funksignals
>>>>>> color = "#e5544e"
>>>>>> lineWidth = 1
>>>>>> yaxis_min = 20
>>>>>> yaxis_max = 100
>>>>>>
>>>>>>
>>>>>> My station.inc begins with:
>>>>>>
>>>>>> #encoding UTF-8
>>>>>> showChart("station");
>>>>>>
>>>>>> ... and later on there is the line
>>>>>> 
>>>>>>
>>>>>> On my website the chart still is not visible (but it had been with 
>>>>>> version 1.0).
>>>>>> https://www.wetter-zorneding.de/station/
>>>>>>
>>>>>>
>>>>>> Again some encoding issue?
>>>>>>
>>>>>> Any hints are highly welcome.
>>>>>>
>>>>>> Best regards,
>>>>>> Manfred
>>>>>>
>>>>>>

-- 
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/55602f06-efdb-484e-8b1c-21d2b77796cd%40googlegroups.com.
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2019 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 = 3.9.2

##

#   This section is for information about the station.

#   This section specifies what reports, using which skins, to generate.

[StdReport]

# Where the skins reside, relative to WEEWX_ROOT
SKIN_ROOT = /etc/weewx/skins

# Where the generated repor

[weewx-user] Re: Belchertown skin 1.1 released!

2020-04-18 Thread Manfred Maier
Here you go


Am Samstag, 18. April 2020 21:21:41 UTC+2 schrieb Pat:
>
> That's weird. Why would it be looking for it in the wrong spot? If your 
> front page graphs are working this one should be too. Can you share your 
> configs?
>
>
>
> On Saturday, April 18, 2020 at 3:17:29 PM UTC-4, Manfred Maier wrote:
>>
>> The station.json is stored at:
>> https://www.wetter-zorneding.de/json/station.json
>>
>> So it searches for the file in the wrong folder.
>>
>>
>> Am Samstag, 18. April 2020 21:06:47 UTC+2 schrieb Pat:
>>>
>>> For some reason the station.json isn't being generated. Check to make 
>>> sure the station.json file exists in your json folder in public_html
>>>
>>> This is returning 404 not found: 
>>> https://www.wetter-zorneding.de/station/json/station.json
>>>
>>> On Saturday, April 18, 2020 at 2:53:24 PM UTC-4, Manfred Maier wrote:
>>>>
>>>> Another issue after switching to version 1.1:
>>>> On my "station" page I used to have an embedded Highchart. But now it's 
>>>> not produced anymore :(
>>>>
>>>> In the graphs.conf I have:
>>>>
>>>> [station]
>>>> show_button = false
>>>> time_length = 259200 # 72 hours in seconds
>>>> aggregate_type = last
>>>> aggregate_interval = 300 # 5 min
>>>> gapsize = 30 # 5 min
>>>> 
>>>> [[rxchart]]
>>>> title = ISS Empfangsstärke
>>>> [[[rxCheckPercent]]]
>>>> name = Stärke des Funksignals
>>>> color = "#e5544e"
>>>> lineWidth = 1
>>>> yaxis_min = 20
>>>> yaxis_max = 100
>>>>
>>>>
>>>> My station.inc begins with:
>>>>
>>>> #encoding UTF-8
>>>> showChart("station");
>>>>
>>>> ... and later on there is the line
>>>> 
>>>>
>>>> On my website the chart still is not visible (but it had been with 
>>>> version 1.0).
>>>> https://www.wetter-zorneding.de/station/
>>>>
>>>>
>>>> Again some encoding issue?
>>>>
>>>> Any hints are highly welcome.
>>>>
>>>> Best regards,
>>>> Manfred
>>>>
>>>>

-- 
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/6d78ba5a-7157-42a7-83f6-bc037a848129%40googlegroups.com.
# This is the Belchertown skin charting system which utilizes Highcharts to 
display the chart data.
#
# PLEASE READ THE CHARTS WIKI! A lot of information is there and it will help 
you! 
# It is located here: 
https://github.com/poblabs/weewx-belchertown/wiki/Belchertown-Charts-Documentation
#   
# Caution!
# The more charts you have, the slower things can become. This is especially 
true at the YEAR level. These are interactive charts which have to build plot 
points from the database on every archive interval. This could result in large 
file sizes to generate, and for your website visitors to download. You're 
welcome to customize as many charts as you want, but be warned things could 
slow down if you do too much!
# The defaults in this skin have proven to be a good baseline for the number of 
charts and options without overwhelming your system. 
#
# Overview of options:
# A timespan refers to "day", "week", "month" or "year". 
# The first configuration item is the graph group, such as [day], [week], 
[month], [year] sections. 
# The charts are defined under the graph group and can be renamed and 
reorganized. They will display on your website in the order they appear here.
# Under the chart are the observation names from the WeeWX database. Any item 
within your database "archive type" can be charted. For a list of "archive 
types" refer to this chart. http://weewx.com/docs/customizing.htm#archive_types
# Each observation can be customized with built-in Highcharts "series" options. 
Popular ones are color, name and zIndex. For a list of Highcharts Series 
options refer to https://api.highcharts.com/highcharts/series 
#
# If a custom option broke your charts:
# Undo your change and run wee_reports. You do not need to restart weewx if you 
make a graphs.conf change.
# If that doesn't work, undo ALL changes and go back to the defau

[weewx-user] Re: Belchertown skin 1.1 released!

2020-04-18 Thread Manfred Maier
The station.json is stored at:
https://www.wetter-zorneding.de/json/station.json

So it searches for the file in the wrong folder.


Am Samstag, 18. April 2020 21:06:47 UTC+2 schrieb Pat:
>
> For some reason the station.json isn't being generated. Check to make sure 
> the station.json file exists in your json folder in public_html
>
> This is returning 404 not found: 
> https://www.wetter-zorneding.de/station/json/station.json
>
> On Saturday, April 18, 2020 at 2:53:24 PM UTC-4, Manfred Maier wrote:
>>
>> Another issue after switching to version 1.1:
>> On my "station" page I used to have an embedded Highchart. But now it's 
>> not produced anymore :(
>>
>> In the graphs.conf I have:
>>
>> [station]
>> show_button = false
>> time_length = 259200 # 72 hours in seconds
>> aggregate_type = last
>> aggregate_interval = 300 # 5 min
>> gapsize = 30 # 5 min
>> 
>> [[rxchart]]
>> title = ISS Empfangsstärke
>> [[[rxCheckPercent]]]
>> name = Stärke des Funksignals
>> color = "#e5544e"
>> lineWidth = 1
>> yaxis_min = 20
>> yaxis_max = 100
>>
>>
>> My station.inc begins with:
>>
>> #encoding UTF-8
>> showChart("station");
>>
>> ... and later on there is the line
>> 
>>
>> On my website the chart still is not visible (but it had been with 
>> version 1.0).
>> https://www.wetter-zorneding.de/station/
>>
>>
>> Again some encoding issue?
>>
>> Any hints are highly welcome.
>>
>> Best regards,
>> Manfred
>>
>>

-- 
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/da122555-3994-4de2-947a-b63dbbf15668%40googlegroups.com.


  1   2   >