An open API service indexing awesome lists of open source software.

https://github.com/erickit/smartthings-log-api

Uses the smartthings SDK to read a device and write the results to a JSON file
https://github.com/erickit/smartthings-log-api

Last synced: about 1 month ago
JSON representation

Uses the smartthings SDK to read a device and write the results to a JSON file

Awesome Lists containing this project

README

          

# smartthings-log-api

Uses the smartthings SDK to read a device and write the results to a JSON file. Updates every 5 minutes.

Runs on Node 14 LTS

Rename `secrets-example.ts` to `secrets.ts`

`npm install -g ts-node` if you do not have ts-node

run this via `ts-node get-data.ts`

I keep this running with `pm2` on my server.

---

This project provides the data for my dashboard

https://github.com/EricKit/smartthings-dashboard