Replies: 24 comments 67 replies
-
Further "proof" that FB is not start of new message is that there is no time delay between the previous bytes and the FB as seen in https://github.com/netmindz/balboa_GL_ML_spa_control/blob/main/tests/bggardner-timestamp-interval.log |
Beta Was this translation helpful? Give feedback.
-
Whatever the FB sequence is, it can stay consistent for quite a while, even when things like the cleaning cycle runs. The FB sequence on the end of the FA messages is always the same as the ones for AE |
Beta Was this translation helpful? Give feedback.
-
Most of the the time the AE messages are all 0, then sometimes see other values for very short periods, possibly single message, e.g AE 0D 00 00 00 21 9A 08 80 B0 1F Looks like I'm also seeing the same 21 9A 08 80 B0 1F on AE 0D 01 too |
Beta Was this translation helpful? Give feedback.
-
The sequence after the FFFF is where information like temp+ and temp- are sent fa143 .... 94600008002ffffff0200000000f5
|
Beta Was this translation helpful? Give feedback.
-
I'm thinking more that FB are a message in their own right, but the lack of delay is that whichever end (panel vs control) is sending this the FA/AE and FB messages as a "pair" - hence the lack of delay |
Beta Was this translation helpful? Give feedback.
-
That said, if you do consider them a message in their own right, then the ordering of the messages is even more bizzare as you get the same value twice, then an FB, then the value again e.g ae0d000000000000000000000000002d |
Beta Was this translation helpful? Give feedback.
-
The FA message contains the time, followed by the temp in Fahrenheit |
Beta Was this translation helpful? Give feedback.
-
Pin 5 definitely goes low on each main panel port in turn - not 100% sure yet exactly when this sits relative the the messages |
Beta Was this translation helpful? Give feedback.
-
So - Pin5 is used to control which panel is active at any given time, hence why the protocol sends a panel query command 3 time, once for each port. Only the panel who's pin5 is active will be expected to respond, the others just discard this data |
Beta Was this translation helpful? Give feedback.
-
Hello |
Beta Was this translation helpful? Give feedback.
-
@netmindz; Hi! First of all, sorry for my absence the latest months. I've been away and abroad for three months, and my tub have been empty. Now is the time to fill it up again, and spend some more time on this library. Really looking forward to being able to control the tub! My top panel is ML400 with buttons for Jets, Aux, Temp and Light. Jets are toggling between off, speed1, speed2. Aux is similar (but my pump is broken). Temp is activated by pushing once, display is blinking, then pushing several times to either increase or decrease temperature (increasing on first entry, decreasing on second). Light is off and on, but also toggling between colours if pressing rapidly. |
Beta Was this translation helpful? Give feedback.
-
After lot of test, some command wasn't send after an FA14 Frame on second part The command is the same : FB06 64D40600 09F6 C2
|
Beta Was this translation helpful? Give feedback.
-
Guys, this is super exciting news! PS! Maybe we should refactor the library to use plain mqtt instead of the ha-mqtt integration? That would make it useful for everyone, not only us that use Home Assistant? |
Beta Was this translation helpful? Give feedback.
-
@netmindz , @tmjo |
Beta Was this translation helpful? Give feedback.
-
I make a short of my code ( minimal to show you for analyse frame and when response with FB Command )
|
Beta Was this translation helpful? Give feedback.
-
@tmjo If you wish to try the code from @TiSiAi it's under https://github.com/netmindz/balboa_GL_ML_spa_control/blob/TiSiAi-example/TiSiAi-example/TiSiAi-example.ino |
Beta Was this translation helpful? Give feedback.
-
I have control of my light 🥳🎉 |
Beta Was this translation helpful? Give feedback.
-
Ok, so I have a branch (send-command-queue) up and running that reliably lets me swap the tub into and out of Eco as well as toggle the lights from Home Assistant @tmjo As my electricity price changes depending on the time of day, Home Assistant can control the heating to only be when the price is cheap and I can also take the tub out of Sleep when I'm on my way back home so it's nice and warm for my return if I go away for a few days and don't want to leave the tub on full |
Beta Was this translation helpful? Give feedback.
-
@netmindz: That sounds amazing!! Congratulations on the good job, I can't wait to test it out! Your price dependent control is exactly one of the reasons why I'm so keen on controlling the spa too! Also because I have an electric car charging during night, so I need to reduce the total power to save some money (my bill also depends on the top three hourly average power consumptions, so good to stay below a threshold). In fact, I was out today to clean the spa, fill it up and start it up after some time de-commissioned since we were away for several months. I had even prepared my interface with the pin5 to take part of the new discoveries you've done over the past months. Needless to say, there were not just pretty words coming out of my mouth when the RCD tripped on ground fault immediately as I powered up the old lady. After some troubleshooting, I've found out my heater element has ground fault, so I have taken it out to see if there is anything to do with it or if I should just buy a new one. The spa was powered successfully without the heater, so pretty sure that is the cause of my troubles, but then again, what is a spa without a heater :) Anyways, will take another couple of weeks before I'm back online with the spa, but I'll keep updated here and let you know when I'm ready. Really looking forward to it. I'll see if I can upgrade to ESP32 and the newer RS485-board as well instead of my 8266+MAX485 setup. Cheers and thanks for all your efforts! |
Beta Was this translation helpful? Give feedback.
-
@netmindz; I'm slowly getting there. Received a new heater this week and have my brand new ESP32 including PSU and modern RS485 board wired up with software running. Thought I was ready to power up this weekend, but realized I just received a single gasket when I thought it was a package with two. Hope to get the second one this week and I'm really looking forward to check out the new stuff!! Just to be sure I'm up to date on latest achievements: The Btw; did you ever consider esphome as a "platform"? I though it would be kindof limiting, but then I found a Mitsubishi heatpump sourcecode that I've been using on an ESP for years elegantly integrated with esphome. Seems like it takes an external repo and just adds a 'shell' around to integrate it into HA/Esphome. Could be an interesting approach. Anyway, this is not important right now, let's get all the stuff working and then we can look for such improvements. Just thought I'd let you know, it looks interesting in my opinion, especially since it makes staying up-to-date really easy for all users (and everything handled within HA). |
Beta Was this translation helpful? Give feedback.
-
I just recently got a tub from a family member that was non-working. Turns out the board had 2 bad diodes in the sensor comparitor circuit due to a stuck heater relay and water being too hot for too long. I repaired the board, and it functions normally but topside ml700 is half working. I ordered an RS485 TTL converter and a few other supplies to start working with this project. I'd be happy to help contribute as much as possible. The only downside is that I don't yet have an oscilloscope, but will soon. Let me know if there is anything I can do to help. My plan is to try to help contribute to sending commands for controlling the unit remotely. Excited to get started with this. |
Beta Was this translation helpful? Give feedback.
-
This is really interesting. I have ordered my parts. I'm going to give it a go! Thank you for your work on this! :) |
Beta Was this translation helpful? Give feedback.
-
As between us all, we have more or less cracked the usage of the key pins, and the format of the protocol, I'm going to close this thread and open up two new discussions for initial setup feedback and another for the work on sending specific commands to the tub |
Beta Was this translation helpful? Give feedback.
-
Thought it might be easier to keep track of ideas/thoughts/theories/discoveries about the protocol here, rather than keep editing the wiki, potentially removing information that was correct before I went down a dead end
So, my current understanding can be summarised as follows:
Beta Was this translation helpful? Give feedback.
All reactions