-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No valid data? #7
Comments
@kralikba That is quite a big setup. I am not familiar with the Logamatic 4121, but I have googled the instalation manual. It looks like only the connection between the Logamax plus GB112 and the Logamatic 4121 is using the iRT (UBA 1.x) protocol. I think the best option is to connect it parallel to the boiler connection(Logamax plus GB112). Have a look at issue #6 there is a picture where the wires go. So leave the wires between the Logamax plus GB112 and the Logamatic 4121 in place and put the board parallel to this connection. |
@Victor-Mo thanks for the idea. It has never occurred to me that the room thermostat is not directly connected to the bus. Now that you gave me this idea, I've found some documentation about it - and it is communicating at a data rate of 1200 bps, which perfectly explains the F's and 8's. |
Thanks; i have connected it to the EMS/UBA port on the controller (turns out there is one clearly labelled as such) which goes to the boiler itself as well. (approx. 1,5 meters of wire to the boiler; 30 cm to the ESP; both connected/stuffed into the same screw terminal). I am getting some data, but mostly CRC errors now:
Also, the info output also shows more than previously:
(Interestingly it is 117 after a reset as well. Of course, no water temperature is that high in the system and even the solar module is not reporting anything at 117 °C) |
Now that the warm water is being prepared for the evening, I've reconnected the device. It is still mostly showing CRC errors butt some of the boiler-related data now seems correct:
The web interface still just says "EMS Bus is not connected." |
@kralikba Good to see that it is at least doing 'something'. But i think the signaling from the 'Logamatic 4121' is slightly different. Maybe the message are slightly longer ?. Could you make a longer 'log j' log file ? Just leave it running for 10 minutes. You can attach a file to the issue. The 117 is not correct, but the message i use for the warm water temperature, 0xA8 seems to report it (A8 A8 07 07 FF FF 71 71 75 8A) the 0x75 = 117. But it could be there is another message with the right value. |
I've attached a log: https://gist.github.com/kralikba/219e08662b244e375e99a31539e3465c |
Hi @kralikba , I have had a quick look at the log you provided. It looks like it is not detecting all the bytes on the long messages. I am not sure if it simply is not correctly detecting the bytes or if the ESP has problems keeping up with the data. It mostly happens at the end of the data. If i manually 'fix' the data it seems to contain all the messages. So i do not thing the langue they 'speak' between the 4142 and the UBA is different. Currently it completely ignores all the data if it detects a problem in the complete string. I will have a look if i can make something that at least processes the good part of the data. That should give you a working system. Does the 117 degrees water temperature change at all ? Is there any relation with the real temperature ? like divided by two ? Is the boiler used for Hot tapwater ? |
Hi, |
I've tried cutting the wire as short as physically possible but the general behaviour is the same. Do you have any hardware modification ideas which might help a bit doable with my limited kit (a bunch of passives, some Chinese Arduinos, but no logic analyzer nor oscilloscope to drill down)? |
Hi @kralikba , Sorry for the delay in responding, but it has been a busy week. I have not had time to look at the trace, if I can find another location for the hot water. I am not 100% sure about the board you have. There should be a resistor of 1 MOhm (I think R22). Increase this to 1,5 MOhm or even 2 MOhm may help with improving the detection. Because of the slow speed (4800 Baud) the length of the bus and tap connection is not really critical. |
Hi, https://gist.github.com/kralikba/e50f88c23178a876dd8d15c455532ade |
@kralikba Good news that the board is working now, a few CRC errors is normal. I had a quick look at you log file and the data looks solid. There are a few other, unknown to me, messages. So I will have a better look at the log file. The webgui needs some work. But I can see the flow and return temperature is reported. These values need a correction. For example in your picture it reports 18 degrees, but it actually is 26 degrees. I am currently working on a conversion table. I have been reading in the installation manual of your boiler. It does not have a warm water sensor in the boiler itself, but an external sensor can be connected. Can you confirm it is connected ? |
Yes it is, but to the Logamatic controller. Maybe it doesn't show up on the UBA bus? From what I've understood, other components of this control system are connected to a separate internal bus. |
That 26 degrees is correct as far as I remember! |
I have created a new version, v1.9.10, that has a correction on the reported temperatures. I also cleaned-up the web GUI. But the iRT protocol is very basic. It is just to control the boiler. I think you will only get the Flow and return temp. and if the boiler is running. I do not think the logamatic controller will publish any 'extra' information on the iRT bus to the boiler. |
Closing the issue, feel free to reopen if necessary. |
Hello,
I've received an iRT board from bbqkees with the Wemos installed but I can't seem to get valid data out of the system. The ESP has IRT-ESP version 1.9.8.20073113 pre-flashed. I've set txmode 4 but otherwise everything is the default.
I have a Buderus system: a Logamax plus GB112 (looks like an UBA 1.5), a Logamatic 4121 controller, a MEC2 remote control/thermostat installed inside the heated area, connected to the controller with approx 5 m of a twisted pair of thick stranded wire, and the solar module. I've tried tapping the wire pair going to the thermostat, directly connecting the esp module to the controller's "thermostat port" and connecting only the esp module to the "thermostat port".
I've tried "reversing the polarity" (I'm not sure whether that matters).
I do not get any valid data any way, just CRC errors. When the MEC2 is connected,
log j
shows a lot of telegrams: (otherwise just a couple short ones)This doesn't feel right. What could the problem be?
Thanks!
Barnabás
The text was updated successfully, but these errors were encountered: