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

Strange issues with sensor_map #26

Open foilandwater opened 1 year ago

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?

Originally posted by @foilandwater in https://github.com/captain-coredump/weatherflow-udp/issues/22#issuecomment-1562872589

tkeffer commented 1 year ago

I don't know anything about this driver, but I do know that ConfigObj, the library that reads the configuration file, does not care about indentation. It only cares the level of nesting as indicated by the number of subsection brackets.

foilandwater commented 1 year ago

Thanks Tom,

If the sensor_map is not even trying to be loaded, could it mean that some other dependency is not working properly? If I remember correctly, an incorrect indentation would still result in weewx loading an empty sensor map at load. I don't even see that in the current log files. I may give up on macOS and put a raspberry pi there just to handle weewx. Much more reliable!