I’m using the /swd/rest/stations?token=… endpoint and I see this in the station payload:
[state] => 0 [last_modified_epoch] => 1747590348
From the example what does state = 0 mean?
Does it indicate that the station is inactive, not publishing data, or that the device is powered off?
Also, what exactly does last_modified_epoch represent?
Is it the last time the station metadata was updated, or the last time the station published observations?
I can’t answer the first question, but my hunch was that ‘1747590348‘ is a date/time format. So I used our friendly LLM ChatGPT and it responded with*.
absolutely wild guess - state 0 might mean ‘ok’ to the query and last_modified_epoch might be the seconds since the unix time epoch when the last change to the station config was made.
On Linux you can convert via:
$ date -d @1747590348
Sun May 18 10:45:48 AM PDT 2025
Can you post (attach) the full output with your token XXXXX’d out of course ?
I ran their example at Tempest API and do not see that in the output nor in the example at the top nor the model of their api there.