Closed jarovo closed 4 years ago
Seems the FW100 doesn't always appear after autodetect scan
. But many times it does. let's say 8/10 cases. Something like that. The EMS-ESP is connected right next to it (daisy-chain topology: Boiler - FW100 - EMS-ESP).
which version are you using?
which version are you using?
It is in the "screenshot"
[TELNET] Connected to EMS-ESP version 1.9.4. Type ? for commands.
I compiled the dev version and the FW100 did appear right after OTA loading the firmware. But after reboot it disappeared and after scan it appeared.
[SYSTEM] Free Heap: 22824 bytes initially | 9864 bytes used (43%) | 12960 bytes free (56%)
devices
These 2 were recognized by EMS-ESP:
Boiler: Bosch Condens 2500/Buderus Logamax GB062/Junkers Cerapur Top/Worcester Greenstar i/Generic HT3 (DeviceID: 0x08, ProductID: 95, Version: 15.06)
Controller: HT3 Controller (DeviceID: 0x09, ProductID: 95, Version: 15.06)
devices scan
Requesting EMS bus master for its device list and scanning for external sensors...
[EMS] Detected new EMS Device with ID 0x08. Fetching version information...
[EMS] Detected new EMS Device with ID 0x09. Fetching version information...
[EMS] Detected new EMS Device with ID 0x10. Fetching version information...
New EMS device recognized as a Boiler: Bosch Condens 2500/Buderus Logamax GB062/Junkers Cerapur Top/Worcester Greenstar i/Generic HT3 (DeviceID: 0x08, ProductID: 95, Version: 15.06)
New EMS device recognized as a Controller: HT3 Controller (DeviceID: 0x09, ProductID: 95, Version: 15.06)
New EMS device recognized as a Junkers Thermostat: Junkers FW100 (DeviceID: 0x10, ProductID: 105, Version: 13.07)
info
Perhaps there is something going on when doing OTA which is not going on when just rebooting?
The behaviour is erratic. I did reset and no FW100 was recognized, though it was detected on the bus (device 0x10
):
TLocal time: 00:02:53 CES3 UTC on 3/4.
[TELNET] Connected to EMS-ESP version 1.9.5b58. Type ? for commands.
?
* EMS-ESP version 1.9.5b58
* Hostname: ems-esp (192.168.5.211)
* WiFi SSID: Bezrucova_688 (signal 78%)
* MQTT connected (heartbeat enabled)
*
* Commands:
* ?/help=show commands, CTRL-D/quit=end telnet session
* set, system, restart, mqttqueue, kick, save
* info show current values deciphered from the EMS messages
* log <n | b | t | s | m | r | j | v | w [ID] | d [ID]> logging: none, basic, thermo, solar, mixing, raw, jabber, verbose, watch a type or device
* publish publish all values to MQTT
* refresh fetch values from the EMS devices
* devices [scan] | [scan+] | [clear] | [save] list detected devices, quick scan, deep scan, clear and and save
* txqueue show current Tx queue
* send XX ... send raw telegram data to EMS bus (XX are hex values)
* thermostat read <type ID> send read request to the thermostat for heating circuit hc 1-4
* thermostat temp <degrees> [mode] [hc] set thermostat temperature. mode is manual,auto,heat,day,night,eco,comfort,holiday,nofrost
* thermostat mode <mode> [hc] set mode (manual,auto,heat,day,night,eco,comfort,holiday,nofrost)
* boiler read <type ID> send read request to boiler
* boiler wwtemp <degrees> set boiler warm water temperature
* boiler wwactive <on | off> set boiler warm water on/off
* boiler wwonetime <on | off> set boiler warm water onetime on/off
* boiler tapwater <on | off> set boiler warm tap water on/off
* boiler flowtemp <degrees> set boiler flow temperature
* boiler comfort <hot | eco | intelligent> set boiler warm water comfort setting
devices
These 2 were recognized by EMS-ESP:
Boiler: Bosch Condens 2500/Buderus Logamax GB062/Junkers Cerapur Top/Worcester Greenstar i/Generic HT3 (DeviceID: 0x08, ProductID: 95, Version: 15.06)
Controller: HT3 Controller (DeviceID: 0x09, ProductID: 95, Version: 15.06)
devices
These 2 were recognized by EMS-ESP:
Boiler: Bosch Condens 2500/Buderus Logamax GB062/Junkers Cerapur Top/Worcester Greenstar i/Generic HT3 (DeviceID: 0x08, ProductID: 95, Version: 15.06)
Controller: HT3 Controller (DeviceID: 0x09, ProductID: 95, Version: 15.06)
log v
System Logging set to Verbose
devices
These 2 were recognized by EMS-ESP:
Boiler: Bosch Condens 2500/Buderus Logamax GB062/Junkers Cerapur Top/Worcester Greenstar i/Generic HT3 (DeviceID: 0x08, ProductID: 95, Version: 15.06)
Controller: HT3 Controller (DeviceID: 0x09, ProductID: 95, Version: 15.06)
devices scan
Requesting EMS bus master for its device list and scanning for external sensors...
Requesting type UBADevices(0x07) from dest 0x08
(00:03:27) Boiler -> 0x13, Type(0x05), telegram: 88 13 05 22 00 (#data=1)
(00:03:27) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 00 00 8A 64 00 00 02 00 C0 80 00 80 00 80 00 FF FF FF 00 00 00 00 00 00 00 (#data=25)
(00:03:27) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 08 00 (#data=1)
(00:03:28) Sending read of type 0x07 to 0x08, telegram: 8B 88 07 00 20
(00:03:28) Boiler -> Me, UBADevices(0x07), telegram: 88 0B 07 00 03 01 00 00 00 00 00 00 00 00 00 00 00 00 00 (#data=15)
[EMS] Detected new EMS Device with ID 0x08. Fetching version information...
Requesting type Version(0x02) from dest 0x08
[EMS] Detected new EMS Device with ID 0x09. Fetching version information...
Requesting type Version(0x02) from dest 0x09
[EMS] Detected new EMS Device with ID 0x10. Fetching version information...
Requesting type Version(0x02) from dest 0x10
(00:03:28) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 0B 01 00 00 00 00 00 00 00 00 00 00 00 00 00 (#data=15)
(00:03:29) Sending read of type 0x02 to 0x08, telegram: 8B 88 02 00 20
(00:03:29) Boiler -> Me, Version(0x02), telegram: 88 0B 02 00 5F 0F 06 00 00 00 00 00 00 00 (#data=10)
New EMS device recognized as a Boiler: Bosch Condens 2500/Buderus Logamax GB062/Junkers Cerapur Top/Worcester Greenstar i/Generic HT3 (DeviceID: 0x08, ProductID: 95, Version: 15.06)
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
(00:03:29) Sending read of type 0x02 to 0x09, telegram: 8B 89 02 00 20
(00:03:29) 0x09 -> Me, Version(0x02), telegram: 89 0B 02 00 5F 0F 06 00 00 00 00 00 00 00 (#data=10)
New EMS device recognized as a Controller: HT3 Controller (DeviceID: 0x09, ProductID: 95, Version: 15.06)
(00:03:29) Sending read of type 0x02 to 0x10, telegram: 8B 90 02 00 20
(00:03:29) Corrupt telegram: FE D8 03 00 20
(00:03:30) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 03 01 00 00 00 00 00 00 00 00 00 00 00 00 00 (#data=15)
(00:03:30) Sending read of type 0x18 to 0x08, telegram: 8B 88 18 00 20
(00:03:30) Boiler -> Me, UBAMonitorFast(0x18), telegram: 88 0B 18 00 00 00 8A 64 00 00 02 00 C0 80 00 80 00 80 00 FF FF FF 00 00 00 00 00 00 00 (#data=25)
(00:03:31) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 0B 01 00 00 00 00 00 00 00 00 00 00 00 00 00 (#data=15)
(00:03:31) Sending read of type 0x19 to 0x08, telegram: 8B 88 19 00 20
(00:03:31) Boiler -> Me, UBAMonitorSlow(0x19), telegram: 88 0B 19 00 00 11 80 00 80 00 FF FF 00 00 00 16 7B 0E 3B EA 00 00 00 0E 3B EA 00 16 7B 80 00 (#data=27)
(00:03:31) Sending read of type 0x33 to 0x08, telegram: 8B 88 33 00 20
(00:03:31) Corrupt telegram: F1 88 33 00 20
(00:03:32) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 03 01 00 00 00 00 00 00 00 00 00 00 00 00 00 (#data=15)
devi(00:03:33) Sending read of type 0x16 to 0x08, telegram: 8B 88 16 00 20
c(00:03:33) Boiler -> Me, UBAParametersMessage(0x16), telegram: 88 0B 16 00 FF 50 64 00 00 FB 03 01 03 64 0A 00 (#data=12)
(00:03:33) Sending read of type 0x14 to 0x08, telegram: 8B 88 14 00 20
(00:03:33) Boiler -> Me, UBATotalUptimeMessage(0x14), telegram: 88 0B 14 00 3C 01 4D (#data=3)
e(00:03:33) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 0B 01 00 00 00 00 00 00 00 00 00 00 00 00 00 (#data=15)
s
These 2 were recognized by EMS-ESP:
Boiler: Bosch Condens 2500/Buderus Logamax GB062/Junkers Cerapur Top/Worcester Greenstar i/Generic HT3 (DeviceID: 0x08, ProductID: 95, Version: 15.06)
Controller: HT3 Controller (DeviceID: 0x09, ProductID: 95, Version: 15.06)
(00:03:33) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 03 01 00 00 00 00 00 00 00 00 00 00 00 00 00 (#data=15)
(00:03:37) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 00 00 8A 64 00 00 02 00 C0 80 00 80 00 80 00 FF FF FF 00 00 00 00 00 00 00 (#data=25)
(00:03:37) Boiler -> 0x13, Type(0x05), telegram: 88 13 05 22 00 (#data=1)
(00:03:37) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 08 00 (#data=1)
devices
These 2 were recognized by EMS-ESP:
Boiler: Bosch Condens 2500/Buderus Logamax GB062/Junkers Cerapur Top/Worcester Greenstar i/Generic HT3 (DeviceID: 0x08, ProductID: 95, Version: 15.06)
Controller: HT3 Controller (DeviceID: 0x09, ProductID: 95, Version: 15.06)
Fetching data from EMS devices
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
(00:03:45) Sending read of type 0x18 to 0x08, telegram: 8B 88 18 00 20
(00:03:45) Boiler -> Me, UBAMonitorFast(0x18), telegram: 88 0B 18 00 00 00 8A 64 00 00 02 00 C0 80 00 80 00 80 00 FF FF FF 00 00 00 00 00 00 00 (#data=25)
(00:03:45) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 0B 01 00 00 00 00 00 00 00 00 00 00 00 00 00 (#data=15)
(00:03:46) Sending read of type 0x19 to 0x08, telegram: 8B 88 19 00 20
(00:03:46) Boiler -> Me, UBAMonitorSlow(0x19), telegram: 88 0B 19 00 00 11 80 00 80 00 FF FF 00 00 00 16 7B 0E 3B EA 00 00 00 0E 3B EA 00 16 7B 80 00 (#data=27)
(00:03:46) Sending read of type 0x33 to 0x08, telegram: 8B 88 33 00 20
(00:03:46) Boiler -> Me, UBAParameterWW(0x33), telegram: 88 0B 33 00 08 FF 0F 00 00 00 00 01 46 00 FF FF (#data=12)
(00:03:46) Sending read of type 0x16 to 0x08, telegram: 8B 88 16 00 20
(00:03:46) Corrupt telegram: FE CC 9F 80 30
(00:03:47) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 03 01 00 00 00 00 00 00 00 00 00 00 00 00 00 (#data=15)
(00:03:47) Boiler -> All, UBAMonitorFast(0x18), telegram: 88 00 18 00 00 00 8A 64 00 00 02 00 C0 80 00 80 00 80 00 FF FF FF 00 00 00 00 00 00 00 (#data=25)
(00:03:47) Boiler -> 0x13, Type(0x05), telegram: 88 13 05 22 00 (#data=1)
(00:03:48) Boiler -> All, UBAMonitorWWMessage(0x34), telegram: 88 00 34 08 00 (#data=1)
(00:03:48) Sending read of type 0x14 to 0x08, telegram: 8B 88 14 00 20
(00:03:48) Boiler -> Me, UBATotalUptimeMessage(0x14), telegram: 88 0B 14 00 3C 01 4D (#data=3)
(00:03:48) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 0B 01 00 00 00 00 00 00 00 00 00 00 00 00 00 (#data=15)
d(00:03:49) Boiler -> All, UBADevices(0x07), telegram: 88 00 07 00 03 01 00 00 00 00 00 00 00 00 00 00 00 00 00 (#data=15)
evices
These 2 were recognized by EMS-ESP:
Boiler: Bosch Condens 2500/Buderus Logamax GB062/Junkers Cerapur Top/Worcester Greenstar i/Generic HT3 (DeviceID: 0x08, ProductID: 95, Version: 15.06)
Controller: HT3 Controller (DeviceID: 0x09, ProductID: 95, Version: 15.06)
I terminated the telnet and started again. No FW100. I did the scan again and it appeared:
➜ ~ telnet ems-esp.lan
Trying 192.168.5.211...
Connected to ems-esp.lan.
Escape character is '^]'.
[TELNET] Connected to EMS-ESP version 1.9.5b58. Type ? for commands.
devices
These 2 were recognized by EMS-ESP:
Boiler: Bosch Condens 2500/Buderus Logamax GB062/Junkers Cerapur Top/Worcester Greenstar i/Generic HT3 (DeviceID: 0x08, ProductID: 95, Version: 15.06)
Controller: HT3 Controller (DeviceID: 0x09, ProductID: 95, Version: 15.06)
devices
These 2 were recognized by EMS-ESP:
Boiler: Bosch Condens 2500/Buderus Logamax GB062/Junkers Cerapur Top/Worcester Greenstar i/Generic HT3 (DeviceID: 0x08, ProductID: 95, Version: 15.06)
Controller: HT3 Controller (DeviceID: 0x09, ProductID: 95, Version: 15.06)
devices scan
Requesting EMS bus master for its device list and scanning for external sensors...
[EMS] Detected new EMS Device with ID 0x08. Fetching version information...
[EMS] Detected new EMS Device with ID 0x09. Fetching version information...
[EMS] Detected new EMS Device with ID 0x10. Fetching version information...
New EMS device recognized as a Boiler: Bosch Condens 2500/Buderus Logamax GB062/Junkers Cerapur Top/Worcester Greenstar i/Generic HT3 (DeviceID: 0x08, ProductID: 95, Version: 15.06)
New EMS device recognized as a Controller: HT3 Controller (DeviceID: 0x09, ProductID: 95, Version: 15.06)
New EMS device recognized as a Junkers Thermostat: Junkers FW100 (DeviceID: 0x10, ProductID: 105, Version: 13.07)
devices
These 3 were recognized by EMS-ESP:
Boiler: Bosch Condens 2500/Buderus Logamax GB062/Junkers Cerapur Top/Worcester Greenstar i/Generic HT3 (DeviceID: 0x08, ProductID: 95, Version: 15.06)
Controller: HT3 Controller (DeviceID: 0x09, ProductID: 95, Version: 15.06)
Thermostat: Junkers FW100 (DeviceID: 0x10, ProductID: 105, Version: 13.07)
We can see corrupt telegrams there, but I think I didn't get any with the last release (1.9.4)
I've seen this behaviour before, it's something in the code that needs to be improved and I've fixed it in version 2.0 so not really planning to back-port it to 1.9.x. Basically what happens when EMS-ESP boots up is
a workaround is to do a scan and when you have all the devices save them with devices save
.
in EMS-ESP 2.0 both the Rx and Tx are asynchronous queues with a more rigid retry logic so if there is a glitch on the wire the last Tx command will be repeated. Well, in theory 'cos I haven't tried it out yet!
OK. I am looking forward for the version 2. I didn't see it in the git repo.
I'll leave this open and we can re-test when I release 2.0 to alpha
Looking forward to it!
if you have a spare ESP8266 can you test your FW100 using v2
I think I don't really need a spare. I think I can use the one I have. I use it for experimental purposes and I don't really need it stable especially in summer. I will test it once I get home. Thanks.
Bug description FW100 is never detected automatically (I waited more than 5 minutes) after ems-esp boot. The device though appears after
autodetect scan
is issued.Steps to reproduce 1) power-up ems-esp or reboot it using telnet command 1)
devices
telnet command doesn't show the FW100 1) issueautodetect scan
telnet command, the FW100 appears (check withdevices
command or withinfo
command)Expected behavior FW100 appears after system start
Screenshots
Device information In the screenshot. I am quite sure the boiler is Junkers CeraclassExcellence ZSC 35-3 MFA. I can verify if needed.
Additional context Note that I would expect two devices to appear (assuming the boiler has one). For some reason I see the boiler on 2 ids.