LeskoIam / kronoterm_cloud_relay

REST server for forwarding data from cloud.kronoterm.com to local network
GNU General Public License v3.0
1 stars 0 forks source link
assistant heat heat-pump home home-assistant kronoterm local local-control pump smart smart-home

ruff

Kronoterm cloud relay

Relay server for Kronoterm cloud. It gets data from cloud and exposes it through REST API to local network.

Install and run relay

Docker

On your host system that has Docker installed create docker-compose.yml file with following content.

Update file with your username and password!

services:
kronoterm_cloud_relay:
image: leskoiam/kronoterm_cloud_relay:latest
container_name: kronoterm_cloud_relay
restart: unless-stopped
ports:
- "8555:8555"  # Adjust the port mappings as needed
environment:
# Add your kronoterm cloud username and password
- KRONOTERM_CLOUD_USER=your-user
- KRONOTERM_CLOUD_PASSWORD=your-password

Spin up the image

docker compose up -d

Try it out

Navigate to

http://ip-or-host-address:8555/docs

for list of supported API endpoints

Usage with Home Assistant

Home Assistant has REST integration which can request and post data from relay.

Refer to Home Assistant Readme for details.

Debugging

Tail container logs:

docker logs -f kronoterm_cloud_relay

Shut down container:

docker compose down kronoterm_cloud_relay