lux4rd0 / weatherflow-collector

The WeatherFlow Collector is a comprehensive data collection system that gathers weather data from local UDP broadcasts and remote APIs. It seamlessly feeds this data into InfluxDB V2, which can be visualized using a set of pre-configured Grafana dashboards. The application provides real-time current conditions and detailed forecasts.
https://labs.lux4rd0.com/weatherflow-collector/
GNU Affero General Public License v3.0
77 stars 9 forks source link

Error when importing remote data into influxdb #22

Open samfaunt opened 11 months ago

samfaunt commented 11 months ago

When trying to import remote data into influxdb using the collector getting the following error..

{"error":"unable to parse 'weatherflow_rapid_wind,collector_key=xxxxx,collector_type=remote-socket,device_id=xxxxx,elevation=87.xxxxx,source=collector,hub_sn=HB-xxxxx,latitude=-34.xxxxx,longitude=138.xxxxx,public_name=,serial_number=ST-xxxxxx,station_id=,station_name=,timezone= time_epoch=1702215898000,wind_speed=0.51,wind_direction=135 1702215898000000000': missing tag value"}

lux4rd0 commented 11 months ago

Hi @samfaunt - you're missing these details:

public_name=,serial_number=ST-xxxxxx,station_id=,station_name=,timezone=

Did you build out the docker-compose script using the "generate_docker-compose.sh"

That should have pulled in all of the details needed for the script. Since you have things like elevation and hub_sn in there, it seems like you did - I'm just not pulling in the right details. Do you have more than one device on your account? Happy to troubleshoot or make this easier to use!

samfaunt commented 11 months ago

Yep, used your docker-compose script to build the import scripts. I have a second site in my account with a device that is offline, but i also specified the station with the environment variables that are available, but those errors still persist. Let me know how you want to proceed with troubleshooting.

Thanks!

samfaunt commented 10 months ago

bump @lux4rd0

lux4rd0 commented 10 months ago

@samfaunt, could you briefly share an API key with me? I'm rebuilding the entire application, and if I can see how I'm pulling the data with your specific account, I should be able to make a fix pretty quickly. Don't share it online - but perhaps email?? d a v e at p u l p f r e e dot o r g

Thanks!

samfaunt commented 10 months ago

Yep @lux4rd0 will email you shortly.

Cheers Sam