Skip to content

Example web app using the solarnetwork-control-toggler package to manage and monitor a SolarNode control, using TypeScript.

Notifications You must be signed in to change notification settings

SolarNetwork/solarnetwork-example-ts-control-toggler

Repository files navigation

SolarNetwork Example: TypeScript Control Toggler

This project is a little web app to show the basics of using the SolarNetwork API in a TypeScript project to download large sets of datum stream data using the ControlToggler helper class.

You can see the example in action here:

https://go.solarnetwork.net/dev/example/typescript-control-toggler/

Screenshot of the TypeScript Control Toggler app

Building from source

To build yourself, clone or download this repository. You need to have Node 18+ installed. Then:

# initialize dependencies
npm ci

# run development live server on http://localhost:8080
npm run dev

# build for production
npm run build

Running the build script will generate the application into the dist/ directory.

About

Example web app using the solarnetwork-control-toggler package to manage and monitor a SolarNode control, using TypeScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published