Open lulek2007 opened 5 years ago
Ups,
Correct EQ3 Thermostatic Valve config
{
"accessory": "mqttthing",
"type": "thermostat",
"name": "Salon 1",
"url": "mqtt://localhost",
"username": "admin",
"password": "123456",
"topics":
{
"getCurrentHeatingCoolingState": "thermostat/Salon_1/mode",
"setTargetHeatingCoolingState": "thermostat/Salon_1/mode/set",
"getTargetHeatingCoolingState": "thermostat/Salon_1/mode",
"getCurrentTemperature": {
"topic": "misensors/czujnik_TH1/temperature",
"apply": "return JSON.parse(message);"
},
"getTargetTemperature": "thermostat/Salon_1/target_temperature",
"setTargetTemperature": "thermostat/Salon_1/target_temperature/set",
"getStatusLowBattery": "thermostat/Salon_1/low_battery"
},
"heatingCoolingStateValues": ["off", "on", "eco", "heat"],
"minTemperature": 5.0,
"maxTemperature": 29.5,
"restrictHeatingCoolingState": [ 0, 1, 3 ],
"startPub": {
"thermostat/Salon_1/mode": "",
"thermostat/Salon_1/mode/set": "",
"thermostat/Salon_1/target_temperature": "",
"thermostat/Salon_1/target_temperature/set": ""
},
"logMqtt": true
}
only unresolved problem is topic "getStatusLowBattery": "thermostat/Salon_1/low_battery"
value is False or in poor battery True
but in Setting in Home app is
where "Poziom baterii" is english Battery level and "Ładowanie" is Charging
this is incorrect. I have RF 3 state door sensor and config for mqttthing is
{
"accessory": "mqttthing",
"type": "contactSensor",
"name": "Okno 3 salon",
"url": "mqtt://192.168.4.10",
"username": "admin",
"password": "123456",
"caption": "192.168.4.13",
"topics":
{
"getContactSensorState": {
"topic": "tele/sonoff_rf1/RESULT",
"apply": "return( ( JSON.parse(message).RfReceived.Data == '4299EE' ) ? 1 : null || ( JSON.parse(message).RfReceived.Data == '4299E7' ) ? 0 : null);"
},
"getStatusTampered": {
"topic": "tele/sonoff_rf1/RESULT",
"apply": "return( ( JSON.parse(message).RfReceived.Data == '4299EB' ) ? 1 : null );"
},
"getStatusLowBattery": {
"topic": "tele/sonoff_rf1/RESULT",
"apply": "return( ( JSON.parse(message).RfReceived.Data == '4299E9' ) ? 1 : null );"
}
},
"integerValue": true,
"logMqtt": false
},
and settings look like
but icon and information in low battery level look like
Regards Lulek2007
also interested. i use bt-mqtt and eq3 too. looking forward to get help here
@lulek2007 thanks for your config using the Sonoff RF Bridge. The link you provided for your door/window contact sensors is not working on aliexpress. Are you able to provide a new updated link so I can look at the type of sensor you used or a make and model. Many thanks!
Hi,
I have been trying to set up for a few days EQ3 bluetooth radiator valve https://www.eq-3.com/products/eqiva/bluetooth-smart-radiator-thermostat.html
On my raspberry PI 0 add https://github.com/zewelor/bt-mqtt-gateway and my thermostat config in homebridge mqttthing look like
and I have problem with parse some topics
getTargetTemperature, setTargetTemperature from EQ3 and getCurrentTemperature from external Xiaomi TH sensor work OK.
but problem is getTargetHeatingCoolingState and setTargetHeatingCoolingState
MQTT broker and EQ3 topics expect value without "" i.e.
topic from bt-mqtt-gateway look like
and
look like
unfortunately mqttthing send value like "heat" not heat
if I try send value from mosquito
EQ3 valve set value correctly
Can you tell me how to set it correctly topics
setTargetHeatingCoolingState extract "" from value
and
getCurrentTemperature add "" to value