Closed barbuslex closed 1 month ago
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 https://github.com/fredlcore/BSB-LAN/issues/622#issuecomment-2184086874, 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 : https://community.home-assistant.io/t/read-modbus-with-esp32-and-esphome/151638
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 Have you an idea which chip is better between CH340, PL2303 and FT232 ?
I don't know what you want with that. Why should the bus you are connecting to be ModBus or RS485? We have established above that you can set parameters and that the heater responds to your set commands, right? The only two problems are that you cannot set the time and that for some unexplicable reason the messages from the heater cannot be seen on the bus. But that doesn't mean it's a different type of bus because otherwise you would not be able to set/read any parameter.
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.
It's already in monitor mode.
The aim with the device is to try to do a serial read from the USB directly on windows to see if it's the esp32 that might have a problem or not. For the price of the component, it might be worth a try.
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). I don't think the ESP32 has a problem, because in the log above, you could see the telegrams that you sent from BSB-LAN to the heater and the answer coming from the heater to BSB-LAN:
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
The first telegram came from BSB-LAN (QUR
), and the heater has received (ANS
) and the answer was displayed. So that should be fine.
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. But this is not something I can help you with any further. If you really find out something new, then let me know, but this is taking a lot of my time already...
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.![Comment-regler-date-et-heure-pac-alfea-ai-3](https://github.com/fredlcore/BSB-LAN/assets/113057/05a7499b-bc72-4325-a76b-169995f5bdd9)
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.![Comment-regler-date-et-heure-pac-alfea-ai-1](https://github.com/fredlcore/BSB-LAN/assets/113057/6ed53fa6-72dc-4c1f-8b79-9cb416c72195)
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
![image](https://github.com/fredlcore/BSB-LAN/assets/113057/bb2abf19-efde-4e7e-83b2-1f6161ab2a7a)
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 :![image](https://github.com/fredlcore/BSB-LAN/assets/113057/6674852a-f74e-4dcc-969f-602da04e590c)
BSB_LAN_custom_defs.h.txt BSB_LAN_config.h.txt BSB-LAN-211-127-137987.txt