Open duczz opened 1 year ago
Have you tried the simple read example first to confirm the basic setup works first?
You don't mention if you have any existing Home Assistant setup already on place. You will need that and follow an appropriate guide to setup MQTT with Home Assistant
There are many different ways for this depending on how/where you are running HA
Once that's setup, you should see the spa under MQTT inside HA
Hi and happy that you are interested in this library.
Firstly, Have you set your credentials in the code for the MQTT broker?
If so check that MQTT messages coming in from the SPA using a MQTT tool like http://mqtt-explorer.com/
Thanks for reply guys.
I have the Homeassitant Adoon MQTT Integration on my homeassitant, these i have enters already in the config, thats why i see via MQTT Explorer the Spa Parameters, but not on homeasssitant
Edit: Settings are 0 because i have nothing on the esp currently
Edit2: it look like he is connected but i have no entities
Sorry, I do not have HA instead I use Homey so the integration to HA using MQTT I can not help you with
okay thank, so the next steps are only to let create the PCB layout and than put the j1 in the new medoul and j2 from the modul to j1 from the balboa right? not more to do?
edit: maybe the entities are not there because i have not connected to the balboa
You could use with HA with just the raw MQTT, but it's much easier if you have a proper device registered in HA auto discovery, I've started and example
Ok, that's the basic read-only example up there now
Perfect thanks, now i have the enteties.
so now i need to let create the PCB layout and than put the j1 in the new modul and j2 from the modul back to j1 from the balboa right, than im finished?
Latest version with buttons too - untested as I don't own that tub
to close the ticket, can someone answer my question? so i need to let create the PCB layout and than put the j1 in the new modul and j2 from the modul back to j1 from the balboa right, than im finished?
can i control than the modies too and set the time for filter?
@duczz - Between the display and the control system there is a cable with an RJ45 connector. Disconnect that from the Control system and place PCB in between. You need to create/buy the cable with RJ45 connectors between J2 -> Control system, NOTE that should have straight lines and not crossed as in a normal TP-cable.
DISPLAY-------->(J1) PCB (J2)--------->Control system
There are no functions created to change modes or set filter times etc. The library however supports buttons to be pressed so theoretically it should be possible - see the section button data
I hope this mini guide will help you to get it up and running
Perfect thank you Magnus. @netmindz can you add all Buttons on this display to homeassitant? Than i can create automatisations to set mode / filtertimes etc.
I won't be adding any more to the code, if the buttons are supported by the library then it should be easy to follow the current examples.. If not, then update the library part of the code too
Create a fork then and then submit a PR
@netmindz alright, thanks for the first homeAsssitant port steps.
@MagnusPer are you able to update these? it looks like all buttons would be exist. i'm to noobie to port these :(
Sorry, I don’t have the knowledge how the Home Assistant works. The library support the “Mode” button and what I see is included in the HA example. The only missing piece is to add a HA button to trigger the mode.
@duczz have you found a solution?
To add a button for pump3, just copy and paste what's listed for pump2
pump2.setName("Pump2");
pump2Button.setName("Pump2");
pump2Button.onCommand(onButtonPress);
but name pump3. Do same for any other buttons you want such as Mode
As well as the definition of he button
HAButton pump2Button("Pump2");
Thanks for the answer, I probably could have done that.
Unfortunately, setting the temperature is not displayed. somehow the variable “setTemperature” is missing from the homeassist file. And unfortunately I don't know how to create this in order to be able to regulate it.
@knogler nope, i was not able to migrate it complet to HomeAsssitant. I think this will never be done ^^ (i'm no developer :/) But when all other works you could made a feature request then it will be updated here
Try this version @knogler https://github.com/MagnusPer/Balboa-GS510SZ/pull/13
@knogler Could you test it successfully?
Hi @all, just a dumb question ;) and sorry to reuse this chat... I've already built the circuit on a stripboard 🙈, but now I'm thinking about, how I could test it with the still installed display VL100 and control board GS100... because, I guess, I've to adapt the programming. Do you have some tips, lessons learned, how you did/do that? Thanks :)
Sorry for my late response. and thanks for coding. Unfortunately I haven't had time to test yet. I also have to see how I can get the software modified so that it runs with Balboa-MGS504DZ with panel VL700S (MAY800D). As soon as I have more information, I'll let you know.
The model of top panel shouldn't really matter too much as we are emulating a panel. So what matters most is compatibility with the controller and the protocol it's speaking. Different models in the same range should use the same protocol so it shouldn't need code change.
What you might find is that your tub might only have 1 pump not two, so you mind find that pressuring pump2 might trigger the blower, just as if you had the wrong overlay applied to your top panel for your particular configuration
Hi @ALL, just a dumb question ;) and sorry to reuse this chat... I've already built the circuit on a stripboard 🙈, but now I'm thinking about, how I could test it with the still installed display VL100 and control board GS100... because, I guess, I've to adapt the programming. Do you have some tips, lessons learned, how you did/do that? Thanks :)
1) Start to just connect the circuit board to see everything works by manually press the panel buttons.
2) Easiest is to use example code Balboa_GS_Read to monitor via the serial monitor in Arduino IDE if data is observed.
3) Use the example code Balboa_GS_Read to activate button presses via the serial monitor input according to the code. Example is 4
to activate light
4) Now its time for remote access and automation. Depending of your knowledge and needs you have either the MQTT or HomeAssistant to work with
Good luck!
@MagnusPer thank you, helps me a lot :) I hope I can continue this weekend, if the weather allows. For the automation part, I've still to decide which one would fit best (don't have any in place), but step-by-step ;)
Hello, i also try to make my GS523DZ with Panel VL802DZ smart. I hope the protocol will be similar. I will start when the weather is fine.
Hello, i also try to make my GS523DZ with Panel VL802DZ smart. I hope the protocol will be similar. I will start when the weather is fine.
Hello, I think you need the Version from here https://github.com/Shuraxxx/-Balboa-GS523SZ-with-panel-VL801D-DeluxeSerie--MQTT The Hardware which you need will be the same
i try to build curretnly my lovelance Layout for the Summer. :) Is it possbile to switch all Buttons with on/off function into a switch? what i need to edit for that?
I using NodeRed as dashboard for my home automation. In NodeRed I create buttons triggering the MQTT commands and subscribes to MQTT status. Similar should be possible to do using Lovelance.
Thanksmagnus, I had hoped that we could change habutton to haswitch in the *.ino File direct but i dont know If this works. Maybe @netmindz know it? :) (i dont know If haswitch exists in this program language)
Yes there is @duczz - see https://github.com/netmindz/balboa_GL_ML_spa_control/blob/7e193eb2708c2803dda82cae5e14056a8bfcb445/sensor/src/sensor.cpp#L120
The key thing is if you aren't just a button, then you need to know the current state, so it's not just swapping the type, but still pretty simple to do. See standalone example https://github.com/dawidchyrzynski/arduino-home-assistant/blob/main/examples/light/light.ino
I haven't tested the code, but it will be something along the lines of this https://github.com/netmindz/Balboa-GS510SZ/commit/4d32135e64c111bf3d1619eb5a832677b0603a93
i have created on netmindz top tipps and example (much thanks without i cant do this) a new version, @MagnusPer can you create a new "Balboa_GS_HomeAssistant_DEV.ino" with this content? Would be create when someone can test it, my platine is not delivered :( @J0E-Cool J0E-Cool https://pastebin.com/7bMn9JAM (maybe netmindz can make a quick look, how it looks)
Someone knows why line 237 is commented out?
@duczz - I'm not familiar with this specific controller, but I know on some spas the buttons have multiple functions, so even if there are switches for the pumps, it might not be wise also to remove the ability to send button presses, unless you know for sure that you only need mode and temp +/-
As for your onSwitchCommand, this needs to look to see which switch you are trying to change and then read the right state, you currently are reading the state of the light.
For example of checking the sender see https://github.com/netmindz/balboa_GL_ML_spa_control/blob/7e193eb2708c2803dda82cae5e14056a8bfcb445/sensor/src/sensor.cpp#L240
@duczz - When you have a working and tested example you can do a Pull Request and then I can approve it to be added to this repository
okay thanks netminz, i tried, but that programming is to high for me im out ^^
@duczz - Between the display and the control system there is a cable with an RJ45 connector. Disconnect that from the Control system and place PCB in between. You need to create/buy the cable with RJ45 connectors between J2 -> Control system, NOTE that should have straight lines and not crossed as in a normal TP-cable.
DISPLAY-------->(J1) PCB (J2)--------->Control system
There are no functions created to change modes or set filter times etc. The library however supports buttons to be pressed so theoretically it should be possible - see the section button data
I hope this mini guide will help you to get it up and running
Just to confirm, can this be a normal patch cable or do the pairs have to be untwisted?
Thank you
yes, it's a normal patch cable
Hey, i have this baboa Whirlpool too and wanna try these, but iam missing a HowTo. Currently i have flashed your Project to a wemos Mini (with my settings) but i have no entitied in the homeassistant mqtt server.
What are ne next steps? Docker witch bwa?