Re: [weewx-user] STFP and Skins

2019-06-09 Thread Chris Plant
It appears that my sftp stanza installed before the skins. I moved the
stanza to before the regular ftp stanza and lo and behold it works! Thanks
for the input!

On Sun, Jun 9, 2019 at 5:49 PM gjr80  wrote:

> Hi,
>
> Skins are processed sequentially in the order they appear under
> [StdReport] in weewx.conf. Unless your are doing something pretty complex
> in a skin that involves threading etc the next skin is not processed until
> the previous skin has finished generation.
>
> I’m guessing under [StdPrint] you already have the FTP skin after your
> skin that generates the files you wish to upload? If so you might be able
> to get a better idea of what is happening when by setting debug=1 in
> weewx.conf, restarting WeeWX and then checking the log once a couple of
> report cycles have completed.
>
> Gary
>
> --
> 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/DScFxiDd9uQ/unsubscribe.
> To unsubscribe from this group and all its topics, 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/2bcdf6a1-7e03-40f8-b6e8-385a9d051ce9%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Chris Plant
Sent from Gmail Mobile

-- 
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/CALvMK2S_hsfU_eU1Cka-awPqoMehPWY95L_H47EneoTWm9RJ%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] weewx fails with weatherlink IP

2019-06-09 Thread gjr80
Hi,

Try using the loop_on_init config option. 
http://weewx.com/docs/usersguide.htm#General

Gary

-- 
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/e61fa625-82ea-4b2d-bfbf-252bb5a8ac53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] STFP and Skins

2019-06-09 Thread gjr80
Hi,

Skins are processed sequentially in the order they appear under [StdReport] in 
weewx.conf. Unless your are doing something pretty complex in a skin that 
involves threading etc the next skin is not processed until the previous skin 
has finished generation. 

I’m guessing under [StdPrint] you already have the FTP skin after your skin 
that generates the files you wish to upload? If so you might be able to get a 
better idea of what is happening when by setting debug=1 in weewx.conf, 
restarting WeeWX and then checking the log once a couple of report cycles have 
completed.

Gary

-- 
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/2bcdf6a1-7e03-40f8-b6e8-385a9d051ce9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] weewx fails with weatherlink IP

2019-06-09 Thread Andrea Cecilia
Hi guys,
I have a Davis Vantage station with weatherlink IP and running with weewx. 
Sometimes this happens:

Jun  9 16:55:17 raspberrypi-fontelaurentina weewx[507]: engine: Initializing 
weewx version 3.9.1
Jun  9 16:55:17 raspberrypi-fontelaurentina weewx[507]: engine: Using Python 
2.7.13 (default, Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516]
Jun  9 16:55:17 raspberrypi-fontelaurentina weewx[507]: engine: Platform 
Linux-4.19.42-v7+-armv7l-with-debian-9.9
Jun  9 16:55:17 raspberrypi-fontelaurentina weewx[507]: engine: Locale is 
'it_IT.UTF-8'
Jun  9 16:55:17 raspberrypi-fontelaurentina weewx[507]: engine: pid file is 
/var/run/weewx.pid
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]: engine: Using 
configuration file /home/weewx/weewx.conf
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]: engine: Debug is 1
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]: engine: Initializing 
engine
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]: engine: Loading 
station type Vantage (weewx.drivers.vantage)
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[336]: Starting weewx 
weather system: weewx.
Jun  9 16:55:18 raspberrypi-fontelaurentina systemd[1]: Started LSB: weewx 
weather system.
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]: vantage: Driver 
version is 3.1.1
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]: vantage: Socket 
error while opening port 2 to ethernet host 192.168.178.26.
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]: import of driver 
failed: [Errno 101] La rete non è raggiungibile ()
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]: engine: Unable to 
load driver: [Errno 101] La rete non è raggiungibile
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]:   Exiting...


id est, it can't find the station inside the network, and exits. Is there a 
way to make it retry instead of exiting at the first try?
This way, it is sufficient that for one minute for some reason the station 
is unreachable on the network, that weewx stops and needs to be manually 
restaryed!

-- 
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/a22f84f1-2e4b-4df6-b02a-bd46a6909ddb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2019-06-09 Thread Pat
All, version 1.0.1 has been released. This is a bug fix and maintenance 
update. 

You can download 1.0.1 here: 
https://github.com/poblabs/weewx-belchertown/releases

Work on 1.1 has already begun! 

-- 
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/53a30838-89d7-4a24-968c-23531210ac4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: [ANNOUNCE] weewx-aqi: A Plugin for Air Quality Index Calculations

