naofireblade / homebridge-weather-plus

A comprehensive weather plugin for homebridge.
MIT License
311 stars 61 forks source link

Additional API for weewx weather station. #217

Closed CHAMLEX closed 2 years ago

CHAMLEX commented 2 years ago

This is a follow up from #70 of adding weewx support to this plugin. I'm not really sure where to go but need some help finishing this up. I forked this repo edited one of the apis (weather underground) to read the json that weewx is capable to produce. The edited api is here, the changes I made are that the apikey is utilized for the sitename/path and location for the file name so if your website is called weewx the would be the apikey and the location would be the file name (without extension) so for example this should call http://weewx/homebridge.json and scan the json file. I also included a sample of the json file that i formatted that matches homebridge and included a few more fields that weewx can use that match up to the plugin. The JSON sample response is here. If I need to reformat the response that's not difficult just not sure how to get/test the edited api and ideally get it added. Thanks!

CHAMLEX commented 2 years ago

I created a pull request #219 to add this API.

ituri commented 1 year ago

Could you release 3.3.0 so that we can benefit from the newly added weewx support?

naofireblade commented 1 year ago

Fixed in v3.2.7