Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.0.0 (build 4022) - 11 May 2024

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Additions to API data

Please DO NOT use this to publish your entire wish. This Forum is for specific suggestions to enhance the usability of Cumulus MX for all users, NOT your personal requirements. Please check this forum and the rejected forum to make sure you are NOT posting a DUPLICATE suggestion. It will be heavily monitored by Admin and Mark Crossley to determine the feasibility and the difficulty of the suggestion. Those Topics that are deemed inadmissible will moved to the rejected Forum. The remaining Topics will be the Accepted list of future developments, and when our voluntary development group adds it to a build, the build number will be added to the Topic title.
Post Reply
gard72
Posts: 9
Joined: Mon 18 Jan 2016 11:41 pm
Weather Station: Davis VP2
Operating System: Linux cumulusmx 6.1.21-v7+
Location: Indiana USA

Additions to API data

Post 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
User avatar
mcrossley
Posts: 12852
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Additions to API data

Post 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
Post Reply