[weewx-user] Re: Weewx SDR - Can anyone tell me what I'd put in the [[sensor_map]] section for this packet?

2021-09-01 Thread gjr80
Unless you are using a modified version of the the SDR driver it should be .
ProloguePacket not .PrologueTHPacket.

You will likely have to modify the SDR driver code (sdr.py circa line 2278) 
as follows so that it will decode your Prologue sensor data:

class ProloguePacket(Packet):
# 2017-03-19 : Prologue Temperature and Humidity Sensor
# {"time" : "2017-03-15 20:14:19", "model" : "Prologue sensor", "id" : 
5, "rid" : 166, "channel" : 1, "battery" : "OK", "button" : 0, 
"temperature_C" : -0.700, "humidity" : 49}

IDENTIFIER = "Prologue-TH"

@staticmethod
def parse_json(obj):
pkt = dict()
pkt['dateTime'] = Packet.parse_time(obj.get('time'))
pkt['usUnits'] = weewx.METRIC
sensor_id = obj.get('rid')
pkt['temperature'] = Packet.get_float(obj, 'temperature_C')
pkt['humidity'] = Packet.get_float(obj, 'humidity')
pkt['battery'] = 0 if obj.get('battery') == 'OK' else 1
pkt['channel'] = obj.get('channel')
pkt = Packet.add_identifiers(pkt, sensor_id, 
ProloguePacket.__name__)
return pkt



Gary

On Thursday, 2 September 2021 at 13:05:33 UTC+10 stephen...@gmail.com wrote:

> Hi all,
>
> I'm attempting to pull data off two sources at once via the SDR driver - 
> an Acurite (which works) and an el-cheapo device for the inside temperature 
> & humidity which puts out packets that look like this:
>
> out:[u'{"time" : "2021-09-02 02:57:42", "model" : "Prologue-TH", "subtype" 
> : 5, "id" : 70, "channel" : 3, "battery_ok" : 1, "temperature_C" : 22.300, 
> "humidity" : 42, "button" : 0}\n', u'{"time" : "2021-09-02 02:57:42", 
> "model" : "TFA-TwinPlus", "id" : 10, "channel" : 1, "battery_ok" : 1, 
> "temperature_C" : -25.100, "humidity" : 51, "mic" : "CHECKSUM"}\n']
>
> In my [[sensor_map]] entries, I have for this device (Acurite stuff elided)
>
> inTemp = temperature_C.0046.PrologueTHPacket
> inHumidity = humidity.0046.PrologueTHPacket
>
> What am I doing wrong?
>

-- 
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/a5fd73e3-d783-4118-af25-275dc294679an%40googlegroups.com.


[weewx-user] Weewx SDR - Can anyone tell me what I'd put in the [[sensor_map]] section for this packet?

2021-09-01 Thread Stephen Hocking
Hi all,

I'm attempting to pull data off two sources at once via the SDR driver - an 
Acurite (which works) and an el-cheapo device for the inside temperature & 
humidity which puts out packets that look like this:

out:[u'{"time" : "2021-09-02 02:57:42", "model" : "Prologue-TH", "subtype" 
: 5, "id" : 70, "channel" : 3, "battery_ok" : 1, "temperature_C" : 22.300, 
"humidity" : 42, "button" : 0}\n', u'{"time" : "2021-09-02 02:57:42", 
"model" : "TFA-TwinPlus", "id" : 10, "channel" : 1, "battery_ok" : 1, 
"temperature_C" : -25.100, "humidity" : 51, "mic" : "CHECKSUM"}\n']

In my [[sensor_map]] entries, I have for this device (Acurite stuff elided)

inTemp = temperature_C.0046.PrologueTHPacket
inHumidity = humidity.0046.PrologueTHPacket

What am I doing wrong?

-- 
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/15999edb-f963-4bef-84e6-de6f375a1e3an%40googlegroups.com.


Re: [weewx-user] weewx purple air

2021-09-01 Thread John Kline
He doesn’t have the purple extension configured in weewx.conf, so he’ll get 
that message since no sources are configured.

To get rid of that message change the following:
data_services = user.purple.Purple,
to
data_services = ,

A proper uninstall would have removed it.

As for the PurpleAirMonitor you do have configured, perhaps ask the author.


> On Sep 1, 2021, at 4:15 PM, gjr80  wrote:
> 
> I know nothing about Purple Air but this sure looks like an error to me:
> 
> Sep  1 16:36:37 raspberrypi weewx[1293] DEBUG weewx.engine: Loading service 
> user.purple.Purple
> Sep  1 16:36:38 raspberrypi weewx[1293] INFO user.purple: Service version is 
> 3.0.2.
> Sep  1 16:36:38 raspberrypi weewx[1293] ERROR user.purple: Could not get 
> concentrations from any source.
> Sep  1 16:36:38 raspberrypi weewx[1293] ERROR user.purple: No sources 
> configured for purple extension.  Purple extension is inoperable.
> Sep  1 16:36:38 raspberrypi weewx[1293] DEBUG weewx.engine: Finished loading 
> service user.purple.Purple
> 
> Gary
> 
>> On Thursday, 2 September 2021 at 06:48:49 UTC+10 rons...@gmail.com wrote:
>> HI, now it looks like the data has stopped populating in the database
>> stuck at 489 records.
>> 
>> I just replaced my tempest with a new one.
>> 
>> syslog attached , I don't see any errors.
>> 
>> My purple air is stable.
>> 
>> weewx.conf attached
>> 
>> any help would be appreciated
>>> On Friday, 27 August 2021 at 07:48:21 UTC-4 rons...@gmail.com wrote:
>>> thanks
>>> 
>>> 
 On Thursday, 26 August 2021 at 15:56:01 UTC-4 jo...@johnkline.com wrote:
 Got it.  Besides that issue, you really should have only one of 
 weewx-purple or weewx-purpleair installed.  Pick one and uninstall the 
 other.
 
>> On Aug 26, 2021, at 12:50 PM, rons...@gmail.com  
>> wrote:
>> 
> 
 
> 
> So it looks like my purple air keeps going off line. The WiFi is 
> connected but the device goes into an unknown state. I contacted purple 
> air for troubleshooting.
> 
> typically going to this link it goes right into the device.
> http://purpleair-8ac1/json?live=true
> 
> 
> 
> 
> 
> 
>> On Thursday, 26 August 2021 at 09:27:35 UTC-4 jo...@johnkline.com wrote:
>> It looks like you have both the weewx-purple and the weewx-purpleair 
>> extensions installed.  You probably should pick one.
>> 
>> As for the errors from weewx-purple (ERROR user.purple), the purpleair 
>> device (purpleair-8ac1) is not responding, so yes, that is a problem.
>> 
>> If you decide to keep weewx-purple, rather than weewx-purpleair, do the 
>> following:
>> 
>> From a browser on your home network, what happens when you enter the 
>> following URL?
>> 
>> http://purpleair-8ac1/json?live=true
>> 
>> I do not think that will work, in weewx.conf, substitute the IP address 
>> for purpleair-8ac1 and you should be good.  Alternatively, if you have 
>> DNS set up, you could us the DNS name.
>> 
 On Aug 26, 2021, at 4:32 AM, rons...@gmail.com  
 wrote:
 
>>> Good Morning,
>> 
>>> 
>>> I am getting these errors in my log.
>>> 
>>> Aug 26 07:18:44 raspberrypi wee_reports[9070] ERROR user.purple: Could 
>>> not get concentrations from any source.
>>> Aug 26 07:18:45 raspberrypi wee_reports[10999] INFO user.purple: 
>>> collect_data: Attempt to fetch from: PurpleAir-8ac1 failed: 
>>> HTTPConnectionPool(host='purpleair-8ac1', port=80): Read timed out. 
>>> (read timeout=15).
>>> 
>>> Aug 26 07:27:58 raspberrypi wee_reports[11802] ERROR user.purpleair: 
>>> sensor error pm10_0_cf_1 disagree. 21.88 vs 27.84 
>>> Aug 26 07:27:58 raspberrypi wee_reports[11802] ERROR user.purpleair: 
>>> sensor error pm10_0_atm disagree. 21.88 vs 27.84 
>>> Aug 26 07:27:58 raspberrypi wee_reports[28451] ERROR user.purpleair: 
>>> sensor error pm1_0_cf_1 disagree. 7.79 vs 9.82 
>>> Aug 26 07:27:58 raspberrypi wee_reports[28451] ERROR user.purpleair: 
>>> sensor error pm1_0_atm disagree. 7.79 vs 9.82 
>>> 
>>> 
>>> any reason for concern?
>> 
>>> -- 
>>> 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/e4a46b3b-0aef-4c99-81a8-71d053e9d9d4n%40googlegroups.com.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to weewx-user+...@googlegroups.com.
 
> To view this discussion on the web visit 
> 

[weewx-user] Re: How to use wee_debug for a single model? | Comment utiliser wee_debug pour un seul modèle ?

2021-09-01 Thread gjr80
Do you mean wee_reports or wee_debug? wee_debug generates a report that 
provides key system config info as well as a sanitised version of weewx.conf; 
it really does nothing for reports/skins other that listing (in the 
sanitised weewx.conf) which skins are included and enabled.

wee_reports will 'run' all enabled skins in your weewx.conf [StdReport] 
stanza. wee_reports does not let you (simply) limit this to a single 
template in a single skin. I am assuming you only wish to generate the 
single file so as to not overwrite other generated files, if so you are 
probably best served by creating a new dummy WeeWX config file based on 
your existing weewx.conf but with HTML_ROOT set to a different location and 
then run wee_reports with that config file. Another variation is to limit 
that dummy config file to a single skin that contains just your template of 
concern. I am sure there are other variations as well.

Or perhaps I have completely mis-understood what you are trying to do.

Gary
On Thursday, 2 September 2021 at 00:09:38 UTC+10 blaise@gmail.com wrote:

> Bonjour
> Je voudrais tester un (et un seul) modèle (page.html.tmpl) avec wee_debug, 
> mais la documentation est assez succincte quand au contenu du fichier 
> config.
> Merci d'éclaircir mon cerveau
>
>
> Hello
> I would like to test one (and only one) template (page.html.tmpl) with 
> wee_debug, but the documentation is quite succinct when it comes to the 
> contents of the config file.
> Thanks for clearing my brain 
>
> Thank you to everyone  | Merci à toutes et tous 
>

-- 
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/e18970c3-bdb7-416b-8911-85dfbe5377f3n%40googlegroups.com.


Re: [weewx-user] weewx purple air

2021-09-01 Thread gjr80
I know nothing about Purple Air but this sure looks like an error to me:

Sep  1 16:36:37 raspberrypi weewx[1293] DEBUG weewx.engine: Loading service 
user.purple.Purple
Sep  1 16:36:38 raspberrypi weewx[1293] INFO user.purple: Service version 
is 3.0.2.
Sep  1 16:36:38 raspberrypi weewx[1293] ERROR user.purple: Could not get 
concentrations from any source.
Sep  1 16:36:38 raspberrypi weewx[1293] ERROR user.purple: No sources 
configured for purple extension.  Purple extension is inoperable.
Sep  1 16:36:38 raspberrypi weewx[1293] DEBUG weewx.engine: Finished 
loading service user.purple.Purple

Gary

On Thursday, 2 September 2021 at 06:48:49 UTC+10 rons...@gmail.com wrote:

