weatherflow-collector icon indicating copy to clipboard operation
weatherflow-collector copied to clipboard

Error when importing remote data into influxdb

Open samfaunt opened this issue 1 year ago • 6 comments

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"}

samfaunt avatar Dec 10 '23 13:12 samfaunt

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!

lux4rd0 avatar Dec 11 '23 15:12 lux4rd0

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 avatar Dec 12 '23 08:12 samfaunt

bump @lux4rd0

samfaunt avatar Jan 21 '24 13:01 samfaunt

@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!

lux4rd0 avatar Jan 22 '24 14:01 lux4rd0

Yep @lux4rd0 will email you shortly.

Cheers Sam

samfaunt avatar Jan 24 '24 11:01 samfaunt