Touch base: options for Bosch Easycontrol CT200?

For heating/cooling related questions in Domoticz

Moderator: leecollings

Post Reply
User avatar
Domoberry
Posts: 121
Joined: Tuesday 30 May 2017 19:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Contact:

Touch base: options for Bosch Easycontrol CT200?

Post by Domoberry »

Hi Forum,
I'm looking for a practical way to add the Bosch Easycontrol CT200 thermostat to Domoticz. I previsously had the Nefit Easy CT100 up & running, objective is to get something similar for the CT200.
I noted a plugin https://github.com/ggraat/domoticz-easycontrol-plugin which uses the Bosch-XMPP code https://github.com/robertklep/bosch-xmpp. This looks very promising!
Could someone share some experience/guidance/steps to install this on an RPI?

Update: For experimenting purposes, I installed bosch-xmpp on a Windows system. With CLI commands, I was able to obtain data via the Bosch system originating from my CT200 Easycontrol. Also, when setting bosch-xmpp in 'bridge' mode, I could issue http requests, like those created by the plugin, using Postman to Localhost. It is likely I can get to the same level on a RPI as well. So, it seems all elements are there to get the CT200 Easycontrol up&running in Domoticz.
However, due to my limited knowledge, I'm confused about how for example to ensure CT200 login credentials are practically handled and how to ensure that the bosch-xmpp code is started in 'bridge mode' each time the RPI is booted.
In case someone has this setup in use, I would appreciate additional detail on how it was setup.
User avatar
Domoberry
Posts: 121
Joined: Tuesday 30 May 2017 19:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Contact:

Re: Touch base: options for Bosch Easycontrol CT200?

Post by Domoberry »

In the meantime I got the setup working and the Easycontrol CT200 thermostat is shown in Domoticz. Seems read-only (tbc).
The part I (as novice) was missing was how to ensure how the bosch-xmpp service is started at each boot-up of the RPI, including the needed credentials as well placing bosch-xmpp in 'bridge (server) mode.
I used 'systemd' for that purpose with the following startup file etc/systemd/system/easycontrolCT200.service:

Code: Select all

[Unit]
Description=Easycontrol CT200 service
After=network.target

[Service]
Type=idle
User=pi
# change the username and commandline parameters here:
ExecStart=/usr/bin/bosch-xmpp --serial=xxx --access-key=yyy --password=zzz easycontrol bridge
Restart=always # always restart
RestartSec=60

[Install]
WantedBy=multi-user.target
using some commands to ensure bosch-xmpp is started each time:

Code: Select all

$ sudo systemctl start easycontrolCT200.service
$ sudo systemctl enable easycontrolCT200.service
See systemd documentation for more functions.
There are other ways of achieving the same, so this might not be the optimal (or even correct) approach, e.g. "use at your own risk" :-)
Feel free to point out improvements!
User avatar
waltervl
Posts: 5852
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Touch base: options for Bosch Easycontrol CT200?

Post by waltervl »

Better check this topic as there users are available https://domoticz.com/forum/viewtopic.ph ... 74#p175374
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest