captain-coredump / weatherflow-udp

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

WeatherflowUDP not loading sensor_map #22

Open foilandwater opened 1 year ago

foilandwater commented 1 year ago

Hi,

I have been fiddling with a problem for a few hours and I finally need to resort to some advice. I am not a coder but I'm familiar with weewx and the weatherflow udp extension as I have it running successfully on a few raspberry pi's. I also have it running on one Mac Mini and this is the one that is confusing me.

Currently, weewx is installed and working. If I put it on 'Simulator' then it works and broadcasts to windguru. If I change to 'WeatherFlowUDP' then nothing happens. From the log it seems to me like the sensor_map is not being loaded, but I've made sure the [[sensor_map]] section is in the weewx.conf - also important to note that I've confirmed that the Mac mini and the base station of the weather station are on the same network and I can also ping successfully. Any suggestions?

Here's the weatherflow section in my weewx.conf https://www.dropbox.com/s/jxa1fxiad0kb4v8/sample_sensor_map.rtf?dl=0

Here's the output from the weewx.log https://www.dropbox.com/s/15xiak0qe05fzl6/sample_weewx_log.rtf?dl=0

captain-coredump commented 1 year ago

Python is extremely picky about indenting in the config file.  The [[sensor_map]] header needs to be indented the same as the lines above.  Hopefully the fix is that easy...

--  Sent from my iEtch-a-Sketch via subspace

From: Sean Jahnig @.> Reply: captain-coredump/weatherflow-udp @.> Date: November 27, 2022 at 5:11:49 AM To: captain-coredump/weatherflow-udp @.> Cc: Subscribed @.> Subject:  [captain-coredump/weatherflow-udp] WeatherflowUDP not loading sensor_map (Issue #22)

Hi,

I have been fiddling with a problem for a few hours and I finally need to resort to some advice. I am not a coder but I'm familiar with weewx and the weatherflow udp extension as I have it running successfully on a few raspberry pi's. I also have it running on one Mac Mini and this is the one that is confusing me.

Currently, weewx is installed and working. If I put it on 'Simulator' then it works and broadcasts to windguru. If I change to 'WeatherFlowUDP' then nothing happens. From the log it seems to me like the sensor_map is not being loaded, but I've made sure the [[sensor_map]] section is in the weewx.conf - also important to notice that I've confirmed that the Mac mini and the base station of the weather station are on the same network and I can also ping successfully. Any suggestions?

Here's the weatherflow section in my weewx.conf https://www.dropbox.com/s/jxa1fxiad0kb4v8/sample_sensor_map.rtf?dl=0

Here's the output from the weewx.log https://www.dropbox.com/s/15xiak0qe05fzl6/sample_weewx_log.rtf?dl=0

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

foilandwater commented 1 year ago

Thank you for the suggestion, that solved it. Really appreciate you taking the time to help me! Also very interesting to learn something new everyday, I will never make that error again.

foilandwater commented 1 year ago

Hi,

A few months ago you helped me to realise that the [[sensor_map]] was not indented correctly and that fixed the problem. Now, somehow I am back at this problem and I'm trying to trouble shoot. Here is the summary:

Please let me know if you have any good ideas?