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

Support writing to Junkers FR100 Thermostat #335

Closed hansstulp closed 4 years ago

hansstulp commented 4 years ago

Hello, i can't write data to my Bosch/Junkers FR100 Thermostat.

norberts1 commented 4 years ago

@hansstulp Netcom is an old name for one modul (NetCom100) used to control the Junkers-heater per phone. I had one but isn't up do date anymore. The displays on that Fxyz-controllers results on that modul, but that text wasn't never changed. Later on they have replaced that old modul with that MBLan or MBLan2 (Junkers) or KM200 (Buderus). This moduls are available today for controlling that heatersystem. They are quit expensive. So it's better to replace them with proddy's SW/HW :-)

norberts1 commented 4 years ago

@proddy regarding the lack of acknowledgement I have seen some context in that telegrams typ(0x07) Example: (18:21:54) Sending raw: 8B 10 FF 11 00 65 3C (18:21:54) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 0B 01 00 00 00 00 00 00 00 00 00 00 00 (#data=13) <<--- That one is OK (18:21:55) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 03 01 00 00 00 00 00 00 00 00 00 00 00 (#data=13) <<--- That one is faulty This message tells us, which device-IDs are currently on the bus. Every high-bit in the payload is the available device-ID starting with device-ID 8. 0B is then: 0000 1011 -->> active device-IDs then (decimal): ---- 11 - 9 8 or hex: ---- B - 9 8 01 is then: 0000 0001 -->> active device-ID 2.Byte(decimal): ---- --- 16 or hex: ---- --- 10 Result: Device-ID's (hex): 8,9,B and 10 are currently available on the bus. In the faulty-condition there is the B -->> Service-Key not available any more. Perhaps the responses to the bus from the EMS-adapter aren't handled correctly.

proddy commented 4 years ago

@norberts1 what I mean by acknowledgment is that the EMS protocol should always respond to a read/write request, even if it can't perform the operation. So in the console, I would be expecting to see messages like "Thermostat -> Me", just like what you see with the boiler. I'm guessing the FR100 uses a very old version of the protocol. It's fine though, just a bit weird.

I'm aware of the 0x07 telegram. This is what I use to determine which devices are on the bus. The 0x0B (11) is always intermittent (on and off) because I haven't built in the official acknowledgment handshake. It's not really needed and not a problem since my code just ignores it.

When @hansstulp has confirmed the temp settings work with 0x79 (e.g. send 8B 10 FF 05 00 79 1E) I'll modify the code. The confusing thing is that I know with the FW100 and FW120 models the type is 0x65 for Heating Circuit 1 and confirmed by other users to work ??

hansstulp commented 4 years ago

[TELNET] Connected to EMS-ESP version 1.9.5b47. Type ? for commands. log v t

System Logging set to Verbose send 8B 10 FF 05 00 79 1E

(11:07:20) Sending raw: 8B 10 FF 05 00 79 1E (11:07:20) Thermostat -> All, Type(0x0079), telegram: 90 00 FF 05 00 79 0A (#data=1) (11:07:20) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 05 01 B4 00 00 00 00 20 40 80 00 80 00 01 B5 00 00 13 00 00 00 CB 00 00 00 (#data=25) (11:07:21) Boiler -> All, UBAMonitorSlow(0x19), telegram: 88 00 19 00 80 00 00 00 01 A9 00 00 00 32 02 2D 0E 0F FE E1 00 00 00 0F D3 09 01 BA 18 00 00 (#data=27) (11:07:21) Boiler -> All, UBAMaintenanceStatusMessage(0x1C), telegram: 88 00 1C 00 00 3B C7 48 00 00 00 00 00 00 00 (#data=11) (11:07:21) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 00 3C 80 00 80 00 21 00 00 01 00 00 2B D8 00 72 F6 00 (#data=17) (11:07:21) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 03 01 00 00 00 00 00 00 00 00 00 00 00 (#data=13) (11:07:30) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 05 01 B1 00 00 00 00 20 40 80 00 80 00 01 B1 00 00 13 00 00 00 CB 00 00 00 (#data=25) (11:07:31) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 00 3C 80 00 80 00 21 00 00 01 00 00 2B D8 00 72 F6 00 (#data=17) (11:07:37) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 05 01 AF 00 00 00 00 00 40 80 00 80 00 01 AF 00 00 10 00 00 00 CB 00 00 00 (#data=25) (11:07:40) Thermostat -> Boiler, UBAParametersMessage(0x16), telegram: 90 88 16 00 02 (#data=1) (11:07:40) Boiler -> Thermostat, UBAParametersMessage(0x16), telegram: 88 10 16 00 FF 46 (#data=2) (11:07:40) Thermostat -> All, JunkersStatusMessage_HC1(0x006F), telegram: 90 00 FF 00 00 6F 02 02 00 96 00 C3 (#data=6) (11:07:41) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 00 3C 80 00 80 00 21 00 00 01 00 00 2B D8 00 72 F6 00 (#data=17) (11:07:41) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 05 01 AF 00 00 00 00 00 40 80 00 80 00 01 AF 00 00 10 00 00 00 CB 00 00 00 (#data=25) (11:07:43) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 05 01 AF 00 00 00 00 40 40 80 00 80 00 01 AF 00 00 10 00 00 00 CB 00 00 00 (#data=25) (11:07:50) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 00 3C 80 00 80 00 21 00 00 01 00 00 2B D8 00 72 F6 00 (#data=17) (11:07:51) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 05 01 AF 00 00 00 00 40 40 80 00 80 00 01 B0 00 00 10 00 00 00 CB 00 00 00 (#data=25)

I see no changes on the thermostat

norberts1 commented 4 years ago

@proddy regarding the 'acknowledgment' I'll think the FR100 send also that 1/0 responses to any command like the FW100 I owned but I'm also not sure. Yes, the telegram-handling is a bit confusing. So what I really have implemented in my code for setting the temp is to send more then one message to anyone how can use/need it on the bus (available or not) in following sequence

  1. 8x 10 FF <_y> 00 65 <desired-temp *2>
  2. 8x 18 FF <_y> 00 65 <desired-temp *2>
  3. 8x 10 FF <_z> 00 79 <desired-temp *2> where: x :=device ID for the sender e.g. (B)-->>service-key _y:=offset depending on that desired temp-niveau and message _z:=offset depending on that desired temp-niveau and message As you can see I'll send that messages also to that 0x18 device-ID, that is/was my remote-controller 'FB10' and later the 'FB100' mounted in my living-room. They both required this if they are on the bus. Today they aren't on the bus any more, but I handle it like: fire and forget. Perhaps is one solution to handle this in EMS-ESP too.
norberts1 commented 4 years ago

@hansstulp with this telegram you want to change the 'frost'-temp level to 15 degree. (8B 10 FF 05 00 79 1E), but this is not yet displayed cause you are (or the FR100) is running in 'auto' using that programmed temp-level -->> 'heating' I'm sure and not 'frost'! In this mode 'auto' the display will show the current room-temperature and not the 'frost'. So you have to dig into the menue's or to switching the mode-switch in the FR100 to 'frost' to see that new 'frost'-level of 15 degrees. In that Fxyz there are 3 different temperature niveau's available:

  1. 'frost' niveau with it's temperature
  2. 'sparen' niveau with it's temperature
  3. 'heizen' niveau with it's temperature (naming from german manual) The 'auto'-mode will use time dependend one of that niveau's and with that commands above you can set them as you want. Details see manual.
hansstulp commented 4 years ago

No, i didn't changes the frost temp. I have 5, 15 and 20 set. Now i can't changes the temperature.

norberts1 commented 4 years ago

@hansstulp yesterday you wrote: It has changed the temp. It was set to 23.0 degrees and not 21.5 degrees but 22.0 degrees. What's different today?

hansstulp commented 4 years ago

I have changed the temp manually to 5,17,20 and now it's working.

hansstulp commented 4 years ago

I would like to switch by Domotiz between "sparen" and "heizen". And also set de temp manually higher or lower.

proddy commented 4 years ago

@hansstulp can you test the latest dev build 1.9.5b48 with these commands thermostat temp <hc> <temp> <mode> <hc> will be 1 in your case and <mode> can be 4 for frost, 5 for eco/sparen and 6 for heat/heizen

use log v so we can see if the correct telegrams are being sent.

if it works I'll polish up the wording later.

hansstulp commented 4 years ago

A better one: [TELNET] Connected to EMS-ESP version 1.9.5b48. Type ? for commands. log v t

System Logging set to Verbose (10:49:35) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 46 02 B2 4B 17 09 01 25 40 80 00 80 00 02 67 00 3D 13 00 00 00 C8 00 02 00 (#data=25) (10:49:35) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 00 3C 80 00 80 00 21 00 00 01 00 00 2B D7 00 72 FA 00 (#data=17) thermostat temp 1 6 4

Setting new thermostat temperature to 6.0 for heating circuit 1 temp mode 4 (0=auto,1=night,2=day,3=holiday,4=nofrost,5=eco,6=heat) (10:49:45) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 46 02 B2 4B 17 09 01 25 40 80 00 80 00 02 66 00 3D 13 00 00 00 C8 00 02 00 (#data=25) (10:49:45) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 00 3C 80 00 80 00 21 00 00 01 00 00 2B D7 00 72 FA 00 (#data=17) (10:49:46) Sending write of type 0x00 to 0x10, telegram: 8B 10 00 00 0C (10:49:49) Thermostat -> Boiler, Version(0x02), telegram: 90 88 02 00 0A (#data=1) (10:49:49) Boiler -> Thermostat, Version(0x02), telegram: 88 10 02 00 7A 03 09 00 00 00 00 00 00 01 (#data=10) (10:49:49) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 46 02 B1 4B 17 09 01 25 40 80 00 80 00 02 65 00 3D 13 00 00 00 C8 00 02 00 (#data=25) (10:49:50) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 46 02 B2 4B 17 09 01 25 40 80 00 80 00 02 65 00 3D 13 00 00 00 C8 00 02 00 (#data=25) (10:49:54) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 46 02 B1 4B 17 09 01 25 40 80 00 80 00 02 65 00 3D 13 00 00 00 C8 00 02 00 (#data=25) (10:49:55) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 00 3C 80 00 80 00 21 00 00 01 00 00 2B D7 00 72 FA 00 (#data=17) (10:49:55) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 46 02 B1 4B 17 09 01 25 40 80 00 80 00 02 64 00 3D 13 00 00 00 C8 00 02 00 (#data=25) thermostat temp 1 16 5

Setting new thermostat temperature to 16.0 for heating circuit 1 temp mode 5 (0=auto,1=night,2=day,3=holiday,4=nofrost,5=eco,6=heat) (10:49:58) Sending write of type 0x00 to 0x10, telegram: 8B 10 00 00 20 (10:49:58) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 0B 01 00 00 00 00 00 00 00 00 00 00 00 (#data=13) (10:49:59) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 03 01 00 00 00 00 00 00 00 00 00 00 00 (#data=13) (10:50:05) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 46 02 B0 4B 17 09 01 25 40 80 00 80 00 02 64 00 3D 13 00 00 00 C8 00 02 00 (#data=25) (10:50:05) Boiler -> All, UBAMonitorSlow(0x19), telegram: 88 00 19 00 80 00 00 00 02 16 00 00 00 32 02 2D AA 10 03 8F 00 00 00 0F D7 B8 01 BA B0 00 00 (#data=27) (10:50:06) Boiler -> All, UBAMaintenanceStatusMessage(0x1C), telegram: 88 00 1C 00 00 3B C7 48 00 00 00 00 00 00 00 (#data=11) (10:50:06) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 00 3C 80 00 80 00 21 00 00 01 00 00 2B D7 00 72 FA 00 (#data=17) (10:50:06) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 03 01 00 00 00 00 00 00 00 00 00 00 00 (#data=13) (10:50:06) Thermostat -> Boiler, UBAFlags(0x35), telegram: 90 08 35 00 11 (#data=1) (10:50:06) Thermostat -> Boiler, UBASetPoints(0x1A), telegram: 90 08 1A 00 46 (#data=1) thermostat temp 1 21 6(10:50:06) Thermostat -> Boiler, UBASetPoints(0x1A), telegram: 90 08 1A 02 00 00 03 (#data=3) (10:50:06) Thermostat -> Boiler, Type(0x23), telegram: 90 08 23 00 46 64 00 (#data=3) (10:50:06) Thermostat -> Boiler, UBASetPoints(0x1A), telegram: 90 08 1A 04 03 (#data=1) thermostat temp 1 21 6

Setting new thermostat temperature to 21.0 for heating circuit 1 (10:50:09) Sending write of type 0x00 to 0x10, telegram: 8B 10 00 00 2A (10:50:11) Thermostat -> All, RCTime(0x06), telegram: 90 00 06 00 14 03 0A 04 2F 18 03 00 (#data=8) (10:50:15) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 46 02 AF 4B 17 09 01 25 40 80 00 80 00 02 65 00 3D 13 00 00 00 C8 00 02 00 (#data=25) (10:50:15) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 00 3C 80 00 80 00 21 00 00 01 00 00 2B D7 00 72 FA 00 (#data=17) Fetching data from EMS devices Requesting type RCTime(0x06) from dest 0x10 Requesting type UBAMonitorFast(0x18) from dest 0x08 Requesting type UBAMonitorSlow(0x19) from dest 0x08 Requesting type UBAParameterWW(0x33) from dest 0x08 Requesting type UBAParametersMessage(0x16) from dest 0x08 Requesting type UBATotalUptimeMessage(0x14) from dest 0x08 (10:50:16) Sending read of type 0x06 to 0x10, telegram: 8B 90 06 00 20 (10:50:16) Thermostat -> Me, RCTime(0x06), telegram: 90 0B 06 00 14 03 0A 04 2F 18 03 00 (#data=8) (10:50:16) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 0B 01 00 00 00 00 00 00 00 00 00 00 00 (#data=13) (10:50:16) Sending read of type 0x18 to 0x08, telegram: 8B 88 18 00 20 (10:50:16) Boiler -> Me, UBAMonitorFast(0x18), telegram: 88 0B 18 00 46 02 AF 4B 17 09 01 25 40 80 00 80 00 02 65 00 3D 13 00 00 00 C8 00 02 00 (#data=25) (10:50:16) Sending read of type 0x19 to 0x08, telegram: 8B 88 19 00 20 (10:50:16) Boiler -> Me, UBAMonitorSlow(0x19), telegram: 88 0B 19 00 80 00 00 00 02 16 00 00 00 32 02 2D AA 10 03 8F 00 00 00 0F D7 B8 01 BA B0 00 00 (#data=27) (10:50:17) Sending read of type 0x33 to 0x08, telegram: 8B 88 33 00 20 (10:50:17) Boiler -> Me, UBAParameterWW(0x33), telegram: 88 0B 33 00 08 FF 3C FB 00 28 FF 02 46 D8 FF (#data=11) (10:50:17) Sending read of type 0x16 to 0x08, telegram: 8B 88 16 00 20 (10:50:17) Boiler -> Me, UBAParametersMessage(0x16), telegram: 88 0B 16 00 FF 46 4B 00 06 FA 0A 01 01 64 32 00 (#data=12) (10:50:17) Sending read of type 0x14 to 0x08, telegram: 8B 88 14 00 20 (10:50:17) Boiler -> Me, UBATotalUptimeMessage(0x14), telegram: 88 0B 14 00 50 36 78 (#data=3) (10:50:18) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 03 01 00 00 00 00 00 00 00 00 00 00 00 (#data=13) (10:50:18) Thermostat -> Boiler, UBAParametersMessage(0x16), telegram: 90 88 16 00 02 (#data=1) (10:50:18) Boiler -> Thermostat, UBAParametersMessage(0x16), telegram: 88 10 16 00 FF 46 (#data=2) (10:50:18) Thermostat -> All, JunkersStatusMessage_HC1(0x006F), telegram: 90 00 FF 00 00 6F 03 02 00 C8 00 BE (#data=6)


On de thermostat nothing changed.

proddy commented 4 years ago

oh, i see its still sending old EMS 1.0 telegrams. Must have missed something in my code - i'll take a look later.

norberts1 commented 4 years ago

@proddy that command sequence seems to be a bit odd. It is: thermostat temp <hc> <temp> <mode> It could be: thermostat temp <tempvalue> <modevalue> <heatingcircuit> Then it fit's more or less to your debug-output.

proddy commented 4 years ago

yes you're right @norberts1 . that format is much more intuitive !

proddy commented 4 years ago

ok, new change in. can you try again @hansstulp ? temperature temp <degrees> <mode> <hc>

hansstulp commented 4 years ago

[FS] Custom config loaded (264 bytes) [WEB] Web server started [UART] Rx/Tx connection established [WIFI] Connecting to SSID: FRITZ!Box 7581 GG... [WIFI] Connected to SSID FRITZ!Box 7581 GG (hostname: ems-esp, IP: 192.168.178.50) [OTA] Listening to firmware updates on ems-esp.local:8266 [SYSTEM] Disabling serial port communication [NTP] NTP internet time enabled via server pool.ntp.org with timezone 2 [MQTT] Connecting to MQTT... [NTP] Internet time: 19:05:28 UTC on 4/3. Local time: 20:05:28 CET [MQTT] MQTT connected [SYSTEM] Free Heap: 23360 bytes initially | 8584 bytes used (36%) | 14776 bytes free (63%) New EMS device recognized as a Bosch Boiler: Nefit Proline (DeviceID: 0x08, ProductID: 122, Version: 03.09) New EMS device recognized as a Controller: BC10 Base Controller (DeviceID: 0x09, ProductID: 114, Version: 01.07) New EMS device recognized as a Bosch Thermostat: Junkers FR100 (DeviceID: 0x10, 7)uctID: 107, Version: 15.0 [TELNET] Connected to EMS-ESP version 1.9.5b49. Type ? for commands. log v t

System Logging set to Verbose thermostat temp 6 4 1(20:09:12) Thermostat -> Boiler, Version(0x02), telegram: 90 88 02 00 0A (#data=1) (20:09:12) Boiler -> Thermostat, Version(0x02), telegram: 88 10 02 00 7A 03 09 00 00 00 00 00 00 01 (#data=10) thermostat temp 6 4 1(20:09:13) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 00 3C 80 00 80 00 21 00 00 01 00 00 2B D7 00 72 FA 00 (#data=17) (20:09:14) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 38 01 EC 4B 00 01 01 20 40 80 00 80 00 01 FD 00 00 13 00 00 00 CA 00 00 00 (#data=25) thermostat temp 6 4 1

Setting new thermostat temperature to 6.0 for heating circuit 1 temp mode 4 (0=auto,1=night,2=day,3=holiday,4=nofrost,5=eco,6=heat) (20:09:16) Sending write of type 0x79 to 0x10, telegram: 8B 10 FF 05 00 79 0C (20:09:16) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 0B 01 00 00 00 00 00 00 00 00 00 00 00 (#data=13) (20:09:16) Sending validate of type 0x79 to 0x10, telegram: 8B 90 FF 05 01 00 79 (20:09:17) Thermostat -> All, Type(0x0079), telegram: 90 00 FF 00 00 79 01 08 10 4B 04 0C 1E 28 04 00 01 (#data=11) (20:09:17) Thermostat -> All, Type(0x0130), telegram: 90 00 FF 00 01 30 14 18 06 58 FF FF FF FF FF FF FF FF 14 18 06 58 FF FF FF FF FF FF FF FF (#data=24) (20:09:18) Thermostat -> All, Type(0x0130), telegram: 90 00 FF 18 01 30 14 18 06 58 FF FF FF FF FF FF FF FF 14 18 06 58 FF FF FF FF FF FF FF FF (#data=24) (20:09:18) Thermostat -> All, Type(0x0130), telegram: 90 00 FF 30 01 30 14 18 06 5E FF FF FF FF FF FF FF FF 14 1C 06 5E FF FF FF FF FF FF FF FF (#data=24) (20:09:18) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 03 01 00 00 00 00 00 00 00 00 00 00 00 (#data=13) (20:09:19) Thermostat -> All, Type(0x0130), telegram: 90 00 FF 48 01 30 14 20 06 58 FF FF FF FF FF FF FF FF (#data=12) (20:09:19) Thermostat -> All, Type(0x0131), telegram: 90 00 FF 00 01 31 14 18 14 20 14 44 06 58 FF FF FF FF 14 18 14 20 14 44 06 58 FF FF FF FF (#data=24) (20:09:20) Thermostat -> All, Type(0x0131), telegram: 90 00 FF 18 01 31 14 18 14 20 14 44 06 58 FF FF FF FF 14 18 14 20 14 44 06 58 FF FF FF FF (#data=24) (20:09:20) Thermostat -> All, Type(0x0131), telegram: 90 00 FF 30 01 31 14 18 14 20 14 44 06 5E FF FF FF FF 14 1C 06 5E FF FF FF FF FF FF FF FF (#data=24) (20:09:20) Thermostat -> All, Type(0x0131), telegram: 90 00 FF 48 01 31 14 20 06 58 FF FF FF FF FF FF FF FF (#data=12) (20:09:21) Thermostat -> All, Type(0x0132), telegram: 90 00 FF 00 01 32 14 1C 0E 5C FF FF FF FF FF FF FF FF 14 1C 0E 5C FF FF FF FF FF FF FF FF (#data=24) (20:09:21) Thermostat -> All, Type(0x0132), telegram: 90 00 FF 18 01 32 14 1C 0E 5C FF FF FF FF FF FF FF FF 14 1C 0E 5C FF FF FF FF FF FF FF FF (#data=24) (20:09:22) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 38 01 F4 4B 00 01 01 20 40 80 00 80 00 02 00 00 00 13 00 00 00 CA 00 00 00 (#data=25) (20:09:22) Thermostat -> All, Type(0x0132), telegram: 90 00 FF 30 01 32 14 1C 0E 5C FF FF FF FF FF FF FF FF 14 1C 0E 5C FF FF FF FF FF FF FF FF (#data=24) (20:09:22) Thermostat -> All, Type(0x0132), telegram: 90 00 FF 48 01 32 0E 02 14 21 0E 24 14 29 0E 38 14 3D (#data=12) (20:09:23) Thermostat -> Boiler, UBAParametersMessage(0x16), telegram: 90 88 16 00 02 (#data=1) (20:09:23) Boiler -> Thermostat, UBAParametersMessage(0x16), telegram: 88 10 16 00 FF 46 (#data=2) (20:09:23) Thermostat -> All, JunkersStatusMessage_HC1(0x006F), telegram: 90 00 FF 00 00 6F 03 02 00 C8 00 C6 (#data=6) (20:09:23) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 00 3C 80 00 80 00 21 00 00 01 00 00 2B D7 00 72 FA 00 (#data=17) Fetching data from EMS devices Requesting type RCTime(0x06) from dest 0x10 Requesting type UBAMonitorFast(0x18) from dest 0x08 Requesting type UBAMonitorSlow(0x19) from dest 0x08 Requesting type UBAParameterWW(0x33) from dest 0x08 Requesting type UBAParametersMessage(0x16) from dest 0x08 Requesting type UBATotalUptimeMessage(0x14) from dest 0x08 Publishing MQTT data for: thermostat boiler (20:09:24) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 38 01 F6 4B 00 01 01 20 40 80 00 80 00 02 00 00 00 13 00 00 00 CA 00 00 00 (#data=25) (20:09:26) Sending read of type 0x06 to 0x10, telegram: 8B 90 06 00 20 (20:09:26) Thermostat -> Me, RCTime(0x06), telegram: 90 0B 06 00 14 03 14 04 06 20 03 00 (#data=8) (20:09:26) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 0B 01 00 00 00 00 00 00 00 00 00 00 00 (#data=13) (20:09:26) Sending read of type 0x18 to 0x08, telegram: 8B 88 18 00 20 (20:09:26) Boiler -> Me, UBAMonitorFast(0x18), telegram: 88 0B 18 00 38 01 F9 4B 00 01 01 20 40 80 00 80 00 01 FD 00 00 13 00 00 00 CA 00 00 00 (#data=25) (20:09:26) Sending read of type 0x19 to 0x08, telegram: 8B 88 19 00 20 (20:09:26) Boiler -> Me, UBAMonitorSlow(0x19), telegram: 88 0B 19 00 80 00 00 00 01 C8 00 00 07 32 02 2D D1 10 04 AC 00 00 00 0F D8 D5 01 BA D7 00 00 (#data=27) (20:09:26) Sending read of type 0x33 to 0x08, telegram: 8B 88 33 00 20 (20:09:26) Boiler -> Me, UBAParameterWW(0x33), telegram: 88 0B 33 00 08 FF 3C FB 00 28 FF 02 46 D8 FF (#data=11) (20:09:27) Sending read of type 0x16 to 0x08, telegram: 8B 88 16 00 20 (20:09:27) Boiler -> Me, UBAParametersMessage(0x16), telegram: 88 0B 16 00 FF 46 4B 00 06 FA 0A 01 01 64 32 00 (#data=12) (20:09:27) Sending read of type 0x14 to 0x08, telegram: 8B 88 14 00 20 (20:09:27) Boiler -> Me, UBATotalUptimeMessage(0x14), telegram: 88 0B 14 00 50 38 A9 (#data=3) (20:09:28) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 03 01 00 00 00 00 00 00 00 00 00 00 00 (#data=13) (20:09:33) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 38 01 FD 4B 00 01 01 20 40 80 00 80 00 01 F4 00 00 13 00 00 00 CA 00 00 00 (#data=25) (20:09:34) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 00 3C 80 00 80 00 21 00 00 01 00 00 2B D7 00 72 FA 00 (#data=17) thermostat temp 16 5 1

Setting new thermostat temperature to 16.0 for heating circuit 1 temp mode 5 (0=auto,1=night,2=day,3=holiday,4=nofrost,5=eco,6=heat) (20:09:41) Sending write of type 0x79 to 0x10, telegram: 8B 10 FF 06 00 79 20 (20:09:41) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 0B 01 00 00 00 00 00 00 00 00 00 00 00 (#data=13) (20:09:41) Sending validate of type 0x79 to 0x10, telegram: 8B 90 FF 06 01 00 79 -> Validate confirmed, last Write to 0x10 was successful Requesting type JunkersStatusMessage_HC1(0x6F) from dest 0x10 (20:09:41) Thermostat -> All, Type(0x0079), telegram: 90 00 FF 00 00 79 01 08 10 4B 04 0C 20 28 04 00 01 (#data=11) (20:09:42) Sending read of type 0x6F to 0x10, telegram: 8B 90 6F 00 20 (20:09:42) Thermostat -> Me, telegram: 90 0B 6F 00 (20:09:42) Thermostat -> All, Type(0x0130), telegram: 90 00 FF 00 01 30 14 18 06 58 FF FF FF FF FF FF FF FF 14 18 06 58 FF FF FF FF FF FF FF FF (#data=24) (20:09:42) Thermostat -> All, Type(0x0130), telegram: 90 00 FF 18 01 30 14 18 06 58 FF FF FF FF FF FF FF FF 14 18 06 58 FF FF FF FF FF FF FF FF (#data=24) (20:09:43) Thermostat -> All, Type(0x0130), telegram: 90 00 FF 30 01 30 14 18 06 5E FF FF FF FF FF FF FF FF 14 1C 06 5E FF FF FF FF FF FF FF FF (#data=24) (20:09:43) Thermostat -> All, Type(0x0130), telegram: 90 00 FF 48 01 30 14 20 06 58 FF FF FF FF FF FF FF FF (#data=12) (20:09:43) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 03 01 00 00 00 00 00 00 00 00 00 00 00 (#data=13) (20:09:44) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 38 01 F5 4B 00 01 01 20 40 80 00 80 00 01 E7 00 00 13 00 00 00 CA 00 00 00 (#data=25) (20:09:44) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 00 3C 80 00 80 00 21 00 00 01 00 00 2B D7 00 72 FA 00 (#data=17) (20:09:44) Thermostat -> All, Type(0x0131), telegram: 90 00 FF 00 01 31 14 18 14 20 14 44 06 58 FF FF FF FF 14 18 14 20 14 44 06 58 FF FF FF FF (#data=24) (20:09:45) Thermostat -> All, Type(0x0131), telegram: 90 00 FF 18 01 31 14 18 14 20 14 44 06 58 FF FF FF FF 14 18 14 20 14 44 06 58 FF FF FF FF (#data=24) (20:09:45) Thermostat -> All, Type(0x0131), telegram: 90 00 FF 30 01 31 14 18 14 20 14 44 06 5E FF FF FF FF 14 1C 06 5E FF FF FF FF FF FF FF FF (#data=24) (20:09:45) Thermostat -> All, Type(0x0131), telegram: 90 00 FF 48 01 31 14 20 06 58 FF FF FF FF FF FF FF FF (#data=12) (20:09:46) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 38 01 F3 4B 00 01 01 20 40 80 00 80 00 01 E4 00 00 13 00 00 00 CA 00 00 00 (#data=25) (20:09:46) Thermostat -> All, Type(0x0132), telegram: 90 00 FF 00 01 32 14 1C 0E 5C FF FF FF FF FF FF FF FF 14 1C 0E 5C FF FF FF FF FF FF FF FF (#data=24) (20:09:46) Thermostat -> All, Type(0x0132), telegram: 90 00 FF 18 01 32 14 1C 0E 5C FF FF FF FF FF FF FF FF 14 1C 0E 5C FF FF FF FF FF FF FF FF (#data=24) (20:09:47) Thermostat -> All, Type(0x0132), telegram: 90 00 FF 30 01 32 14 1C 0E 5C FF FF FF FF FF FF FF FF 14 1C 0E 5C FF FF FF FF FF FF FF FF (#data=24) (20:09:47) Thermostat -> All, Type(0x0132), telegram: 90 00 FF 48 01 32 0E 02 14 21 0E 24 14 29 0E 38 14 3D (#data=12) (20:09:48) Thermostat -> All, RCTime(0x06), telegram: 90 00 06 00 14 03 14 04 07 02 03 00 (#data=8) (20:09:53) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 00 3C 80 00 80 00 21 00 00 01 00 00 2B D7 00 72 FA 00 (#data=17) (20:09:54) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 38 01 E8 4B 00 01 01 20 40 80 00 80 00 01 DD 00 00 13 00 00 00 CA 00 00 00 (#data=25) (20:09:54) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 38 01 E8 4B 00 01 01 20 40 80 00 80 00 01 DD 00 00 13 00 00 00 CA 00 00 00 (#data=25) thermostat temp 21 6 1

Setting new thermostat temperature to 21.0 for heating circuit 1 temp mode 6 (0=auto,1=night,2=day,3=holiday,4=nofrost,5=eco,6=heat) (20:09:58) Sending write of type 0x79 to 0x10, telegram: 8B 10 FF 07 00 79 2A (20:09:58) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 0B 01 00 00 00 00 00 00 00 00 00 00 00 (#data=13) (20:09:58) Thermostat -> All, Type(0x0079), telegram: 90 00 FF 00 00 79 01 08 10 4B 04 0C 20 2A 04 00 01 (#data=11) (20:09:59) Thermostat -> All, Type(0x0130), telegram: 90 00 FF 00 01 30 15 18 06 58 FF FF FF FF FF FF FF FF 15 18 06 58 FF FF FF FF FF FF FF FF (#data=24) (20:09:59) Thermostat -> All, Type(0x0130), telegram: 90 00 FF 18 01 30 15 18 06 58 FF FF FF FF FF FF FF FF 15 18 06 58 FF FF FF FF FF FF FF FF (#data=24) (20:09:59) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 03 01 00 00 00 00 00 00 00 00 00 00 00 (#data=13) (20:10:00) Thermostat -> All, Type(0x0130), telegram: 90 00 FF 30 01 30 15 18 06 5E FF FF FF FF FF FF FF FF 15 1C 06 5E FF FF FF FF FF FF FF FF (#data=24) (20:10:00) Thermostat -> All, Type(0x0130), telegram: 90 00 FF 48 01 30 15 20 06 58 FF FF FF FF FF FF FF FF (#data=12) (20:10:01) Thermostat -> All, Type(0x0131), telegram: 90 00 FF 00 01 31 15 18 15 20 15 44 06 58 FF FF FF FF 15 18 15 20 15 44 06 58 FF FF FF FF (#data=24) (20:10:01) Thermostat -> All, Type(0x0131), telegram: 90 00 FF 18 01 31 15 18 15 20 15 44 06 58 FF FF FF FF 15 18 15 20 15 44 06 58 FF FF FF FF (#data=24) (20:10:01) Thermostat -> All, Type(0x0131), telegram: 90 00 FF 30 01 31 15 18 15 20 15 44 06 5E FF FF FF FF 15 1C 06 5E FF FF FF FF FF FF FF FF (#data=24) (20:10:02) Thermostat -> All, Type(0x0131), telegram: 90 00 FF 48 01 31 15 20 06 58 FF FF FF FF FF FF FF FF (#data=12) (20:10:02) Thermostat -> All, Type(0x0132), telegram: 90 00 FF 00 01 32 15 1C 0E 5C FF FF FF FF FF FF FF FF 15 1C 0E 5C FF FF FF FF FF FF FF FF (#data=24) (20:10:03) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 38 01 DF 4B 00 01 01 20 40 80 00 80 00 01 D9 00 00 13 00 00 00 CA 00 00 00 (#data=25) (20:10:03) Thermostat -> All, Type(0x0132), telegram: 90 00 FF 18 01 32 15 1C 0E 5C FF FF FF FF FF FF FF FF 15 1C 0E 5C FF FF FF FF FF FF FF FF (#data=24) (20:10:03) Thermostat -> All, Type(0x0132), telegram: 90 00 FF 30 01 32 15 1C 0E 5C FF FF FF FF FF FF FF FF 15 1C 0E 5C FF FF FF FF FF FF FF FF (#data=24) (20:10:04) Boiler -> All, UBAMonitorSlow(0x19), telegram: 88 00 19 00 80 00 00 00 01 C7 00 00 07 32 02 2D D1 10 04 AC 00 00 00 0F D8 D5 01 BA D7 00 00 (#data=27) (20:10:04) Boiler -> All, UBAMaintenanceStatusMessage(0x1C), telegram: 88 00 1C 00 00 3B C7 48 00 00 00 00 00 00 00 (#data=11) (20:10:04) Thermostat -> All, Type(0x0132), telegram: 90 00 FF 48 01 32 0E 02 15 21 0E 24 15 29 0E 38 15 3D (#data=12) (20:10:04) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 00 3C 80 00 80 00 21 00 00 01 00 00 2B D7 00 72 FA 00 (#data=17) (20:10:05) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 03 01 00 00 00 00 00 00 00 00 00 00 00 (#data=13) (20:10:05) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 38 01 DD 4B 00 01 01 20 40 80 00 80 00 01 D8 00 00 13 00 00 00 CA 00 00 00 (#data=25) (20:10:05) Thermostat -> All, JunkersStatusMessage_HC1(0x006F), telegram: 90 00 FF 00 00 6F 03 02 00 D2 00 C6 (#data=6) (20:10:05) Thermostat -> Boiler, UBASetPoints(0x1A), telegram: 90 08 1A 00 46 (#data=1) (20:10:05) Thermostat -> Boiler, Type(0x23), telegram: 90 08 23 00 46 (#data=1) (20:10:06) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 46 01 DC 4B 00 01 01 20 40 80 00 80 00 01 D8 00 00 13 00 00 00 CA 00 02 00 (#data=25) (20:10:07) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 46 01 DC 4B 00 01 01 24 40 80 00 80 00 01 D8 00 00 13 00 00 01 1B 00 02 00 (#data=25) (20:10:09) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 46 01 DA 4B 00 01 01 2D 40 80 00 80 00 01 D8 00 00 13 00 00 01 1C 00 02 00 (#data=25)

Ok, the thermostat has changed. It works.

hansstulp commented 4 years ago

What have i done wrong? See info Thermostat: Junkers FR100 (DeviceID: 0x10, ProductID: 107, Version: 15.07) Thermostat time is 20:11:01 04/03/2020 Heating Circuit 1 Current room temperature: 20.0 C Setpoint room temperature: 105.0 C Mode is set to auto

How can i correct: Setpoint room temperature: 105.0 C ????

proddy commented 4 years ago

oops. fixed now.

hansstulp commented 4 years ago

Thanks

hansstulp commented 4 years ago

Is this correct? Selected flow temperature: 5 C

And i am missing ww starts today in info.

proddy commented 4 years ago

looks ok. Mine is 5C too. And "Warm Water # starts:" should be shown too ?

hansstulp commented 4 years ago

Screenshot_2020-03-05-10-13-37-096_com android chrome

hansstulp commented 4 years ago

After a reset it Worms again.

proddy commented 4 years ago

ah good. I think with the last experiment we were sending wrong telegrams and that could have effected the behaviour of the boiler.

hansstulp commented 4 years ago

I have error messages in Domoticz: 2020-03-06 22:09:49.471 Error: (CV-ketel) 'onMessage' failed 'NameError'. 2020-03-06 22:09:49.471 Error: (CV-ketel) ----> Line 961 in '/home/pi/domoticz/plugins/ems-esp-domoticz-plugin/plugin.py', function onMessage 2020-03-06 22:09:49.471 Error: (CV-ketel) ----> Line 900 in '/home/pi/domoticz/plugins/ems-esp-domoticz-plugin/plugin.py', function onMessage 2020-03-06 22:09:49.471 Error: (CV-ketel) ----> Line 113 in '/home/pi/domoticz/plugins/ems-esp-domoticz-plugin/mqtt.py', function onMessage 2020-03-06 22:09:49.471 Error: (CV-ketel) ----> Line 932 in '/home/pi/domoticz/plugins/ems-esp-domoticz-plugin/plugin.py', function onMQTTPublish

bbqkees commented 4 years ago

These error messages are not an issue of EMS-ESP but of the Domoticz plugin. Are you running Domoticz on Buster?

hansstulp commented 4 years ago

Yes, it is.

bbqkees commented 4 years ago

I'm looking into it. The plugin creates loads of devices, for some reason something on Buster does not like it. With Jessie or Stretch these problems do not occur.

proddy commented 4 years ago

closing this issue, writing to the FR100 works now since 1.9.5b49.

For the domoticz plugin please create a new plugin, either here or on bbqkees' github.