-
Notifications
You must be signed in to change notification settings - Fork 17
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
Unknown panel request data #1
Comments
Hi Tim Here you go. - BTW the temp is reading wrong. Also it crashed. ******* Testing CRC ********** 7e20ffaf1300004e170000004f500b0c0000020000000000004e0000005a0000767e 7e20ffaf1300004e170000004f500b0c0000020000000000004e0000005a0000767e 7e20ffaf1300004e170000004f500b0c0000020000000000004e0000005a0000767e 7e20ffaf1300004e170000004f500b0c0000020000000000004e0000005a0000767e 7e20ffaf1300004e170000004f500b0c0000020000000000004e0000005a0000767e 7e20ffaf1300004e170000004f500b0c0000020000000000004e0000005a0000767e 7e20ffaf1300004e170000004f500b0c0000020000000000004e0000005a0000767e 7e20ffaf1300004e170000004f500b0c0000020000000000004e0000005a0000767e 7e20ffaf1300004e170000004f500b0c0000020000000000004e0000005a0000767e 7e20ffaf1300004e170000004f500b0c0000020000000000004e0000005a0000767e Spa read failed: 0 bytes read on a total of 2 expected bytes |
Can you tell me what the temp was when you ran the test? Just trying to figure out what the math would be. Thank you! |
Hi
I think you need to x2. Should be 39 c
JT
On 8 Jan 2020, at 22:05, Tim Rightnour <[email protected]> wrote:
Can you tell me what the temp was when you ran the test? Just trying to
figure out what the math would be.
Thank you!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=ABGCGRT6DS2WUTFHIIGXJUTQ4ZEZPA5CNFSM4J6G6LB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIOEWNI#issuecomment-572279605>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGCGRV6M2TTESEX7XZ43ZLQ4ZEZPANCNFSM4J6G6LBQ>
.
|
Assuming you still want these since the issue is open Sending unknown commands |
Here you go, for my Spa (wish I'd seen this earlier - I've been building the homebridge-balboa-spa plugin). ******** Testing basic commands ********** New data as of 1589655637.412055 (The config looks correct to me: 1 light, 3 pumps, no mister or blower) |
Although above, pump1 & 2 are 2-speed pumps, and pump 3 is only 1-speed. So that part of the status hasn't been discovered it seems. |
So IIRC, the pumps don't report as having a speed capability, but when you cycle them, they report current speed. In theory the 1 speed would never cycle into high? I don't actually have a 1 speed pump... Thanks for your assist! Hopefully I can decode these messages.. I think I'm close. |
Actually I'm pretty sure the 2-bits per pump reported here do encode the speeds. My 3 pumps report 0x1a which corresponds to 00011010 - i.e. pump 1 is 2 speed, pump 2 is 2 speed and pump 3 is 1 speed. (Which is correct). |
Hi, also sending my output: ******* Testing CRC ********** New data as of 1590329646.5673845 |
Huh.. thats.. really odd. your heat state returned something crazy. Normally that's an on/off.. I wouldn't expect it to be something other than those two... Does your spa have multiple heat states other than just ON/OFF ? Or maybe something else is being encoded there that I don't understand. |
OK.. @vincedarley it looks like the nrofpumps in the config resp is a bit of a lie? or maybe I parse that wrong and it's an int not a bitmask. That's interesting.. then on your panel config... ok.. maybe I have a fix for this.. |
I don’t think so. It should be just on or off. The spa is located in Germany. Maybe some location/language problems? Can I do some further debugging? |
@aci-drain Yeah.. hrmm.. Maybe I just need to mask off some bits there. Mine just shows HEATING or it doesn't. Does yours show anything else in that area of the display other than HEATING, like a third state? Maybe, does the program crash regardless of if the spa is currently HEATING or not? Could you run the program, paste the output, and then tell me what the physical state of the spa was at the time of run, or maybe attach a pic of the display? Like maybe it was trying to tell me the blower was on or something? |
So it looks like your heatstate returned "2". I'm curious what the Got msg: 7e1d returns when it is heating, or not heating. |
Ok, when the heating was switched off I got:
However, when I increased the temperature the display said "Heating waiting" and I got following output:
When "heating" was displayed I got the following output:
|
Wow.. that's totally crazy. yours actually has a third state.. Huh. I'll have to code around this. thanks! |
Just tried again, the commit is now working also when "heat waiting". Thanks! |
Re DIP switch settings. On my spa they are 0010001000. Unclear to me how that corresponds to the few uninterpreted bytes in the panel message. I have got "hold" mode (read/write) and "lock" (read only at present) working fine in my implementation. See below in case you wish to copy that. https://github.com/vincedarley/homebridge-plugin-bwaspa/blob/master/src/spaClient.ts Have you tried a comprehensive run through of toggle messages to the Spa to see what other codes do anything? My notes so far are:
|
I have not attempted hold mode.. I'll go look at that, thanks. I still have absolutely no clue what the 0x0abf25 message is trying to say. |
Looking above, on 0x0abf25, I notice you seem to list two mildly different results for your spa. One starting 12, 11, 32... and the other 12, 04, 32,... (where mine is 05, 01, 32...) Any idea what situation causes your spa to return 04 vs 11 ? The '07' vs '03' towards the end could indicate number of pumps, where mine is '111' (3 pumps) and yours '11' assuming you have just 2? |
I was able to decipher quite a bit more information (I spent way too long attempting to do so) and unpacking the android app to try to reverse engineer some of it. For the 0x0abf25 message, my best guess is: For reference, my message was 7e0e0abf25040332635068e901454f7e. I have 1 pump on my spa, so thanks to @vincedarley's insight with 07, 03, and now my 01, this correlates to 3, 2, and 1 pumps, respectively. So I think it makes sense. For the x0aba94 message, bytes 14-29 actually represent the iDigi Device Id. This gets saved to the Balboa cloud for use with their API. It does include the mac address as part of the id, but it could theoretically be different. P.S. @garbled1 , I created a pull request with my changes as well as a few adjustments to the testing suite to make it a little more readable as well as guarantee that the correct messages were received for parsing the data. |
Here's another report if they're still useful. ******* Testing CRC ********** ******** Testing basic commands ********** Asking for device configuration Asking for system information Asking for setup parameters Asking for filter cycle info Reading panel update Please add the above section to issue: |
Here's the remaining part of the report if that's useful too. Config is loaded: New data as of 1609097968.8476942 Trying to set temperaturesCurrent Set Temp: 99.0 Trying to operate pump 0 (first pump)Current Status: Off Play with heatmodeHeat Mode: Ready Spa read failed: 0 bytes read on a total of 2 expected bytes |
******* Testing CRC ********** ******** Testing basic commands ********** Asking for device configuration Asking for system information Asking for setup parameters Asking for filter cycle info Reading panel update |
I am coming over from the topic noted above, about my pumps not being detected. Here is the output for my BP501G1 heat pack with a TP600 control panel. The tub was 102F. Pump 1 is two speed for filter and Jet, both operate from the Jet 1 button. Pump 2 is a single stage for Jets. And there is a light. ******* Testing CRC ********** ******** Testing basic commands ********** Asking for device configuration Asking for system information Asking for setup parameters Asking for filter cycle info Reading panel update Please add the above section to issue: New data as of 1671471972.6787071 Trying to set temperaturesCurrent Set Temp: 102.0 Trying to operate pump 0 (first pump)Current Status: Low Play with heatmodeHeat Mode: Ready Spa read failed: 0 bytes read on a total of 2 expected bytes |
I am attempting to understand how to decode two of the panel commands. Please run the test by executing: python -m pybalboa <spa_ip> from inside the base of the git repo. This runs a basic test. Then paste the data in this section:
Hopefully if I get enough of them, I can figure out how to decode those sections. I think I more or less understand them, but it's not 100%.
Also, when posting, anything you can provide about your spa, like the model, voltage, panel model if known, etc etc would be nice.
The text was updated successfully, but these errors were encountered: