Page 1 of 1
extra sensor data via api
Posted: Tue 14 Mar 2023 8:13 pm
by fcorrao
I currently have my gw1000 configured with a custom diy upload server to export data to homeassistant, but I want to have my cake and eat it too. Since the gw1000 only seems to allow exporting to one server, I can't also export data to Cumulus MX. Is there a way CMX would be able to pull this extra sensor data via the Ecowitt data access api?
Re: extra sensor data via api
Posted: Tue 14 Mar 2023 9:18 pm
by broadstairs
You have choices. CumulusMX can access the GW1000 directly assuming it is on the same local Lan which is probably the easiest way. If you have a Linux box you could run FOSHKplugin which allows the GW1000 to send custom server data to it and it forwards on to however many places you want to send data.
If it's all local I'd run CumulusMX locally and get it to use the local API (IP connection) and keep Home Assistant getting the custom server data.
Stuart
Re: extra sensor data via api
Posted: Tue 14 Mar 2023 9:34 pm
by Nossie
I came across that myself as ideally I wanted to pipe the information into my home assistant / influxdb setup and cumulus mx.
Not sure the complexity of your HA setup, however my solution was using Cumulus built in MQTT exporter, which from memory gave me more measurements I could use than if I'd used the HACS ecowitt app.
As Stuart said though, lots of options.
Re: extra sensor data via api
Posted: Sun 02 Apr 2023 5:04 am
by fcorrao
Thanks to you both for your responses. It took me some time to get a vm spun up to run the foshk plugin on. I did manage to get it working, sending to both cmx and ha but it's only in the last few days that I completely understood my options. The Ecowitt Local API station type is using API calls to pull the data directly from the gw1000 on the local lan. This frees up the gw1000's customized server option to allow for pushing to home assistant. This means there isn't really a need for foshk for my current use case, and I still get the data in both places. I think I'll shutdown my vm and keep it simple for now. Thanks again.