QwatD

In this subforum you can show projects you have made, or you are busy with. Please create your own topic.

Moderator: leecollings

Post Reply
RNEE
Posts: 110
Joined: Sunday 05 August 2018 10:13
Target OS: Raspberry Pi / ODroid
Domoticz version: 2026.4
Location: NL/Eindhoven area
Contact:

QwatD

Post by RNEE »

QwatD – no, it’s not a sneeze, nor is it a curse.

I (along with AI) am currently developing a "Quatt sniffer", to be unique : Quatt -> wat -> Domoticz

For the insiders: the Quatt heat pump features an RS485 interface on its CiC (Commander in Chief) unit.

The PUSR-DR164 (USR-DR164) is a compact, industrial-grade serial converter that bridges data from an RS485 port to a dual-band WiFi network (2.4 GHz and 5.8 GHz). Given its price point of €15–€20, the PUSR-DR164 serves as an ideal all-in-one solution for establishing a WiFi connection to the CiC.

Beyond connecting the PUSR-DR164 to the CiC’s RS485 bus and providing a 5-24 volt power supply, no additional hardware setup is required. The PUSR-DR164 acts solely as a passive listener on the bus, ensuring it does not interfere with the CiC’s operation.

Via the RS485 bus, the Quatt unit exposes approximately 36 internal parameters—data that is presumably also transmitted to Quatt HQ—offering insight into how the hardware is performing.

The foundation for this project is derived from: https://github.com/M10tech/Quatt-sniffer (intended for use with HA).
However, my proposed solution does not utilize that specific software, as the PUSR-DR164 comes equipped with all the necessary tools out of the box.

In short, it is a relatively simple solution to implement.
You need Docker or rebuild the python application for your own setup!

What does this solution (currently under development) consist of?
- The hardware configuration of the PUSR-DR164.
- an MQTT broker such as Mosquitto
- a Python application running in a Docker container (requiring an IP address, MQTT credentials, and details of the Quatt setup)
- an `Mqttmapper.json` configuration file, to be loaded into MqttMapper (by FlyingDomotic).

The advantage of using MqttMapper is that it allows you to easily (de)select/change the specific sensors you want. The `Mqttmapper.json` file for one heatpump is attached.

Based on my previous experience with this setup, I currently prefer it over a much more complex Python plug-in designed for Domoticz.

If you are interested, I would welcome any comments, advice, questions or other feedback.

As I have other tasks regarding my home installation to attend to, I plan to postpone the hardware assembly until the weather gets a bit warmer and the heat pump is no longer in very active use.

Code: Select all

