captain-coredump / weatherflow-udp

WeatherFlow Personal Weather Station driver for weewx, via UDP broadcast packets
GNU General Public License v3.0
54 stars 19 forks source link

MacOS install almost working #20

Closed foilandwater closed 2 years ago

foilandwater commented 2 years ago

Hi,

Thanks to all the parties involved in making all these amazing pieces of software that helps us interface everything. I am successfully using this WeatherFlowUDP on 2 different Raspberry Pi's with a Tempest weather system. It's working well and it's broadcasting to Windguru, no worries. I am trying to set up a 3rd station using a Mac mini this time and it is 99% of the way there, but not working.

The WeatherFlowUDP extension is installed, I've used udp_address = 0.0.0.0 because the others threw out an error, but now it's ok. When I run the driver directly so that I can grab the packets using (log_raw_packets = True) I'm not seeing the packets. I've tried running the driver directly with sudo python3 ./bin/weewxd weewx.conf and I've also tried running it as a daemon. The packets are neither seen directly as an output, or in the weewx.log file.

If I put the weewx.conf back to 'Simulator' and run the driver manually, then I see the fake packets and it broadcasts to windguru.

I can't get past the sensor map step - would appreciate any suggestions.

Thanks.

foilandwater commented 2 years ago

Just an update. I got this working.. I think the Mac mini and the Tempest base station were on different wifi's, that's why weewx couldn't see the the broadcasts. Also, what I did was using the Tempest app for iOS I found the serial number of the sensor and build the sensor map from that - in other words I bypassed outputting sensor readout in the terminal to find the sensor's unique code.