https://github.com/kgbvax/wolfmqttbridge
WOLF Smartset MQTT Bridge
https://github.com/kgbvax/wolfmqttbridge
hass heating-control home-assistant mqtt-broker wolf wolf-smartset
Last synced: about 2 months ago
JSON representation
WOLF Smartset MQTT Bridge
- Host: GitHub
- URL: https://github.com/kgbvax/wolfmqttbridge
- Owner: kgbvax
- License: gpl-3.0
- Created: 2019-11-20T20:31:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-07T04:36:22.000Z (about 5 years ago)
- Last Synced: 2024-11-14T13:13:23.072Z (over 1 year ago)
- Topics: hass, heating-control, home-assistant, mqtt-broker, wolf, wolf-smartset
- Language: Go
- Size: 117 KB
- Stars: 8
- Watchers: 5
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# wolfmqttbridge [](https://travis-ci.org/kgbvax/wolfmqttbridge)
WOLF Smartset MQTT Bridge (for home-assistant)
It periodically fetches current state information
from https://www.wolf-smartset.com and publishes this to MQTT - in a way that works with https://www.home-assistant.io.
When enabled in Home-Assitant (or you are using HASS.IO the Mosquitto broker add-on) entities are auto-configured using MQTT discovery.
This works with my Wolf CFS20 and a Wolflink Pro, everything else _may_ work or not.
Update rate defaults to 20 seconds (which I hope is acceptable since the Wolf-Smartset web-clients polls data every 10 seconds)
## What works
* Talk to Wolf-Smartset.com portal (re-engineered API, if there is a spec for this I would be interested)
* Emit auto-confguration MQTT messages for home-assistant
## What does not work
* Only one device supported (it takes the first device found in the portal)
* No direct connect to bridge in the local network - I could not find a spec for this interface
* This is currently read-only
# Running
For running this on the command-line try --help-long
To support running in a bare container, most args can be passed in as Environment variables, the following variables are mandatory:
* WOLF_USER - your userid at https://www.wolf-smartset.com
* WOLF_PW - password for your user at https://www.wolf-smartset.com
* BROKER - address of the MQTT Broker to use, if you are running this as container under hass.io and use the Mosquitto broker add-on this is tcp://core-mosquitto:1883
* BROKER_USER - username for the MQTT broker (when using hass.io mosquitto a valid hass.io user works)
* BROKER_PW - password for the MQTT broker ( " " )
To run this as container on hass.io, use e.g. the Portainer add-on and configure a new container:
* Image: kgbvax/wolfmqttbridge:latest
* ENV: Define the variables listed abover
* Network: Add this to the "hassio" network
* Restart Policy: On Failure / 5 (recommended)
* Resources: As you like should work with 64MB and some tiny CPU
## MQTT Topics
* Topics for values are auto-generated like this:
```wolf//state```
The root topic can be overwritten using WOLF_MQTT_ROOT_TOPIC environment or --rootTopic. Value-Name is the value as it appears on the GUI, (with spaces removed). Payload is the raw value (as string)
* Default topic for home-assistant MQTT discovery is ```homeassistant``` (which is HA's default). This can be changed with HA_DISCO_TOPIC or --haDiscoTopic