2019-06-09 Thread Hartmut Schweidler
Hallo Jonathan,

the test for the weekend
Der Wocheendtest, aber nur Fehler   bei aqiColor und aqicategory

in my "indexAir.htmk.tmpl" the code


$current($data_binding='aqi_binding').aqi_pm2_5   ---> "Result is 
right 3,0 µg/m³" 
$aqi($current($data_binding='aqi_binding').aqi_pm2_5_category).category



$current($data_binding='aqi_binding').aqi_pm10_0> "Result is 
right 21,0 µg/m³" 
$aqi($current($data_binding='aqi_binding').aqi_pm10_0_category).category


it does not work right

The Errors

Jun  9 19:50:29 wetter weewx-cmon[7576]: copygenerator: copied 0 files to 
/home/weewx/public_html
Jun  9 19:50:33 wetter OWFS[14428]: cheetahgenerator: Generate failed with 
exception ''
Jun  9 19:50:33 wetter OWFS[14428]: cheetahgenerator:  Ignoring template 
/home/weewx/skins/Standard/indexAir.html.tmpl
Jun  9 19:50:33 wetter OWFS[14428]: cheetahgenerator:  Reason: cannot find 
'color' while searching for 'color'
Jun  9 19:50:33 wetter OWFS[14428]:   Traceback (most recent call last):
Jun  9 19:50:33 wetter OWFS[14428]: File 
"/home/weewx/bin/weewx/cheetahgenerator.py", line 331, in generate
Jun  9 19:50:33 wetter OWFS[14428]:   unicode_string = 
compiled_template.respond()
Jun  9 19:50:33 wetter OWFS[14428]: File 
"cheetah__home_weewx_skins_Standard_indexAir_html_tmpl_1560102633_0441406_65394.py",
 line 1105, in respond
Jun  9 19:50:33 wetter OWFS[14428]:   NameMapper.NotFound: cannot find 
'color' while searching for 'color'
Jun  9 19:50:33 wetter OWFS[14428]: cheetahgenerator: Generated 9 files for 
report StandardReport in 7.64 seconds

or / and

Jun  9 19:55:33 wetter OWFS[14428]: cheetahgenerator: Generate failed with 
exception ''
Jun  9 19:55:33 wetter OWFS[14428]: cheetahgenerator:  Ignoring template 
/home/weewx/skins/Standard/indexAir.html.tmpl
Jun  9 19:55:33 wetter OWFS[14428]: cheetahgenerator:  Reason: cannot find 
'category' while searching for 'category'
Jun  9 19:55:33 wetter OWFS[14428]:   Traceback (most recent call last):
Jun  9 19:55:33 wetter OWFS[14428]: File 
"/home/weewx/bin/weewx/cheetahgenerator.py", line 331, in generate
Jun  9 19:55:33 wetter OWFS[14428]:   unicode_string = 
compiled_template.respond()
Jun  9 19:55:33 wetter OWFS[14428]: File 
"cheetah__home_weewx_skins_Standard_indexAir_html_tmpl_1560102933_0067816_68569.py",
 line 1106, in respond
Jun  9 19:55:33 wetter OWFS[14428]:   NameMapper.NotFound: cannot find 
'category' while searching for 'category'
Jun  9 19:55:33 wetter OWFS[14428]: cheetahgenerator: Generated 9 files for 
report StandardReport in 7.19 seconds

i have in default weewx.conf :

[AqiService]
[[air_sensor]]
pm2_5 = pm_25
temp = tempAir
data_binding = air_binding
dateTime = dateTime
pressure = presAir
pm10_0 = pm_10
usUnits = usUnits
[[standard]]
data_binding = aqi_binding
standard = user.aqi.us.NowCast


and  in skins 

[CheetahGenerator]
search_list_extensions = user.aqi.service.AqiSearchList


Result no color no category
 

> Thank you
> Hartmut
>
>

-- 
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/e50f81b5-347b-4553-b19b-0c3f52cf9898%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] STFP and Skins

2019-06-09 Thread Chris P
would anyone know if you can change the order of when things run?  I have 
to use SFTP to upload my website, however it appears to be uploading things 
before the skin is done doing its thing, so the skin doesnt get uploaded 
until the next SFTP upload.  Im thinking if i can change the order so the 
skin completes first and then SFTP uploads, things wouldnt be ten minutes 
behind.  Is that possible?

