I brought some EQ-3 bluetooth radiator thermostat and I wanted to control it with Domoticz.
But I had some issues pairing bluetooth on my PI so I post here my method.
First you need to download this script: https://github.com/Heckie75/eQ-3-radiator-thermostat
put it in a folder (in this example home/pi/eq3) and follow instructions of initial setup in readme.
Go in the folder where you put the script and try to run the command.
Code: Select all
./eq3.exp
After we need to pair the device, I didn't manage to pair with the initial setup of the scrip.
Here is my method:
start bluetooth control
Code: Select all
bluetoothctl
Code: Select all
pairable on
Code: Select all
scan on
Set radiator thermostat in pairing mode by long press the center button until you see PAIr
(The code displayed after is a fake, don't pay attention to it)
Pair the device on the Pi with the command:
Code: Select all
pair MAC_CC-RT-BLE
Code: Select all
disconnect MAC_CC-RT-BLE
Code: Select all
pairable off
Code: Select all
quit
Code: Select all
./eq3.exp MAC_CC-RT-BLE sync
Cool! But we still don't have control in Domoticz...
So I created a dummy selector switch and put this in selector actions:
Code: Select all
0 script:///home/pi/eq3/eq3.exp MAC_CC-RT-BLE temp 5.0
10 script:///home/pi/eq3/eq3.exp MAC_CC-RT-BLE temp 17.5
20 script:///home/pi/eq3/eq3.exp MAC_CC-RT-BLE temp 18.0
30 script:///home/pi/eq3/eq3.exp MAC_CC-RT-BLE temp 18.5
40 script:///home/pi/eq3/eq3.exp MAC_CC-RT-BLE temp 19.0
50 script:///home/pi/eq3/eq3.exp MAC_CC-RT-BLE lock
60 script:///home/pi/eq3/eq3.exp MAC_CC-RT-BLE unlock
70 script:///home/pi/eq3/eq3.exp MAC_CC-RT-BLE boost
80 script:///home/pi/eq3/eq3.exp MAC_CC-RT-BLE boost off
If anyone could make a plugin to have a nice thermostat switch for this it would be really nice

As i'ts my first new post, if there is any mistake or better ways to do what I did, please don't yell at tell me!