Releases: shob01/foxess
v0.2.4
FoxEss historical raw cloud data are sometimes not up-to-date. Partly the last few hours have been missing there. It seems that this problem has been fixed for now (as of 19. Nov 2024) by FoxEss. I ran into an issue because of this problem, because I used to use the latest (now - 10 minutes) historical raw data as "realtime" data in another project. In the past this worked perfectly fine (99.9%), but now I changed to use the real "realtime" data instead as a much more reliable source. Therefore I enhanced the corresponding functionality a bit in regards of unified handling of API result data. Furthermore, I did some small enhancements and some error fixing.
- CloudApi->getRealTime() (optionally) enabled to return array in same structure as getRaw() to enable compatibility to ResultDataTable iterator and formatting functionality.
- ResultDataTable->column() returns now value and unit as a sub array. { variable: value } is now { variable: { value: value, unit: unit }}
- Variable->name() is now Variable->varName()
- added Variable->descr()
- enhanced error handling
- fixed error if value is not numeric
Full Changelog: v0.2.3...v0.2.4
Small corrections and enhancements
In the first few minutes of an hour the Api might return
empty RAW data (no "time" and "value" available). This led
to exceptions thrown from ResultDataTable->column() method.
Now the method return an empty array instead, in such case.
first release
v0.1.2 typos