-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Broadcast weather-underground data" needs https #135
Comments
problem is, that https is only working with wifi. |
mqtt sounds like a good option, I thought about doing something like that as well, but didn't find the time yet. Also I was looking into feeding the mqtt data into telegraf, but the format is not what telegraf is expecting, it might make sense to think about the json format in the mqtt message to make it easier to use telgraf to process them. Especially as this would provide a very easy way to write the data into basically all other kinds of databases. |
at the moment, I write the weather-data to the topic GXAircom/DEVID/WD My Server gets the data with a simple python-script an writes it into a mysql-database. With a simple php-script, I'm getting out all data for example wind.mobi |
Yes, the python script version is easy for us, although I think for the common user it might be easier to support telegraf out of the box as it would allow to collect the data and write it to influxdb or any other DB without having to code anything. (The current json format should work with telegraf, but it will need a it of config to parse it properly). I can look into it if its okay for you, or share a telegraf config for the old version... |
The idea behind is, to setup a webpage, where you can configure all things for the ground-station and you have nothing to adjust on the ground-station itself. |
I think uploading to WU could be possible with the http output plugin of telegraf and the json output format. Not tested at all though. Regarding boardcasting WU data: I think one good option would be to use mqtt. Subscribing to some weather station data and boardcasting it would avoid an extra connection, the mqtt connection is open already. Needs some server to feed the data, but as long as its documented well it should not be hard to provide. For those who are not able to run their own mqtt server, I wouldn't mind to run a public service to feed weather data from WU and maybe holfuy and other sources. Just no idea when I find the time to code it... |
With 49ca39d https was disabled for weather underground, which works fine for uploading data - but the broadcast WU data feature needs https as WU sends a 301 redirect to https on the API url.
The text was updated successfully, but these errors were encountered: