EQ-3 bluetooth radiator thermostat Domoticz control

For heating/cooling related questions in Domoticz

Moderator: leecollings

Post Reply
inzuno
Posts: 13
Joined: Wednesday 22 November 2017 9:50
Target OS: Raspberry Pi / ODroid
Domoticz version: stable
Location: Lyon FR
Contact:

EQ-3 bluetooth radiator thermostat Domoticz control

Post by inzuno »

Hello,

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
if you can read the help, it's ok.

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
set controller to be pairable

Code: Select all

pairable on
discover devices

Code: Select all

scan on
You should see MAC address with name CC-RT-BLE write it down or copy to clipboard to pair the device.
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
If pairing is successful the device is permanently connected and we need to disconnect it to be usable:

Code: Select all

disconnect MAC_CC-RT-BLE
disable pairable mode

Code: Select all

pairable off
exit bluetooth control

Code: Select all

quit
Now you go in the script folder and play:

Code: Select all

./eq3.exp MAC_CC-RT-BLE sync
You can see thermostat status?
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
\o/

If anyone could make a plugin to have a nice thermostat switch for this it would be really nice :D

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!
"I never make the same mistake twice. I make it like five or six times, you know, just to be sure."
sebretu
Posts: 1
Joined: Thursday 17 January 2019 19:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: EQ-3 bluetooth radiator thermostat Domoticz control

Post by sebretu »

Edit file thermo-livingroom.sh write MAC adresse of yours EQ3
than make a dummy selector switch and put this in selector actions:

Code: Select all

0	            script:///home/pi/eq3/thermo-livingroom.sh temp  5.0
10	            script:///home/pi/eq3/thermo-livingroom.sh temp 17.5
20	            script:///home/pi/eq3/thermo-livingroom.sh temp 18.0
30	            script:///home/pi/eq3/thermo-livingroom.sh temp 18.5
40	            script:///home/pi/eq3/thermo-livingroom.sh temp 19.0
50	            script:///home/pi/eq3/thermo-livingroom.sh lock
60	            script:///home/pi/eq3/thermo-livingroom.sh unlock
70	            script:///home/pi/eq3/thermo-livingroom.sh boost
80	            script:///home/pi/eq3/thermo-livingroom.sh boost off
For me its working fine
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests