Page 1 of 1

Additions to API data

Posted: Mon 29 Apr 2024 3:28 pm
by gard72
Hi Mark,

I would like to incorporate the webtags #daylength and #tomorrowdaylength into my dashboard.

I know very little about coding of HTML, but was able to add CurrentSolarMax (which appears in API current data) on my dashboard and it works well. However, DayLength and TomorrowDayLength are not in the API data list.

As I understand, the API tags are baked-in to the core programming. Is there a way I can access and incorporate those two webtags into the dashboard HTML??

Thank You, Jeff

Re: Additions to API data

Posted: Mon 29 Apr 2024 4:41 pm
by mcrossley
You have to make a separate API call to get additional data that isn't sent in the Web Socket or currentdata data.

Code: Select all

http://<ip_address>:8998/api/tags/process.json?daylength&tomorrowdaylength