SLWF-01pro Midea Wi-Fi Module Topic is solved

Moderator: leecollings

ssk17051980
Posts: 112
Joined: Thursday 08 December 2022 22:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: ROMANIA
Contact:

Re: SLWF-01pro Midea Wi-Fi Module

Post 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.
BarryT
Posts: 365
Joined: Tuesday 31 March 2015 22:06
Target OS: Linux
Domoticz version: 2024.3
Location: east netherlands
Contact:

Re: SLWF-01pro Midea Wi-Fi Module

Post 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 😁
ssk17051980
Posts: 112
Joined: Thursday 08 December 2022 22:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: ROMANIA
Contact:

Re: SLWF-01pro Midea Wi-Fi Module

Post by ssk17051980 »

Nordstar.
But the pic from this page it's the same whit mine.
BarryT
Posts: 365
Joined: Tuesday 31 March 2015 22:06
Target OS: Linux
Domoticz version: 2024.3
Location: east netherlands
Contact:

Re: SLWF-01pro Midea Wi-Fi Module

Post by BarryT »

Okay, it looks like nordstar is an oem midea so it will work 👌🏾
ssk17051980
Posts: 112
Joined: Thursday 08 December 2022 22:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: ROMANIA
Contact:

Re: SLWF-01pro Midea Wi-Fi Module

Post by ssk17051980 »

can you gave-me the entire DIY, thx
BarryT
Posts: 365
Joined: Tuesday 31 March 2015 22:06
Target OS: Linux
Domoticz version: 2024.3
Location: east netherlands
Contact:

Re: SLWF-01pro Midea Wi-Fi Module

Post 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.
ssk17051980
Posts: 112
Joined: Thursday 08 December 2022 22:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: ROMANIA
Contact:

Re: SLWF-01pro Midea Wi-Fi Module

Post by ssk17051980 »

Thx !!!
BarryT
Posts: 365
Joined: Tuesday 31 March 2015 22:06
Target OS: Linux
Domoticz version: 2024.3
Location: east netherlands
Contact:

Re: SLWF-01pro Midea Wi-Fi Module

Post 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
esphome.jpg (67.69 KiB) Viewed 3371 times

Call it Airco (for example) and click next >
esphome-start.jpg
esphome-start.jpg (123.38 KiB) Viewed 3371 times
After that choose the esp8266 board >
esphome-airco.jpg
esphome-airco.jpg (69.82 KiB) Viewed 3371 times
Then skip the key (since we do not need it because no homeassistant is using)
Last edited by BarryT on Sunday 05 February 2023 16:09, edited 3 times in total.
BarryT
Posts: 365
Joined: Tuesday 31 March 2015 22:06
Target OS: Linux
Domoticz version: 2024.3
Location: east netherlands
Contact:

Re: SLWF-01pro Midea Wi-Fi Module

Post by BarryT »

Great, your first device is made.. >
esphome-aircodevice.jpg
esphome-aircodevice.jpg (61.03 KiB) Viewed 3370 times
Then click on edit: >
esphome-aircodevice-edit.jpg
esphome-aircodevice-edit.jpg (25.57 KiB) Viewed 3370 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 ;)
Last edited by BarryT on Sunday 05 February 2023 16:21, edited 2 times in total.
BarryT
Posts: 365
Joined: Tuesday 31 March 2015 22:06
Target OS: Linux
Domoticz version: 2024.3
Location: east netherlands
Contact:

Re: SLWF-01pro Midea Wi-Fi Module

Post by BarryT »

Then we going to compile the code into firmware by doing save > install > manual download > modern format:
esphomesave.jpg
esphomesave.jpg (167.29 KiB) Viewed 3369 times
manual.jpg
manual.jpg (46.12 KiB) Viewed 3369 times
modernformat.jpg
modernformat.jpg (25.77 KiB) Viewed 3369 times
BarryT
Posts: 365
Joined: Tuesday 31 March 2015 22:06
Target OS: Linux
Domoticz version: 2024.3
Location: east netherlands
Contact:

Re: SLWF-01pro Midea Wi-Fi Module

Post by BarryT »

After compiling you will get the .bin file to upload to the usb-stick you did recieve. >
binfirmware.jpg
binfirmware.jpg (376.95 KiB) Viewed 3368 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
flashfirmware.jpg (230.74 KiB) Viewed 3368 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 :)
BarryT
Posts: 365
Joined: Tuesday 31 March 2015 22:06
Target OS: Linux
Domoticz version: 2024.3
Location: east netherlands
Contact:

Re: SLWF-01pro Midea Wi-Fi Module

Post by BarryT »

Some other pictures of the project >
O-Droid (to compile on HA):
odroid.jpg
odroid.jpg (77.71 KiB) Viewed 3359 times
The USB-Device :
usbdevice.jpg
usbdevice.jpg (145.43 KiB) Viewed 3359 times
Questions? Feel free to ask..

Nice sunday!
ssk17051980
Posts: 112
Joined: Thursday 08 December 2022 22:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: ROMANIA
Contact:

Re: SLWF-01pro Midea Wi-Fi Module

Post 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.
BarryT
Posts: 365
Joined: Tuesday 31 March 2015 22:06
Target OS: Linux
Domoticz version: 2024.3
Location: east netherlands
Contact:

Re: SLWF-01pro Midea Wi-Fi Module

Post 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!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest