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. 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=allCode: 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=allThank you in advance,
JAM