-
Notifications
You must be signed in to change notification settings - Fork 7
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
After installation, no values are displayed on the HMI #45
Comments
Looks like the HMI Controller is not getting any data. Maybe start with Listener Mode and see what happens. In this case the heat pump and original controller should work as expected. If it is also not working with Listener mode, then something is wrong with the connection or the board. If the heat pump works with Listener mode, we can check MQTT attributes and see why MITM is not working properly. |
Ok, so in this case the board and the connectivity works as it should. Let's debug the software ;) I guess by debug topic you mean you have set Can you post a screenshot from the MQTT traffic created using MQTT Explorer? I am curious how the stats look like. There should be MQTT topics Or did you already went ahead and tried Troubleshooting using AquaDebug? And this log is actually output from that? |
Hey @taloriko, I had some free time in the train looking at your dumps. Obviously you already captured them using AquaDebug. Nice job! The bad news is, that this is an overhauled protocol which differs from the one that is currently implemented. The good news is, that it's not impossible to be added. But you have to do the major part of analyzing the protocol, e.g. by changing settings in the HMI controller and looking at the traces. Here is some investigation I did. Here I identified the messages within your serial dump:
It seems they changed from CRC16 to an one-byte checksum which is not a CRC, instead it looks like a sum of all values to me. In the dump, only the HMI messages changes, since the time is provided from the HMI controller to the Main controller. A more closer look to the HMI messages within your dump:
If you look at the isolated hmi messages, you actually see how the second and minute field is being increased and how the checksum differs for each changed message. To identify other values, you change a setting on your HMI controller and check how the message changed. I can support you with a custom AquaMQTT version which dumps those messages to isolated mqtt topics for easy debugging. But the main part of analyzing the protocol would be up to you, since I don't have the hardware (and time) to support you way further. Goal would be another document similar to PROTOCOL.md. Of course it is very likely that there are similarities to the existing protocol, so it might be easier to spot the values. In any way, I would love to see AquaMQTT support this newer protocol! Looking forward! |
Yes, the data comes from AquaDebug. I’ve reinstalled the regular version. I’m getting these topics: Unfortunately, my time is very limited this week, but I’ll get back to you as soon as I have more time to work on this. |
I had a bit of time and tried to analyze the set temperature change from 47°C to 48°C on the HMI. To do this, I input the dump into ChatGPT to locate the relevant byte. The result looks like this: Upon closer inspection, the change is as follows:
Here, the value changes at byte position 27 (starting from byte 00). The value shifts from 2F (which corresponds to 47 in decimal) to 30 (48 in decimal). Result: Therefore, it is very likely that the target temperature is located at byte position 27 in this dump. Is this what you had in mind? |
Hey, yes, I am not sure if ChatGPT will be really a help (because if it has no clue it will hallucinate quite a lot), but if that works for you in identifying positions of attributes I am surely ok with this approach. I try to provide you a customized AquaMQTT version soon, which is aware of the new message format and then dumps the individual messages (hmi message, main message and energy message) to different mqtt topics. If will be way easier to locate changes if you look at a time series of isolated messages such as the hmi message changing over tim, similar to my little example above. Anyhow, which water target temperate was set in your first provided dump? I can't spot a 2F of an 30 in the hmi messages, so I guess you had set a different temperature back then? |
I can’t tell you what temperature was set in the first dump anymore. I tried a bit today to identify the bytes, but I need to get a laptop first. Going from the basement to the attic with each change is too cumbersome. A version with split topics would definitely make things easier. Thank you very much for your support. |
I installed the board as a MITM (man-in-the-middle). The display turns on, and I can adjust all settings.
However, no values are displayed (e.g., current temperature).
MQTT is providing the topic for debugging.
Does anyone have an idea what I might be doing wrong?
Austria Email BWWP 200 WT SMART COZY
The text was updated successfully, but these errors were encountered: