¿ªÔÆÌåÓý

Re: Weewx to Direwolf


 

I suggest you have weewx generate a wxnow.txt file, then have Direwolf send it as a comment in a position beacon, as stated in section 9.9.1 of the users guide.

Patrick (N3TSZ)


On Monday, September 27, 2021, 10:23:15 AM EDT, Travis Bully <tbully@...> wrote:


Do you have logging cranked up on Weewx?? To me it's sounding like Weewx may not be getting data from the station and I'm wondering what Weewx's logs?are saying.??

There are fixes out there for cwxn.py because of 0's for rain information.? But not ALL 0's.?

?I've attached my running copy of cwxn.py (found in /user/share/weewx/user/) in case it helps you.

On Mon, Sep 27, 2021 at 10:11 AM J K via <kuhnje=[email protected]> wrote:
Shoot, I spoke too soon.? CWXN isn¡¯t working reliable.? I think it just might not be processing the data correctly.

Thinking ¡ª since I¡¯m uploading to both Wunderground and MyAcurite anyway ¡ª instead of getting the data from weewx, anyone know of a script that can be used to pull the data from Wunderground (or MyAcurite) and proceeds it into a DireWolf packet file?

The shared directory between the Weewx RPi and DireWolf RPi is working fine, it¡¯s just that CWXN isn¡¯t reliably processing the data into a file for DireWolf to send.? It will save a good file, but then about 20 seconds later, the file gets overwritten with all the values set to 0, then might save a good file again that¡¯ll only be there for about 20 seconds until it gets overwritten by a new one with all 0¡¯s fir values, when DireWolf goes to send the WX PBEACON, only if a good file exists will it go out.? This is making my charts look like a zigsaw.?

Instead, trying to find something that will pull the data from WU (or MyAcurite) since it exists there in good form.? They both use API¡¯s, so I¡¯d imagine there likely is something that exists to do this.? I don¡¯t know Python, PERL, Bash, etc, scripting well enough to just write something so hoping something already does.

Thanks!


11 Max Pro

On Sep 26, 2021, at 2:02 PM, J K via <kuhnje=[email protected]> wrote:

?You are awesome.? I have it fully running now and sending WX packets by RF.

Thanks again!
-Jerry?

11 Max Pro

On Sep 26, 2021, at 1:54 PM, Travis Bully <tbully@...> wrote:

?
Great to hear!? Mine has been running like this for about a year.? Fairly solid setup.?

Enjoy.?


On Sun, Sep 26, 2021 at 13:48 J K via <kuhnje=[email protected]> wrote:
Perfect!

Runs fine!? ?Going up do same thing and make one of the directories on RPi running DireWolf a samba share for it yo output to and then get Dire to send it out by RF.

Thanks a lot!? This is exactly what I was going for and perfect!

(Apologies for typos.? Dumb iPhone acting up.)

-Jerry

11 Max Pro

> On Sep 26, 2021, at 1:46 PM, J K via <kuhnje=[email protected]> wrote:
>
> Protect!
>
> Runs fine!? ?Going up do same thing and make one of the directories on RPi running DireWolf a samba share for it yo output to and then get Dire to send it out by RF.
>
> Thanks a lot!? This is exactly what I was going for and perfect!
>
> -Jerry






Join [email protected] to automatically receive all group messages.