emsesp / EMS-ESP

ESP8266 firmware to read and control EMS and Heatronic compatible equipment such as boilers, thermostats, solar modules, and heat pumps
https://emsesp.github.io/docs
GNU Lesser General Public License v3.0
303 stars 97 forks source link

Bosch CT200 not discovered in FW 1.9.4 (using BBQkees D1 mini) #317

Closed martynhr closed 4 years ago

martynhr commented 4 years ago

Worcester/Bosch Greenstar 37CDI (2012) Boiler Worcester/Bosch Easy Control CT200 Thermostat

Guy, relatively new to this so please bear with me. Recently purchased a BBQKees Gateway Premium II for a bit more boiler info.

Home Assistant running prior to purchase and was using a Node MCU with 4 dallas Temp Sensors to monitor Boiler Temperatures. (Programmed with Arduino IDE

Initial setup was dead easy and EMS-ESP recognised the boiler and thermostat although I could not get and reading from the Thermostat. (FW version 1.9.2.)

Updated to 1.9.4 (to enable static ip config) and have now lost discovery of the Thermostat completely. I have tried 1 , 2 and 3 (EMS, EMS+ and Junkers) Tx modes to no avail. Listen mode is disabled

EMS Dashboard image

System Status: image

I have also tried FW 1.9.5b20 without success. All Firmwares uploaded using Web Interface. Any ideas?

proddy commented 4 years ago

Hi @martynhr and welcome. Could you try the latest 1.9.5 again and type devices and post the output and then the command autodetect. Let's see what is happening.

martynhr commented 4 years ago

Hi, Thanks for the reply, (fast) I'm trying not to sound think, but, where do I type devices in the web interface? I don't see any command console. Sorry. Like i said, this is new to me.

martynhr commented 4 years ago

Ah, Telnet using Putty I presume?

proddy commented 4 years ago

haha, no worries. Check out the Wiki https://emsesp.github.io/docs/#/

martynhr commented 4 years ago

Done:

image

martynhr commented 4 years ago

Are these any use to you:

image

image

proddy commented 4 years ago

I found the problem. It's happened before. I used to think all product IDs are unique but it turns out the Thermostat CT200 has the same ID (203) as the Buderus Logamax U122 and Junkers Cerapur. So its detecting your thermostat as another boiler!

I'll need to think on the best approach around this.

Also note writing doesn't work yet on the CT200. See #239

martynhr commented 4 years ago

Well done, OK well i'll leave that with you for now. Just an idea, would it be worth somehow linking the CT200 ID to a selected country somehow?? As we dont have the Buderus and Junkers in the UK.

bbqkees commented 4 years ago

Bosch sells the same hardware in various countries under different brand names.

Perhaps it should be a check of device ID && product ID.

proddy commented 4 years ago

exactly, this is what I've started coding. The UBA Master is always on DeviceID 0x08 so I've separated this logic out to scan for boilers first and then the other devices (thermostats, solar modules etc)

martynhr commented 4 years ago

Good luck solving the problem. Let me know if you want me to test anything.

proddy commented 4 years ago

@martynhr see if 1.9.5b21 does the trick. https://github.com/proddy/EMS-ESP/releases/tag/travis-dev-build

martynhr commented 4 years ago

OK FW Updated to 1.9.5b21 Results: Using Tx1 image

I've tried on Tx1, 2 and 3 but still can't see the CT200

Let me know if you need another log screen shot

proddy commented 4 years ago

Can you just stick to Telnet and send the output of devices & autodetect with verbose logging.

rskallies commented 4 years ago

As I own also a CT200 I'll provide my logs. I'm running EMS-ESP version 1.9.5b22 autodetect.txt devices.txt

proddy commented 4 years ago

thanks @rskallies . With those dumps I was able to find the error. Hopefully this b23 release is better.

rskallies commented 4 years ago

@proddy . Yes, it works now with b23. Great!

These device IDs are on the EMS Bus: 0x08 0x09 0x18 and 3 were recognized by EMS-ESP as: UBAMaster: Buderus GBx72/Nefit Trendline/Junkers Cerapur/Worcester Greenstar Si/27i (DeviceID:0x08 ProductID:123 Version:06.03) Controller: Controller (DeviceID:0x09 ProductID:152 Version:03.01) Thermostat: Bosch EasyControl CT200 (DeviceID:0x18 ProductID:203 Version:02.08)

proddy commented 4 years ago

great! if you find any other problems please reopen this issue.