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

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

[weewx-user] howto receive MQTT data from a running broker and put the data into database with weewx..?

2020-06-24 Thread 'Christian Peters' via weewx-user
Hi, I ran a weewx 3.9. station with Python 2 and a seperate weewx instance with the wxMesh.py driver. This works very nice (as far as the broker isn't down or the connection breaks - then a restart of the weewx instance which holds the wxMesh driver is needed...!). As I now switch to Python

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

2020-06-24 Thread Pat
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?). >

[weewx-user] Re: howto receive MQTT data from a running broker and put the data into database with weewx..?

2020-06-24 Thread Rich Bell
Christian, MQTTSubscribe should be able to meet your needs. I know the documentation is a bit sparse, but I can help get you up and running. The first question you need to answer is whether to run as a service or driver? From what I am understanding. If you ran as a driver it would

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

2020-06-24 Thread Pat
Interesting. Would one of you guys be able to share you database with me so I have test data to use? We haven't had rain in a long time so this would be easier to figure out where my math is going wrong. On Wednesday, June 24, 2020 at 8:33:33 AM UTC-4, Manfred Maier wrote: > > Good catch,

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

2020-06-24 Thread Pat
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+unsubscr...@googlegroups.com. To

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-24 Thread John Burricelli
I had a decent storm come through last night with nearly 50 reported lightning strikes via my ecowitt app. As far as i can tell however nothing is being inserted into the database. INSERT INTO archive_day_lightning_energy VALUES(1592884800,NULL,NULL,NULL,NULL,0.0,0,0.0,0); INSERT INTO

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-24 Thread John Burricelli
Also, has anyone been able to run the driver manually? I get this error when I try it that way. $ PYTHONPATH=bin python /usr/share/weewx/user/interceptor.py --device=ecowitt --mode=listen --port=8000 Traceback (most recent call last): File "/usr/share/weewx/user/interceptor.py", line 302, in

[weewx-user] How to tell weewx to expect metric or US when importing from a text file?

2020-06-24 Thread Ashley Hinton
Hey everyone. I'm having a bit of a brain freeze over how to tell Weewx what units (metric or US) to expect when importing a temperature figure from a text file. My set up uses Weewx version 3.9.2 running under Python2 (setup.py install method) on a Raspberry Pi 4, OS is Raspian Buster (Debian

[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

[weewx-user] Belchertown windrose

2020-06-24 Thread Ton Karsten
On my website with a simulation sensor I don't see a wind rose. Does anyone know how to adjust this? No idea where to look, can't get out. Thanks -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving

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

2020-06-24 Thread Pat
I'll look into this On Wednesday, June 24, 2020 at 4:03:18 AM UTC-4, Manfred Maier wrote: > > 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 > >

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-24 Thread gjr80
Your PYTHONPATH needs to include /usr/share/weewx. Try using: $ PYTHONPATH=/usr/share/weewx python .. Gary On Wednesday, 24 June 2020 22:13:38 UTC+10, John Burricelli wrote: > > Also, has anyone been able to run the driver manually? I get this error > when I try it that way. > > $

[weewx-user] Re: Belchertown windrose

2020-06-24 Thread Pat
Take a look at the Belchertown chart's documentation . It shows how to add custom graphs - such as windRose. On Wednesday, June 24, 2020 at 11:23:55 AM UTC-4, Ton Karsten wrote: > > On my website with a

[weewx-user] Re: howto receive MQTT data from a running broker and put the data into database with weewx..?

2020-06-24 Thread Rich Bell
Christian, What are the symptoms that cause you to have to restart WeeWX when MQTT connection is lost with wxmesh? The reason I ask, I tried just disconnection the MQTTSubscribe client from the network and then reconnecting. It seemed to behave correctly. I am hesitant to stop the broker, but

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-24 Thread John Burricelli
I got it to work, in addition to your help, I had to change python to python3 for some reason # PYTHONPATH=/usr/share/weewx python3 /usr/share/weewx/user/interceptor.py --device=ecowitt-client --mode=listen --port=8000 mapped packet: {'dateTime': 1593010224, 'usUnits': 1, 'pressure': 29.202,

[weewx-user] Cannot decode reading of 'None' for gauge 'windDir'

2020-06-24 Thread Andrej B.
Good afternoon, I use Bootstrap theme with Nick gauges (dajda.net). Weewx ver. 4.1 under python 2.7 (Debian Buster) In my syslog every archive interval I see hundreds messages like: GaugeGenerator: Cannot decode reading of 'None' for gauge 'windDir' This is only happens when wind speed is not

[weewx-user] Re: Resource busy - raspbian buster, weewx 4 and WMR200

2020-06-24 Thread AsgeirK
I'm having similar issues after upgrade to 4.1.1 Jun 24 13:22:17 PI-W4 weewx[546] ERROR weewx.drivers.wmr200: USB read_device overflow error Jun 24 13:22:17 PI-W4 weewx[546] ERROR weewx.drivers.wmr200: USB device read error Jun 24 13:22:17 PI-W4 weewx[546] DEBUG weewx.manager: Daily summary

Re: [weewx-user] howto receive MQTT data from a running broker and put the data into database with weewx..?

2020-06-24 Thread Ken Walker
I modified two lines in wxMesh.py and it works fine with Python 3. changed #!/usr/bin/python to #!/user/bin/python3 and changed except ValueError, e: to except ValueError as e: > On Jun 24, 2020, at 8:59 AM, 'Christian Peters' via weewx-user > wrote: > > Hi, > > I ran a weewx 3.9.

[weewx-user] Re: howto receive MQTT data from a running broker and put the data into database with weewx..?

2020-06-24 Thread Rich Bell
Well, I haven't heard of having to restart WeeWX when the connection is lost, and if that happens I would certainly want to look into fixing that. I'll do some experiments to see if I can recreate. Sounds like picking the service might be the best long term choice, with the caveat about the

Re: [weewx-user] Wunderground doesn't accept my data

2020-06-24 Thread vince
On Tuesday, June 23, 2020 at 7:29:03 PM UTC-7, gjr80 wrote: > > Apologies to Forrest Gump's mother but the first thing that came into my > head was ' Weather Underground is like a box of chocolatesyou never > know what your gonna get' > > >> I lean more toward "WU is as WU does..." or "WU

[weewx-user] Re: howto receive MQTT data from a running broker and put the data into database with weewx..?

2020-06-24 Thread 'Christian Peters' via weewx-user
Rich, that's great. I'm not sure whether I should stay on the driver version or switch to the service versionwhich could make it maybe more easy. But if the MQTTSubscribe as service lost connection and wouldn't reconnect I have to restart the main weewx prog to get it up again!? So maybe a

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-24 Thread gjr80
The interceptor driver is python 2/3 compatible. Most likely you only have the WeeWX python 3 prerequisites installed and hence running the driver under python 2 failed. Gary -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from

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

2020-06-24 Thread Pat
Do you have images in your after station info hook? Or just text. Right now it's only going to reload images - but I wonder if it should reload the entire hook? On Wednesday, June 24, 2020 at 11:41:37 AM UTC-4, Pat wrote: > > I'll look into this > > On Wednesday, June 24, 2020 at 4:03:18 AM

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

2020-06-24 Thread Pat
Good question. I'm not sure that'll work either unless you're able to inject that data into your MQTT broker since the station observation table is updated by MQTT payloads that match the observation's name. What would be idea is a way to have a folder called "hooks", and have weewx generate

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

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

2020-06-24 Thread Pat O'Brien
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 > >

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

2020-06-24 Thread Pat O'Brien
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

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

[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

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

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

2020-06-24 Thread Didier Decoodt
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. >> >> >> >>

[weewx-user] Re: Cannot decode reading of 'None' for gauge 'windDir'

2020-06-24 Thread Pat
I'm not the maintainer of this extension, and I don't use it so I'm purely guessing here. But based on the information you've given, try replacing the section you've pasted with this. Maintain a backup copy in case you need to revert back. try: history =

[weewx-user] Re: Cannot decode reading of 'None' for gauge 'windDir'

2020-06-24 Thread Andrej B.
If wind speed is 0, then "cannot decode" message is not seen: Jun 24 22:20:16 weewxpi weewxd: GaugeGenerator: windSpeed reading = 0.0 meter_per_second Jun 24 22:20:16 weewxpi weewxd: GaugeGenerator: windGust reading = 0.0 meter_per_second Jun 24 22:20:16 weewxpi weewxd: GaugeGenerator: windDir

[weewx-user] Re: howto receive MQTT data from a running broker and put the data into database with weewx..?

2020-06-24 Thread 'Christian Peters' via weewx-user
Hi Rich, thank you very much. It works like a charm! :-) I set up a temporary mapping to values already available in the databae. For the temp and humid values it works out of the box, for CPM, CPS and radiation I have to setup unit groups later. This is my working setup - just to have

[weewx-user] Re: howto receive MQTT data from a running broker and put the data into database with weewx..?

2020-06-24 Thread Rich Bell
I should say that in the first test, I saw the disconnect and reconnect and processing pick back up. I did a couple more tests. First, just stop publishing. No disconnect, MQTTSubscribe waited until the next message. No surprise there. Next I shut the broker down. Again, I saw MQTTSubscribe

[weewx-user] Re: SDR and BME280 Data using Acurite Sensors

2020-06-24 Thread gjr80
Hi, It's worth noting the bme280wx service is not marked as WeeWX 4/python 3 compatible but that should not matter since it is a very simple service and you are running python2 . Can you try running WeeWX directly . This will cause WeeWX

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

2020-06-24 Thread Pat
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

[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

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

2020-06-24 Thread Pat O'Brien
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

[weewx-user] Re: howto receive MQTT data from a running broker and put the data into database with weewx..?

2020-06-24 Thread Rich Bell
Great to hear. Just give a shout if you run into any other difficulties. rich On Wednesday, 24 June 2020 16:50:26 UTC-4, Christian Peters wrote: > > Hi Rich, > > thank you very much. > It works like a charm! :-) > > I set up a temporary mapping to values already available in the databae. > For