Custom Dashboard with API SDK and Svelte for Web Developers

I only use two simple values from one device on the GitHub. But this can easily be changed to make a very powerful dashboard for a web developer. Each GitHub has basic instructions. I can add more if anyone has questions.

I wrote a NodeJS project that queries the smartthings API for device values every 5 minutes and stores them to local .json files and serves them.

smartthings-log-api

Then I wrote a SvelteKit website to display the values.

smartthings-dashboard

This should all be familiar for web developers.

It’s currently being hosted my Raspberry Pi 4.