Domoticz with Bluetooth

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
rowanbradley
Posts: 21
Joined: Wednesday 07 March 2018 20:28
Target OS: Windows
Domoticz version: 3.9025
Location: Newmarket, Suffolk, UK
Contact:

Domoticz with Bluetooth

Post by rowanbradley »

Can I use Domoticz to control a bluetooth radiator valve made by Equiva, sold by Reichelt? What would I need in order to control this device? All I need to do is to be able to open and close the valve (either fully, or to some % open) when readings from the sensors tell me to. Although this valve also contains a temperature sensor, I'm not currently planning to use that.

How would I get Domoticz to communicate with the valve? Can it natively communicate with a Bluetooth device? Or if not, can I write the code to do this?

What sort of base-station type device would I need, preferably that will plug into my wired Ethernet network, or connect to my home network by WiFi, and communicate with Bluetooth devices? If you know of a device that does this for a reasonable cost, I'd love to hear of it.

Thanks - Rowan
derjoern
Posts: 4
Joined: Sunday 13 August 2017 11:40
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz with Bluetooth

Post by derjoern »

I was on the same journey. This devices can communicate via Bluetooth LE. For this you can use a Raspberry PI 3 or a Zero and put

https://github.com/xrucka/cometblue

on it which will give you several possibilities to control it. From this point you will need some scripting to control it via Domoticz. I thought some Node-Red magic would do this but the communication was unreliable as hell. So try for yourself and send some feedback.
rowanbradley
Posts: 21
Joined: Wednesday 07 March 2018 20:28
Target OS: Windows
Domoticz version: 3.9025
Location: Newmarket, Suffolk, UK
Contact:

Re: Domoticz with Bluetooth

Post by rowanbradley »

Thanks for your reply. This sounds a good approach.

Do you know which Bluetooth profiles the device supports? Does it support the serial port profile?

Do you know the commands to do all the things that this device can do, e.g.
  1. Open the valve
  2. Close the valve
  3. Maybe open the valve to a certain percentage
  4. Read the temperature from the sensor
  5. Read the battery level
  6. Read the currently programmed schedule (a sequence of temperature and start and stop times)
  7. Set a new schedule
  8. Sense manual operation of the rotary knob and the push buttons on the device
  9. Show something in the display
  10. Upgrade the firmware
  11. Anything else that the device can do under Bluetooth control
Is this all documented somewhere?

Thanks - Rowan
rowanbradley
Posts: 21
Joined: Wednesday 07 March 2018 20:28
Target OS: Windows
Domoticz version: 3.9025
Location: Newmarket, Suffolk, UK
Contact:

Re: Domoticz with Bluetooth

Post by rowanbradley »

Is the Comet Blue exactly the same and fully compatible wit the Equiva EHT CLASSIC BLV2 as bought from Reichelt then?
In your original message you said "I was on the same journey". Did you actually achieve this, and get the valve controllable and readable from Domoticz? Did you have to write or modify or debug any software to do this, or was it achievable just with the Raspberry Pi and Comet Blue software?

Many thanks - Rowan
franciss
Posts: 1
Joined: Thursday 29 March 2018 9:26
Target OS: Windows
Domoticz version:
Contact:

Re: Domoticz with Bluetooth

Post by franciss »

Thanks for the link, derjoern!
Do you want to know what thing pleases me the most? You are right. It's all about beste online casinos bonus. Wanna know more?
User avatar
damsmaa
Posts: 3
Joined: Sunday 01 March 2020 20:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz with Bluetooth

Post by damsmaa »

I created a plugin for the comet blue and compatible devices:

https://github.com/damsma/cometblue-domoticz
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Domoticz with Bluetooth

Post by ronaldbro »

damsmaa wrote: Sunday 01 March 2020 20:34 I created a plugin for the comet blue and compatible devices:

https://github.com/damsma/cometblue-domoticz
Cool, thanks. I tried to get a connection to these valves (Sygonix HT100BT) before and never succeeded. Since then I regret ever buying them. But got it working right away now :)
It also works great from HomeKit (homebridge) now.
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Domoticz with Bluetooth

Post by ronaldbro »

I did get some problems using this plugin in combination with the Xiaomi Mi Flora plugin. The Mi Flora's stopped getting updates after the radiator valve was updated.
I found that heaterControl.exp closes bluetooth and that was the problem. As an experiment I commented all 3 lines with "exec hciconfig hci0 down" in heaterControl.exp and so far it this works fine.
User avatar
damsmaa
Posts: 3
Joined: Sunday 01 March 2020 20:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz with Bluetooth

Post by damsmaa »

ronaldbro wrote: Saturday 07 March 2020 11:32 I did get some problems using this plugin in combination with the Xiaomi Mi Flora plugin. The Mi Flora's stopped getting updates after the radiator valve was updated.
I found that heaterControl.exp closes bluetooth and that was the problem. As an experiment I commented all 3 lines with "exec hciconfig hci0 down" in heaterControl.exp and so far it this works fine.
Thank you for your feedback, i added this to the readme.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests