Skip to content

arska/controlmyspa-porssari

Repository files navigation

Controlmyspa Pörssäri.fi

This project uses https://porssari.fi for time- and price-based temperature control of Balboa ControlMySpa based Whirlpools.

Usage

Clone this git repo or pull the docker image:

docker run -p 8080:8080 ghcr.io/arska/controlmyspa-porssari

Configuration

Configure using environment variables, for local development you can put them into an ".env" file:

TEMP_LOW=10 # temperature to set during "expensive" hours, when porssari says "off"

TEMP_HIGH=37 # temperature to set during "cheap" hours, when porssari says "on"

TEMP_OVERRIDE=0 # override the temperature logic, for example, during vacation

CONTROLMYSPA_USER=[email protected] # your username to log in to https://controlmyspa.com

CONTROLMYSPA_PASS=SuperSecretPassword # your password to log in to https://controlmyspa.com

PORSSARI_MAC=A1B2C3D4E5F6 # MAC address as registered on porssari.fi, for example, the MAC address of your controlmyspa gateway or laptop (needs to be unique on the porssari.fi platform)

On porssari.fi, create a new device as type "PICO W" with the MAC address defined above. The script currently only supports one control channel.

You can then configure the "number of cheapest hours per day" to heat your pool to TEMP_HIGH, then let the pool cool down no lower than TEMP_LOW.

The script provides a web server, by default at http://127.0.0.1:8080/, showing the porssari control instructions and current and set temperatures of the pool.

Please note that if your pool set temperature is something else than TEMP_HIGH or TEMP_LOW when starting the script the porssari control starts 12 hours delayed due to Manual Override detection (see below)!

Manual override

The script detects if somebody manually sets the temperature of the pool to a value that is neither TEMP_HIGH nor TEMP_LOW and disables the pörssäri control for 12 hours. If the application restarts during this time, the 12h start again from the restart time.

I use this feature to manually set the pool temperature to 36.5 (which in my case is neither TEMP_HIGH=37 nor TEMP_LOW=10) through the controlmyspa app and temporarily disable the pörssäri controls for 12h when I plan pool usage e.g. when expecting guests.

Pörssäri controls resume when manually setting the pool temperature to either TEMP_HIGH or TEMP_LOW or automatically when the 12h timeout expires.

References

Based on https://github.com/Porssari/PicoW-client/tree/main/release Uses the controlmyspa python module: https://github.com/arska/controlmyspa

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages