Page 2 of 2
Re: SLWF-01pro Midea Wi-Fi Module
Posted: Wednesday 01 February 2023 20:55
by ssk17051980
the picture with the USB adapter is inside my AC. I think that inside that USB adapter is the SLWF-01pro stick model, because my AC unit work in Home Assistant whit midea integration.
Re: SLWF-01pro Midea Wi-Fi Module
Posted: Wednesday 01 February 2023 21:01
by BarryT
ssk17051980 wrote: ↑Wednesday 01 February 2023 20:55
the picture with the USB adapter is inside my AC. I think that inside that USB adapter is the SLWF-01pro stick model, because my AC unit work in Home Assistant whit midea integration.
I mean your heatpump device

Re: SLWF-01pro Midea Wi-Fi Module
Posted: Thursday 02 February 2023 22:45
by ssk17051980
Nordstar.
But the pic from this page it's the same whit mine.
Re: SLWF-01pro Midea Wi-Fi Module
Posted: Friday 03 February 2023 8:42
by BarryT
Okay, it looks like nordstar is an oem midea so it will work

Re: SLWF-01pro Midea Wi-Fi Module
Posted: Saturday 04 February 2023 1:33
by ssk17051980
can you gave-me the entire DIY, thx
Re: SLWF-01pro Midea Wi-Fi Module
Posted: Saturday 04 February 2023 17:29
by BarryT
ssk17051980 wrote: ↑Saturday 04 February 2023 1:33
can you gave-me the entire DIY, thx
When i have time (this weekend) i will write an little tutorial.
Re: SLWF-01pro Midea Wi-Fi Module
Posted: Saturday 04 February 2023 23:12
by ssk17051980
Thx !!!
Re: SLWF-01pro Midea Wi-Fi Module
Posted: Sunday 05 February 2023 15:43
by BarryT
Okay, here is the little tutorial:
I'm using a Odroid with Linux and HomeAssistant, but you can use an VM or raspberry as well.
(We just need just HomeAssistant for compling the firmware)
First start with HomeAssistant and install ESPHome over there.
After you installed ESPHome, add a new device >

- esphome.jpg (67.69 KiB) Viewed 5581 times
Call it Airco (for example) and click next >

- esphome-start.jpg (123.38 KiB) Viewed 5581 times
After that choose the esp8266 board >

- esphome-airco.jpg (69.82 KiB) Viewed 5581 times
Then skip the key (since we do not need it because no homeassistant is using)
Re: SLWF-01pro Midea Wi-Fi Module
Posted: Sunday 05 February 2023 15:52
by BarryT
Great, your first device is made.. >

- esphome-aircodevice.jpg (61.03 KiB) Viewed 5580 times
Then click on edit: >

- esphome-aircodevice-edit.jpg (25.57 KiB) Viewed 5580 times
After that use this YAML and make changes to your own settings.:
Code: Select all
esphome:
name: roomairco # Give your device a main-name
platform: ESP8266
board: esp12e
wifi:
ssid: SSID
password: SSIDPASSWORD
# Enable fallback hotspot in case wifi connection fails
ap:
ssid: roomairco
captive_portal:
# Enable logging
logger:
baud_rate: 0
sensor:
- platform: wifi_signal # Reports the WiFi signal of your device
name: roomairco wifi dB"
id: wifi_signal_db
update_interval: 30s
entity_category: "diagnostic"
- platform: copy # Reports the WiFi signal strength in %
source_id: wifi_signal_db
name: "roomairco wifi quality"
filters:
- lambda: return min(max(2 * (x + 100.0), 0.0), 100.0);
unit_of_measurement: "%"
entity_category: "diagnostic"
mqtt:
broker: yourlocalmqttbroker.lan # You can use hostname or IP
keepalive: 60s
discovery: true
discovery_retain: true
discovery_prefix: homeassistant
birth_message:
topic: roomairco/status
payload: online
will_message:
topic: roomairco/status
payload: offline
ota:
uart:
tx_pin: 1
rx_pin: 3
baud_rate: 9600
climate:
- platform: midea
name: roomairco # Use a unique name.
period: 1s # Optional
timeout: 1s # Optional
num_attempts: 1 # Optional
autoconf: true # Autoconfigure most options.
beeper: true # Beep on commands.
visual: # Optional. Example of visual settings override.
min_temperature: 17 °C # min: 17
max_temperature: 30 °C # max: 30
temperature_step: 1 °C # min: 1
supported_modes: # All capabilities in this section detected by autoconf.
- FAN_ONLY # This capability is always used.
- HEAT_COOL
- COOL
- HEAT
- DRY
custom_fan_modes:
- SILENT
- TURBO
supported_presets: # All capabilities in this section detected by autoconf.
- ECO
- BOOST
- SLEEP # This capability is always used.
custom_presets: # All capabilities in this section detected by autoconf.
- FREEZE_PROTECTION
supported_swing_modes:
- VERTICAL # This capability is always used.
- HORIZONTAL
- BOTH
outdoor_temperature: # Optional. Outdoor temperature sensor (may display incorrect values after long inactivity).
name: roomairco buitentemperatuur
web_server:
port: 80 # Wich port to use the interface in your browser
DO NOT forget to:
make your own unique name and so change the roomairco to the name of your device.
also do not forget to setup the mqtt broker to the ip or hostname of your mqtt broker, otherwise it will not work

Re: SLWF-01pro Midea Wi-Fi Module
Posted: Sunday 05 February 2023 16:00
by BarryT
Re: SLWF-01pro Midea Wi-Fi Module
Posted: Sunday 05 February 2023 16:04
by BarryT
After compiling you will get the .bin file to upload to the usb-stick you did recieve. >

- binfirmware.jpg (376.95 KiB) Viewed 5578 times
Put in the usb-device into an USB-Port or the usb into your HVAC device itself, and go to your wi-fi list
after some 20/30 seconds you will see an open ssid network with openesp, connect to it.
then you be asked to connect the usb-device to your network
then connect the usb-device to your wi-fi network then it will get an ip address to connect to.
search the ipaddress of your usb-device on your network and open it in your browser
(example:
http://192.168.1.50/) and upload the firmware you just made to your usb-device: >

- flashfirmware.jpg (230.74 KiB) Viewed 5578 times
After that, go into your Domoticz and add new hardware (if not done already) > MQTT AutoDiscover
Domoticz does search for all HomeAssistant MQTT devices and will add them automatically.
When everything is finished, your device should appear in to Domoticz after MQTT AutoDiscover finished his job..
Happy automation

Re: SLWF-01pro Midea Wi-Fi Module
Posted: Sunday 05 February 2023 16:34
by BarryT
Some other pictures of the project >
O-Droid (to compile on HA):

- odroid.jpg (77.71 KiB) Viewed 5569 times
The USB-Device :

- usbdevice.jpg (145.43 KiB) Viewed 5569 times
Questions? Feel free to ask..
Nice sunday!
Re: SLWF-01pro Midea Wi-Fi Module
Posted: Monday 06 February 2023 20:28
by ssk17051980
Thank you for the effort.
I hope that this week my wife will relieve me of the household chores and I will follow the tutorial.
Re: SLWF-01pro Midea Wi-Fi Module
Posted: Monday 06 February 2023 20:47
by BarryT
ssk17051980 wrote: ↑Monday 06 February 2023 20:28
Thank you for the effort.
I hope that this week my wife will relieve me of the household chores and I will follow the tutorial.
No problem, g'luck!