Gary - I'm lost now.  Was my change not correct?? - or do you also have to 
add the field into the rec as well as the loop 

Jens - what do you see in LOOP and REC data if you run weewx directly from 
command line, rather than as a daemon?




On Sunday, 6 May 2018 12:08:48 UTC+3, Jens-Jørgen Kjærgaard wrote:
>
> Did that - ufortunately, my lake temperature (extraTemp1) now shows up as 
> N/A ?
>
> Jens-Jørgen Kjærgaard
> Tuenvej 818
> 9870 Sindal
> +45 21204417
> www.jensjk.dk
>
> 2018-05-06 9:29 GMT+02:00 Andrew Milner <[email protected] 
> <javascript:>>:
>
>> In pond.py
>>
>> change 
>> self.bind(weewx.NEW_ARCHIVE_RECORD, self.read_file)
>> to
>> self.bind(weewx.NEW_LOOP_PACKET, self.read_file)
>>
>> and
>>
>> event.record['extraTemp1'] = float(value)
>> to
>> event.packet['extraTemp1'] = float(value)
>>
>> which will insert the pond temp into every loop packet and thence to the 
>> record when generated
>>
>>
>>
>>
>>
>> On Sunday, 6 May 2018 10:19:17 UTC+3, Jens-Jørgen Kjærgaard wrote:
>>>
>>> These hasn't been modified by me, though:
>>>
>>> Jens-Jørgen Kjærgaard
>>> Tuenvej 818 
>>> <https://maps.google.com/?q=Tuenvej+818+9870+Sindal&entry=gmail&source=g>
>>> 9870 Sindal 
>>> <https://maps.google.com/?q=Tuenvej+818+9870+Sindal&entry=gmail&source=g>
>>> +45 21204417
>>> www.jensjk.dk
>>>
>>> 2018-05-06 8:50 GMT+02:00 Andrew Milner <[email protected]>:
>>>
>>>> yes I did indeed!! sorry - user/pond.py we need to see
>>>>
>>>>
>>>>
>>>> On Sunday, 6 May 2018 09:48:57 UTC+3, gjr80 wrote:
>>>>>
>>>>> I think you mean user/pond.py, PondService should be a class in 
>>>>> user/pond.py.
>>>>>
>>>>> Gary
>>>>>
>>>> -- 
>>>> You received this message because you are subscribed to a topic in the 
>>>> Google Groups "weewx-user" group.
>>>> To unsubscribe from this topic, visit 
>>>> https://groups.google.com/d/topic/weewx-user/YVAkCwsY2S0/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to 
>>>> [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/weewx-user/YVAkCwsY2S0/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to