Live data from Hacker News

RF hacking my cloud-controlled ceiling fan

samwilkinson.io

11–20 of 23 posts

Re: RF hacking my cloud-controlled ceiling fan

#11

I do not have a home so perhaps I do not fully understand. If it is warm when I go to bed, I turn on the ceiling fan by rotating the knob next to the bed. When I wake up, I turn it off. What kind of automation are you looking for?

For the fan - I like having it turn on in the late afternoon to freshen up the air in the bedroom. I also really like automatically adjusting the brightness/color temperature of all our lights during the day. It’s by no means necessary, but I don’t want to go back now.

Thanks. I typically turn on the lights with a wall mounted switch when I walk into a room and turn it off when I leave the room. Never gave brightness or color temperature much thought.

Re: RF hacking my cloud-controlled ceiling fan

#12

Earlier quoted context omitted.

For the fan - I like having it turn on in the late afternoon to freshen up the air in the bedroom. I also really like automatically adjusting the brightness/color temperature of all our lights during the day. It’s by no means necessary, but I don’t want to go back now.

Thanks. I typically turn on the lights with a wall mounted switch when I walk into a room and turn it off when I leave the room. Never gave brightness or color temperature much thought.

[deleted]

Re: RF hacking my cloud-controlled ceiling fan

#13

Earlier quoted context omitted.

For the fan - I like having it turn on in the late afternoon to freshen up the air in the bedroom. I also really like automatically adjusting the brightness/color temperature of all our lights during the day. It’s by no means necessary, but I don’t want to go back now.

Thanks. I typically turn on the lights with a wall mounted switch when I walk into a room and turn it off when I leave the room. Never gave brightness or color temperature much thought.

The biggest benefit is it gives you something to tinker with!

Re: RF hacking my cloud-controlled ceiling fan

#15
Thanks for sharing - i have been on a few years long journey trying to control my swamp cooler while try to learn RF. I started with a flipper zero to see if i could even capture signals from remote, replay and then decode via URH. i was able to brute force my way through it with older AI models 'back in the day'. I had it basically just send a 'cool' signal while remote was set to vent (which means no water flow).

The humidity in the house could then be measured with a RH sensor and the controller could then send cool signal to add some water to the pads if RH dropped below a certain point. This keeps the humidity way down while only increasing temp by 1-2 degrees. So much more comfortable as i can now keep the RH in the 50-60% range base on outside conditions.

I recently picked the project back up and with newer Claude models i have been making significant progress. For one, the code to determine when to 'cool' is getting better at managing as outside conditions change - temp/RH etc outside impacts cooler performance. Second, I can now start to fully replace the remote so the code manages via feedback loop. the remote has a keep alive sync signal that i was able to figure out that prevented me from using just the eps32. if the remote was off, the controller would turn on the cooler fine but if i didnt send a keep alive, the cooler eventually shuts off.

I have also added a RX module that allows me to now listen for the remote signal and shut off controller when i turn off via remote. eg turn on cooler via remote and controller can be turned on/off to work its magic.

Ultimate goal is to maintain the RH in house all day while outside conditions vary - morning, afternoon, evening and storms etc and then turn off at night once certain conditions are met. My wifes request is to have it turn off at bedtime so she can fall asleep, then turn back on after about 1 hour - so a timer is future feature.

The one thing I have learned is RF is hard but satisfying to figure out - I would have never attempted learning this w/o Claude. I also have a meter reader esp32 i am still working to debug and feel confident i can figure it out.

Re: RF hacking my cloud-controlled ceiling fan

#16

I do not have a home so perhaps I do not fully understand. If it is warm when I go to bed, I turn on the ceiling fan by rotating the knob next to the bed. When I wake up, I turn it off. What kind of automation are you looking for?

I mean, is it that hard to imagine that someone doesn't have a knob next to their bed?

Also, I've maybe seen a speed control knob for a ceiling fan a few times in my life in the US. Here it's all pullchains, or more recently "smart" bullshit.

Re: RF hacking my cloud-controlled ceiling fan

#17
post #5

Funnily enough, I did almost exactly that last week, but I kind of gave up for now as my 433 MHz transceiver does not seem to work well with esphome? It does seem to output signals when I use the remote. Oh well, I will revisit when I have more time. A major difference is that I relied on a flipper zero I had to do the 433 MHz capture instead of an RTL-SDR (I have one too, but have not needed it yet). For reference,…

I’m really interested in the Flipper Zero, for your use was it capturing specific encoding or raw data?

[deleted]

Re: RF hacking my cloud-controlled ceiling fan

#18
post #16

I do not have a home so perhaps I do not fully understand. If it is warm when I go to bed, I turn on the ceiling fan by rotating the knob next to the bed. When I wake up, I turn it off. What kind of automation are you looking for?

I mean, is it that hard to imagine that someone doesn't have a knob next to their bed? Also, I've maybe seen a speed control knob for a ceiling fan a few times in my life in the US. Here it's all pullchains, or more recently "smart" bullshit.

I am European and every ceiling fan I have used has a wall mounted knob. It is very convenient. Could be a regional difference.

Re: RF hacking my cloud-controlled ceiling fan

#19

Earlier quoted context omitted.

For the fan - I like having it turn on in the late afternoon to freshen up the air in the bedroom. I also really like automatically adjusting the brightness/color temperature of all our lights during the day. It’s by no means necessary, but I don’t want to go back now.

Thanks. I typically turn on the lights with a wall mounted switch when I walk into a room and turn it off when I leave the room. Never gave brightness or color temperature much thought.

There are people out there who similarly light a candle and never gave much thought to the fanciness of a switch.

Re: RF hacking my cloud-controlled ceiling fan

#20
Thanks for the write-up, I've been interested in connecting RF-controlled devices to Home Assistant myself lately! Your experience will definitely come in handy :)

Are you following HA's latest push towards proxy devices? A few months back, they have been improving support for RF and infrared controlled devices through proxy hardware — as far as I understand, it lets you have just one RF transmitter in the home and have several integrations use it for sending their chosen commands on their chosen frequency, a sort of transport/logic decoupling. It's new, so there's not a lot of stuff that uses these proxies, but I want to play around with them and wanted to get them on your radar as well!

Post reply on HN