Page 1 of 1

CUMULUS HUB ECOWITT

Posted: Fri 02 Jun 2023 1:18 pm
by AGROCONTROL
That's my first post, so I'm sorry if it's not the adequate part of the forum to publish it

I'm trying to build a weather station network which will have two stations. These stations are located in remote places, and are connected to the Internet by gsm (4G network). One of them is model WS2910, which is connected by a 4g router, and the other will be model WS6006, that is solar powerd and has her own 4g chip to network connecting. Stations will upload data to ecowitt server.

In order to have only a hub (as physical backup and then upload data to windy, wu, ect. ), far away from weather stations location, I'd connect CMX to ecowitt servers by ecowitt API.
scheme.jpeg
Can it be done in this way?
WS2910 is working and upoloading data to ecowitt, I've generated API keys and filled MAC direction properly, but CMX console says: "Failed to discover any Ecowitt devices"
Using browser, I can get real-time data using protocol as described below:
https://doc.ecowitt.net/web/#/apiv3en?page_id=17

On the other hand, WS6006 API protocol uses IMEI code instead of MAC, which is not included in CMX current update.

The structure to get data is the same, using IMEI instead of MAC. ex.:

For WS2910, GW1101, etc.:

Code: Select all

https://api.ecowitt.net/api/v3/device/real_time?application_key=APPLICATION_KEY&api_key=API_KEY&mac=YOUR_MAC_CODE_OF_DEVICE&call_back=all
For WS6006 and 4G built in console:

Code: Select all

https://api.ecowitt.net/api/v3/device/real_time?application_key=APPLICATION_KEY&api_key=API_KEY&imei=IMEI_CODE_OF_DEVICE&call_back=all
Can anyone help me to configure CMX params to work properly?

Thank you in advance,
JAM

Re: CUMULUS HUB ECOWITT

Posted: Wed 07 Jun 2023 7:06 pm
by mcrossley
Currently MX is designed to require a local PWS, it cannot obtain its data from the likes of Ecowitt.net, wunderground, weatherlink.com etc