Is it possible to use the eQ-3 MAX! thermostat with a CUL868 usb wireless stick or does the plugin support only the eQ-3 MAX! Cube?
Did you find out? I would like to use the same config. For now I run a separate instance of FHEM to connect my Max radiator valves using a CUL 868, and communicate between FHEM and HASS using MQTT…
Hi, I also use the Max Cube but I want to make a CUL with FHEM for now. Can you show me your config how to handle it?
In FHEM define:
- CUL (for your CUL device)
- CUL_MAX (for the bridge between CUL and MAX devices)
- HeatingThermostat (for each TRV)
- MQTT (I use mosquito MQTT on same RPi)
- MQTT_BRIDGE (for each TRV)
In HASS :
Define MQTT: (configuration.yaml)
mqtt:
broker: 127.0.0.1
port: 1883
client_id: Pi
keepalive: 60
and in sensors.yaml: (one of mine examples for 1 TRV named MAX_Gang)
## MQTT MAX_Gang
- platform: mqtt
state_topic: "FHEM/MAX/MAX_Gang/valveposition"
name: "MAX_Gang valveposition"
unit_of_measurement: "%"
- platform: mqtt
state_topic: "FHEM/MAX/MAX_Gang/temperature"
name: "MAX_Gang temperature"
unit_of_measurement: "°C"
- platform: mqtt
state_topic: "FHEM/MAX/MAX_Gang/desiredTemperature"
name: "Max_Gang desiredTemperature"
unit_of_measurement: "°C"
- platform: mqtt
state_topic: "FHEM/MAX/MAX_Gang/mode"
name: "MAX_Gang mode"
- platform: mqtt
state_topic: "FHEM/MAX/MAX_Gang/battery"
name: "MAX_Gang battery"
The whole configuration consists of several parts which can be tested apart: for example
- configure a CUL in FHEM and get it working in FHEM
- configure MQTT and get it working in FHEM / HASS
Good luck, and feel free to ask questions!
Wow! Thanks you very much mate! I’ll try it as soon as possible. Maybe a stupid question but is it also possible to change a valve temperature via Hass to FHEM to Max thermostat?
Yeah it is. You can control FHEM by commandline, and add a shell command in HASS like this:
Configuration.yaml:
shell_command:
fhem_max_gang_eco: perl /opt/fhem/fhem.pl 7072 "set MAX_Gang desiredTemperature eco
fhem_max_gang_auto: perl /opt/fhem/fhem.pl 7072 "set MAX_Gang desiredTemperature auto
fhem_max_gang_comfort: perl /opt/fhem/fhem.pl 7072 "set MAX_Gang desiredTemperature comfort
Also temperature values are possible.
Now the commands are usable in automations.
Forgot to mention in the previous post that you will have to pair the TRV and the CM device in FHEM, but please read the FHEM docs for that.