Search posts, tags, users, and pages
Do you have a Github repository for all of this code? I have the same old 350MHz fan (same exact remote) and would love to do something similar here. I just went to be able to control the fan speed and off buttons (no lights). I made something with an esp32 and optocouplers just to press the buttons but it is not quite as reliable as I'd like.
Thanks!
I haven't created a repo for this since it's just a single YAML file and the relevant parts are in this post.
What are you looking for exactly? If you want my recorded signal codes, I can provide that, but note that the remote has DIP switches to set its channel so my recordings might not be for the same channel as yours.
Victor Chang I'll take whatever you're offering. On the off chance that our DIP switches are in the same config it might be useful. And if you have the single YAML so I don't have to do a bunch of copy and paste I would really appreciate it.
Thank you so much!
Matt
Matt Okay, here you go: pastebin.com/AKMRxeVa
Good luck!
Victor Chang Thank you for doing this. I really appreciate it! I'll follow the other post to try to figure out the codes from the remote and then use your YAML to see if I can make it work.
Appreciate your help!
Victor Chang I don't suppose you have a Discord you use to chat with folks? Would love to pick your brain.
I can get your config to load on the ESP32 but I need to capture the codes from my 350MHz remote. No matter what I try, I can't seem to get a config working that would allow me to use this tool: github.com/dbuezas/esphome-remote_receiver-oscill…
Did you ever get it working or did you just use your Flipper Zero?
Matt Hi, sorry been busy. To avoid spam and such, I don't typically provide ways for the public to chat with me. But if the solution below doesn't work then we can figure out a way to get a chat going.
I did exclusively use the Flipper Zero for signal-gathering.
I'm not sure how to receive signals using github.com/esphome/esphome/pull/6300, but in the replies it seems like some mechanisms exist and you could dive into that. But...
What might be the most straight forward for you (aside from buying additional hardware) is to downgrade your ESPHome version temporarily to 2025.1.x or lower since those are compatible with github.com/dbuezas/esphome-cc1101.
Then you can use their example yaml, particularly the remote_receiver section with the dump: - raw, and then use that tool.
Oh right, remote_receiver doesn't allow setting the frequency to 350MHz... this is paving new road from anything I've done then.
From the #6300 PR, maybe it is still possible to receive at 350MHz by doing
cc1101:
id: transceiver
cs_pin: GPIO5
output_power: 11
tuner:
frequency: 350000
...
and then:
remote_receiver:
pin: GPIO33 # GDO2
dump:
- raw
tolerance: 50%
buffer_size: 2kb
filter: 250us
idle: 10ms
Victor Chang Hey Victor, thanks so much for getting back to me. Your suggestions are actually exactly what I did. I downgraded to 2024.12.2 and was able set it up so i can receive my 350MHz signals. I'm now at the point where I'm trying to make transmitting the signals back to the fan work. It's odd that your Flipper Zero captured a much longer 350MHz signal than mine. The raw output I captured is shorter than yours and I haven't even tried to trim it yet. So far, transmitting that signal doesn't seem to work.
If I use your code on the latest ESPhome, I get an error that 350000 isn't supported in the ESPhome logs when pressing the button. If I go back to 2024.12.2 I no longer get that error but the fan isn't responding.
Bottom line is I'm still going back and forth on it but feel like I'm close. Any other tips you've got would be greatly appreciated!