This is how to add WIFI to a Gorenje Wave Active washing machine that has no WIFI to connect it to OpenHAB.
The washing machine has only two buttons: one for Power on the left and the other one for starting the selected program on the right:
I opened the washing machine to find a single control board behind the buttons.
The buttons are microswitches that are accessible from the other side of the board after removing 4 screws. I found that the main bus that connects the board to the the rest of the machine has a constant 5V DC supply even when the machine is off.
I connected two WIFI relays in parallel to the buttons and tapped into the board constant 5VDC supply to power the relays.
After testing I secured the soldering to the main board with some hot glue and insulated the relays with a lot of electricians tape and attached them to the washing machine so they do not move during machine operation.
The relays are tasmotazied and are controlled over MQTT. I use the waterheater script from Control a water heater and ground source heat pump based on cheap hours of spot priced electricity - #13 by masipila to find the cheapest consecutive hours of the day. I found out that the button has to be pressed 2 seconds for the washing machine to wake up from its standby state. Ended up with this script to run the washer. The script also sends me a telegram message when the buttons are “pressed”, i.e. the relays pull:
// Control of Gorenje washer with two WIFI relys connected parallel to the buttons
power = items.getItem("washerPowerRelay");
program = items.getItem("washerProgramRelay");
control = items.getItem("washerControl");
var telegramAction = actions.get("telegram","telegram:telegramBot:*********");
if (control.state == "1.0") {
// Power on the washer
console.log(control);
power.sendCommand('ON');
java.lang.Thread.sleep(2000);
power.sendCommand('OFF');
telegramAction.sendTelegram("Washer Power button was pressed fore 2 s.");
// Start the selected program
java.lang.Thread.sleep(2000);
program.sendCommand('ON');
java.lang.Thread.sleep(2000);
program.sendCommand('OFF');
telegramAction.sendTelegram("Washer Program button was pressed for 2 s.");
console.log('Washer: Started.');
}
else {
console.log('Washer: No washing today.');
}
After the modification the washer works like it used to if one wants to use it during the day: load and start program. If one wants to save money, the washer is loaded with the laundry and detergents, program is selected and washer turned off. The scripts will power up the machine and start the program when the cheapest price period starts. WAF is quite good, the washer run last night loaded by my better half without any intervention by me. Great success
!



