owenb321 / hampton-bay-fan-mqtt

MQTT / RF Bridge for Hampton Bay Fan control
66 stars 18 forks source link

Details on hardware #2

Open rgabrielson11 opened 4 years ago

rgabrielson11 commented 4 years ago

Hello,

Ive picked up the D1 Mini and the CC1101 you reccomended, wired and programmed but am not having any luck receiving or sending data. It connects to MQTT fine and appears to be just sitting. Tried a different CC1101 and even a different 8266 board. Can you give more info on the exact fan remote you are controlling? I am moving from Sonoffs to these due to reliability issues.

Thanks

MACscr commented 4 years ago

Sure you have the right frequency set?

rgabrielson11 commented 4 years ago

yes, ive tried both using the frequency as it comes (303.631) and the frequency listed on the remote (303.9). two different brands of remotes/receiver units, two different 8266 boards and two different receivers. connects to MQTT and then nothing else. Assuming at this point there is some issue with the program. Would love to hear if anyone other than OP has got this going as I was super excited to get rid of my sonoff ifans.

MACscr commented 4 years ago

I get the transceiver he recommends in the mail tomorrow and will give it a try. I already have a SDR setup that receives at 303mhz just fine and used with RTL_433, so I can easily verify frequencies, etc.

On Jul 20, 2020, at 5:47 PM, Robert Gabrielson notifications@github.com wrote:

yes, ive tried both using the frequency as it comes (303.631) and the frequency listed on the remote (303.9). two different brands of remotes/receiver units, two different 8266 boards and two different receivers. connects to MQTT and then nothing else. Assuming at this point there is some issue with the program. Would love to hear if anyone other than OP has got this going as I was super excited to get rid of my sonoff ifans.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

rgabrielson11 commented 4 years ago

Cool thanks. I am guessing its possible both CC1101s I received were bad, so will wait for your results.

From: Mark Chaney notifications@github.com Sent: Monday, July 20, 2020 2:55 PM To: owenb321/hampton-bay-fan-mqtt hampton-bay-fan-mqtt@noreply.github.com Cc: Robert Gabrielson rgabrlson@gmail.com; Author author@noreply.github.com Subject: Re: [owenb321/hampton-bay-fan-mqtt] Details on hardware (#2)

I get the transceiver he recommends in the mail tomorrow and will give it a try. I already have a SDR setup that receives at 303mhz just fine and used with RTL_433, so I can easily verify frequencies, etc.

On Jul 20, 2020, at 5:47 PM, Robert Gabrielson <notifications@github.com mailto:notifications@github.com > wrote:

yes, ive tried both using the frequency as it comes (303.631) and the frequency listed on the remote (303.9). two different brands of remotes/receiver units, two different 8266 boards and two different receivers. connects to MQTT and then nothing else. Assuming at this point there is some issue with the program. Would love to hear if anyone other than OP has got this going as I was super excited to get rid of my sonoff ifans.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/owenb321/hampton-bay-fan-mqtt/issues/2#issuecomment-661354905 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUK77HOISI5VNI4EOUNPVDR4S4K3ANCNFSM4O5OY2QQ . https://github.com/notifications/beacon/ACUK77AFGI4LJ4ETMW2SCRLR4S4K3A5CNFSM4O5OY2Q2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE5VXTGI.gif

owenb321 commented 4 years ago

The remote I captured the signals from is this Anderic Replacement FAN-9T one. This model does not include light dimming, so if yours does, that might make a difference.

The code as-is should spit out anything the rc-switch picks up on that frequency over serial. Have you tried monitoring serial, or just MQTT?

rgabrielson11 commented 4 years ago

Tried both serial and Mqtt. Mqtt gives birth message so working to there. Serial looks like it’s not ever getting past my switch.avaliable

Thinking now it may be my receiver. Before I move ahead I’ll see how others fare. Thanks

---sent from my iPhone

On Jul 20, 2020, at 5:44 PM, Ben Owen notifications@github.com wrote:

 The remote I captured the signals from is this Anderic Replacement FAN-9T one. This model does not include light dimming, so if yours does, that might make a difference.

The code as-is should spit out anything the rc-switch picks up on that frequency over serial. Have you tried monitoring serial, or just MQTT?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

MACscr commented 4 years ago

Ugh, amazon failed to notify me that the transceiver got backordered and now wont be delivered until the 29th. I dont see another one exactly like that on prime near the same price, so i guess i have to wait. Love how they never said anything about a delay and even up to contacting them today, it still said i should expect it today.

MACscr commented 4 years ago

Just got mine in the mail and got it all setup. no luck here either. Should be more to configuring this than whats listed i would think. Monitoring serial, but no output. Still not sure this hardware can do 303mhz when its not listed in its specs.

MACscr commented 4 years ago

Yep, i just changed the frequency to 315mhz and tried a 315mhz remote i have and it picked it up right away. Ugh.

MACscr commented 4 years ago

Oh, i have 433mhz working perfectly with a sonoff rf bridge already. Bought this specifically for 303mhz. I just tested it with 433 and that worked too. Had to be exact though. 433 didnt work, but 433.92 did.

LSatan commented 4 years ago

Here is the data sheet for the CC1101. You can see the supported frequencies on the first page. https://www.ti.com/lit/gpn/cc1101

Many of the cc1101 modules have very imprecise crystals. therefore the frequency differs from module to module. if you own SDR you should calibrate your module. https://github.com/LSatan/CC1101-Debug-Service-Tool/tree/master/Calibrate_frequency Read instructions of readme.md from this folder.

Regards