{
    "Quatt_HP1_Water_In_Temp": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Water_In_Temp",
        "type": "80",
        "subtype": "5",
        "switchtype": "0",
        "mapping": {
            "item": "temp_water_in",
            "digits": 1
        }
    },
    "Quatt_HP1_Water_Out_Temp": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Water_Out_Temp",
        "type": "80",
        "subtype": "5",
        "switchtype": "0",
        "mapping": {
            "item": "temp_water_out",
            "digits": 1
        }
    },
    "Quatt_HP1_Outside_Temp": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Outside_Temp",
        "type": "80",
        "subtype": "5",
        "switchtype": "0",
        "mapping": {
            "item": "temp_outside",
            "digits": 1
        }
    },
    "Quatt_HP1_Evaporator_Coil_Temp": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Evaporator_Coil_Temp",
        "type": "80",
        "subtype": "5",
        "switchtype": "0",
        "mapping": {
            "item": "temp_evaporator_coil",
            "digits": 1
        }
    },
    "Quatt_HP1_Condenser_Coil_Temp": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Condenser_Coil_Temp",
        "type": "80",
        "subtype": "5",
        "switchtype": "0",
        "mapping": {
            "item": "temp_condenser_coil",
            "digits": 1
        }
    },
    "Quatt_HP1_Gas_Discharge_Temp": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Gas_Discharge_Temp",
        "type": "80",
        "subtype": "5",
        "switchtype": "0",
        "mapping": {
            "item": "temp_gas_discharge",
            "digits": 1
        }
    },
    "Quatt_HP1_Gas_Return_Temp": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Gas_Return_Temp",
        "type": "80",
        "subtype": "5",
        "switchtype": "0",
        "mapping": {
            "item": "temp_gas_return",
            "digits": 1
        }
    },
    "Quatt_HP1_Condensing_Temp": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Condensing_Temp",
        "type": "80",
        "subtype": "5",
        "switchtype": "0",
        "mapping": {
            "item": "temp_condensing",
            "digits": 1
        }
    },
    "Quatt_HP1_Evaporating_Temp": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Evaporating_Temp",
        "type": "80",
        "subtype": "5",
        "switchtype": "0",
        "mapping": {
            "item": "temp_evaporating",
            "digits": 1
        }
    },
    "Quatt_HP1_Pump_Flow": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Pump_Flow",
        "type": "243",
        "subtype": "30",
        "switchtype": "0",
        "mapping": {
            "item": "pump_flow",
            "digits": 1
        }
    },
    "Quatt_HP1_Pump_Power": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Pump_Power",
        "type": "248",
        "subtype": "1",
        "switchtype": "0",
        "mapping": {
            "item": "pump_power",
            "digits": 0
        }
    },
    "Quatt_HP1_Compressor_Freq_Actual": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Compressor_Freq_Actual",
        "type": "243",
        "subtype": "31",
        "switchtype": "0",
        "options": {
            "Custom": "1;Hz"
        },
        "mapping": {
            "item": "compressor_freq_actual",
            "digits": 0
        }
    },
    "Quatt_HP1_Compressor_Freq_Demand": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Compressor_Freq_Demand",
        "type": "243",
        "subtype": "31",
        "switchtype": "0",
        "options": {
            "Custom": "1;Hz"
        },
        "mapping": {
            "item": "compressor_freq_demand",
            "digits": 0
        }
    },
    "Quatt_HP1_Compressor_Current": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Compressor_Current",
        "type": "243",
        "subtype": "23",
        "switchtype": "0",
        "mapping": {
            "item": "ac_current",
            "digits": 1
        }
    },
    "Quatt_HP1_Compressor_Voltage": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Compressor_Voltage",
        "type": "243",
        "subtype": "8",
        "switchtype": "0",
        "mapping": {
            "item": "ac_voltage",
            "digits": 0
        }
    },
    "Quatt_HP1_Fan_Speed_Actual": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Fan_Speed_Actual",
        "type": "243",
        "subtype": "7",
        "switchtype": "0",
        "mapping": {
            "item": "fan_speed_actual",
            "digits": 0
        }
    },
    "Quatt_HP1_EEV_Steps": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-EEV_Steps",
        "type": "243",
        "subtype": "31",
        "switchtype": "0",
        "options": {
            "Custom": "1;stappen"
        },
        "mapping": {
            "item": "eev_steps",
            "digits": 0
        }
    },
    "Quatt_HP1_Evaporator_Pressure": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Evaporator_Pressure",
        "type": "243",
        "subtype": "9",
        "switchtype": "0",
        "mapping": {
            "item": "pressure_evaporator",
            "digits": 1
        }
    },
    "Quatt_HP1_Condenser_Pressure": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Condenser_Pressure",
        "type": "243",
        "subtype": "9",
        "switchtype": "0",
        "mapping": {
            "item": "pressure_condenser",
            "digits": 1
        }
    },
    "Quatt_HP1_Working_Mode_Actual": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Working_Mode_Actual",
        "type": "243",
        "subtype": "31",
        "switchtype": "0",
        "options": {
            "Custom": "1;modus"
        },
        "mapping": {
            "item": "working_mode_actual",
            "digits": 0
        }
    },
    "Quatt_HP1_Working_Mode_Demand": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Working_Mode_Demand",
        "type": "243",
        "subtype": "31",
        "switchtype": "0",
        "options": {
            "Custom": "1;modus"
        },
        "mapping": {
            "item": "working_mode_demand",
            "digits": 0
        }
    },
    "Quatt_HP1_Defrost_Mode": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Defrost_Mode",
        "type": "244",
        "subtype": "73",
        "switchtype": "0",
        "mapping": {
            "item": "defrost_mode"
        },
        "values": {
            "0": "Off",
            "1": "On"
        }
    },
    "Quatt_HP1_Four_Way_Valve": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Four_Way_Valve",
        "type": "244",
        "subtype": "73",
        "switchtype": "0",
        "mapping": {
            "item": "four_way_valve"
        },
        "values": {
            "0": "Off",
            "1": "On"
        }
    },
    "Quatt_HP1_Pump_Relay": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Pump_Relay",
        "type": "244",
        "subtype": "73",
        "switchtype": "0",
        "mapping": {
            "item": "pump_relay"
        },
        "values": {
            "0": "Off",
            "1": "On"
        }
    },
    "Quatt_HP1_Bottom_Heater": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Bottom_Heater",
        "type": "244",
        "subtype": "73",
        "switchtype": "0",
        "mapping": {
            "item": "bottom_heater"
        },
        "values": {
            "0": "Off",
            "1": "On"
        }
    },
    "Quatt_HP1_Crankcase_Heater": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Crankcase_Heater",
        "type": "244",
        "subtype": "73",
        "switchtype": "0",
        "mapping": {
            "item": "crankcase_heater"
        },
        "values": {
            "0": "Off",
            "1": "On"
        }
    },
    "Quatt_HP1_Silent_Mode": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Silent_Mode",
        "type": "244",
        "subtype": "73",
        "switchtype": "0",
        "mapping": {
            "item": "silent_mode"
        },
        "values": {
            "0": "Off",
            "1": "On"
        }
    },
    "Quatt_HP1_Alarm_Flags": {
        "topic": "Quatt/hp1",
        "key": "Quatt_HP1-Alarm_Flags",
        "type": "243",
        "subtype": "31",
        "switchtype": "0",
        "options": {
            "Custom": "1;code"
        },
        "mapping": {
            "item": "alarm_flags",
            "digits": 0
        }
    }
}
Domoticz (since 2016) on Docker on Raspberry PI 5 with 500 Gb NVMe|Milight|KaKu + RFXCOM|Goodwe|Smartstuff P1 meter|Buienradar|Afval kalender|Tuya-wifi|Zigbee|deCONZ Conbee II|Marstek 5,12Kwh|Pusr-dr134/dr164|Xemex Csmb|MQTTMapper|Quatt v2|DTGbot|
Post Reply