Help config fan MQTT

Hello!
First of all thank you for your help!

I’m very new to HA and I don’t have much knowledge about this topic.

I’ve a raspberry HA and recently I bought a lilygo LORA32 and flashed with rtl_433.

I use MQTT explorer to see the device that I can reach with the lora32, and one of them is my ceiling fan, but the model shows a “Smoke-GS558” :thinking:

On MQTT explorer show different info when I press the different key on the remote control, but alway updates:

on:
{“model”:“Smoke-GS558”,“id”:275,“unit”:10,“learn”:0,“code”:“c0226a”,“protocol”:“Wireless Smoke and Heat Detector GS 558”,“rssi”:-80,“duration”:382000}

off:
{“model”:“Smoke-GS558”,“id”:275,“unit”:10,“learn”:0,“code”:“c0226a”,“protocol”:“Wireless Smoke and Heat Detector GS 558”,“rssi”:-40,“duration”:311000}

Speed 1:
{“model”:“Smoke-GS558”,“id”:275,“unit”:10,“learn”:0,“code”:“a0226a”,“protocol”:“Wireless Smoke and Heat Detector GS 558”,“rssi”:-80,“duration”:563000}

Speed 2:
{“model”:“Smoke-GS558”,“id”:275,“unit”:10,“learn”:0,“code”:“60226a”,“protocol”:“Wireless Smoke and Heat Detector GS 558”,“rssi”:-80,“duration”:250000}

In HA just shows this on the device the rssi level “-80” but nothing more.

My question is: How can I configure to control the fan in HA this this device?

Thank you so much in advance for your help!

Hi @petitxef

The rtl_433 library is a receiving only library, so you won’t be able to control your fan or any other device with it, but only have its properties received.

It also showing up for you as Smoke-GS558 instead of a fan could also have something to do with the frequency. If it is related to the

[113] "Regency Ceiling Fan Remote (-f 303.75M to 303.96M)"

it would need the frequency set to between 303.75Mhz to 303.96Mhz for a correct recognition.

Your best bet would be to try out a plain ESP8266 or ESP32 with a 433Mhz CC1101 connected with the rc-switch library, then set to 303.75Mhz to 303.96Mhz to see if you can received its states, and if you then will be able to also send commands to the fan.

Thank you DigiH!
The fan I’m 100% that use 433,92mhz frequency (I’ve the specs of the fan).

I’ll try with universal radio hacker to try to catch the signal.

Then a SRX882 & STX882 combo connected to an ESP8266/ESP32 might be better than a CC1101 for a longer range of reception and transmission.

but acording Lilygo Lora32 use Lora antena and ESP32, will won’t work?
Thank you!