This documentation allows you to control SpaNET WiFi controllers which can be found in Vortex/SpaNET spa's. If your spa works with the SpaNET SpaLINK app, this documentation will help you automate and intergrate control of it into your own code.
Some SpaNET plugins and libraries for various programming languages/platforms have been created for ease of use. Below listed are current plugins available. To get your SpaNET plugin created based on this API for a platform not already on this list shown here, please open an issue with the URL to your repository and information to help make it more visible.
- Homebridge: homebridge-spanet
View on Github or NPM - Javascript: spanet
View on Github or NPM - Python: spanet
View on Github or PyPI
This Github repo contains code snippets which can be used in your own programming to demonstrate how to communicate with SpaLINK in different programming languages. Included files are listed below.
- code-request/
- code-demo-request.swift
Demo of making SpaNET API web requests in Apple's Swift programming language (uses CocoaPods dependency manager) - code-demo-request.js
Demo of making SpaNET API web requests in JavaScript (uses NodeJS and package manager NPM) - code-demo-request.py
Demo of making SpaNET API web requests in Python (uses Python package manager PIP) - code-demo-request.go
Demo of making SpaNET API web requests in Go (Golang)
- code-demo-request.swift
- code-websocket/
- code-demo-socket.swift
Demo of connecting to spa web socket in Apple's Swift programming language (uses CocoaPods dependency manager) - code-demo-socket.js
Demo of connecting to spa web socket in JavaScript (uses NodeJS and package manager NPM) - code-demo-socket.py
Demo of connecting to spa web socket in Python (uses Python package manager PIP) - code-demo-socket.go
Demo of connecting to spa web socket in in Go (Golang)
- code-demo-socket.swift
- code-demo/
- code-demo.swift
Full working demo of spa control in Apple's Swift programming language (uses CocoaPods dependency manager) - code-demo.js
Full working demo of spa control in JavaScript (uses NodeJS and package manager NPM) - code-demo.py
Full working demo of spa control in Python (uses Python package manager PIP) - code-demo.go
Full working demo of spa control in Go (Golang)
- code-demo.swift
Thanks to @devbobo's original work and inspiration to make this full API.
Also thanks to @thehoff for contributions and assistance developing this.