> HI, now it looks like the data has stopped populating in the database
> stuck at 489 records.
>
> I just replaced my tempest with a new one.
>
> syslog attached , I don't see any errors.
>
> My purple air is stable.
>
> weewx.conf attached
>
> any help would be appreciated
> On Friday, 27 August 2021 at 07:48:21 UTC-4 rons...@gmail.com wrote:
>
>> thanks
>>
>>
>> On Thursday, 26 August 2021 at 15:56:01 UTC-4 jo...@johnkline.com wrote:
>>
>>> Got it.  Besides that issue, you really should have only one of 
>>> weewx-purple or weewx-purpleair installed.  Pick one and uninstall the 
>>> other.
>>>
>>> On Aug 26, 2021, at 12:50 PM, rons...@gmail.com  
>>> wrote:
>>>
>>> 
>>>
>>>
>>> So it looks like my purple air keeps going off line. The WiFi is 
>>> connected but the device goes into an unknown state. I contacted purple air 
>>> for troubleshooting.
>>>
>>> typically going to this link it goes right into the device.
>>> http://purpleair-8ac1/json?live=true 
>>> 
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Thursday, 26 August 2021 at 09:27:35 UTC-4 jo...@johnkline.com wrote:
>>>
 It looks like you have both the weewx-purple and the weewx-purpleair 
 extensions installed.  You probably should pick one.

 As for the errors from weewx-purple (ERROR user.purple), the purpleair 
 device (purpleair-8ac1) is not responding, so yes, that is a problem.

 If you decide to keep weewx-purple, rather than weewx-purpleair, do the 
 following:

 From a browser on your home network, what happens when you enter the 
 following URL?

 http://purpleair-8ac1/json?live=true 
 

 I do not think that will work, in weewx.conf, substitute the IP address 
 for purpleair-8ac1 and you should be good.  Alternatively, if you have DNS 
 set up, you could us the DNS name.

 On Aug 26, 2021, at 4:32 AM, rons...@gmail.com  
 wrote:

 Good Morning,


 I am getting these errors in my log.

 Aug 26 07:18:44 raspberrypi wee_reports[9070] ERROR user.purple: Could 
 not get concentrations from any source.
 Aug 26 07:18:45 raspberrypi wee_reports[10999] INFO user.purple: 
 collect_data: Attempt to fetch from: PurpleAir-8ac1 failed: 
 HTTPConnectionPool(host='purpleair-8ac1', port=80): Read timed out. (read 
 timeout=15).

 Aug 26 07:27:58 raspberrypi wee_reports[11802] ERROR user.purpleair: 
 sensor error pm10_0_cf_1 disagree. 21.88 vs 27.84 
 Aug 26 07:27:58 raspberrypi wee_reports[11802] ERROR user.purpleair: 
 sensor error pm10_0_atm disagree. 21.88 vs 27.84 
 Aug 26 07:27:58 raspberrypi wee_reports[28451] ERROR user.purpleair: 
 sensor error pm1_0_cf_1 disagree. 7.79 vs 9.82 
 Aug 26 07:27:58 raspberrypi wee_reports[28451] ERROR user.purpleair: 
 sensor error pm1_0_atm disagree. 7.79 vs 9.82 


 any reason for concern?

 -- 
 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/e4a46b3b-0aef-4c99-81a8-71d053e9d9d4n%40googlegroups.com
  
 
 .

 -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "weewx-user" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to weewx-user+...@googlegroups.com.
>>>
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/c7a18685-08d2-4766-befb-ca570c3476f8n%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 

Re: [weewx-user] weewx purple air

2021-09-01 Thread Ron Sell
It’s the purple air not populating.
The purple air has data .

When I go to the hostname/json all the data is there.

I updated my conf with the new tempest data.


On Wed, Sep 1, 2021 at 6:14 PM vince  wrote:

> oops - you didn't say which system wasn't populating records.  Was it the
> WF or the PA ?
>
> If you changed to a new Tempest sensor the serial number has to be changed
> in weewx.conf to match.
>
> On Wednesday, September 1, 2021 at 3:11:57 PM UTC-7 vince wrote:
>
>> Your logs show nothing obvious but I suspect your hostname
>> 'PurpleAir-8ac1' is not resolvable from the weewx system.   Just a guess.
>>
>> --
> 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/b021f5f8-ea5d-4f99-bb52-55056c921327n%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/CABn15dbh9HM3urAdPFE9Q52eoo6Fe3%3Dm7ZR0Gb_BGEx6LAum_A%40mail.gmail.com.


Re: [weewx-user] weewx purple air

2021-09-01 Thread vince
oops - you didn't say which system wasn't populating records.  Was it the 
WF or the PA ?

If you changed to a new Tempest sensor the serial number has to be changed 
in weewx.conf to match.

On Wednesday, September 1, 2021 at 3:11:57 PM UTC-7 vince wrote:

> Your logs show nothing obvious but I suspect your hostname 
> 'PurpleAir-8ac1' is not resolvable from the weewx system.   Just a guess.
>
>

-- 
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/b021f5f8-ea5d-4f99-bb52-55056c921327n%40googlegroups.com.


Re: [weewx-user] weewx purple air

2021-09-01 Thread vince
Your logs show nothing obvious but I suspect your hostname 'PurpleAir-8ac1' 
is not resolvable from the weewx system.   Just a guess.

-- 
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/135531d4-09f4-464a-a3b4-3b7dfbcf6afdn%40googlegroups.com.


Re: [weewx-user] weewx purple air

2021-09-01 Thread rons...@gmail.com
HI, now it looks like the data has stopped populating in the database
stuck at 489 records.

I just replaced my tempest with a new one.

syslog attached , I don't see any errors.

My purple air is stable.

weewx.conf attached

any help would be appreciated
On Friday, 27 August 2021 at 07:48:21 UTC-4 rons...@gmail.com wrote:

> thanks
>
>
> On Thursday, 26 August 2021 at 15:56:01 UTC-4 jo...@johnkline.com wrote:
>
>> Got it.  Besides that issue, you really should have only one of 
>> weewx-purple or weewx-purpleair installed.  Pick one and uninstall the 
>> other.
>>
>> On Aug 26, 2021, at 12:50 PM, rons...@gmail.com  
>> wrote:
>>
>> 
>>
>>
>> So it looks like my purple air keeps going off line. The WiFi is 
>> connected but the device goes into an unknown state. I contacted purple air 
>> for troubleshooting.
>>
>> typically going to this link it goes right into the device.
>> http://purpleair-8ac1/json?live=true 
>> 
>>
>>
>>
>>
>>
>>
>> On Thursday, 26 August 2021 at 09:27:35 UTC-4 jo...@johnkline.com wrote:
>>
>>> It looks like you have both the weewx-purple and the weewx-purpleair 
>>> extensions installed.  You probably should pick one.
>>>
>>> As for the errors from weewx-purple (ERROR user.purple), the purpleair 
>>> device (purpleair-8ac1) is not responding, so yes, that is a problem.
>>>
>>> If you decide to keep weewx-purple, rather than weewx-purpleair, do the 
>>> following:
>>>
>>> From a browser on your home network, what happens when you enter the 
>>> following URL?
>>>
>>> http://purpleair-8ac1/json?live=true 
>>> 
>>>
>>> I do not think that will work, in weewx.conf, substitute the IP address 
>>> for purpleair-8ac1 and you should be good.  Alternatively, if you have DNS 
>>> set up, you could us the DNS name.
>>>
>>> On Aug 26, 2021, at 4:32 AM, rons...@gmail.com  
>>> wrote:
>>>
>>> Good Morning,
>>>
>>>
>>> I am getting these errors in my log.
>>>
>>> Aug 26 07:18:44 raspberrypi wee_reports[9070] ERROR user.purple: Could 
>>> not get concentrations from any source.
>>> Aug 26 07:18:45 raspberrypi wee_reports[10999] INFO user.purple: 
>>> collect_data: Attempt to fetch from: PurpleAir-8ac1 failed: 
>>> HTTPConnectionPool(host='purpleair-8ac1', port=80): Read timed out. (read 
>>> timeout=15).
>>>
>>> Aug 26 07:27:58 raspberrypi wee_reports[11802] ERROR user.purpleair: 
>>> sensor error pm10_0_cf_1 disagree. 21.88 vs 27.84 
>>> Aug 26 07:27:58 raspberrypi wee_reports[11802] ERROR user.purpleair: 
>>> sensor error pm10_0_atm disagree. 21.88 vs 27.84 
>>> Aug 26 07:27:58 raspberrypi wee_reports[28451] ERROR user.purpleair: 
>>> sensor error pm1_0_cf_1 disagree. 7.79 vs 9.82 
>>> Aug 26 07:27:58 raspberrypi wee_reports[28451] ERROR user.purpleair: 
>>> sensor error pm1_0_atm disagree. 7.79 vs 9.82 
>>>
>>>
>>> any reason for concern?
>>>
>>> -- 
>>> 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/e4a46b3b-0aef-4c99-81a8-71d053e9d9d4n%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to weewx-user+...@googlegroups.com.
>>
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/c7a18685-08d2-4766-befb-ca570c3476f8n%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/fff55bd1-6321-498b-b126-46ec52f1f158n%40googlegroups.com.
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2021 Tom Keffer 
# See the file LICENSE.txt for your rights.

##

# This section is for general configuration information.

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

# 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, 

Re: [weewx-user] Re: wunderfixer and weather-underground -- failure to upload data

2021-09-01 Thread Clément Bourgeois
Hello everybody,

Just to confirm that I have the same problem, 6h of data not uploaded 
because of a power outage.

Did anyone reach out WU ?

Le mardi 6 avril 2021 à 00:29:50 UTC+2, tke...@gmail.com a écrit :

> You're welcome to ask. Good luck.
>
> On Mon, Apr 5, 2021 at 2:54 PM rpet...@gmail.com  
> wrote:
>
>> Yes, the only problem that I have had recently, is when we had such a 
>> terrible snowstorm/blizzard that comcast internet service was dead. for 5 
>> hours  This a rare occurrence for me (first time).  
>>
>> It might be worth looking into whether such a policy change has 
>> occurred.  Maybe they just updated the interface to "make it more 
>> wonderful"
>>
>> Thanks for checking!
>> Ralph
>>
>>
>> On Monday, April 5, 2021 at 3:47:55 PM UTC-6 tke...@gmail.com wrote:
>>
>>> I've just tried a couple days using my installation and neither of them 
>>> "stuck".
>>>
>>> It is possible that they have changed their policies and no longer allow 
>>> backfilling of their database. 
>>>
>>> The good news is that data operations are more reliable than they used 
>>> to be. Most days I have no missing data points. I know that doesn't help 
>>> you.
>>>
>>> -tk
>>>
>>>
>>> On Mon, Apr 5, 2021 at 2:31 PM rpet...@gmail.com  
>>> wrote:
>>>
 More info:
 I am runnung 4.4.0-1 on a raspberry pi 2 and my software is up-to-date.

 uname -a
 Linux raspberrypi 5.10.11-v7+ #1399 SMP Thu Jan 28 12:06:05 GMT 2021 
 armv7l GNU/Linux

 dpkg -l | grep weewx
 ii  weewx 
 4.4.0-1 all  weather software

 I am running python 3.7.3
 ii  python3.7 
 3.7.3-2+deb10u3 armhfInteractive high-level 
 object-oriented language (version 3.7)

 On Monday, April 5, 2021 at 3:02:55 PM UTC-6 rpet...@gmail.com wrote:

> I ran wunderfixer with verbose:
>
> wunderfixer -v -d 2021-03-24
> Using configuration file /etc/weewx/weewx.conf.
> Using database binding 'wx_binding', which is bound to database 
> 'archive_sqlite'
> Weather Underground Station:   KNMALBUQ335
> Date to check: 2021-03-24
> Number of archive records: 288
> Number of WU records:  231
> Number of missing records: 57
>
> Missing records:
> 2021-03-24 06:15:00 MDT (1616588100); 29.976";  31.8F;  94%;16.6 mph;  
> 82 deg;23.8 mph gust;  30.3F; 0.00" rain  ...published.
> 2021-03-24 06:20:00 MDT (1616588400);N/A ;  32.0F;  94%;15.9 mph; 
> 122 deg;26.3 mph gust;  30.3F; 0.00" rain  ...published.
> 2021-03-24 06:25:00 MDT (1616588700);N/A ;  32.0F;  93%;18.8 mph;  
> 88 deg;20.7 mph gust;  30.2F; 0.00" rain  ...published.
> 2021
>
> On Monday, April 5, 2021 at 2:54:49 PM UTC-6 rpet...@gmail.com wrote:
>
>>
>> Bottom Line: I have tried to use wunderfixer to upload about 5 hours 
>> of data to wunderground (comcast was down for 5 hours during a storm on 
>> March 24) and nothing gets published even though there are no complaints.
>>
>> SAMPLE FROM WUNDERFIXER RUN:
>> pi_at_raspberrypi:~ $ wunderfixer -d 2021-03-24
>> Using configuration file /etc/weewx/weewx.conf.
>> Using database binding 'wx_binding', which is bound to database 
>> 'archive_sqlite'
>> 2021-03-24 06:15:00 MDT (1616588100); 29.976";  31.8F;  94%;16.6 
>> mph;  82 deg;23.8 mph gust;  30.3F; 0.00" rain  ...published.
>> 2021-03-24 06:20:00 MDT (1616588400);N/A ;  32.0F;  94%;15.9 mph; 
>> 122 deg;26.3 mph gust;  30.3F; 0.00" rain  ...published.
>> 2021-03-24 06:25:00 MDT (1616588700);N/A ;  32.0F;  93%;18.8 
>> mph;  88 deg;20.7 mph gust;  30.2F; 0.00" rain  ...published.
>> 2021-03-24 06:30:00 MDT (1616589000); 29.973";  32.0F;  93%;14.7 mph; 
>> 160 deg;17.1 mph gust;  30.2F; 0.00" rain  ...published.
>> 2021-03-24 06:35:00 MDT (1616589300); 29.972";  32.1F;  93%;15.9 
>> mph;  96 deg;19.7 mph gust;  30.3F; 0.00" rain  ...published.
>> 2021-03-24 06:40:00 MDT (1616589600); 29.973";  32.0F;  93%;16.7 mph; 
>> 104 deg;22.2 mph gust;  30.2F; 0.00" rain  ...published.
>> 2021-03-24 06:45:00 MDT (1616589900); 29.973";  32.0F;  93%;22.0 mph; 
>> 103 deg;27.4 mph gust;  30.2F; 0.00" rain  ...published.
>> 2021-03-24 06:50:00 MDT (1616590200); 29.973";  32.0F;  93%;14.8 
>> mph;  85 deg;21.7 mph gust;  30.2F; 0.00" rain  ...published.
>> 2021-03-24 06:55:00 MDT (1616590500); 29.976";  32.0F;  93%;15.7 
>> mph;  45 deg;19.1 mph gust;  30.2F; 0.00" rain  ...published.
>> 2021-03-24 07:00:00 MDT (1616590800); 29.978";  31.8F;  94%;16.7 mph; 
>> 180 deg;20.2 mph gust;  30.3F; 0.00" rain  ...published.
>> 2021-03-24 07:05:00 MDT (1616591100); 29.986";  31.6F;  95%;19.9 
>> mph;  45 deg;25.3 mph gust;  30.3F; 0.00" rain  ...published.
>> 2021-03-24 07:10:00 MDT 

[weewx-user] Re: weewx and apache WS

2021-09-01 Thread vince
Not understanding what you're asking, but does the wiki (link) 

 
help any ?

On Wednesday, September 1, 2021 at 4:20:58 AM UTC-7 n8a...@gmail.com wrote:

> Wondering if / how I can interface my WEEWX application with a WEB SERVER 
> (apache) and port that to my web site.??  Basically I am looking for other 
> reporting options.   
>

-- 
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/619db173-13fc-4322-b793-c0d994a25bc7n%40googlegroups.com.


[weewx-user] How to use wee_debug for a single model? | Comment utiliser wee_debug pour un seul modèle ?

2021-09-01 Thread P C
Bonjour
Je voudrais tester un (et un seul) modèle (page.html.tmpl) avec wee_debug, 
mais la documentation est assez succincte quand au contenu du fichier 
config.
Merci d'éclaircir mon cerveau


Hello
I would like to test one (and only one) template (page.html.tmpl) with 
wee_debug, but the documentation is quite succinct when it comes to the 
contents of the config file.
Thanks for clearing my brain 

Thank you to everyone  | Merci à toutes et tous 

-- 
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/c28e8f97-8a54-43b5-bde2-82acf7c08b33n%40googlegroups.com.


[weewx-user] Re: loop browse the last 13 months

2021-09-01 Thread P C
Ok, merci Gary, cela fonctionne.
J'ai une autre question concernant wee_debug, mais je la poserais dans un 
autre topic

Ok, thanks Gary, it works.
I have another question regarding wee_debug, but I would ask it in another 
topic 

Le lundi 30 août 2021 à 11:16:53 UTC+2, gjr80 a écrit :

> Hi,
>
> Not certain exactly what you are after, do you want to iterate over the 
> last 13 months using a similar approach to the example in the 
> Customization Guide for iterating over this years months 
> , ie:
>
> #for $month in $year.months
> $month.dateTime.format("%B"): Min, max temperatures: $month.outTemp.min 
> $month.outTemp.max
> #end for
>
> If so you can use the $span tag in place of the $year tag as follows:
>
> #for $month in $span($month_delta=12).months
> $month.dateTime.format("%B"): Min, max temperatures: $month.outTemp.min 
> $month.outTemp.max
> #end for
>
> this will display the max and min monthly temperatures for the last 13 
> months including the current month, eg (the  gives a ° symbol on a 
> HTML page and is due to the skin using encoding = html_entities):
>
> August: Min, max temperatures: 3.8C 28.1C
> September: Min, max temperatures: 6.6C 30.6C
> October: Min, max temperatures: 11.8C 31.1C
> November: Min, max temperatures: 14.7C 33.8C
> December: Min, max temperatures: 17.1C 37.3C
> January: Min, max temperatures: 17.3C 35.0C
> February: Min, max temperatures: 18.0C 35.6C
> March: Min, max temperatures: 15.9C 32.1C
> April: Min, max temperatures: 9.1C 33.8C
> May: Min, max temperatures: 6.8C 28.5C
> June: Min, max temperatures: 3.5C 24.0C
> July: Min, max temperatures: 3.6C 26.2C
> August: Min, max temperatures: 4.9C 28.3C
>
> Gary
>
> On Sunday, 29 August 2021 at 22:01:40 UTC+10 blaise@gmail.com wrote:
>
>>
>> Hello,
>> In the tag, you show a loop that browsing the months of the year.
>> How could I browse the last 13 months. So for example here from August 
>> 2020 to August 2021
>> Thank you !
>
>

-- 
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/09af6978-65f0-4f2e-9473-f3a744142072n%40googlegroups.com.


[weewx-user] weewx and apache WS

2021-09-01 Thread Eric Gammeter
Wondering if / how I can interface my WEEWX application with a WEB SERVER 
(apache) and port that to my web site.??  Basically I am looking for other 
reporting options.   

-- 
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/af2510a7-7ead-4a46-8b32-889ccb2e05ffn%40googlegroups.com.