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
- Host: GitHub
- URL: https://github.com/erickit/smartthings-log-api
- Owner: EricKit
- Created: 2021-12-11T17:08:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-20T14:28:24.000Z (over 4 years ago)
- Last Synced: 2025-01-02T12:13:57.398Z (over 1 year ago)
- Language: TypeScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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