i am working on configuring several slwf-01pro and i can’t seem to get them to trigger the ir controls or follow me functions i have affed an ir transmitter to the board but can’t seem to get it to function I am hoping someone can help me figure this out
well i have the follow me temp showing from the external sensor but i can’t seem to get the IR to fire
I would just like to set it to an external temperature acting like the follow me option. I do not see that in the options. My unit seems to have a bad temp reading in it so I would like to override that. I have not found anything yet to allow that.
I think for the IR functions you need to solder a wire. You might want to look for that.
Good Luck
i got it working and you will need to make some changes to the code and solder a IR led inplace I will post photos and code in a bit as I finally got it working on mine
Are you saying that you soldered on an LED to the SLWF01 ? I saw examples, I think, for a wire from the SLWF01 to the main board. I think I would prefer an LED on the USB stick so that it is not attached to the wall unit.
Thanks
yes as i prefered not to have a hardwire to the Unit I added a LED i used a 3mm LED and some cat6 strands with plenty of heatshrink
Here is the code i used in esphome builder you will have to make adjustments for your needs but there are notes
# These substitutions allow the end user to override certain values
substitutions:
name: "lr-air-conditioner"
friendly_name: "Air Conditioner"
# Additional substitutions could be added here to make it really easy for the user to override defaults.
# I am adding a some for example purposes.
wifi_ap_ssid: "AC-wifi"
wifi_ap_password: "slwf01pro"
visual_min_temperature: "17 °C"
visual_max_temperature: "30 °C"
visual_temperature_step: "0.5 °C"
esphome:
name: "${name}"
# Friendly names are used where appropriate in Home Assistant
friendly_name: "${friendly_name}"
# Automatically add the mac address to the name
# so you can use a single firmware for all devices
name_add_mac_suffix: true
# This will allow for (future) project identification,
# configuration and updates.
project:
name: SMLIGHT.SLWF-01Pro
version: "2.1"
esp8266:
board: esp12e
# This should point to the public location of this yaml file.
#dashboard_import:
# package_import_url: github://smlight-dev/slwf-01pro/slwf-01pro-v2.yaml
# import_full_config: false # or true
wifi:
ssid: HA
password: Lewis413
# Optional manual IP
manual_ip:
static_ip: 192.168.1.158
gateway: 192.168.1.1
subnet: 255.255.255.0
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "${wifi_ap_ssid}"
password: "${wifi_ap_password}"
captive_portal:
# Enable logging
logger:
baud_rate: 0
# Enable Home Assistant API
api:
services:
- service: follow_me
variables:
temperature: float
then:
midea_ac.follow_me:
temperature: !lambda "return temperature;"
beeper: false
ota:
- platform: esphome
uart:
tx_pin: 12
rx_pin: 14
baud_rate: 9600
button:
- platform: factory_reset
id: factory_reset_btn
name: Factory reset
# "Display toggle" button
- platform: template
name: ${friendly_name} Display Toggle
id: midea_display_toggle
icon: mdi:theme-light-dark
on_press:
midea_ac.display_toggle:
# "Swing step" button
- platform: template
name: ${friendly_name} Swing Step
id: midea_swing_step
icon: mdi:tailwind
on_press:
midea_ac.swing_step:
climate:
- platform: midea
name: ${friendly_name} # The value of "friendly_name" will be used here
id: midea_climate
period: 1s # Optional
timeout: 2s # Optional
num_attempts: 3 # Optional
autoconf: false # Autoconfigure most options.
beeper: true # Beep on commands.
visual: # Optional. Example of visual settings override.
min_temperature: "${visual_min_temperature}" # min: 17
max_temperature: "${visual_max_temperature}" # max: 30
temperature_step: "${visual_temperature_step}" # min: 0.5
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: ${friendly_name} Outdoor Temperature
power_usage: # Optional. Power usage sensor (only for devices that support this feature).
name: ${friendly_name} Power Usage
humidity_setpoint: # Optional. Indoor humidity sensor (only for devices that support this feature).
name: ${friendly_name} Indoor Humidity
switch:
- platform: template
name: ${friendly_name} Beeper
id: midea_beeper
icon: mdi:volume-source
restore_mode: RESTORE_DEFAULT_OFF
optimistic: true
turn_on_action:
midea_ac.beeper_on:
turn_off_action:
midea_ac.beeper_off:
# Sensor from HASS for setting up FollowMe temperature
remote_transmitter:
pin: GPIO5 # For slwf-01pro-v2 dongle
carrier_duty_percent: 50% # 50% for IR LED, 100% for direct connect to TSOP IR receiver output.
#sensor:
# - platform: homeassistant
# entity_id: sensor.unk_manufacturer_unk_model_temperature
# id: den_follow_me_sensor
# filters:
# - throttle: 10s
# - heartbeat: 2min
# - debounce: 1s
# on_value:
# midea_ac.follow_me:
# temperature: !lambda "return ((x - 32.0) * (5.0/9.0)) ;" # convert F to C
# beeper: True
sensor:
- platform: homeassistant
entity_id: sensor.temp_temperature #external temp sensor in HA - F unit
id: LR_follow_me_sensor
internal: false # set to false so that you can see it in HA
name: "LR_follow_me_sensor"
filters:
- throttle: 10s
- heartbeat: 2min # send updates every 2 min
- debounce: 1s
on_value:
midea_ac.follow_me:
temperature: !lambda "return x;"
use_fahrenheit: true
beeper: false
# temperature: !lambda "return ((x - 32.0) * (5.0/9.0)) ;" # convert F to C
# beeper: false
- platform: wifi_signal
name: ${friendly_name} Wi-Fi Signal
update_interval: 60s
- platform: uptime
name: "Uptime"
id: uptime_sec
internal: true
- platform: template
name: ${friendly_name} Uptime Days
lambda: |-
return (id(uptime_sec).state/60)/60/24;
icon: mdi:clock-start
unit_of_measurement: days
update_interval: 60s
# "Power toggle" script
script:
- id: on_button_click
then:
midea_ac.power_toggle:
web_server:
port: 80
Do you have a picture with the LED attached? [I am in the US and I think you are as well from the use of Fahrenheit. Can you tell me what IR LED you are using? I looked on Digi-Key but there are a lot of options].
Does your swing work with the LED? I am hoping that will also become available for use.
Thanks for the script.
I’ll get you a photo as i’ll have to get the ladder out and open up a unit here is the LED I used
https://www.amazon.com/dp/B07LBBVJ43?ref_=ppx_hzsearch_conn_dt_b_fed_asin_title_2
I am a n00b with this stuff. I do have a soldering iron but I have only done very basic things with it [capacitor replacement].
Did you use a 1k resistor like this on the long LED leg between the wire and the LED?
https://www.amazon.com/BOJACK-Values-Resistor-Resistors-Assortment/dp/B08FD1XVL6
Thanks for the info on doing this and that swing works.
yes you do need the resistor and those should work fine and no problem i don’t mind helping at all don’t forget to headshrink one leg of led and resistor then cover both leds so you don’t have to worry about shorts

