Page 1 of 1
SOLVED: How to enable HTTP for Ecowitt on new release
Posted: Sat 31 Jul 2021 12:50 am
by Ozdw
With the new version just released, the release notes indicate support has been added for Ecowitt to use HTTP to upload data to Cumulus. There are no hints about how to get this working, at least none that I've found. Having tried several things that didn't work, I'm hoping someone else has figured this out.
Any ideas?
dave
Re: How to enable HTTP for Ecowitt on new release
Posted: Sat 31 Jul 2021 3:01 am
by PaulMy
Hi Dave,
A quick way to set up CMX for HTTP upload is to use the Config Wizard for the basic settings, in Station select the source - i.e. HTTP Upload (Ecowitt)
In your WS View App; From Menu, Device List, select your device and it should display your station and sensors
Click on More, select Weather Services, then Next, Next... until the Customized page is displayed
Click on Enable, then on Ecowitt
In the Server IP / Hostname: enter YOUR computer IP where CumulusMX is installed - i.e. mine is 192.3168.0.209
In the Path: enter /station/ecowitt
In the Port: enter the 8998 if you are using the CMX default port, or the port number you assigned at CMX startup
Upload Interval: try 20 Seconds
Save, Finish
You may need to stop and restart CMX
You may need to finish the settings such as Extra Sensors, and also Internet Settings, etc.
That is basically it for CumulusMX to run with the HTTP Upload.
If you have the GW1000 connected you can instead use the GW1000 as the Station type and do the necessary settings. With this you don't need to do any Customized settings in WS View.
Enjoy,
Paul
Re: How to enable HTTP for Ecowitt on new release
Posted: Sat 31 Jul 2021 3:40 am
by Ozdw
Thanks, Paul. It was the path and port that I wasn't able to find. All good now.
After you gave me that info, I actually also found it in the updates.txt file attached to the release announcement post.
dave
Re: SOLVED: How to enable HTTP for Ecowitt on new release
Posted: Sat 28 Aug 2021 3:46 pm
by dazza1223
hi im a bit confust here ive set this up but it creating ExtraLog.txt
28/08/21,16:30,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0,0,0,0,0,0,0,0,0,0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0,0,0,0,0.0,0.0,0,0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0,0,0,0,0,0,0,0,0,0,0,0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0,0,0.0,0.0,0.0,0.0,0.0,0
but in my Cumulus.ini file
[GW1000]
ExtraSensorDataEnabled=0
ExtraSensorUseSolar=1
ExtraSensorUseUv=1
ExtraSensorUseTempHum=1
ExtraSensorUseSoilTemp=1
ExtraSensorUseSoilMoist=1
ExtraSensorUseLeafWet=1
ExtraSensorUseAQI=1
ExtraSensorUseCo2=1
ExtraSensorUseLightning=1
ExtraSensorUseLeak=1
and ive set up in the app as well but all im getting is 0 but i know it only for lighting data but it no temp or hum data from the GW-1000 so this where im bit confused here as i do have a another Cumulus mx for this but i thught i maybe can move it all arose to the main Cumulus MX?
so if im right then that means i can use the gw1000 tage or thist set up to ony send data but can not ues the tags on the main one?
Re: SOLVED: How to enable HTTP for Ecowitt on new release
Posted: Sun 29 Aug 2021 11:43 am
by philpugh
dazza1223:
It would appear that extra sensors aren't enabled ?
ExtraSensorDataEnabled=0
I'm NOT sure about this as my main station is a GW1000 and the 'extra' sensors (lightning etc) are automatically included with the main data.
If you have a non-GW1000 'main station' and you are wanting to gather data from a GW1000 I suspect that this variable will be set when you select the extra sensors from the local CumulusMX dashboard (Settings/Extra Sensor Settings / HTTP...)
Re: SOLVED: How to enable HTTP for Ecowitt on new release
Posted: Sun 29 Aug 2021 11:53 am
by philpugh
The other thing you can try is to log data transfers into the MXdiags file - this will show you if data is being sent from the GW1000 and what it contains.
Re: SOLVED: How to enable HTTP for Ecowitt on new release
Posted: Sun 29 Aug 2021 7:49 pm
by dazza1223
Hi yes I enabled it and still just blank 0
How do I do this to log data transfers into the MXdiags?
Re: SOLVED: How to enable HTTP for Ecowitt on new release
Posted: Mon 30 Aug 2021 5:00 pm
by philpugh
From the dashboard (http:://yourip:8998)
Select Settings then Program Settings
You should then select Logging Options and check the appropriate box as below:-
Setting.png
Wait a minute and check the end of the current MXdiags log file there should be a line like....
2021-08-30 17:59:20.864 ProcessData: Payload = PASSKEY=*****************************************&stationtype=GW1000A_V1.6.8&dateutc=2021-08-30+16:59:20&tempinf=67.8&humidityin=64&baromrelin=30.354&baromabsin=30.189&tempf=61.9&humidity=70&winddir=46&windspeedmph=6.04&windgustmph=6.93&maxdailygust=9.17&solarradiation=37.19&uv=0&rainratein=0.000&eventrainin=0.000&hourlyrainin=0.000&dailyrainin=0.000&weeklyrainin=0.000&monthlyrainin=3.598&yearlyrainin=30.079&totalrainin=30.079&temp1f=72.14&humidity1=55&temp2f=71.78&wh65batt=0&batt1=0&batt2=0&freq=868M&model=GW1000_Pro
or similar!