-- 
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/7817b2e6-0e40-41e9-a2ed-9bd2c9ea87ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2019-06-09 Thread Chris Plant
That was it. Thanks Pat! Love the skin.

On Sun, Jun 9, 2019 at 10:55 AM Pat O'Brien  wrote:

> Yes, your archive interval isn't 300 which is the default gapsize for the
> charts..
>
> So you will need to change the gapsize setting in the graphs.conf.example
> (or graphs.conf) to match your weewx.conf archive_interval in milliseconds.
>
> Sent from mobile
>
>
> On Sun, Jun 9, 2019, 11:52 AM Chris P  wrote:
>
>> Using the default graph.conf.example and none of my highchart lines are
>> showing up.  However the wind direction point plots are.  Anybody run
>> across this issue yet?
>>
>> http://www.knowltonweather.com
>>
>>
>> On Saturday, June 1, 2019 at 11:57:56 AM UTC-5, Pat wrote:
>>>
>>> Belchertown skin 1.0 is released!
>>>
>>> This update contains a lot of updates and changes including *an entire
>>> rewrite of the Highcharts system* which allows you to make almost any
>>> graph you want for almost any time span you want. You can see some examples
>>> of the charts you can make on the BelchertownWeather.com website graphs
>>> page .
>>>
>>> You can add/remove/change/reorder any chart, change colors, add
>>> observation plots, categorize for all time. Almost anything you want to do
>>> is available! The skin comes with the standard 4 charts ready to go, but
>>> there's extensive Belchertown Charts Documentation
>>> 
>>> which can help you get started.
>>>
>>> In addition to the Charts there's now a dark mode (which has an
>>> auto-switching mode based on sunset/sunrise), more flexibility for
>>> translations, user customized station observation table which is updated in
>>> real time if the MQTT Websockets are enabled, and a lot more. Check the
>>> release notes for all the details!
>>>
>>> You can download the latest release here
>>> ,
>>> and read all of the details on the changes here:
>>> https://github.com/poblabs/weewx-belchertown/releases
>>>
>>> *Note: You cannot upgrade from Belchertown 0.9 and older*. You must
>>> uninstall everything and reinstall new. This is due to the Chart system
>>> being fully rewritten and the potential for conflicts. Please read this
>>> upgrade guide if you are upgrading from an older version of Belchertown skin
>>> 
>>> .
>>>
>>> Thanks to all the beta testers and translators over the last couple of
>>> months help me iron out all the kinks and shape the skin in a way that can
>>> be translated a little easier!
>>>
>>> Attached are some examples of the charts that can be made. If you find
>>> any issues, you can reply here or open an issue on the Belchertown skin
>>> GitHub page .
>>>
>> --
>> 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/VyVMEfuxClo/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/b303f21b-c014-41a1-8240-ce783308662a%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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/VyVMEfuxClo/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAJv44%2BncG-ytBurSVEc%3DOp6TcZd948gTgZCFFSYLSCtGN9UWJQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Chris Plant
Sent from Gmail Mobile

-- 
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/CALvMK2Ro9u4mrtMG%3D_i7SRN6ZgjdsJ_YN5p6nwr2HnH4fsk03g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2019-06-09 Thread Pat O'Brien
Yes, your archive interval isn't 300 which is the default gapsize for the
charts..

So you will need to change the gapsize setting in the graphs.conf.example
(or graphs.conf) to match your weewx.conf archive_interval in milliseconds.

Sent from mobile


On Sun, Jun 9, 2019, 11:52 AM Chris P  wrote:

