Craig, I don't know of a driver for the Campbell dataloggers.


I wish there were one, I have a very dependable station (CR3000) that I'd like to interface.  Right now it is filling the native tables, and a Weather Display driver using pakbus is pulling those values from that table and handing them off to Weather Display, so I know 'something' could be made to work.


I am using a Texas Weather Instruments which, with the help of someone who knows Python a lot better than me, helped to get running.  It basically sends a send data command and then a data string gets sent from the TWI, which the driver then parses and loads into a packet and hands off to WeeWx.  I'm assuming that it can be adapted to other devices.

I am trying to learn Python well enough to write or modify a driver and the learning curve for this old FORTRAN and ALGOL guy is steeper than I thought it would be, but I am getting closer. Things like synchronization with an incoming unrequested stream and how packets are formed and sent seem to by my next steps.

I wish I could say that within a few months I'd have a polished working driver, but with many other demands on my free time, progress is slow.

If  you've got a program on your PC that pulls in the live data stream you are perhaps in a much better place to write a routine to emulate that process and then look at how, for instance, the TWI driver forms a packet to hand off to WeeWx.


I'm hoping you could use that little info to plan on how to get a working driver that you might share with the rest of us.  My encouragement to make it work is all I can give you otherwise, but sounds like you are pretty close.

The MQTT recommendation is something you might look at, too.   I know little about that.  I am grateful to those who have furnished so much already.  Dale


On 4/22/2023 8:04 PM, p q wrote:
I don't know the answer to the primary question.

As to recommended protocols, I'd choose MQTT.

On Sat, Apr 22, 2023 at 5:53 PM Craig Young <craig.young...@gmail.com> wrote:

    Is there a driver for the CR300 data logger?  If not, I have a PC
    connected to the data logger, collecting the live data stream
    which I can reformat and send as either RS232 or UDP/IP packets to
    weewx in any format.  Would need a recommendation on which
    protocol to use.  But hopefully, there is already a driver for the
    CR300 or a 'generic' driver.

    Craig
-- 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/03d49dbf-648c-4810-bc60-237abe5ec828n%40googlegroups.com
    
<https://groups.google.com/d/msgid/weewx-user/03d49dbf-648c-4810-bc60-237abe5ec828n%40googlegroups.com?utm_medium=email&utm_source=footer>.



--
Peter Quinn
(415)794-2264
--
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/CAA1SM22-7QQ_GPRJHG1j%2Be5U99aKMzh3-VS0YKGU4Ob2KDSywg%40mail.gmail.com <https://groups.google.com/d/msgid/weewx-user/CAA1SM22-7QQ_GPRJHG1j%2Be5U99aKMzh3-VS0YKGU4Ob2KDSywg%40mail.gmail.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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b13d520f-cdfe-3b02-25ee-4df16592abb6%40gmail.com.

Reply via email to