-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
[BUG] Set date and time reset after a while #622
Comments
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 |
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. |
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 |
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: 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 : |
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... |
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. |
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. |
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 ? |
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. |
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.
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? |
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. |
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... |
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:
Then I let just the telnet log run for a while and managed to capture this:
|
How are your settings for verbose and monitor in the configuration? |
Strange. The settings are correct, and the PPS mode does not apply to your system. |
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. 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
<#622 (comment)>,
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 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? |
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
<#622 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA3TIMJSUAEA2EIOSOCTDTZHLGJPAVCNFSM6AAAAABD632RHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRXHAYDMMRZGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Barbuslex.
|
Any news? |
I have tested Yesterday but its same i don't have any logs... Thé led
blinking but no logs 🥴
Le sam. 22 juin 2024, 18:15, fredlcore ***@***.***> a écrit :
… Any news?
—
Reply to this email directly, view it on GitHub
<#622 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA3TIPZBNI6BUSHV22TJ5DZIWPJ3AVCNFSM6AAAAABD632RHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBUGA4DMOBXGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Ok, this is impossible. If the LED is flickering, then some kind of data must be visible on the bus. BSB-LAN would even output unknown telegrams if that was the case. But without having my hands on the device, there's nothing more I can do from here, so I guess, we'll have to close this. But feel free to come back here if you have any further information. |
I have see it : Maybe there are another way to read bus (directly from windows) ? |
@fredlcore i have see this device in Aliexpress : https://fr.aliexpress.com/item/1005005321189496.html |
I don't know what you want with that. Why should the bus you are connecting to be ModBus or RS485? One last thing you can try is to set BSB-LAN into monitor mode. It will not function properly then, but you will be able to see any data that comes in. You can activate this in the settings and then set some parameters on the heater, and if the BSB-LAN LED flickers, you should be able to read some data on the serial monitor. If that isn't working, then I really have no idea what could be wrong. |
Has monitor mode been on all the time? Then that might be a reason and there is a bug somewhere. Then you could turn it off and try again (usually, only verbosity mode is on, monitor mode is off).
The first telegram came from BSB-LAN ( If you really want to try this, you would need a TTL-to-Serial-USB dongle (like in your second post, I think) and then connect it with the RX/TX pins marked on the back of the BSB-LAN adapter. You would also still need to provice 3.3V and GND to the adapter to make it work. The transmission speed is 4800 bps, 8 data bits, odd parity, 1 stop bit. |
Yes, that makes sense. I'd expect something similar when you set the time or change any other parameters. That's what confuses me. |
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
The text was updated successfully, but these errors were encountered: