vincedarley / homebridge-plugin-bwaspa

Control Balboa BWA Spa through Homebridge/Homekit
Apache License 2.0
18 stars 7 forks source link

Unknown message type ff af 48 #9

Open mirthy opened 4 years ago

mirthy commented 4 years ago

Hi, love your work on this! This is so much better than the janky iOS app that they put out. I get these ff af 48 messages every 3 seconds or so. I assume these might be some other status message. I have variable speed pumps in the swim spa so maybe it's them? I'm going to swap it some time with the hot tub side and see if I still see the same output I have no problems controlling the swim spa, I just get these messages.

[9/22/2020, 2:38:04 PM] [Swim Spa] Control Panel reply 1:14,00,02,00,88,00,02,00
[9/22/2020, 2:38:04 PM] [Swim Spa] First filter time from 20:00 for 02:00
[9/22/2020, 2:38:04 PM] [Swim Spa] Second filter time on from 08:00 for 02:00
[9/22/2020, 2:38:05 PM] [Swim Spa] Not understood a received spa message (nothing critical, but please do report this):ff,af,48  contents: 00,01,00,00,00,00,00,7a,00,00,00,13,00,00,ea,01,00,00,00,00
[9/22/2020, 2:38:05 PM] [Swim Spa] Not understood a received spa message (nothing critical, but please do report this):ff,af,48  contents: 01,01,00,00,00,00,00,7a,00,00,00,13,00,00,eb,02,00,00,00,00
[9/22/2020, 2:38:05 PM] [Swim Spa] Control Panel reply 2:64,dc,32,00,4d,53,32,30,56,53,20,20,02,a0,bb,12,35,01,0a,12,00
[9/22/2020, 2:38:05 PM] [Swim Spa] System Model MS20VS  
[9/22/2020, 2:38:05 PM] [Swim Spa] SoftwareID (SSID) M100_220 V50.0
[9/22/2020, 2:38:05 PM] [Swim Spa] Current Setup 2
[9/22/2020, 2:38:05 PM] [Swim Spa] Configuration Signature A0BB1235
vincedarley commented 4 years ago

Thank you. I'll look into that - unclear what that message could be.

By 'variable speed pumps' you mean off-low-high (I have those on my spa and they work fine) or some more complex kind of variability?

bggardner commented 4 years ago

It's interesting they're sent as a pair. I'd also guess some kind of status update. If you can detect changes to them over time, that might help.

Unrelated, but is there a way to add debug info to show the length of the status update (0x13)? They seem to change length for different SSIDs, and I don't have a record for V50.0 in the wiki.

vincedarley commented 4 years ago

If you manually add "devMode = true" to the plugin config, it will dump more information into the log, including full message type + contents from time to time. From that one can easily count up the message length:

    {
        "name": "MasterSpa MP7",
        "autoCreateAccessories": true,
        "platform": "Balboa-Spa",
        "devMode" : true
    }
mirthy commented 4 years ago

More complex kind of variability, I can dial 1-25 on the control panel. It doesn't show up in the app yet as controllable like that.

[9/22/2020, 9:42:59 PM] [Spa] System Model MS50U   
[9/22/2020, 9:42:59 PM] [Spa] SoftwareID (SSID) M100_201 V47.0
[9/22/2020, 9:44:58 PM] [Spa] DEV Sending (SetTargetTempRequest):7e,06,0a,bf,20,56,b7,7e
[9/22/2020, 9:44:58 PM] [Spa] DEV Received:ff,af,13:00,00,59,15,2c,00,00,01,00,04,08,01,00,00,00,00,00,00,00,00,56,00,00,00,78,00,00
[9/22/2020, 9:41:16 PM] [Swim Spa] System Model MS20VS  
[9/22/2020, 9:41:16 PM] [Swim Spa] SoftwareID (SSID) M100_220 V50.0
[9/22/2020, 9:43:37 PM] [Swim Spa] DEV Sending (SetTargetTempRequest):7e,06,0a,bf,20,52,ab,7e
[9/22/2020, 9:43:37 PM] [Swim Spa] DEV Received:ff,af,13:00,00,55,15,2b,00,00,52,52,04,08,01,00,00,00,00,00,00,00,00,52,00,00,00,78,00,00
vincedarley commented 4 years ago

Thanks - looks as if the V47 and V50 are sending status messages of the same length at least.

It will be interesting to see how the 25 different speed settings are controlled, and indeed reported (only 2 bits are available per each individual pump to report its speed in the normal status message - the one you shared above). Perhaps the unknown message ff-af-48 contains something new on that