Closed barbuslex closed 2 months ago
You need to provide a serial monitor log as described in the manual, from the time the heater starts until the time is reset to the wrong date, after you changed it via BSB-LAN. Otherwise there is nothing I can do.
Is it possible to monitor log from wifi ? Is not possible for me to connect ESP32 on heater pump and on my pc in same time :S I have see it's possible to connect to telnet for debugging (in settings). Could this be enough?
Yes, that would be enough. It's just important that you start the log before you set the time and wait until the wrong time is set again.
OK, i have try but it seems that i have only log from ESP32 but no log from heat pump. I see in log the date/time set by bsb-lan but not the reset. And i can't set Parameter 0 for retrieve date/time by MQTT every 30 seconds :
Here my settings : Should i activate this setting ?
Please read up in the manual what a serial monitor log is, it is not the same as logging parameters. There is a dedicated chapter in the manual: https://1coderookie.github.io/BSB-LPB-LAN_EN/chap12.html#122-serial-monitor All you need to activate is Debugging / Usage / Telnet
I have enabled this settings :
I confirm, if i let the heat pump on startup display, the date/time is not resetted :
I have push 3 time to the return button (3) for cancel and return on home display the date is resetted every 1-2 minutes. But i not have the log of the reset. In log file it's just refresh (F5) of the BSB-LAN /K0 page.
In the log file: Set date/time: line 166 Show reset by F5 on /K0: line 3414 monitor.txt
Tell me if it's good or not...
Yes, that log file is the one I'm looking for, but please disable all kind of logging, MQTT etc., otherwise the file is way too cluttered to find anything.
Here the new clean monitor log : monitor2.txt
Hm, that's strange, also because there is no other communication on the bus. Normally, the display (which identifies as "DISP" in addition to "HEIZ" and "LAN" which is the heater and BSB-LAN respectively) should send a telegram every 10 seconds to the heater to either query the displayed value or to make changes for example regarding the time. What makes me wonder is that the date falls back to 2015. Normally, the time is set via the display unit on the heater. It seems to me that the display "forgets" the correct time, as if it had lost its backup battery or something like that, and then just uses the first date it know (i.e. 2015). Since there is "silence" in the log unless you are doing something with BSB-LAN, I can't really help because I can't see what/if the display unit is interfering in any way. From the BSB-LAN part, all seems to be fine...
Yes, in fact I'd like to be able to send the date and time back to the heat pump after a power cut. I don't have this problem if I set the date on the display and use it. The problem occurs after a power cut. So I'd have to force this date and time onto the heat pump display instead. Is there any way of doing this?
I have see inside the heater and the wiring is like this : (example picture its not my installation)
Yellow : Front display of the heater Blue: Inside home sensor/switch Red: ESP32 BSB-LAN
Is it possible that yellow is not on the same bus than red ?
It's the same with me, and both are part of the BSB bus. Can you try and run the serial monitor log while you change one parameter to a different value and then back again? Let's say comfort temperature setpoint (710) to 24 degrees and then back to the original. It should be visible on the serial monitor. If not, then your system may be different from mine and then I don't know if you can "reach" the display unit.
In order to send directly to the display unit, you could try and add a !10 after the /S0, so that it's /S0!10=... and also run a serial monitor log when doing so. The second option would be to send it as an INF, i.e. /I0=.... Also run a serial monitor log here. If none of this works, then I'm at my wit's end...
Ok i need to buy a long usb cable to do it. I will buy it and i will try. I will reply on next message in few days when i have the monitor log.
Here the log : monitor.txt
I have try to set year to 2025. Set comfort temperature setpoint (710) to 24 degrees : OK Set comfort temperature setpoint (710) to 21.5 degrees : OK /S0!10=01.03.2025_23:02:32 set failed /I0=01.03.2025_23:02:32 return nothing
Sorry, I meant to change these parameters on the display and have the serial monitor running while you change it there...
Ok i change just comfort temperature or date/time too ? I tried the date and time in the previous monitor it seems and it displayed nothing. But i can retry. I will test in 1 week because i'm not in my house actually. I will post the monitor in a next comment.
Just the temperature is enough. I know you changed the time in the previous log, but since nothing of that showed up in the monitor log, I wanted you to try it with a different parameter. If that one also does not show up in the monitor log, then the display is somehow detached from the rest of the BSB bus - which is strange, but could be possible. But it would mean that you have no way of accessing the display unit and change its time. The last resort would be if you have a room unit. What happens if you change the time from there? If you have one, then changing the time via the room unit while you are capturing the serial monitor output would be the last thing I could look at.
Oh.. ok i have understand... i will test when i return to my home. I have 2 room display like this : But i can't change date/time with them just temperature and climate hot/cool.
Yes, these are the "simpler" ones, unfortunately...
What's strange is that when I change the temperature or turn the room thermostat on/off from the BSBLAN, it works. The heat pump display updates with the correct values after a while.
No, unfortunately, that is not strange at all. The controller (RVS21) is the authoritative device in all cases except for the time and date settings. Since it works that you change parameters via BSB-LAN on the RVS21, these will be reflected on the display as well because the display gets these values from the RVS21. The time is the only thing that the display "knows" and which it sends to the heater. But since we do not see any activity of the display on the bus, it must somehow be isolated from the rest of the bus. We'll know this for sure once you have made the last tests that I suggested.
I can test at the end of the afternoon. I thought about this scenario.
Zone 1 temperature: 19 °C
Zone 2 temperature: 19 °C
24 °C
24 °C
Zone 1 temperature: 21 °C
Zone 2 temperature: 21 °C
Is it a good test scenario for you ?
Yes, the important thing is that you have the serial monitor running when making all of these changes. I need to be able to see the telegrams that appear in the log when you make changes both on the heat pump display as well as on the room display(s).
It seems the serial monitor not log the bus :S Just the BSBLAN actions are logged.
Maybe its because i capture log from telnet ?
Yes, it seems that the connector to which you have connected BSB-LAN is isolated from both the heating unit's display and the other room units. This is really strange and new to me, but it has nothing to do with the telnet connection. Both serial and telnet just listen to what is on the bus, and they only see the messages going to and from the heater (which is most important of course), but nothing from the other devices. Can you post a photo so I can see where BSB-LAN is connected to and where the zone room display units are connected to?
Global installation :
Focus on X86:
I just remembered that I changed a part behind the display following a call to the manufacturer Atlantic so that they could keep the date and time in the event of a power outage.
They are differentiated by the gray cylinder (capacitor or battery) which allows the date and time to be retained for around ten minutes in the event of a power outage (see photo).
At the top the new part and at the bottom the old one :
Maybe I should put the old one back?
Ah, ok, the zone units are connected to the AVS55. It may make sense that these do not show up on the bus because the AVS55 is connected directly to the underlying RVS21, so the messages may not go on the rest of the bus. The same could be true for the heater display, but that is still kind of new to me. I don't think that the device on your photo has anything to do with it, but on the other hand, I've never seen that either. Bottom line is that as long as you don't see any data telegrams on the serial monitor when changing parameters on the main display, you can't change it, unfortunately...
It's not possible to connect BSBLAN on AVS55 next to the other zone display (in purple on the global photo) ?
I haven't found any documentation on this connector. If it measures around 12-15V you can safely try without breaking the adapter. Then you could try again and see if there is any activity on the bus once you are changing parameters on the zone units...
The other zone display is connected to it I think it is the same voltage.
I have found this documentation about AVS55 (in french). The Atlantic reference of this part is 075311. http://www.iso-chauffe.fr/Files/27354/alfea-extensa-duo-alfea-excellia-duo-kit-carte-extension-notice-atlantic.pdf
Looks good, the manual mentions "Sonde d'ambiance circuit mélangé (option kit 2 circuits)", and if my rusty French of over 25 years is still any good, then this means something like mixed circuit room temperature sensor, and if the voltage is the same, then I'd try and see what you can get...
Same here. I can change temperature from BSBLAN but i can't trace any bus telegram from heater or zone.
Did you connect it to the exactly the same pins as one of the zone room units? If so, it must display something when you change a parameter on that unit. You may not see anything the main heater display does, but at least activity from the zone unit must be visible...
Ok i will try this weekend. I will try with USB too.
I plugged the ESP32 into the same port as a room screen. I tried capturing from USB but I don't seem to have any more information other than this:
15:35:00.126 -> 60002 Ping!
15:35:03.219 -> DC C2 00 0B 06 3D 05 00 64 5E E8
15:35:03.219 -> Device family: 0
15:35:03.219 -> Device variant: 0
15:35:03.219 -> GET /0 HTTP/1.1
15:35:06.316 -> DC C2 00 0B 06 3D 05 00 0B C3 A1
15:35:06.316 -> query failed
15:35:09.388 -> DC C2 00 0B 06 3D 05 00 0B C3 A1
15:35:09.388 -> query failed
15:35:12.444 -> DC C2 00 0B 06 3D 05 00 0B C3 A1
15:35:12.444 -> query failed
15:35:12.444 -> 0
15:36:00.141 -> 120003 Ping!
15:36:03.172 -> DC C2 00 0B 06 3D 05 00 64 5E E8
15:36:03.219 -> Device family: 0
15:36:03.219 -> Device variant: 0
15:37:00.103 -> 180004 Ping!
15:37:03.178 -> DC C2 00 0B 06 3D 05 00 64 5E E8
15:37:03.178 -> Device family: 0
Then I let just the telnet log run for a while and managed to capture this:
DC C2 00 0B 06 3D 05 00 0B C3 A1
HEIZ->LAN ANS 0.0 Heure - Date actuelle / Heure actuelle: 28.03.2024 23:39:46
DC 80 42 14 07 05 3D 00 0B 00 7C 03 1C 04 17 27 2E 00 0C 1E
#0: 28.03.2024 23:39:46
16502715 Ping!
16562718 Ping!
16622721 Ping!
16682724 Ping!
16742726 Ping!
GET /0 HTTP/1.1
LAN->HEIZ QUR 0.0 Heure - Date actuelle / Heure actuelle:
DC C2 00 0B 06 3D 05 00 0B C3 A1
HEIZ->LAN ANS 0.0 Heure - Date actuelle / Heure actuelle: 28.03.2024 23:44:46
DC 80 42 14 07 05 3D 00 0B 00 7C 03 1C 04 17 2C 2E 00 FC EF
#0: 28.03.2024 23:44:46
16802728 Ping!
INF: Brennerstatus: 0
16862730 Ping!
INF: TWW-Status: 69
16922732 Ping!
16982735 Ping!
17042738 Ping!
GET /0 HTTP/1.1
LAN->HEIZ QUR 0.0 Heure - Date actuelle / Heure actuelle:
DC C2 00 0B 06 3D 05 00 0B C3 A1
HEIZ->LAN ANS 0.0 Heure - Date actuelle / Heure actuelle: 28.03.2024 23:49:46
DC 80 42 14 07 05 3D 00 0B 00 7C 03 1C 04 17 31 2E 00 FD DD
#0: 28.03.2024 23:49:46
17102741 Ping!
17162744 Ping!
17222747 Ping!
How are your settings for verbose and monitor in the configuration? What surprises me is that BSB-LAN recognizes DHW and burner status messages, but does not display the telegrams. Also, I don't understand why you cannot obtain the device family and variant. These queries should not fail, unless there is no "path" to the central heater. But there should be, because the room unit needs to "talk" to the central heater.
Here my settings :
The last log was captured (when see date) with this option :
Strange. The settings are correct, and the PPS mode does not apply to your system. I don't know what's going on there, but if you can't even see anything when connected to the room unit connector and and change or query parameters via the room unit, then I'm at my wit's end :(...
Could this be due to a faulty ESP32?
I have buy this one : https://www.amazon.fr/dp/B07XH45MWW?psc=1&ref=ppx_yo2ov_dt_b_product_details
No, that one looks ok - if you can set other parameters, everything works fine on the BSB-LAN side because that means you can send and receive data. That works as seen in your monitor2.txt further up. A QUR telegram is a query that you send from BSB-LAN to the heater, and an ANS telegram is the answer that you get from the heater. So on that level, technically is fine. But usually, the BSB bus is the same across all connectors, so no matter which "FB", "CL+/-" etc. labelled connector you are using, you should always see all messages sent and received by all connected devices such as room units, heater display etc. For some reason that is not the case here with you, and there are no QUR/ANS telegrams for example between DISP (display) and HEIZ (central heater), you only see the ones between your own (LAN) and the heater (HEIZ). I would have thought that maybe your heater is different in that way that the various BSB connectors are not connected to each other. But at least if you plug yourself into the very same connector to which the room unit is attached to, you must be able to see what the room unit sends/receives.
One last thing you can try is to connect BSB-LAN without being powered by USB. If you connect it to the BSB connector, the red LED should turn on even if the ESP32 is not powered on. If it is connected to the same connector as the room unit, the LED should flicker slightly each time you read another parameter on the room unit, in the same way it flickers when you queried parameters from BSB-LAN before. If that is the case, then we know that the problem must be somewhere with your setup. If the LED is just on all the time without any flicker, then the hardware of your heater must be designed in such a way that room unit and BSB-LAN are somehow magically separated in a way that I can't explain to myself...
Are you still going to try the suggestions I made? Otherwise, I'll close this issue.
Yes i will try this weekend.
Le mar. 23 avr. 2024, 19:54, fredlcore @.***> a écrit :
Are you still going to try the suggestions I made? Otherwise, I'll close this issue.
— Reply to this email directly, view it on GitHub https://github.com/fredlcore/BSB-LAN/issues/622#issuecomment-2073040418, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA3TIJFIQ3QKHIHRQ223CLY62N5TAVCNFSM6AAAAABD632RHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZTGA2DANBRHA . You are receiving this because you authored the thread.Message ID: @.***>
Any news from your side? Otherwise, I'll close this issue.
I'm sorry, I haven't had time lately. I'll try it tomorrow evening or this weekend.
I was finally able to take the test! Here is the video: https://www.youtube.com/watch?v=WWFnyWNKBJQ
Ok, this clearly shows that something is going on on the bus, but without a serial monitor log at the same time, I don't know if that's because of your activity or because there are other bus telegrams going on. Which connector did you connect BSB-LAN to? So what you need to do is to look at the serial monitor and at the same time at the flickering of the LED. Then mark which telegrams match your activities (such as changing temperature). If you change something and the LED flickers, but you don't see anything on the serial monitor, then something is wrong beyond my knowledge.
The BSB-LAN is connected like this pictures :
Could the blinking be related to sending messages via MQTT? Because I did not disable MQTT sending during my tests. If you watch the video slowly, it seems to me that the action of the chamber panel stops the flashing for a few moments. Then the flashing starts again.
The LED means bus activitiy, irrespective of the source. So yes, it could be something that BSB-LAN is logging or the home automation system is querying from BSB-LAN, but it could also be bus messages independent of BSB-LAN. In any case there should be serial monitor activity whenever the LED is flashing.
Ok I will try to do both simultaneously and I will send you everything.
Le ven. 14 juin 2024 à 13:16, fredlcore @.***> a écrit :
The LED means bus activitiy, irrespective of the source. So yes, it could be something that BSB-LAN is logging or the home automation system is querying from BSB-LAN, but it could also be bus messages independent of BSB-LAN. In any case there should be serial monitor activity whenever the LED is flashing.
— Reply to this email directly, view it on GitHub https://github.com/fredlcore/BSB-LAN/issues/622#issuecomment-2167806294, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA3TIMJSUAEA2EIOSOCTDTZHLGJPAVCNFSM6AAAAABD632RHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRXHAYDMMRZGQ . You are receiving this because you authored the thread.Message ID: @.***>
-- Barbuslex.
BSB-LAN Version
Architecture ESP32
Bus system BSB
Describe the bug The entry of the date and time is reset to zero after a few times.
To Reproduce I do not observe this behavior if the heat pump control panel remains on the first date and time setting display at startup.
Steps to reproduce the behavior: Power Off Atlantic Extensa Duo. Power On. The date/time is resetted to 01.01.2015 00:00:00 by default. At startup, the panel request to set date and time. Cancel this display with return button.
Log files - Bug reports without log files will be closed Don't have any logs
Expected behavior When the date and time is set by http, i need it will be persisted.
Screenshots
Desktop (if applicable, please complete the following information):
Additional context Maybe my BSB_LAN_custom_defs.h (attached) file is bad because i use same that my neighbor who have same heat pump than me. But it seems its seems in integrated control panel which send every 1-2 minutes the date/time :
BSB_LAN_custom_defs.h.txt BSB_LAN_config.h.txt BSB-LAN-211-127-137987.txt