Maybe I should try a new tact. I have a datalogger which is outputting weather data every 15 seconds and is received on the Raspberry Pi through the USB0 serial port. Using CuteCom here is a sample data record:
<"2023-09-20 12:11:30",13.65,24.91,737,0,0,0,0,1.5,167,1.96,18.1,1.52,101.15,0.745,21.3,0.8,-1.1,-14.1105,0.5613659,323.5677>␍␊
I have written the program on the datalogger to do this so I can change the data format if needed.
What I need to do now is import this into weewx. I assume I need a driver (or extension?) to do this but that is where the problems begin. This is not for the feint of heart. I have written tons of software in other languages for other applications, but all on windows. I have a Raspberry Pi now running and have written a small python program to use the Serial instruction to read the data stream and even post this after formatting to wunderground. So I am not stupid, just a very long learning curve to do a simple thing.
I found the TWI.py driver and it looks simple enough to modify for this application, but given my inexperience with linux and weewx I see lots of problems ahead.
Is there someone on here who could spend a couple of hours or so on Discord or Skype to help me either modify TWI.py or write a new driver for weewx?
Craig