here is a longer log of sql. hope it is not too long.

On Friday, December 2, 2022 at 9:42:47 AM UTC-8 William Garber wrote:

> so sorry here is info
> the stdout and arduino stream/threads both save lines of output (from 
> rtl_433 and from arduino ttyACM0) to the *same queue*.  It seems that 
> they may be skipping some input.  All arduinos only have an input buffer of 
> 64 bytes but we are talking about arduino output not input.  Also if you 
> make the arduino output very frequently like every five seconds, that sort 
> of overwhelms the Atlas and  it skips Atlas inputs (it gets overwhelmed by 
> arduino) but if you make the adruino ouput every 15 seconds the Atlas 
> overwhelms the Arduino instead.  Here is the driver.
> I only did not include the debuginfo since I thought it would be far too 
> *large 
> :-)*
> On Friday, December 2, 2022 at 4:55:39 AM UTC-8 [email protected] wrote:
>
>> You're probably right about the nulls, but you didn't supply a log, nor a 
>> sample plot, so it's hard to make more than an educated guess.
>>
>> Let's check the database. I'm going to assume that the outside 
>> temperature (outTemp) is showing dots. Change as necessary.
>>
>> *sqlite3 /var/lib/weewx/weewx_atlas.sdb*
>> sqlite> *SELECT dateTime, 
>> DATETIME(dateTime,'unixepoch','localtime'),outTemp FROM archive ORDER BY 
>> dateTime DESC LIMIT 20;*
>>
>> This will show the last 20 archive records. See how many nulls are in 
>> there. To take it to the next step, we'll need more information.
>>
>> -tk
>>
>> On Thu, Dec 1, 2022 at 7:26 PM William Garber <[email protected]> wrote:
>>
>>> any help please :-)
>>> I tried making gap_fraction = 0.3 (not 0.03) and increased 
>>> archive_interval = 300. 
>>> *QUESTION: Could it be that I just am getting too  many nulls in the 
>>> database?*
>>>
>>> My weather station is an Acurite Atlas using SDR driver modified for 
>>> indoor temp/humidity/pressure from an arduino.  The weewx server is on a 
>>> raspberry pi hooked up to a usb hub.
>>> The usb hub is connected to the RTL-SDR radio receiver dongle to receive 
>>> the Acurite Atlas packets.  The usb hub is also connected to the arduino.  
>>> The modified SDR driver has three streams, stdin/stdout from the rtl_433 
>>> back-end to RTL-SDR plus ttyACM0 serial over usb connection to the 
>>> arduino.  The SDR driver reads these ports with a class called AsyncInput 
>>> which has one instantiation per stream.  Each AsyncInput runs in a thread.
>>>
>>> *QUESTION It should definitely be drawing lines not points based on the 
>>> weewx.conf attached and the skin.conf attached as far as I can tell.*
>>>
>>> The Acurite Atlas send a sequence of about three incomplete packets to 
>>> make a complete set of data plus the data from the arduino.  
>>> *QUESTION:  how do incomplete packets get combined?*
>>>
>>> -- 
>>> 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].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/3625616c-3efe-4f42-bcf3-4923d8616656n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/3625616c-3efe-4f42-bcf3-4923d8616656n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/62463090-7084-42b3-bce6-032a467f9f49n%40googlegroups.com.
Script started on 2022-12-02 12:35:52-08:00 [TERM="xterm-256color" TTY="/dev/pts/0" COLUMNS="100" LINES="74"]
[?2004hroot@weatherb### sqlite3 weewx_atlas.sdb 
[?2004l
SQLite version 3.34.1 2021-01-20 14:10:07
Enter ".help" for usage hints.
[?2004hsqlite> SELECT dateTime, DATETIME(dateTime,'unixepoch','localtime'),outTemp FROM archive ORDER BY dateTime DESC LIMIT 100;
[?2004l
1670013000|2022-12-02 12:30:00|49.6004
1670012400|2022-12-02 12:20:00|50.3006
1670011800|2022-12-02 12:10:00|
1670011200|2022-12-02 12:00:00|50.5499
1670010600|2022-12-02 11:50:00|50.3006
1670010000|2022-12-02 11:40:00|
1670009400|2022-12-02 11:30:00|
1670008800|2022-12-02 11:20:00|49.55
1670008200|2022-12-02 11:10:00|
1670007600|2022-12-02 11:00:00|48.0002
1670007000|2022-12-02 10:50:00|47.4503
1670006400|2022-12-02 10:40:00|
1670005800|2022-12-02 10:30:00|47.4998
1670005200|2022-12-02 10:20:00|
1670004600|2022-12-02 10:10:00|46.9004
1670004000|2022-12-02 10:00:00|45.3002
1670003400|2022-12-02 09:50:00|44.5001
1670002800|2022-12-02 09:40:00|
1670002200|2022-12-02 09:30:00|42.49985
1670001600|2022-12-02 09:20:00|39.2
1670001000|2022-12-02 09:10:00|37.5008
1670000400|2022-12-02 09:00:00|36.5
1669999800|2022-12-02 08:50:00|33.60056
1669999200|2022-12-02 08:40:00|
1669998600|2022-12-02 08:30:00|32.5328
1669998000|2022-12-02 08:20:00|31.1
1669997400|2022-12-02 08:10:00|29.3
1669996800|2022-12-02 08:00:00|29.1668
1669996200|2022-12-02 07:50:00|28.9004
1669995600|2022-12-02 07:40:00|28.5998
1669995000|2022-12-02 07:30:00|
1669994400|2022-12-02 07:20:00|28.5008
1669993800|2022-12-02 07:10:00|28.4672
1669993200|2022-12-02 07:00:00|
1669992600|2022-12-02 06:50:00|28.7006
1669992000|2022-12-02 06:40:00|
1669991400|2022-12-02 06:30:00|28.7006
1669990800|2022-12-02 06:20:00|28.7501
1669990200|2022-12-02 06:10:00|28.85
1669989600|2022-12-02 06:00:00|28.9994
1669989000|2022-12-02 05:50:00|29.1992
1669988400|2022-12-02 05:40:00|29.1002
1669987800|2022-12-02 05:30:00|
1669987200|2022-12-02 05:20:00|29.8004
1669986600|2022-12-02 05:10:00|
1669986000|2022-12-02 05:00:00|
1669985400|2022-12-02 04:50:00|30.0992
1669984800|2022-12-02 04:40:00|30.0992
1669984200|2022-12-02 04:30:00|
1669983600|2022-12-02 04:20:00|30.5006
1669983000|2022-12-02 04:10:00|30.5006
1669982400|2022-12-02 04:00:00|30.4502
1669981800|2022-12-02 03:50:00|30.4502
1669981200|2022-12-02 03:40:00|30.7004
1669980600|2022-12-02 03:30:00|
1669980000|2022-12-02 03:20:00|
1669979400|2022-12-02 03:10:00|31.1
1669978800|2022-12-02 03:00:00|31.25075
1669978200|2022-12-02 02:50:00|31.55
1669977600|2022-12-02 02:40:00|
1669977000|2022-12-02 02:30:00|
1669976400|2022-12-02 02:20:00|31.8002
1669975800|2022-12-02 02:10:00|31.8992
1669975200|2022-12-02 02:00:00|32.39996
1669974600|2022-12-02 01:50:00|
1669974000|2022-12-02 01:40:00|
1669973400|2022-12-02 01:30:00|
1669972800|2022-12-02 01:20:00|32.5004
1669972200|2022-12-02 01:10:00|33.0008
1669971600|2022-12-02 01:00:00|
1669971000|2022-12-02 00:50:00|33.8
1669970400|2022-12-02 00:40:00|
1669969800|2022-12-02 00:30:00|
1669969200|2022-12-02 00:20:00|
1669968600|2022-12-02 00:10:00|
1669968000|2022-12-02 00:00:00|33.6992
1669967400|2022-12-01 23:50:00|34.1006
1669966800|2022-12-01 23:40:00|33.9008
1669966200|2022-12-01 23:30:00|
1669965600|2022-12-01 23:20:00|33.9998
1669965000|2022-12-01 23:10:00|
1669964400|2022-12-01 23:00:00|34.8332
1669963800|2022-12-01 22:50:00|
1669963200|2022-12-01 22:40:00|35.567
1669962600|2022-12-01 22:30:00|35.7998
1669962000|2022-12-01 22:20:00|36.1004
1669961400|2022-12-01 22:10:00|36.5
1669960800|2022-12-01 22:00:00|37.0004
1669960200|2022-12-01 21:50:00|
1669959600|2022-12-01 21:40:00|38.3
1669959000|2022-12-01 21:30:00|
1669958400|2022-12-01 21:20:00|
1669957800|2022-12-01 21:10:00|38.8004
1669957200|2022-12-01 21:00:00|38.4998
1669956600|2022-12-01 20:50:00|
1669956300|2022-12-01 20:45:00|38.1992
1669956000|2022-12-01 20:40:00|38.3
1669955700|2022-12-01 20:35:00|37.9994
1669955400|2022-12-01 20:30:00|38.1002
1669955100|2022-12-01 20:25:00|
[?2004hsqlite> [?2004l


[?2004hroot@weatherb### [?2004l

exit

Script done on 2022-12-02 12:36:27-08:00 [COMMAND_EXIT_CODE="0"]

Reply via email to