Skip to content

Domoticz plugin to control your Comet Blue radiator valve over bluetooth with Domoticz

License

Notifications You must be signed in to change notification settings

damsma/cometblue-domoticz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

cometblue-domoticz

Domoticz plugin to control your Comet Blue radiator valve over bluetooth with Domoticz by using the script written by Torsten Tränkner (https://www.torsten-traenkner.de/wissen/smarthome/heizung.php)

You can buy this devices under different names: Xavax Hama, Sygonix HT100 BT, Eurotronic Comet Blue.

Instructions:

The plugin was tested on a Raspberry Pi 3 with integrated bluetooth.

Installing Prerequisites

Installing Domoticz


curl -L https://install.domoticz.com | bash

Make sure your Domoticz plugin system runs properly


python3 -V
apt-get install python3.x libpython3.x python3.x-dev #(where 'x' is the version from above: e,g libpython3.7)

Installing prerequisites for this plugin


apt-get install bluez bluetooth expect
wget https://www.torsten-traenkner.de/wissen/smarthome/heaterControl.exp
chmod 755 heaterControl.exp
cp heaterControl.exp /usr/local/bin/

Installing the Domoticz plugin

cd domoticz/plugins
git clone https://github.com/damsma/cometblue-domoticz.git
systemctl restart domoticz

Adding the radiator valve device to domiticz

First you have to find out the Bluetooth Device Address of your device:

hciconfig hci0 up
hcitool lescan

This will give you the list of found devices, search for the device named "Comet Blue" and copy the adress, it will look something like this:

A0:B0:C0:D0:E0:D0 Comet Blue

In Domoticz go to setup->hardware, select the plugin "Comet Blue radiator valve (cometblue-domoticz)", fill out this three fields:

  • Bluetooth Device Address <- the address you found before
  • Pin-Code <- in this version, you have to type in the pin code in little endian format (see https://www.torsten-traenkner.de/wissen/smarthome/heizung.php), for a new device this will be 00000000
  • Poll interval <- the interval in seconds, how often the plugin will request the actual temperature from the device

Done! The plugin will now create 2 new devices for you in domoticz:

  • temperature device <- shows the actual temperature of the room
  • utility device <- for temperature control

Troubleshooting

If you experience problems with other plugins that uses Bluetooth (e,g Xiaomi Mi Flora plugin), remove this 3 lines in heaterControl.exp:
exec hciconfig hci0 down

About

Domoticz plugin to control your Comet Blue radiator valve over bluetooth with Domoticz

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages