the download from the Ecowitt cloud is not fully based on their public http-API - it rather offers a "canon ball" solution as the author says

for details about the API see https://doc.ecowitt.net/
if you want to develop your own thing or create a more specific solution using the accounts APP and API keys (to be created in the account)

the link provided by @Marlon seems to be a working solution, however it has some caveats you might want to consider
(like other things you might do)

- it downloads data from all devices connected to your user account (if you have only once console, then there's no issue here) => if you have more devices, you will get several CSV files with the device-ID (=MAC address I guess, that's what the device ID is on ecowitt.net) as file name

- you have to consider the resolution and retention times at ecowitt.net
=> you may have to run the script let's say every two months to have a 5 minute resolution of the data on ecowitt.net as CSV as potential backup
see https://www.wxforum.net/index.php?topic=40730.0 chapter 14

- the download will not be complete if you have extra sensors beyond the basic sensors - its "field map" would need to be extended, especially for a WS90 outdoor array and its "piezo data" if you have one and for the battery values (depends on what you store in your weewx database


A more specific method would be using the APP and API keys together with the device ID and providing a starting and ending time stamp (down to a 5 minute slice) - e.g. a (still to be created) weewx extension with an automatic refill from ecowitt.net at restart when needed (i.e. when there was a - wanted or unwanted- interruption of the data logging bigger than the weewx archiving intervall) as already implemented ever since the API was published in the CumulusMX software.

On 01.11.2023 07:29, Tim Tuck wrote:
HI Vince,

I might do that.

But I've posted here since this was script originally announced here so the developer should see this anyway.

Also there are many weewx user who have Ecowitt kit and repopulating the db from the Ecowitt server is something that others may have done, hence my question :)

regards

Tim

On 1/11/23 16:04, vince wrote:
Perhaps you might open a github issue at the repo you mentioned..,,




--
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2360f04c-95ec-40ef-9f37-0158d354c5cb%40gmail.com.

Reply via email to