> Using the default graph.conf.example and none of my highchart lines are
> showing up.  However the wind direction point plots are.  Anybody run
> across this issue yet?
>
> http://www.knowltonweather.com
>
>
> On Saturday, June 1, 2019 at 11:57:56 AM UTC-5, Pat wrote:
>>
>> Belchertown skin 1.0 is released!
>>
>> This update contains a lot of updates and changes including *an entire
>> rewrite of the Highcharts system* which allows you to make almost any
>> graph you want for almost any time span you want. You can see some examples
>> of the charts you can make on the BelchertownWeather.com website graphs
>> page .
>>
>> You can add/remove/change/reorder any chart, change colors, add
>> observation plots, categorize for all time. Almost anything you want to do
>> is available! The skin comes with the standard 4 charts ready to go, but
>> there's extensive Belchertown Charts Documentation
>> 
>> which can help you get started.
>>
>> In addition to the Charts there's now a dark mode (which has an
>> auto-switching mode based on sunset/sunrise), more flexibility for
>> translations, user customized station observation table which is updated in
>> real time if the MQTT Websockets are enabled, and a lot more. Check the
>> release notes for all the details!
>>
>> You can download the latest release here
>> ,
>> and read all of the details on the changes here:
>> https://github.com/poblabs/weewx-belchertown/releases
>>
>> *Note: You cannot upgrade from Belchertown 0.9 and older*. You must
>> uninstall everything and reinstall new. This is due to the Chart system
>> being fully rewritten and the potential for conflicts. Please read this
>> upgrade guide if you are upgrading from an older version of Belchertown skin
>> 
>> .
>>
>> Thanks to all the beta testers and translators over the last couple of
>> months help me iron out all the kinks and shape the skin in a way that can
>> be translated a little easier!
>>
>> Attached are some examples of the charts that can be made. If you find
>> any issues, you can reply here or open an issue on the Belchertown skin
>> GitHub page .
>>
> --
> 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/VyVMEfuxClo/unsubscribe.
> To unsubscribe from this group and all its topics, 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/b303f21b-c014-41a1-8240-ce783308662a%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAJv44%2BncG-ytBurSVEc%3DOp6TcZd948gTgZCFFSYLSCtGN9UWJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2019-06-09 Thread Chris P
Using the default graph.conf.example and none of my highchart lines are 
showing up.  However the wind direction point plots are.  Anybody run 
across this issue yet?  

http://www.knowltonweather.com


On Saturday, June 1, 2019 at 11:57:56 AM UTC-5, Pat wrote:
>
> Belchertown skin 1.0 is released!
>
> This update contains a lot of updates and changes including *an entire 
> rewrite of the Highcharts system* which allows you to make almost any 
> graph you want for almost any time span you want. You can see some examples 
> of the charts you can make on the BelchertownWeather.com website graphs 
> page .
>
> You can add/remove/change/reorder any chart, change colors, add 
> observation plots, categorize for all time. Almost anything you want to do 
> is available! The skin comes with the standard 4 charts ready to go, but 
> there's extensive Belchertown Charts Documentation 
> 
>  
> which can help you get started. 
>
> In addition to the Charts there's now a dark mode (which has an 
> auto-switching mode based on sunset/sunrise), more flexibility for 
> translations, user customized station observation table which is updated in 
> real time if the MQTT Websockets are enabled, and a lot more. Check the 
> release notes for all the details! 
>
> You can download the latest release here 
> ,
>  
> and read all of the details on the changes here: 
> https://github.com/poblabs/weewx-belchertown/releases
>
> *Note: You cannot upgrade from Belchertown 0.9 and older*. You must 
> uninstall everything and reinstall new. This is due to the Chart system 
> being fully rewritten and the potential for conflicts. Please read this 
> upgrade guide if you are upgrading from an older version of Belchertown skin 
> 
> . 
>
> Thanks to all the beta testers and translators over the last couple of 
> months help me iron out all the kinks and shape the skin in a way that can 
> be translated a little easier! 
>
> Attached are some examples of the charts that can be made. If you find any 
> issues, you can reply here or open an issue on the Belchertown skin 
> GitHub page . 
>

-- 
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/b303f21b-c014-41a1-8240-ce783308662a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: WS3080 Lockup - FineOffsetUsb workaround not working.

2019-06-09 Thread Nick
On 09/06/2019 05:51, 'Johannes Ebner' via weewx-user wrote:
> I still have this issue. For me it seems that the Power-Cycle 
> Implementation in WeeWx is broken.
> 

Hi,

I am in the same boat :-(

I am not sure if it is the power cycling in weewx or (here at least) the
implementation of the sub-system used

If I run the usb_control program I get:



sudo python ./usb_control-0.6.py
Traceback (most recent call last):
  File "./usb_control-0.6.py", line 191, in 
main()
  File "./usb_control-0.6.py", line 188, in main
scan()
  File "./usb_control-0.6.py", line 73, in scan
print "device at %s:%03d" % (bus.dirname, dev.devnum)
TypeError: %d format: a number is required, not NoneType



So obviously it won't work ...

However uhubctl work 100% - I am at a loss ...

Any help would be appreciated.

Regards/73

Nick
M0HGU


-- 
The truth may be out there, but lies are inside your head.
(Hogfather)
13:25:02 up 10 days, 1:57, 10 users, load average: 0.81, 0.83, 1.04

-- 
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/1baa272f-282b-cef2-4977-c230d8d4fb5b%40dctower.co.uk.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature