Re: [weewx-user] Re: Error with weewx-SteelSeries skin

2024-01-30 Thread Remy Lavabre
Hello Gary,

As promised, news! And good ones!!! :-))
My internet connection having (finally...) returned, the SteelSeasons skin 
works now perfectly. The problem actually came from this deleted 
"rxCheckPercent" field! :-(
Thank you for the troubleshooting because I would have spent a long time on 
the problem...
Thanks again Gary

Le jeudi 25 janvier 2024 à 15:25:38 UTC+1, Remy LAVABRE a écrit :

> hello gary,
> Many thanks for your help and my apologies for the late response as my 
> internet connection is currently cut...
> I would never have thought of looking for this missing field!
> I added this field in percent format and the steelseries skin no longer 
> seems to pose a problem! I say apparently because in the absence of a 
> connection for probably another week, I cannot send or retrieve data on 
> Awekas...
> As soon as the situation returns to normal, I will confirm!
> but in the absence of an error (my driver still gives me the raspberry 
> data in the packetsloop), it seems good! ;-)
>
> thank you very much once again
>
>
> Le mer. 24 janv. 2024, 12:16, gjr80  a écrit :
>
>> Your problem is that you have deleted the column rxCheckPercent from 
>> your database. I'm guessing your driver does not include the field in the 
>> packets/records it emits so when the template attempts to process 
>> rxCheckPercent it fails (rxCheckPercent cannot be found in the current 
>> archive record of the database archive table). You have a few options:
>>
>> 1. put the column back with --add-columns, I suspect this is the easiest 
>> solution
>> 2. have your driver emit the field rxCheckPercent 
>> 3. modify the template 
>>
>> I would suggest you just add the missing column back in. 
>>
>> Gary
>>
>> On Tuesday 23 January 2024 at 18:30:10 UTC+10 remy.l...@gmail.com wrote:
>>
>>> If it helps you, I'll leave you a link to my database. weewx.sdb -> 
>>> https://transfert.free.fr/FgCL7wI
>>>
>>> But once again, I don't think I have deleted any "basic" fields (inTemp, 
>>> Barometer, outTemp etc...) for weewx.
>>>
>>> The SteelSeries skin tells me it hasn't been updated in 178 days, so it 
>>> appears to be from July 29, 2023 (a timestamp >= 1690581600).
>>> And around this date, I didn't notice anything particular in my 
>>> database... :-(
>>>
>>> Le lundi 22 janvier 2024 à 15:23:25 UTC+1, Remy Lavabre a écrit :
>>>
 Hello Gary,

 I've put what you asked for below.

 The problem is systematic (this is an advantage in some way...)

 I think you are right about the problem of a field in the database... 
 But which one?
 SteelSeries was working perfectly BEFORE I added/deleted the data base. 
 I didn't notice the problem immediately since I mainly use the Seasons 
 skin. But there is a good chance that the problem is linked to the 
 modification of the structure of the base.
 Unfortunately, I can't find ! :-(


 LOOP:   2024-01-22 15:09:07 CET (1705932547) 'altimeter': 'None', 
 'appTemp': '41.684', 'barometer': '30.359780148749998', 'charge1': '25.5', 
 'charge5': '19.5', 'charge15': '10.5', 'cloudbase': '3419.1984298366388', 
 'cpu_io': '0', 'cpu_irq': '0', 'cpu_softirq': '0', 'cpu_system': '0', 
 'cpu_user': '0', 'dateTime': '1705932547', 'dewpoint': '37.94', 
 'disk_total': '20425850880', 'disk_used': '10535763968', 
 'electricityLinky': '0', 'ET': 'None', 'extraHumid1': '66', 'extraHumid2': 
 '92', 'extraHumid3': 'None', 'extraHumid4': '61', 'extraTemp1': 
 '50.1080004', 'extraTemp2': '52.7', 'extraTemp3': 'None', 
 'extraTemp4': '66.506', 'extraTemp6': 'None', 'heatindex': '43.228', 
 'humidex': '45.5', 'inDewpoint': '51.726318793965625', 'inHumidity': '54', 
 'inTemp': '69.080001', 'inTempDaikin': '68.0', 'kWhPAC': '0.0', 
 'maxSolarRad': '255.46907895483838', 'mem_total': '8286392320', 
 'mem_used': 
 '1683726336', 'outHumidity': '74', 'outTemp': '45.5', 'outTempDaikin': 
 '44.6', 'pressure': 'None', 'radiation': '48', 'rain': '0.0', 'rainRate': 
 '0.0', 'thermostatDaikin': '68.0', 'usUnits': '1', 'UV': '0', 
 'waterSensus': '0.0', 'waterTempDaikin': '80.6', 'wetbulbTemp': '41.684', 
 'windchill': '45.5', 'windDir': 'None', 'windGust': '0.0', 'windGustDir': 
 'None', 'windrun': 'None', 'windSpeed': '0.0'

 LOOP:   2024-01-22 15:10:07 CET (1705932607) 'altimeter': 'None', 
 'appTemp': '41.99', 'barometer': '30.359780148749998', 'charge1': '42.0', 
 'charge5': '27.5', 'charge15': '14.0', 'cloudbase': '3342.900026403866', 
 'cpu_io': '1', 'cpu_irq': '0', 'cpu_softirq': '0', 'cpu_system': '27', 
 'cpu_user': '28', 'dateTime': '1705932607', 'dewpoint': '38.3', 
 'disk_total': '20425850880', 'disk_used': '10592305152', 
 'electricityLinky': '12', 'ET': 'None', 'extraHumid1': '66', 
 'extraHumid2': 
 '92', 'extraHumid3': 'None', 'extraHumid4': '61', 'extraTemp1': '50.0', 
 'extraTemp2': '52.7', 'extraTemp3': 'None', 

Re: [weewx-user] Re: Error with weewx-SteelSeries skin

2024-01-25 Thread Remy LAVABRE
hello gary,
Many thanks for your help and my apologies for the late response as my
internet connection is currently cut...
I would never have thought of looking for this missing field!
I added this field in percent format and the steelseries skin no longer
seems to pose a problem! I say apparently because in the absence of a
connection for probably another week, I cannot send or retrieve data on
Awekas...
As soon as the situation returns to normal, I will confirm!
but in the absence of an error (my driver still gives me the raspberry data
in the packetsloop), it seems good! ;-)

thank you very much once again


Le mer. 24 janv. 2024, 12:16, gjr80  a écrit :

> Your problem is that you have deleted the column rxCheckPercent from your
> database. I'm guessing your driver does not include the field in the
> packets/records it emits so when the template attempts to process
> rxCheckPercent it fails (rxCheckPercent cannot be found in the current
> archive record of the database archive table). You have a few options:
>
> 1. put the column back with --add-columns, I suspect this is the easiest
> solution
> 2. have your driver emit the field rxCheckPercent
> 3. modify the template
>
> I would suggest you just add the missing column back in.
>
> Gary
>
> On Tuesday 23 January 2024 at 18:30:10 UTC+10 remy.l...@gmail.com wrote:
>
>> If it helps you, I'll leave you a link to my database. weewx.sdb ->
>> https://transfert.free.fr/FgCL7wI
>>
>> But once again, I don't think I have deleted any "basic" fields (inTemp,
>> Barometer, outTemp etc...) for weewx.
>>
>> The SteelSeries skin tells me it hasn't been updated in 178 days, so it
>> appears to be from July 29, 2023 (a timestamp >= 1690581600).
>> And around this date, I didn't notice anything particular in my
>> database... :-(
>>
>> Le lundi 22 janvier 2024 à 15:23:25 UTC+1, Remy Lavabre a écrit :
>>
>>> Hello Gary,
>>>
>>> I've put what you asked for below.
>>>
>>> The problem is systematic (this is an advantage in some way...)
>>>
>>> I think you are right about the problem of a field in the database...
>>> But which one?
>>> SteelSeries was working perfectly BEFORE I added/deleted the data base.
>>> I didn't notice the problem immediately since I mainly use the Seasons
>>> skin. But there is a good chance that the problem is linked to the
>>> modification of the structure of the base.
>>> Unfortunately, I can't find ! :-(
>>>
>>>
>>> LOOP:   2024-01-22 15:09:07 CET (1705932547) 'altimeter': 'None',
>>> 'appTemp': '41.684', 'barometer': '30.359780148749998', 'charge1': '25.5',
>>> 'charge5': '19.5', 'charge15': '10.5', 'cloudbase': '3419.1984298366388',
>>> 'cpu_io': '0', 'cpu_irq': '0', 'cpu_softirq': '0', 'cpu_system': '0',
>>> 'cpu_user': '0', 'dateTime': '1705932547', 'dewpoint': '37.94',
>>> 'disk_total': '20425850880', 'disk_used': '10535763968',
>>> 'electricityLinky': '0', 'ET': 'None', 'extraHumid1': '66', 'extraHumid2':
>>> '92', 'extraHumid3': 'None', 'extraHumid4': '61', 'extraTemp1':
>>> '50.1080004', 'extraTemp2': '52.7', 'extraTemp3': 'None',
>>> 'extraTemp4': '66.506', 'extraTemp6': 'None', 'heatindex': '43.228',
>>> 'humidex': '45.5', 'inDewpoint': '51.726318793965625', 'inHumidity': '54',
>>> 'inTemp': '69.080001', 'inTempDaikin': '68.0', 'kWhPAC': '0.0',
>>> 'maxSolarRad': '255.46907895483838', 'mem_total': '8286392320', 'mem_used':
>>> '1683726336', 'outHumidity': '74', 'outTemp': '45.5', 'outTempDaikin':
>>> '44.6', 'pressure': 'None', 'radiation': '48', 'rain': '0.0', 'rainRate':
>>> '0.0', 'thermostatDaikin': '68.0', 'usUnits': '1', 'UV': '0',
>>> 'waterSensus': '0.0', 'waterTempDaikin': '80.6', 'wetbulbTemp': '41.684',
>>> 'windchill': '45.5', 'windDir': 'None', 'windGust': '0.0', 'windGustDir':
>>> 'None', 'windrun': 'None', 'windSpeed': '0.0'
>>>
>>> LOOP:   2024-01-22 15:10:07 CET (1705932607) 'altimeter': 'None',
>>> 'appTemp': '41.99', 'barometer': '30.359780148749998', 'charge1': '42.0',
>>> 'charge5': '27.5', 'charge15': '14.0', 'cloudbase': '3342.900026403866',
>>> 'cpu_io': '1', 'cpu_irq': '0', 'cpu_softirq': '0', 'cpu_system': '27',
>>> 'cpu_user': '28', 'dateTime': '1705932607', 'dewpoint': '38.3',
>>> 'disk_total': '20425850880', 'disk_used': '10592305152',
>>> 'electricityLinky': '12', 'ET': 'None', 'extraHumid1': '66', 'extraHumid2':
>>> '92', 'extraHumid3': 'None', 'extraHumid4': '61', 'extraTemp1': '50.0',
>>> 'extraTemp2': '52.7', 'extraTemp3': 'None', 'extraTemp4': '66.506',
>>> 'extraTemp6': 'None', 'heatindex': '43.4730006', 'humidex':
>>> '45.68', 'inDewpoint': '51.55950246316422', 'inHumidity': '54', 'inTemp':
>>> '68.9', 'inTempDaikin': '68.0', 'kWhPAC': '0.827', 'maxSolarRad':
>>> '253.53718615434911', 'mem_total': '8286392320', 'mem_used': '1643642880',
>>> 'outHumidity': '75', 'outTemp': '45.68', 'outTempDaikin': '44.6',
>>> 'pressure': 'None', 'radiation': '50', 'rain': '0.0', 'rainRate': '0.0',
>>> 'thermostatDaikin': '68.0', 'usUnits': '1', 'UV': '0', 'waterSensus':
>>> '0.0', 

Re: [weewx-user] Re: Error with weewx-SteelSeries skin

2024-01-24 Thread gjr80
Your problem is that you have deleted the column rxCheckPercent from your 
database. I'm guessing your driver does not include the field in the 
packets/records it emits so when the template attempts to process 
rxCheckPercent it fails (rxCheckPercent cannot be found in the current 
archive record of the database archive table). You have a few options:

1. put the column back with --add-columns, I suspect this is the easiest 
solution
2. have your driver emit the field rxCheckPercent 
3. modify the template 

I would suggest you just add the missing column back in. 

Gary

On Tuesday 23 January 2024 at 18:30:10 UTC+10 remy.l...@gmail.com wrote:

> If it helps you, I'll leave you a link to my database. weewx.sdb -> 
> https://transfert.free.fr/FgCL7wI
>
> But once again, I don't think I have deleted any "basic" fields (inTemp, 
> Barometer, outTemp etc...) for weewx.
>
> The SteelSeries skin tells me it hasn't been updated in 178 days, so it 
> appears to be from July 29, 2023 (a timestamp >= 1690581600).
> And around this date, I didn't notice anything particular in my 
> database... :-(
>
> Le lundi 22 janvier 2024 à 15:23:25 UTC+1, Remy Lavabre a écrit :
>
>> Hello Gary,
>>
>> I've put what you asked for below.
>>
>> The problem is systematic (this is an advantage in some way...)
>>
>> I think you are right about the problem of a field in the database... But 
>> which one?
>> SteelSeries was working perfectly BEFORE I added/deleted the data base. I 
>> didn't notice the problem immediately since I mainly use the Seasons skin. 
>> But there is a good chance that the problem is linked to the modification 
>> of the structure of the base.
>> Unfortunately, I can't find ! :-(
>>
>>
>> LOOP:   2024-01-22 15:09:07 CET (1705932547) 'altimeter': 'None', 
>> 'appTemp': '41.684', 'barometer': '30.359780148749998', 'charge1': '25.5', 
>> 'charge5': '19.5', 'charge15': '10.5', 'cloudbase': '3419.1984298366388', 
>> 'cpu_io': '0', 'cpu_irq': '0', 'cpu_softirq': '0', 'cpu_system': '0', 
>> 'cpu_user': '0', 'dateTime': '1705932547', 'dewpoint': '37.94', 
>> 'disk_total': '20425850880', 'disk_used': '10535763968', 
>> 'electricityLinky': '0', 'ET': 'None', 'extraHumid1': '66', 'extraHumid2': 
>> '92', 'extraHumid3': 'None', 'extraHumid4': '61', 'extraTemp1': 
>> '50.1080004', 'extraTemp2': '52.7', 'extraTemp3': 'None', 
>> 'extraTemp4': '66.506', 'extraTemp6': 'None', 'heatindex': '43.228', 
>> 'humidex': '45.5', 'inDewpoint': '51.726318793965625', 'inHumidity': '54', 
>> 'inTemp': '69.080001', 'inTempDaikin': '68.0', 'kWhPAC': '0.0', 
>> 'maxSolarRad': '255.46907895483838', 'mem_total': '8286392320', 'mem_used': 
>> '1683726336', 'outHumidity': '74', 'outTemp': '45.5', 'outTempDaikin': 
>> '44.6', 'pressure': 'None', 'radiation': '48', 'rain': '0.0', 'rainRate': 
>> '0.0', 'thermostatDaikin': '68.0', 'usUnits': '1', 'UV': '0', 
>> 'waterSensus': '0.0', 'waterTempDaikin': '80.6', 'wetbulbTemp': '41.684', 
>> 'windchill': '45.5', 'windDir': 'None', 'windGust': '0.0', 'windGustDir': 
>> 'None', 'windrun': 'None', 'windSpeed': '0.0'
>>
>> LOOP:   2024-01-22 15:10:07 CET (1705932607) 'altimeter': 'None', 
>> 'appTemp': '41.99', 'barometer': '30.359780148749998', 'charge1': '42.0', 
>> 'charge5': '27.5', 'charge15': '14.0', 'cloudbase': '3342.900026403866', 
>> 'cpu_io': '1', 'cpu_irq': '0', 'cpu_softirq': '0', 'cpu_system': '27', 
>> 'cpu_user': '28', 'dateTime': '1705932607', 'dewpoint': '38.3', 
>> 'disk_total': '20425850880', 'disk_used': '10592305152', 
>> 'electricityLinky': '12', 'ET': 'None', 'extraHumid1': '66', 'extraHumid2': 
>> '92', 'extraHumid3': 'None', 'extraHumid4': '61', 'extraTemp1': '50.0', 
>> 'extraTemp2': '52.7', 'extraTemp3': 'None', 'extraTemp4': '66.506', 
>> 'extraTemp6': 'None', 'heatindex': '43.4730006', 'humidex': 
>> '45.68', 'inDewpoint': '51.55950246316422', 'inHumidity': '54', 'inTemp': 
>> '68.9', 'inTempDaikin': '68.0', 'kWhPAC': '0.827', 'maxSolarRad': 
>> '253.53718615434911', 'mem_total': '8286392320', 'mem_used': '1643642880', 
>> 'outHumidity': '75', 'outTemp': '45.68', 'outTempDaikin': '44.6', 
>> 'pressure': 'None', 'radiation': '50', 'rain': '0.0', 'rainRate': '0.0', 
>> 'thermostatDaikin': '68.0', 'usUnits': '1', 'UV': '0', 'waterSensus': 
>> '0.0', 'waterTempDaikin': '80.6', 'wetbulbTemp': '41.99', 'windchill': 
>> '45.68', 'windDir': 'None', 'windGust': '0.0', 'windGustDir': 'None', 
>> 'windrun': 'None', 'windSpeed': '0.0'
>>
>> LOOP:   2024-01-22 15:11:06 CET (1705932666) 'altimeter': 'None', 
>> 'appTemp': '41.99', 'barometer': '30.359780148749998', 'charge1': '39.5', 
>> 'charge5': '30.0', 'charge15': '15.5', 'cloudbase': '3342.900026403866', 
>> 'cpu_io': '0', 'cpu_irq': '0', 'cpu_softirq': '0', 'cpu_system': '2', 
>> 'cpu_user': '4', 'dateTime': '1705932666', 'dewpoint': '38.3', 
>> 'disk_total': '20425850880', 'disk_used': '10592309248', 
>> 'electricityLinky': '13', 'ET': 'None', 'extraHumid1': '66', 'extraHumid2': 
>> '92', 'extraHumid3': 

Re: [weewx-user] Re: Error with weewx-SteelSeries skin

2024-01-23 Thread vince
Attachment contains the differences in your modified schema versus the 
default v5 schema

This is the output of:
   diff schema.v500 schema.remy -u -U 10

Items with --- are from the default v5 schema only
Items with +++ are from remy's modified schema only

-- 
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/4016ed70-e344-4373-bd8c-d00a1c85213fn%40googlegroups.com.
This is the output of:
   diff schema.v500 schema.remy -u -U 10

Items with --- are from the default v5 schema only
Items with +++ are from remy's modified schema only

--- schema.v500 2024-01-23 11:42:21
+++ schema.remy 2024-01-23 11:42:08
@@ -1,114 +1,66 @@
-CREATE TABLE archive (`dateTime` INTEGER NOT NULL UNIQUE PRIMARY KEY, 
`usUnits` INTEGER NOT NULL, `interval` INTEGER NOT NULL, `altimeter` REAL, 
`appTemp` REAL, `appTemp1` REAL, `barometer` REAL, `batteryStatus1` REAL, 
`batteryStatus2` REAL, `batteryStatus3` REAL, `batteryStatus4` REAL, 
`batteryStatus5` REAL, `batteryStatus6` REAL, `batteryStatus7` REAL, 
`batteryStatus8` REAL, `cloudbase` REAL, `co` REAL, `co2` REAL, 
`consBatteryVoltage` REAL, `dewpoint` REAL, `dewpoint1` REAL, `ET` REAL, 
`extraHumid1` REAL, `extraHumid2` REAL, `extraHumid3` REAL, `extraHumid4` REAL, 
`extraHumid5` REAL, `extraHumid6` REAL, `extraHumid7` REAL, `extraHumid8` REAL, 
`extraTemp1` REAL, `extraTemp2` REAL, `extraTemp3` REAL, `extraTemp4` REAL, 
`extraTemp5` REAL, `extraTemp6` REAL, `extraTemp7` REAL, `extraTemp8` REAL, 
`forecast` REAL, `hail` REAL, `hailBatteryStatus` REAL, `hailRate` REAL, 
`heatindex` REAL, `heatindex1` REAL, `heatingTemp` REAL, `heatingVoltage` REAL, 
`humidex` REAL, `humidex1` REAL, `inDewpoint` REAL, `inHumidity` REAL, `inTemp` 
REAL, `inTempBatteryStatus` REAL, `leafTemp1` REAL, `leafTemp2` REAL, 
`leafWet1` REAL, `leafWet2` REAL, `lightning_distance` REAL, 
`lightning_disturber_count` REAL, `lightning_energy` REAL, 
`lightning_noise_count` REAL, `lightning_strike_count` REAL, `luminosity` REAL, 
`maxSolarRad` REAL, `nh3` REAL, `no2` REAL, `noise` REAL, `o3` REAL, 
`outHumidity` REAL, `outTemp` REAL, `outTempBatteryStatus` REAL, `pb` REAL, 
`pm10_0` REAL, `pm1_0` REAL, `pm2_5` REAL, `pressure` REAL, `radiation` REAL, 
`rain` REAL, `rainBatteryStatus` REAL, `rainRate` REAL, `referenceVoltage` 
REAL, `rxCheckPercent` REAL, `signal1` REAL, `signal2` REAL, `signal3` REAL, 
`signal4` REAL, `signal5` REAL, `signal6` REAL, `signal7` REAL, `signal8` REAL, 
`snow` REAL, `snowBatteryStatus` REAL, `snowDepth` REAL, `snowMoisture` REAL, 
`snowRate` REAL, `so2` REAL, `soilMoist1` REAL, `soilMoist2` REAL, `soilMoist3` 
REAL, `soilMoist4` REAL, `soilTemp1` REAL, `soilTemp2` REAL, `soilTemp3` REAL, 
`soilTemp4` REAL, `supplyVoltage` REAL, `txBatteryStatus` REAL, `UV` REAL, 
`uvBatteryStatus` REAL, `windBatteryStatus` REAL, `windchill` REAL, `windDir` 
REAL, `windGust` REAL, `windGustDir` REAL, `windrun` REAL, `windSpeed` REAL);
-CREATE TABLE archive_day_ET (dateTime INTEGER NOT NULL UNIQUE PRIMARY KEY, min 
REAL, mintime INTEGER, max REAL, maxtime INTEGER, sum REAL, count INTEGER, wsum 
REAL, sumtime INTEGER);
+CREATE TABLE IF NOT EXISTS "archive_day_electricityLinky" (dateTime INTEGER 
NOT NULL UNIQUE PRIMARY KEY, min REAL, mintime INTEGER, max REAL, maxtime 
INTEGER, sum REAL, count INTEGER, wsum REAL, sumtime INTEGER);
+CREATE TABLE IF NOT EXISTS "archive_day_waterSensus" (dateTime INTEGER NOT 
NULL UNIQUE PRIMARY KEY, min REAL, mintime INTEGER, max REAL, maxtime INTEGER, 
sum REAL, count INTEGER, wsum REAL, sumtime INTEGER);
+CREATE TABLE IF NOT EXISTS "archive_day_wetbulbTemp" (dateTime INTEGER NOT 
NULL UNIQUE PRIMARY KEY, min REAL, mintime INTEGER, max REAL, maxtime INTEGER, 
sum REAL, count INTEGER, wsum REAL, sumtime INTEGER);
+CREATE TABLE archive (`dateTime` INTEGER NOT NULL UNIQUE PRIMARY KEY, 
`usUnits` INTEGER NOT NULL, `interval` INTEGER NOT NULL, `altimeter` REAL, 
`appTemp` REAL, `barometer` REAL, `cloudbase` REAL, `dewpoint` REAL, 
`extraHumid1` REAL, `extraHumid2` REAL, `extraHumid3` REAL, `extraHumid4` REAL, 
`extraHumid5` REAL, `extraHumid6` REAL, `extraHumid7` REAL, `extraHumid8` REAL, 
`extraTemp1` REAL, `extraTemp2` REAL, `extraTemp3` REAL, `extraTemp4` REAL, 
`extraTemp5` REAL, `extraTemp6` REAL, `extraTemp7` REAL, `extraTemp8` REAL, 
`heatindex` REAL, `wetbulbTemp` REAL, `humidex` REAL, `inDewpoint` REAL, 
`inHumidity` REAL, `inTemp` REAL, `outHumidity` REAL, `outTemp` REAL, 
`pressure` REAL, `radiation` REAL, `rain` REAL, `rainRate` REAL, `soilMoist1` 
REAL, `soilMoist2` REAL, `soilMoist3` REAL, `soilMoist4` REAL, `UV` REAL, 
`electricityLinky` REAL, `waterSensus` REAL, `windchill` REAL, `windDir` REAL, 
`windGust` REAL, `windGustDir` REAL, `windrun` REAL, `windSpeed` REAL, 
`charge1` REAL, `charge5` REAL, 

Re: [weewx-user] Re: Error with weewx-SteelSeries skin

2024-01-23 Thread vince
“I deleted fields which were useless to me and added others...However I do 
not think I deleted "basic" fields…”

The number of users who delete fields from the default db and break their 
systems is very high. Just do not do that. Use the default database and 
never delete fields. It does not save any space really anyway. Only ‘add’ 
fields or do a custom db if you need a small special schema you develop.

On Tuesday, January 23, 2024 at 12:30:10 AM UTC-8 Remy Lavabre wrote:

> If it helps you, I'll leave you a link to my database. weewx.sdb -> 
> https://transfert.free.fr/FgCL7wI
>
> But once again, I don't think I have deleted any "basic" fields (inTemp, 
> Barometer, outTemp etc...) for weewx.
>
> The SteelSeries skin tells me it hasn't been updated in 178 days, so it 
> appears to be from July 29, 2023 (a timestamp >= 1690581600).
> And around this date, I didn't notice anything particular in my 
> database... :-(
>
> Le lundi 22 janvier 2024 à 15:23:25 UTC+1, Remy Lavabre a écrit :
>
>> Hello Gary,
>>
>> I've put what you asked for below.
>>
>> The problem is systematic (this is an advantage in some way...)
>>
>> I think you are right about the problem of a field in the database... But 
>> which one?
>> SteelSeries was working perfectly BEFORE I added/deleted the data base. I 
>> didn't notice the problem immediately since I mainly use the Seasons skin. 
>> But there is a good chance that the problem is linked to the modification 
>> of the structure of the base.
>> Unfortunately, I can't find ! :-(
>>
>>
>> LOOP:   2024-01-22 15:09:07 CET (1705932547) 'altimeter': 'None', 
>> 'appTemp': '41.684', 'barometer': '30.359780148749998', 'charge1': '25.5', 
>> 'charge5': '19.5', 'charge15': '10.5', 'cloudbase': '3419.1984298366388', 
>> 'cpu_io': '0', 'cpu_irq': '0', 'cpu_softirq': '0', 'cpu_system': '0', 
>> 'cpu_user': '0', 'dateTime': '1705932547', 'dewpoint': '37.94', 
>> 'disk_total': '20425850880', 'disk_used': '10535763968', 
>> 'electricityLinky': '0', 'ET': 'None', 'extraHumid1': '66', 'extraHumid2': 
>> '92', 'extraHumid3': 'None', 'extraHumid4': '61', 'extraTemp1': 
>> '50.1080004', 'extraTemp2': '52.7', 'extraTemp3': 'None', 
>> 'extraTemp4': '66.506', 'extraTemp6': 'None', 'heatindex': '43.228', 
>> 'humidex': '45.5', 'inDewpoint': '51.726318793965625', 'inHumidity': '54', 
>> 'inTemp': '69.080001', 'inTempDaikin': '68.0', 'kWhPAC': '0.0', 
>> 'maxSolarRad': '255.46907895483838', 'mem_total': '8286392320', 'mem_used': 
>> '1683726336', 'outHumidity': '74', 'outTemp': '45.5', 'outTempDaikin': 
>> '44.6', 'pressure': 'None', 'radiation': '48', 'rain': '0.0', 'rainRate': 
>> '0.0', 'thermostatDaikin': '68.0', 'usUnits': '1', 'UV': '0', 
>> 'waterSensus': '0.0', 'waterTempDaikin': '80.6', 'wetbulbTemp': '41.684', 
>> 'windchill': '45.5', 'windDir': 'None', 'windGust': '0.0', 'windGustDir': 
>> 'None', 'windrun': 'None', 'windSpeed': '0.0'
>>
>> LOOP:   2024-01-22 15:10:07 CET (1705932607) 'altimeter': 'None', 
>> 'appTemp': '41.99', 'barometer': '30.359780148749998', 'charge1': '42.0', 
>> 'charge5': '27.5', 'charge15': '14.0', 'cloudbase': '3342.900026403866', 
>> 'cpu_io': '1', 'cpu_irq': '0', 'cpu_softirq': '0', 'cpu_system': '27', 
>> 'cpu_user': '28', 'dateTime': '1705932607', 'dewpoint': '38.3', 
>> 'disk_total': '20425850880', 'disk_used': '10592305152', 
>> 'electricityLinky': '12', 'ET': 'None', 'extraHumid1': '66', 'extraHumid2': 
>> '92', 'extraHumid3': 'None', 'extraHumid4': '61', 'extraTemp1': '50.0', 
>> 'extraTemp2': '52.7', 'extraTemp3': 'None', 'extraTemp4': '66.506', 
>> 'extraTemp6': 'None', 'heatindex': '43.4730006', 'humidex': 
>> '45.68', 'inDewpoint': '51.55950246316422', 'inHumidity': '54', 'inTemp': 
>> '68.9', 'inTempDaikin': '68.0', 'kWhPAC': '0.827', 'maxSolarRad': 
>> '253.53718615434911', 'mem_total': '8286392320', 'mem_used': '1643642880', 
>> 'outHumidity': '75', 'outTemp': '45.68', 'outTempDaikin': '44.6', 
>> 'pressure': 'None', 'radiation': '50', 'rain': '0.0', 'rainRate': '0.0', 
>> 'thermostatDaikin': '68.0', 'usUnits': '1', 'UV': '0', 'waterSensus': 
>> '0.0', 'waterTempDaikin': '80.6', 'wetbulbTemp': '41.99', 'windchill': 
>> '45.68', 'windDir': 'None', 'windGust': '0.0', 'windGustDir': 'None', 
>> 'windrun': 'None', 'windSpeed': '0.0'
>>
>> LOOP:   2024-01-22 15:11:06 CET (1705932666) 'altimeter': 'None', 
>> 'appTemp': '41.99', 'barometer': '30.359780148749998', 'charge1': '39.5', 
>> 'charge5': '30.0', 'charge15': '15.5', 'cloudbase': '3342.900026403866', 
>> 'cpu_io': '0', 'cpu_irq': '0', 'cpu_softirq': '0', 'cpu_system': '2', 
>> 'cpu_user': '4', 'dateTime': '1705932666', 'dewpoint': '38.3', 
>> 'disk_total': '20425850880', 'disk_used': '10592309248', 
>> 'electricityLinky': '13', 'ET': 'None', 'extraHumid1': '66', 'extraHumid2': 
>> '92', 'extraHumid3': 'None', 'extraHumid4': '61', 'extraTemp1': '50.0', 
>> 'extraTemp2': '52.7', 'extraTemp3': 'None', 'extraTemp4': '66.506', 
>> 'extraTemp6': 'None', 'heatindex': 

Re: [weewx-user] Re: Error with weewx-SteelSeries skin

2024-01-23 Thread Remy Lavabre
If it helps you, I'll leave you a link to my database. weewx.sdb 
-> https://transfert.free.fr/FgCL7wI

But once again, I don't think I have deleted any "basic" fields (inTemp, 
Barometer, outTemp etc...) for weewx.

The SteelSeries skin tells me it hasn't been updated in 178 days, so it 
appears to be from July 29, 2023 (a timestamp >= 1690581600).
And around this date, I didn't notice anything particular in my database... 
:-(

Le lundi 22 janvier 2024 à 15:23:25 UTC+1, Remy Lavabre a écrit :

> Hello Gary,
>
> I've put what you asked for below.
>
> The problem is systematic (this is an advantage in some way...)
>
> I think you are right about the problem of a field in the database... But 
> which one?
> SteelSeries was working perfectly BEFORE I added/deleted the data base. I 
> didn't notice the problem immediately since I mainly use the Seasons skin. 
> But there is a good chance that the problem is linked to the modification 
> of the structure of the base.
> Unfortunately, I can't find ! :-(
>
>
> LOOP:   2024-01-22 15:09:07 CET (1705932547) 'altimeter': 'None', 
> 'appTemp': '41.684', 'barometer': '30.359780148749998', 'charge1': '25.5', 
> 'charge5': '19.5', 'charge15': '10.5', 'cloudbase': '3419.1984298366388', 
> 'cpu_io': '0', 'cpu_irq': '0', 'cpu_softirq': '0', 'cpu_system': '0', 
> 'cpu_user': '0', 'dateTime': '1705932547', 'dewpoint': '37.94', 
> 'disk_total': '20425850880', 'disk_used': '10535763968', 
> 'electricityLinky': '0', 'ET': 'None', 'extraHumid1': '66', 'extraHumid2': 
> '92', 'extraHumid3': 'None', 'extraHumid4': '61', 'extraTemp1': 
> '50.1080004', 'extraTemp2': '52.7', 'extraTemp3': 'None', 
> 'extraTemp4': '66.506', 'extraTemp6': 'None', 'heatindex': '43.228', 
> 'humidex': '45.5', 'inDewpoint': '51.726318793965625', 'inHumidity': '54', 
> 'inTemp': '69.080001', 'inTempDaikin': '68.0', 'kWhPAC': '0.0', 
> 'maxSolarRad': '255.46907895483838', 'mem_total': '8286392320', 'mem_used': 
> '1683726336', 'outHumidity': '74', 'outTemp': '45.5', 'outTempDaikin': 
> '44.6', 'pressure': 'None', 'radiation': '48', 'rain': '0.0', 'rainRate': 
> '0.0', 'thermostatDaikin': '68.0', 'usUnits': '1', 'UV': '0', 
> 'waterSensus': '0.0', 'waterTempDaikin': '80.6', 'wetbulbTemp': '41.684', 
> 'windchill': '45.5', 'windDir': 'None', 'windGust': '0.0', 'windGustDir': 
> 'None', 'windrun': 'None', 'windSpeed': '0.0'
>
> LOOP:   2024-01-22 15:10:07 CET (1705932607) 'altimeter': 'None', 
> 'appTemp': '41.99', 'barometer': '30.359780148749998', 'charge1': '42.0', 
> 'charge5': '27.5', 'charge15': '14.0', 'cloudbase': '3342.900026403866', 
> 'cpu_io': '1', 'cpu_irq': '0', 'cpu_softirq': '0', 'cpu_system': '27', 
> 'cpu_user': '28', 'dateTime': '1705932607', 'dewpoint': '38.3', 
> 'disk_total': '20425850880', 'disk_used': '10592305152', 
> 'electricityLinky': '12', 'ET': 'None', 'extraHumid1': '66', 'extraHumid2': 
> '92', 'extraHumid3': 'None', 'extraHumid4': '61', 'extraTemp1': '50.0', 
> 'extraTemp2': '52.7', 'extraTemp3': 'None', 'extraTemp4': '66.506', 
> 'extraTemp6': 'None', 'heatindex': '43.4730006', 'humidex': 
> '45.68', 'inDewpoint': '51.55950246316422', 'inHumidity': '54', 'inTemp': 
> '68.9', 'inTempDaikin': '68.0', 'kWhPAC': '0.827', 'maxSolarRad': 
> '253.53718615434911', 'mem_total': '8286392320', 'mem_used': '1643642880', 
> 'outHumidity': '75', 'outTemp': '45.68', 'outTempDaikin': '44.6', 
> 'pressure': 'None', 'radiation': '50', 'rain': '0.0', 'rainRate': '0.0', 
> 'thermostatDaikin': '68.0', 'usUnits': '1', 'UV': '0', 'waterSensus': 
> '0.0', 'waterTempDaikin': '80.6', 'wetbulbTemp': '41.99', 'windchill': 
> '45.68', 'windDir': 'None', 'windGust': '0.0', 'windGustDir': 'None', 
> 'windrun': 'None', 'windSpeed': '0.0'
>
> LOOP:   2024-01-22 15:11:06 CET (1705932666) 'altimeter': 'None', 
> 'appTemp': '41.99', 'barometer': '30.359780148749998', 'charge1': '39.5', 
> 'charge5': '30.0', 'charge15': '15.5', 'cloudbase': '3342.900026403866', 
> 'cpu_io': '0', 'cpu_irq': '0', 'cpu_softirq': '0', 'cpu_system': '2', 
> 'cpu_user': '4', 'dateTime': '1705932666', 'dewpoint': '38.3', 
> 'disk_total': '20425850880', 'disk_used': '10592309248', 
> 'electricityLinky': '13', 'ET': 'None', 'extraHumid1': '66', 'extraHumid2': 
> '92', 'extraHumid3': 'None', 'extraHumid4': '61', 'extraTemp1': '50.0', 
> 'extraTemp2': '52.7', 'extraTemp3': 'None', 'extraTemp4': '66.506', 
> 'extraTemp6': 'None', 'heatindex': '43.4730006', 'humidex': 
> '45.68', 'inDewpoint': '51.55950246316422', 'inHumidity': '54', 'inTemp': 
> '68.9', 'inTempDaikin': '68.0', 'kWhPAC': '0.807', 'maxSolarRad': 
> '251.62699567181605', 'mem_total': '8286392320', 'mem_used': '1660600320', 
> 'outHumidity': '75', 'outTemp': '45.68', 'outTempDaikin': '44.6', 
> 'pressure': 'None', 'radiation': '56', 'rain': '0.0', 'rainRate': '0.0', 
> 'thermostatDaikin': '68.0', 'usUnits': '1', 'UV': '0', 'waterSensus': 
> '0.0', 'waterTempDaikin': '80.6', 'wetbulbTemp': '41.99', 'windchill': 
> '45.68', 'windDir': 'None', 

Re: [weewx-user] Re: Error with weewx-SteelSeries skin

2024-01-22 Thread Remy Lavabre
Hello Gary,

I've put what you asked for below.

The problem is systematic (this is an advantage in some way...)

I think you are right about the problem of a field in the database... But 
which one?
SteelSeries was working perfectly BEFORE I added/deleted the data base. I 
didn't notice the problem immediately since I mainly use the Seasons skin. 
But there is a good chance that the problem is linked to the modification 
of the structure of the base.
Unfortunately, I can't find ! :-(


LOOP:   2024-01-22 15:09:07 CET (1705932547) 'altimeter': 'None', 
'appTemp': '41.684', 'barometer': '30.359780148749998', 'charge1': '25.5', 
'charge5': '19.5', 'charge15': '10.5', 'cloudbase': '3419.1984298366388', 
'cpu_io': '0', 'cpu_irq': '0', 'cpu_softirq': '0', 'cpu_system': '0', 
'cpu_user': '0', 'dateTime': '1705932547', 'dewpoint': '37.94', 
'disk_total': '20425850880', 'disk_used': '10535763968', 
'electricityLinky': '0', 'ET': 'None', 'extraHumid1': '66', 'extraHumid2': 
'92', 'extraHumid3': 'None', 'extraHumid4': '61', 'extraTemp1': 
'50.1080004', 'extraTemp2': '52.7', 'extraTemp3': 'None', 
'extraTemp4': '66.506', 'extraTemp6': 'None', 'heatindex': '43.228', 
'humidex': '45.5', 'inDewpoint': '51.726318793965625', 'inHumidity': '54', 
'inTemp': '69.080001', 'inTempDaikin': '68.0', 'kWhPAC': '0.0', 
'maxSolarRad': '255.46907895483838', 'mem_total': '8286392320', 'mem_used': 
'1683726336', 'outHumidity': '74', 'outTemp': '45.5', 'outTempDaikin': 
'44.6', 'pressure': 'None', 'radiation': '48', 'rain': '0.0', 'rainRate': 
'0.0', 'thermostatDaikin': '68.0', 'usUnits': '1', 'UV': '0', 
'waterSensus': '0.0', 'waterTempDaikin': '80.6', 'wetbulbTemp': '41.684', 
'windchill': '45.5', 'windDir': 'None', 'windGust': '0.0', 'windGustDir': 
'None', 'windrun': 'None', 'windSpeed': '0.0'

LOOP:   2024-01-22 15:10:07 CET (1705932607) 'altimeter': 'None', 
'appTemp': '41.99', 'barometer': '30.359780148749998', 'charge1': '42.0', 
'charge5': '27.5', 'charge15': '14.0', 'cloudbase': '3342.900026403866', 
'cpu_io': '1', 'cpu_irq': '0', 'cpu_softirq': '0', 'cpu_system': '27', 
'cpu_user': '28', 'dateTime': '1705932607', 'dewpoint': '38.3', 
'disk_total': '20425850880', 'disk_used': '10592305152', 
'electricityLinky': '12', 'ET': 'None', 'extraHumid1': '66', 'extraHumid2': 
'92', 'extraHumid3': 'None', 'extraHumid4': '61', 'extraTemp1': '50.0', 
'extraTemp2': '52.7', 'extraTemp3': 'None', 'extraTemp4': '66.506', 
'extraTemp6': 'None', 'heatindex': '43.4730006', 'humidex': 
'45.68', 'inDewpoint': '51.55950246316422', 'inHumidity': '54', 'inTemp': 
'68.9', 'inTempDaikin': '68.0', 'kWhPAC': '0.827', 'maxSolarRad': 
'253.53718615434911', 'mem_total': '8286392320', 'mem_used': '1643642880', 
'outHumidity': '75', 'outTemp': '45.68', 'outTempDaikin': '44.6', 
'pressure': 'None', 'radiation': '50', 'rain': '0.0', 'rainRate': '0.0', 
'thermostatDaikin': '68.0', 'usUnits': '1', 'UV': '0', 'waterSensus': 
'0.0', 'waterTempDaikin': '80.6', 'wetbulbTemp': '41.99', 'windchill': 
'45.68', 'windDir': 'None', 'windGust': '0.0', 'windGustDir': 'None', 
'windrun': 'None', 'windSpeed': '0.0'

LOOP:   2024-01-22 15:11:06 CET (1705932666) 'altimeter': 'None', 
'appTemp': '41.99', 'barometer': '30.359780148749998', 'charge1': '39.5', 
'charge5': '30.0', 'charge15': '15.5', 'cloudbase': '3342.900026403866', 
'cpu_io': '0', 'cpu_irq': '0', 'cpu_softirq': '0', 'cpu_system': '2', 
'cpu_user': '4', 'dateTime': '1705932666', 'dewpoint': '38.3', 
'disk_total': '20425850880', 'disk_used': '10592309248', 
'electricityLinky': '13', 'ET': 'None', 'extraHumid1': '66', 'extraHumid2': 
'92', 'extraHumid3': 'None', 'extraHumid4': '61', 'extraTemp1': '50.0', 
'extraTemp2': '52.7', 'extraTemp3': 'None', 'extraTemp4': '66.506', 
'extraTemp6': 'None', 'heatindex': '43.4730006', 'humidex': 
'45.68', 'inDewpoint': '51.55950246316422', 'inHumidity': '54', 'inTemp': 
'68.9', 'inTempDaikin': '68.0', 'kWhPAC': '0.807', 'maxSolarRad': 
'251.62699567181605', 'mem_total': '8286392320', 'mem_used': '1660600320', 
'outHumidity': '75', 'outTemp': '45.68', 'outTempDaikin': '44.6', 
'pressure': 'None', 'radiation': '56', 'rain': '0.0', 'rainRate': '0.0', 
'thermostatDaikin': '68.0', 'usUnits': '1', 'UV': '0', 'waterSensus': 
'0.0', 'waterTempDaikin': '80.6', 'wetbulbTemp': '41.99', 'windchill': 
'45.68', 'windDir': 'None', 'windGust': '0.0', 'windGustDir': 'None', 
'windrun': 'None', 'windSpeed': '0.0'


*REC:*2024-01-22 15:10:00 CET (1705932600) 'altimeter': 'None', 
'appTemp': '41.684', 'barometer': '30.359780148749998', 'charge1': '25.5', 
'charge5': '19.5', 'charge15': '10.5', 'cloudbase': '3419.1984298366388', 
'cpu_io': '0.0', 'cpu_irq': '0.0', 'cpu_softirq': '0.0', 'cpu_system': 
'0.0', 'cpu_user': '0.0', 'dateTime': '1705932600', 'dewpoint': '37.94', 
'disk_total': '20425850880.0', 'disk_used': '10535763968.0', 
'electricityLinky': '0.0', 'ET': 'None', 'extraHumid1': '66.0', 
'extraHumid2': '92.0', 'extraHumid3': 'None', 'extraHumid4': '61.0', 

Re: [weewx-user] Re: Error with weewx-SteelSeries skin

2024-01-22 Thread gjr80
You have a heavily customised install. Do you get the error with the 
gauge-data template every report cycle? It would be useful to see the 
archive record used by WeeWX when the gauge-data template error occurs. If 
it is every report cycle then just run WeeWX directl 
y and post a 
copy of an archive record (line starting with REC:) as it appears on the 
console. If the error occurs occasionally you still need to run WeeWX 
directly, but you need to capture an archive record that results in the 
gauge-data template error.

Gary

On Sunday 21 January 2024 at 18:55:42 UTC+10 remy.l...@gmail.com wrote:

> Hello Gary and thank you for your response.
>
> I have put all the fields in my database below :
>
> [image: WX1.png]
>
> [image: WX2.png]
>
> [image: WX3.png]
>
> [image: WX4.png]
>
> Indeed the error perhaps comes from this side because I deleted fields 
> which were useless to me and added others...*However I do not think I 
> deleted "basic" fields such as those which are used in the skin...?*
>
> As for the WeeWX driver, this is also a driver that I created myself since 
> it directly retrieves the data from AWEKAS after my Bresser 7in1 weather 
> station sent it to their site (no USB output unfortunately) .
> But I don't think this driver is to blame since all the data entered into 
> the database is consistent!
> For information: -> https://meteomillau.go.yo.fr/index.html
>
> Concerning the configuration of Weewx, nothing more classic it seems to 
> me...:
>
>  [[SteelSeries]]
>  skin = ss
>  enable = False
>  HTML_ROOT = /var/www/html/weewx/ss
>  [[[Units]]]
>  Groups
>  group_altitude = meter
>  group_pressure = hPa
>  group_rain = mm
>  group_rainRate = mm_per_hour
>  group_speed = km_per_hour
>  group_temperature = degree_C
>  StringFormats
>  degree_C = %.1f
>  degree_F = %.1f
>  degree_compass = %.0f
>  foot = %.0f
>  hPa = %.1f
>  inHg = %.3f
>  inch = %.2f
>  inch_per_hour = %.2f
>  km = %.1f
>  km_per_hour = %.0f
>  knot = %.0f
>  mbar = %.1f
>  meter = %.0f
>  meter_per_second = %.1f
>  mile = %.1f
>  mile_per_hour = %.0f
>  mm = %.1f
>  mmHg = %.1f
>  mm_per_hour = %.1f
>  percent = %.0f
>  uv_index = %.1f
>  watt_per_meter_squared = %.0f
>
> Le dimanche 21 janvier 2024 à 05:52:36 UTC+1, gjr80 a écrit :
>
>> The error message is very non-specific (as Cheetah errors often are), 
>> though the error is likely caused by a required field being None or 
>> non-existent. When asking for log extract I was not looking for errors in 
>> the log, but rather looking for details of your setup including station 
>> type, driver and WeeWX configuration that would hopefully give a clue as to 
>> the field causing the problem. Without any further information there is 
>> little else I can add.
>>
>> Gary
>> On Saturday 20 January 2024 at 20:30:04 UTC+10 remy.l...@gmail.com wrote:
>>
>>> Thank-you...
>>> Sorry but in the syslog, there is only that...
>>> And systematically same error at each packetsloop !
>>> if the option is disabled in weewx.conf obviously no problem. :-(
>>>
>>> Jan 16 13:56:19 localhost wee_reports[62658] INFO user.alarm_multi: 
>>> Alarm set for expression 18: "extraTemp3 is not None and extraTemp3 >= 80.6"
>>> Jan 16 13:56:19 localhost wee_reports[62658] INFO user.healthchecks: 
>>> healthchecks: Using url 
>>> https://hc-ping.com/---Spw/weewx-record
>>> Jan 16 13:56:20 localhost wee_reports[62658] INFO user.historygenerator: 
>>> historygenerator.py: Generated 6 tables in 0.42 seconds
>>> Jan 16 13:56:32 localhost wee_reports[62658] INFO 
>>> weewx.cheetahgenerator: Generated 13 files for report SeasonsReport2 in 
>>> 12.56 seconds
>>> Jan 16 13:56:35 localhost wee_reports[62658] INFO weewx.imagegenerator: 
>>> Generated 28 images for report SeasonsReport2 in 2.95 seconds
>>> Jan 16 13:56:35 localhost wee_reports[62658] INFO weewx.reportengine: 
>>> Copied 5 files to /var/www/html/weewx
>>> Jan 16 13:56:35 localhost wee_reports[62658] INFO weewx.reportengine: 
>>> Copied 6 files to /var/www/html/weewx/ss
>>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>>> weewx.cheetahgenerator: Evaluation of template 
>>> /etc/weewx/skins/ss/gauge-data.txt.tmpl failed with exception '>> 'TypeError'>'
>>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>>> weewx.cheetahgenerator:  Ignoring template 
>>> /etc/weewx/skins/ss/gauge-data.txt.tmpl
>>> Jan 16 13:56:36 localhost 

Re: [weewx-user] Re: Error with weewx-SteelSeries skin

2024-01-21 Thread Remy Lavabre
Hello Gary and thank you for your response.

I have put all the fields in my database below :

[image: WX1.png]

[image: WX2.png]

[image: WX3.png]

[image: WX4.png]

Indeed the error perhaps comes from this side because I deleted fields 
which were useless to me and added others...*However I do not think I 
deleted "basic" fields such as those which are used in the skin...?*

As for the WeeWX driver, this is also a driver that I created myself since 
it directly retrieves the data from AWEKAS after my Bresser 7in1 weather 
station sent it to their site (no USB output unfortunately) .
But I don't think this driver is to blame since all the data entered into 
the database is consistent!
For information: -> https://meteomillau.go.yo.fr/index.html

Concerning the configuration of Weewx, nothing more classic it seems to 
me...:

 [[SteelSeries]]
 skin = ss
 enable = False
 HTML_ROOT = /var/www/html/weewx/ss
 [[[Units]]]
 Groups
 group_altitude = meter
 group_pressure = hPa
 group_rain = mm
 group_rainRate = mm_per_hour
 group_speed = km_per_hour
 group_temperature = degree_C
 StringFormats
 degree_C = %.1f
 degree_F = %.1f
 degree_compass = %.0f
 foot = %.0f
 hPa = %.1f
 inHg = %.3f
 inch = %.2f
 inch_per_hour = %.2f
 km = %.1f
 km_per_hour = %.0f
 knot = %.0f
 mbar = %.1f
 meter = %.0f
 meter_per_second = %.1f
 mile = %.1f
 mile_per_hour = %.0f
 mm = %.1f
 mmHg = %.1f
 mm_per_hour = %.1f
 percent = %.0f
 uv_index = %.1f
 watt_per_meter_squared = %.0f

Le dimanche 21 janvier 2024 à 05:52:36 UTC+1, gjr80 a écrit :

> The error message is very non-specific (as Cheetah errors often are), 
> though the error is likely caused by a required field being None or 
> non-existent. When asking for log extract I was not looking for errors in 
> the log, but rather looking for details of your setup including station 
> type, driver and WeeWX configuration that would hopefully give a clue as to 
> the field causing the problem. Without any further information there is 
> little else I can add.
>
> Gary
> On Saturday 20 January 2024 at 20:30:04 UTC+10 remy.l...@gmail.com wrote:
>
>> Thank-you...
>> Sorry but in the syslog, there is only that...
>> And systematically same error at each packetsloop !
>> if the option is disabled in weewx.conf obviously no problem. :-(
>>
>> Jan 16 13:56:19 localhost wee_reports[62658] INFO user.alarm_multi: Alarm 
>> set for expression 18: "extraTemp3 is not None and extraTemp3 >= 80.6"
>> Jan 16 13:56:19 localhost wee_reports[62658] INFO user.healthchecks: 
>> healthchecks: Using url 
>> https://hc-ping.com/---Spw/weewx-record
>> Jan 16 13:56:20 localhost wee_reports[62658] INFO user.historygenerator: 
>> historygenerator.py: Generated 6 tables in 0.42 seconds
>> Jan 16 13:56:32 localhost wee_reports[62658] INFO weewx.cheetahgenerator: 
>> Generated 13 files for report SeasonsReport2 in 12.56 seconds
>> Jan 16 13:56:35 localhost wee_reports[62658] INFO weewx.imagegenerator: 
>> Generated 28 images for report SeasonsReport2 in 2.95 seconds
>> Jan 16 13:56:35 localhost wee_reports[62658] INFO weewx.reportengine: 
>> Copied 5 files to /var/www/html/weewx
>> Jan 16 13:56:35 localhost wee_reports[62658] INFO weewx.reportengine: 
>> Copied 6 files to /var/www/html/weewx/ss
>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>> weewx.cheetahgenerator: Evaluation of template 
>> /etc/weewx/skins/ss/gauge-data.txt.tmpl failed with exception '> 'TypeError'>'
>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>> weewx.cheetahgenerator:  Ignoring template 
>> /etc/weewx/skins/ss/gauge-data.txt.tmpl
>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>> weewx.cheetahgenerator:  Reason: 'UnknownType' object is not 
>> subscriptable
>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>> weewx.cheetahgenerator:   Traceback (most recent call last):
>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>> weewx.cheetahgenerator: File 
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>> weewx.cheetahgenerator:   unicode_string = 
>> compiled_template.respond()
>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>> weewx.cheetahgenerator: File 
>> "_etc_weewx_skins_ss_gauge_data_txt_tmpl.py", line 142, in respond
>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>> weewx.cheetahgenerator: File 
>> 

Re: [weewx-user] Re: Error with weewx-SteelSeries skin

2024-01-20 Thread gjr80
The error message is very non-specific (as Cheetah errors often are), 
though the error is likely caused by a required field being None or 
non-existent. When asking for log extract I was not looking for errors in 
the log, but rather looking for details of your setup including station 
type, driver and WeeWX configuration that would hopefully give a clue as to 
the field causing the problem. Without any further information there is 
little else I can add.

Gary
On Saturday 20 January 2024 at 20:30:04 UTC+10 remy.l...@gmail.com wrote:

> Thank-you...
> Sorry but in the syslog, there is only that...
> And systematically same error at each packetsloop !
> if the option is disabled in weewx.conf obviously no problem. :-(
>
> Jan 16 13:56:19 localhost wee_reports[62658] INFO user.alarm_multi: Alarm 
> set for expression 18: "extraTemp3 is not None and extraTemp3 >= 80.6"
> Jan 16 13:56:19 localhost wee_reports[62658] INFO user.healthchecks: 
> healthchecks: Using url 
> https://hc-ping.com/---Spw/weewx-record
> Jan 16 13:56:20 localhost wee_reports[62658] INFO user.historygenerator: 
> historygenerator.py: Generated 6 tables in 0.42 seconds
> Jan 16 13:56:32 localhost wee_reports[62658] INFO weewx.cheetahgenerator: 
> Generated 13 files for report SeasonsReport2 in 12.56 seconds
> Jan 16 13:56:35 localhost wee_reports[62658] INFO weewx.imagegenerator: 
> Generated 28 images for report SeasonsReport2 in 2.95 seconds
> Jan 16 13:56:35 localhost wee_reports[62658] INFO weewx.reportengine: 
> Copied 5 files to /var/www/html/weewx
> Jan 16 13:56:35 localhost wee_reports[62658] INFO weewx.reportengine: 
> Copied 6 files to /var/www/html/weewx/ss
> Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator: 
> Evaluation of template /etc/weewx/skins/ss/gauge-data.txt.tmpl failed with 
> exception ''
> Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator: 
>  Ignoring template /etc/weewx/skins/ss/gauge-data.txt.tmpl
> Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator: 
>  Reason: 'UnknownType' object is not subscriptable
> Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator: 
>   Traceback (most recent call last):
> Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator: 
> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in 
> generate
> Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator: 
>   unicode_string = compiled_template.respond()
> Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator: 
> File "_etc_weewx_skins_ss_gauge_data_txt_tmpl.py", line 142, in 
> respond
> Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator: 
> File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 
> 1446, in getVar
> Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator: 
>   return valueFromSearchList(
> Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator: 
> File "/usr/share/weewx/weewx/units.py", line 1094, in raw
> Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator: 
>   return self.value_t[0]
> Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator: 
>   TypeError: 'UnknownType' object is not subscriptable
> Jan 16 13:56:36 localhost wee_reports[62658] INFO weewx.cheetahgenerator: 
> Generated 1 files for report SteelSeries in 0.76 seconds
> Jan 16 13:56:37 localhost wee_reports[62658] INFO weewx.imagegenerator: 
> Generated 11 images for report SteelSeries in 0.91 seconds
> Jan 16 13:56:40 localhost wee_reports[62658] INFO weewx.cheetahgenerator: 
> Generated 2 files for report wxobs in 3.66 seconds
> Jan 16 13:56:40 localhost wee_reports[62658] INFO weewx.reportengine: 
> Copied 6 files to /var/www/html/weewx/wxobs
> Jan 16 13:56:54 localhost wee_reports[62658] INFO weewx.reportengine: 
> ftpgenerator: Ftp'd 54 files in 13.22 seconds
>
> *Rémy LAVABRE*
>
>
> Le sam. 20 janv. 2024 à 10:51, gjr80  a écrit :
>
>> Impossible to say with such a small log extract. Please refer to the 
>> section How to get a good, useful log 
>> 
>>  
>> on the Help! Posting to weewx user wiki page 
>> 
>> .
>>
>> Gary
>> On Saturday 20 January 2024 at 19:40:47 UTC+10 remy.l...@gmail.com wrote:
>>
>>> -> https://github.com/gjr80/weewx-steelseries
>>> Good morning,
>>>
>>> I don't understand the reason and why of the error that occurs with my 
>>> version 4.10.2 of weewx and the 'SteelSeries' Skin.
>>>
>>> Can anyone help me and tell me what's going on?
>>> THANKS
>>>
>>>
>>>
>>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>>>  Ignoring template 

Re: [weewx-user] Re: Error with weewx-SteelSeries skin

2024-01-20 Thread Remy LAVABRE
Thank-you...
Sorry but in the syslog, there is only that...
And systematically same error at each packetsloop !
if the option is disabled in weewx.conf obviously no problem. :-(

Jan 16 13:56:19 localhost wee_reports[62658] INFO user.alarm_multi: Alarm
set for expression 18: "extraTemp3 is not None and extraTemp3 >= 80.6"
Jan 16 13:56:19 localhost wee_reports[62658] INFO user.healthchecks:
healthchecks: Using url
https://hc-ping.com/---Spw/weewx-record
Jan 16 13:56:20 localhost wee_reports[62658] INFO user.historygenerator:
historygenerator.py: Generated 6 tables in 0.42 seconds
Jan 16 13:56:32 localhost wee_reports[62658] INFO weewx.cheetahgenerator:
Generated 13 files for report SeasonsReport2 in 12.56 seconds
Jan 16 13:56:35 localhost wee_reports[62658] INFO weewx.imagegenerator:
Generated 28 images for report SeasonsReport2 in 2.95 seconds
Jan 16 13:56:35 localhost wee_reports[62658] INFO weewx.reportengine:
Copied 5 files to /var/www/html/weewx
Jan 16 13:56:35 localhost wee_reports[62658] INFO weewx.reportengine:
Copied 6 files to /var/www/html/weewx/ss
Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator:
Evaluation of template /etc/weewx/skins/ss/gauge-data.txt.tmpl failed with
exception ''
Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator:
 Ignoring template /etc/weewx/skins/ss/gauge-data.txt.tmpl
Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator:
 Reason: 'UnknownType' object is not subscriptable
Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator:
  Traceback (most recent call last):
Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator:
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in
generate
Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator:
  unicode_string = compiled_template.respond()
Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator:
File "_etc_weewx_skins_ss_gauge_data_txt_tmpl.py", line 142, in
respond
Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator:
File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line
1446, in getVar
Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator:
  return valueFromSearchList(
Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator:
File "/usr/share/weewx/weewx/units.py", line 1094, in raw
Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator:
  return self.value_t[0]
Jan 16 13:56:36 localhost wee_reports[62658] ERROR weewx.cheetahgenerator:
  TypeError: 'UnknownType' object is not subscriptable
Jan 16 13:56:36 localhost wee_reports[62658] INFO weewx.cheetahgenerator:
Generated 1 files for report SteelSeries in 0.76 seconds
Jan 16 13:56:37 localhost wee_reports[62658] INFO weewx.imagegenerator:
Generated 11 images for report SteelSeries in 0.91 seconds
Jan 16 13:56:40 localhost wee_reports[62658] INFO weewx.cheetahgenerator:
Generated 2 files for report wxobs in 3.66 seconds
Jan 16 13:56:40 localhost wee_reports[62658] INFO weewx.reportengine:
Copied 6 files to /var/www/html/weewx/wxobs
Jan 16 13:56:54 localhost wee_reports[62658] INFO weewx.reportengine:
ftpgenerator: Ftp'd 54 files in 13.22 seconds

*Rémy LAVABRE*


Le sam. 20 janv. 2024 à 10:51, gjr80  a écrit :

> Impossible to say with such a small log extract. Please refer to the
> section How to get a good, useful log
> 
> on the Help! Posting to weewx user wiki page
> 
> .
>
> Gary
> On Saturday 20 January 2024 at 19:40:47 UTC+10 remy.l...@gmail.com wrote:
>
>> -> https://github.com/gjr80/weewx-steelseries
>> Good morning,
>>
>> I don't understand the reason and why of the error that occurs with my
>> version 4.10.2 of weewx and the 'SteelSeries' Skin.
>>
>> Can anyone help me and tell me what's going on?
>> THANKS
>>
>>
>>
>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>> Ignoring template /etc/weewx/skins/ss/gauge-data.txt.tmpl
>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>> Reason: 'UnknownType' object is not subscriptable
>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>>  Traceback (most recent call last):
>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>>File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>>  unicode_string = compiled_template.respond()
>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>>File "_etc_weewx_skins_ss_gauge_data_txt_tmpl.py", line 142, in respond
>> Jan 20 10:31:21 localhost 

[weewx-user] Re: Error with weewx-SteelSeries skin

2024-01-20 Thread gjr80
Impossible to say with such a small log extract. Please refer to the 
section How to get a good, useful log 

 
on the Help! Posting to weewx user wiki page 

.

Gary
On Saturday 20 January 2024 at 19:40:47 UTC+10 remy.l...@gmail.com wrote:

> -> https://github.com/gjr80/weewx-steelseries
> Good morning,
>
> I don't understand the reason and why of the error that occurs with my 
> version 4.10.2 of weewx and the 'SteelSeries' Skin.
>
> Can anyone help me and tell me what's going on?
> THANKS
>
>
>
> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator:  
> Ignoring template /etc/weewx/skins/ss/gauge-data.txt.tmpl
> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator:  
> Reason: 'UnknownType' object is not subscriptable
> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator:  
>  Traceback (most recent call last):
> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator:  
>File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator:  
>  unicode_string = compiled_template.respond()
> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator:  
>File "_etc_weewx_skins_ss_gauge_data_txt_tmpl.py", line 142, in respond
> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator:  
>File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1446, in 
> getVar
> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator:  
>  return valueFromSearchList(
> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator:  
>File "/usr/share/weewx/weewx/units.py", line 1094, in raw
> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator:  
>  return self.value_t[0]
> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator:  
>  TypeError: 'UnknownType' object is not subscriptable
>

-- 
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/18ebb63d-7160-4411-8e3d-3ecab1cf3e86n%40googlegroups.com.