Це відео не доступне.
Перепрошуємо.
Sonoff RF Bridge with Tasmota
Вставка
- Опубліковано 9 сер 2018
- Links to buy the Sensors:
2 code Door Sensor - ban.ggood.vip/...
Leak Detector - ban.ggood.vip/...
other 2 code Sensor - amzn.to/2KrcMTs
motion Sensor - amzn.to/2O9DwKw
www.DrZzs.com - for blog post of this project
The Yaml lines for Binary Sensors and Automations:
gist.github.co...
Backlog Command lines:
docs.google.co...
FlashEZ Sonoff.bin & Termite
github.com/let...
github.com/are...
www.compuphase...
IMPORTANT LINKS:
Amazon Link: amzn.to/2rCQPcw
Patreon: / drzzs
Twitter: / dr_zzs
Instagram: / drzzs
Facebook: / 1969622823351838
Discord: / discord
Hi, great work !! Inspiration for all of us. For all of you that don't need to remember the sensor state you can use :
- platform: mqtt
name: "geam bucatarie"
payload_on: "0CB9A1"
device_class: window
state_topic: "tele/RF_Bridge/RESULT"
value_template: "{{ value_json.RfReceived.Data }}"
off_delay: 2
off_delay:2 will reset the sensor to off state in 2 seconds, will save you for extra codding
Mersi gagiule :-)
Thanks DrZzs. I have found your instructions not only clear and easy to follow, but entertaining as well. Good tip on the dual code sensors, I have ordered a few. I'm currently using 2 Sonoff sensors with the reeds removed and instead wired to a separate reed with NC/NO contacts to obtain the open/close codes.
I just come across the Sonoff RF which looks like it will solve my problem of needing to connect to my Keriu outside siren to trigger it from HA and then I come across your vid always a pleasure to have you as the first person explain things to me.
Excellent!
I love my RF bridge. It has been super reliable. Hope it works for your siren!
Hi. Glad you had some more success this time round. And again thanks for all the great videos. The limit on rf transmit and receive is only limited to the number of 24bit codes possible (16,777,215 i think). If you want to send a code other than the preset 16 codes. Just use the mqtt command RFCODE and make up a 24bit number. To send hex value just add a # infront of the code. Example cmnd/sonoff/rfcode 8585358 or cmnd/sonoff/rfcode #83008E. Adding the # infront of the code to send hex is a real pain in home assistant which is why i added some settings in tasmota to be able to receive the rf codes as a decimal value which is much easier to handle in home assistant. As of tamota version 6.0.0 In console use SetOption28 1 to switch dec rf receive on. Then the use of rf plug sockets becomes much simpler.
Thanks for another awsome video hope this comment proves useful.
Thanks. Sam
Awesome! Thanks again to you for pointing me in the right direction.
Sounds like you are the master of the RF Bridge. I'll be coming to you for any future questions :)
Are you on Discord?
ha! i wouldn't say master. Ive been programming arduino and RF for many years so i can understand most of how the tasmota firmware works. i cant help but think that tasmota and home assistant is the best thing since sliced bread. my discord number is #1361.
Hey - hope you can help; when i restart HA after a config change, the sensors on my RF Bridge all go into a closed state even though they are open. Also, my cover.garage goes into a unknown state as i have a RF reed sensor as well. As soon as i open any of the sensors it gets back on track again. Seems like the RF bridge is not retaining the last state per device. any suggestions? Thank you
Hi. The rf bridge is not smart enough to retain the states of any rf devices it controls or monitors. Home assistant can do this and if you look up recorder logbook and history there are some setting to be able to reload previous states of all entities. Remember RF is only one way communication so the states are assumed based on the last received communication. If a communication is missed then the states can become out of sync.
This is perfect thanks, final piece in replacing my dead RMPro with one of these. Fraction of the price and so easy to learn codes compared to the pot luck disaster with the RMPro. As usual, far more complicated to read about than do. @DrZzs, tried your EZ flash technique for the first time with this, and again, so simple, thanks.
Hi. This tutorial is great. I used it to set up my sensors. The reset automations are a great solution for 1 code sensors. But yesterday, I was searching something else and found this setting for 1 code sensors "off_delay". So you no longer need to create a reset routine.
off_delay
(integer)(Optional)For sensors that only sends On state updates, this variable sets a delay in seconds after which the sensor state will be updated back to Off.
How is this not the top comment? It's so useful!
Got the water leak detector in the mail today along with several of the 2 code sensors. The leak detector was easy to set up and it works! Well, it works after a trip to the big box store to get a pack of the A123 batteries.
ya, I hate funky sized batteries. And if you're going to sell something with such a screwy sized battery, add $2 to the price and include a battery please!
Anyway, glad you got it!
Bridge and sensors ordered from BangGood, thanks for the inspiration. Looking forward to being notified when the upright freezer door has been left open by the kids in the back room of the house and NOT losing $100s of meat and other products.
exact reason I am on this!
This is still a great reference video. As an update to all, you can now reset the sensor without an automation. You do it right within the YAML by using the off_delay: XX. XX is the number of seconds until it resets.
The Good Doctor's reaction when the water leak sensor automation succeeded is the best demonstration of basic human nature:
1) Human pushes button 2) Something happens. 3) Sweeeeeet.
We've just modernized this with HA, but I assume the first instance of this sequence went something like this:
1) Caveman see rock on edge of cliff 2) Caveman pushes rock off cliff, cool bouncing and crashing down the cliff occurs. 3) Caveman says "Sweeeeeet"
Just wanted to thank you for this video. I had a devil of a time getting Tasmota up and running. Mostly operator error. Never did get the IPaddress1 command to work. But there are other ways... But it was smooth sailing after that. The only sensor I have now is the door sensor that you mentioned. I used your YAML for the fridge door and it worked perfectly. Your videos always work. I guess as a doctor, you get used to that as a way of life.
OOPS! in not in your vocabulary.
ha! glad to hear you got it working. I love the fridge one. Especially with the automation to announce that it's open and someone needs to close it.
I hope the videos work. Sometimes I make mistakes or forget steps or things change. I'll keep trying to do good stuff that works :)
DrZzs The big problem that I had was reported by others. Termite would not work. While fiddling around , I broke a wire . My programming setup was a kludge so I rebuild it. Anyway I read the comments and realized a lot of others had the same problem.
So you might state that we read the comments before we start implementing the video. This is not a problem with the videos. Thanks again for your fabulous efforts.
Awesome walkthrough! Thanks for sharing and keep up the great work! I just flashed mine with tasmota and it’s up and running. I’m going to add all my rf sensors this weekend to HA.
Feedback: you may want to mention the Rx and Tx need to be flipped. I know you point to another video on flashing but in this video you just rattle off the order without mentioning they are flipped on the sonoff side. If someone was just watching this video they may get it wrong.
Thanks!Good feedback too. It's always a little hard to know what to repeat and what I can skip over.
Glad you posted this! I forgot to switch them and couldn't figure out why it wasn't working! Thank you!!
Thanks for posting this. Just wanted to note that you may want to add an off delay (' off_delay: 10
') for you leak sensors so that they can reset themselves as they don't have a discrete off command.
good point! thanks!
The RF Bridge was delivered today. Yay. Already got it flashed with Tasmota. Nice a smooth. Thanks Dr. Zzs
Not sure how old your kids are, but we use a door sensor on our liquor cabinet to alert when it's been opened. That's a use case where I really don't need to know if it's been closed. It works as a great deterrent to keeping under agers out of the booze!
Excellent!
Glad my parents didn't think of that ;)
Thank you, after watching this I ordered an rf-bridge and am now controlling my devices with 433mhz sensors -- RF-Bridge--Node Red - Domoticz ----- Wish I'd seen this earlier
Man, your videos are awesome! It's a pleasure to watch. I am starting at the home automation and gathering the necessary equipments to initiante my home assistant setup. Your help is very welcome! THanks!
Thank you so much for a great video! I wouldn't be able to set up any of this if I didn't have you, Rob, and Travis. Please keep up the great work.
Thanks!
That's why we do it. :)
Video is getting a bit old but truly saved my day with 10 new 433 MHz smokedetectors received today :-D
"optimistic" & "retain" should be removed due to changes in HA....Beside that....Brilliant video, TY SO much :-)
Thank you so much for this instructions! I tried to flash my brandnew R2v1 following the official Tasmota wiki - Failed. Your video was the perfect help. All I had to add was the USB power.
excellent!
Thanks from Australia, great video and links so easy to set up!
Thanks!
Just when I thought it was going great... Was able to upload the the file but it wouldn't connect to termite! Tried repeatedly including reflashing... Nothing on Termite. Then I just turned it on, it came up as a wifi source , I connected to it. then 192.168.4.1 and changed the ssid etc. It then connected to my home ssid and presto... then logged into 198.168.0.*** and shazam! THANKS AGAIN!!! really appreciate your clips and the way you explain the process!
Hey DrZzs, I managed to get the RF connected a week ago, however I can't for the life of me, get the Automation to work!
You might be able to use "expire_after: [n seconds]" in your sensor config instead of an automation to reset the state of your sensors. Below is a configuration from a doorbell sensor that I found on the internet that works well for me. My sensor sends a payload of "Ding" when triggered, and after the "expire_after" time runs out, Home Assistant changes the state from "Ding" to "Unknown". I haven't tested it with "payload_on:" but if it works, it would save having to set up extra automations.
- platform: mqtt
name: "Doorbell"
state_topic: "doorbell"
expire_after: 10
Great Doc! Well done. I ve flashed mine and works like a charm!
Excellent!
Wow... Dr you rock.. I really appreciate all you have done, works like a charm
That advert for Honey is going to drive me mad. Thanks for this video - I'm just starting with the Sonoff Bridge (R2) and Tasmota, I was just pondering whether I need the additional RF software (I have Tasmota 8.1.0.2 on it) - I'll look right through your video before progressing.
Pete
Couldn't the RF Bridge be used for controlling an AC unit in a given room? If the AC unit receives an RF code, couldn't we set one of the 16 numbers to each function?
Example:
- 1 to turn on AC
- 2 to turn off AC
- 3 to turn to turn up the temperature
- 4 to turn to turn down the temperature
- 5 to turn on sleep mode
- 6 to turn off sleep mode
These are the most basic needs for most AC units and with the additional 10 unused codes, I'm thinking it would either do other function on the AC or control another component as well - like a TV.
Is this a possibility with the Sonoff RF Bridge?
So, it’s been almost 6 months. Have you assessed the longevity of these Banggood door sensors on a real-world usage ?
“COLD - It’s not quite what I want - but it’s pretty COOL.....”
hahaha
hey Doc, i really appreciate ALL these videos i wouldnt have started messing around with this stuff again if it hadnt been for you. i'm glad youre a normal person!!! "holy crap theres water in the basement"............. HAHAHAHAHAHAHA
Ha! Thanks man. :)
I was waiting this video since you posted the first one:) Thanks a lot your are the best :)
This is super awesome , I can add this to my Main bedroom and if some sensors trigger , the lights will come on to wake me. Yes I am 80% deaf , the I sleep through when the alarm goes off. Make my bedside lamp flash aswell. Super cool thanks . Love to get to work with my Alarm system outside beams . Not sure how I would do this. Thanks
Great!
Get some details about your outside beams. It's possible there is a way to get them to interact with Home Assistant.
For those like me that don't feel a need to have a stupid GUI around everything or don't use Windoze, on the command line:
esptool.py --port /dev/ttyUSB0 write_flash -fs 1MB -fm dout 0x0 sonoff.bin
to upload. If you have Arduino, Eclipse, or Atom installed, you have esptool.py, and if you have that, you have python.
If find it easier to just press then fiddling with a pointless tool.
Good video though!
Thanks
it's good to have options
Device that has only 1 code, you can add " off_delay: xx " xx = time in seconds to reset payload_on, such as Motion sensor, Carbon Monoxide Sensor, Leak Detection.
👍
RFBridge has been sitting in the box for two months while I do other projects. Think I may get to break it our tonight. Found this one just in time...
Excellent! My Tasmotized RF Bridge has been one of the most stable devices in my smart home. good luck with it!
@@DrZzs I look forward to a high wife approval rating.
For the sensor that only sends the open signal you can use it for a bathroom light sensor. To toogle the light, so wen you open the first time it turns on the light, and when you open again it turns it off
ya, you could do that. What you'd do is set an automation so that every time that sensor sends it's "on" code the light is "toggled".
That might work really well actually. Good thinking.
If you have trouble setting up the automation let me know.
This will fail if the light isn't off when you first enter. (it will turn it off) It could be off by many reasons: toggles via a normal switch, from HA, from any automation or simply a missed signal.
Interesting... I find these videos intriguing. I’m going to put one on my medicinals cache
Use a xiaomi gateway linked to HA, zigbee door sensors from Ali express £7.50, works great, shows doors open or closed and works greets with the HA alarm panel. Konnected for the wired sensors .
Sounds like a great setup. So no firmware change on the Xiaomi gateway?
nope, all the xiaomi sensors once logged onto the gateway appear in HA, have doors and smoke detectors which if they go off set off the house alarm. Sweet!
@@markszymura What about RF Generic controllers/Buttons? Do you know if Xiaomi Gateway "listen" this controllers?
Thanks.
What would be the World without
DrZzs !
YES! thanks DrZzs, i have work to do tonight!
Good luck!
Hi Doc! This didn't work for me straight out of the box. To flash it I had to rewire TX-TX and RX-RX. And the termite was dead through a PL2303, so I had to connect to the bridge via wifi and do tasmota config there. Keep up the good work!
you generally put tx to rx on both ends, not tx-tx or rx-rx (They stand for transmit and receive. One tx has to go to the other rx)
If you want use code for battery low you just need to change last digit in the code to 6. If you have code 1D430A for open door then you have to use code 1D4306 for low battery.
Thanks for this
Hi DrZzs
You can use more than 16 remote with sonnoff bridge+tasmota.
Of course it would be more elegant to write with state_value_template. But it still works.
Your videos are very helpful. thanks a lot.
switch:
- platform: mqtt
command_topic: "cmnd/RF_Bridge/Backlog"
name: "Desk Lamp"
payload_on: "RfSync 8700; RfLow 270; RfHigh 840; RfCode #2F7E84"
payload_off: "RfSync 8700; RfLow 270; RfHigh 840; RfCode #2F7E82"
# state_value_template: '{{"RfSync 8700; RfLow 270; RfHigh 840; RfCode #"+value}}'
# state_value_template: 'RfSync 8700; RfLow 270; RfHigh 840; RfCode#{{ value}}'
qos: 1
retain: false
nice! I have a bunch of 434mhz fans i want to try to use this on.... what range can the rf bridge transmit? will i need one in each room?
Hi, quick question. i have a motion sensor, and tried to install it the same way you did in the yaml file. problem is, that "optimistic" is (no longer?) available for binary sensors. without it, it doesnt seem to work. i can see the mqtt data, but the motion sensor doesn't trigger. does anybody know what to do instead?
Hi DrZzs good evening and how are you ?
Follower from China . Ha.
Thanks for all of your sharing so then i could make my own Automation project. Don’t know if you still digging for MQTT Tasmota . Am just found out it works on Ha sending MQTT to Tasmota for sending any of RFcode. Easy as MQTT publish below {‘“payload”:”RfSync 1234; RfLow1234 ;RfHigh 1234; Rfcode #1234”,”topic”:”combs/RF_Bridge/Backlog”}
Replay 1234 to which every keys you press and see from console. Don’t miss the #for the RfCode or you will have an unknown command.
Thank you and how you like it.
JayZ
Correction as follow. Sorry for the typing mistake. iPhone auto correction.
(“payload”:”RfSync 1234;RfLow 1234;RfHigh 1234; RfCode #1234”,
“topic”:”cmnd/RF_Bridge/Backlog”)
Doc, always helpful and entertaining. I like the idea of your Backlog Command lines cheatsheet that is a very nice touch, I'd like to suggest you add the link to the corresponding video to tie everything together. Always appreciated. If you need ideas I'd like a video on how to use the RF Bridge to control my Quiet Cool house fan that is operated by their "Quiet Cool" RF controller. best dean
Hey there!
I was wondering if you or anyone else has been experiencing issues with their 433Mhz PIR sensors/automations since the recent HA update? Mine now go into a 'unknown' state rather than revert back from 'on' to 'off'
Curious if you tried the wifi door sensors and how they compare to the RF sensors. I saw that sononff has them and supposedly they interface (after flashing) with home assistant/openhab so was wondering if there is an advantage in using the RF ones instead.
I'm getting the errors:
Invalid config for [switch.mqtt]: [device_class] is an invalid option for [switch.mqtt]. Check: switch.mqtt->device_class. (See ?, line ?).
Invalid config for [sensor.mqtt]: [payload_on] is an invalid option for [sensor.mqtt]. Check: sensor.mqtt->payload_on. (See ?, line ?).
I think is because i dont have the template defined.
How do you define the template '{{value_json.RfReceived.Data}}' ??
Okay... So I bought this acurite temp/humidity sensor (it's 433).... I cannot get anything to show up as RF received in the console. I have my Tasmota set to "Bridge Module" I feel that I am missing some critical info here
Big fan DrZzs. I followed the instructions for water leak sensor and things are working almost OK.
The problem I see is that the water leak sensor (SQ-100B) only really sends the RF signal when the two prongs are let go. Even in your video, at the end you dont see anything happening until you let go your fingers off the water leak sensor which then invokes the automation. Please let me know if you actually see the same problem.
I poured water in a cup with water leak sensor in it. The automation only got invoked when I took the sensor out of the cup, making it useless!!
Please help!!
I have followed up with banggood as well, awaiting response.
7:53 Me realizing I've got to much to learn...
This guy is making smart . Thanks dr
Ha!
You're welcome!
Hi. i have done this with a door sensor. But in HA, i can't change the room where the door is located. How can i do that? it is possible? thanks in advance.
After a year of functioning with no problems, a water sensor, just like the one you showed is now putting out false alarms. changed the battery, reset the RF bridge, still false alarms. I have 5 other similar sensors with no errors. Any thoughts on what is going on?
Thanks for the excellent video! I would like to control a RF siren from HA thru the sonoff RF bridge. I have no idea how to configure HA for that. Again thank you very much!
Does each of these door sensors send different codes to the bridge so that the bridge can tell what sensor it is? Seems like they are cookie cutter devices.
Yes, each one sends a different code. There is probably more information it is sending, but the bridge shows it as a unique 5-6 digit code.
Thanks Drzzs. I just got the stuff today, time to play.
Hi Dr Zzs, i have a sonoff door sensor which is only door open, i am using a Tasmota 9.3.0, MQTT is working. It is configured in OH3 and setup in Channels. It picks up door open and stays open. How do i get it to change to Closed using a timer in OH3?
had some trouble getting the sensors registered in hass.io so in my config removed
retain: false
restarted and everything seems to be sensing fine! thanks so much for the video
ah yes. That was a change made to HA a while back, but after this video.
Glad you got it figured out.
Hey, great video. It was inspiration enough for me to invest in a bunch of rf sensors for my home windows & doors. One question about battery life. Do you know of any way to identify current battery levels? I just watched the latest video from 'the hookup' about the new Shelley H&T and smoke detectors. It seems these Shelleys send mqtt data to report battery store percentages. I'm wondering if you found a way to know when it might be time to replace the batteries in these sensors you used?
I think there are some sensors that report a code for low battery. I don't expect you can get an actually battery level from these sensors since they are RF and would need a unique code for each %. The only way I can think of to see what the low battery code is (if your sensors send one), would be to put a dying battery into the sensor and watch the tasmota console for a new code.
I would guess that if the sensors send a low battery code it would say so in the marketing information. If it doesn't say something about that, then it probably doesn't send one.
I haven't watched Rob's latest video yet, so I can't say much else about comparing those sensors to these RF sensors. They aren't much the same though. RF is likely always going to use much less power than any Wifi (mqtt capable) sensor. If they have found a way to bring the power usage down to comparable levels with RF sensors that would be revolutionary!
Hope that helps!
@@DrZzs thanks for the info. Totally agree.
@DrZzs I must have stared myself blind of this problem:
I have a RF 3 way, toggle unit, which I have coded into the configuration.yaml file as binary_sensor: and automation "reset to off state" into the automations.yaml file.
But for some reason, only the first switch works. The RF codes are correctly typed into the code, but only the first switch works. The other switches won't even be set to the"ON" state.
All the switches are detected by the Sonoff RF bridge with Tasmota without any problems.
Am I writing the code wrong, or is the RF bridge reporting incorrect values? I can't figure it out" :P
If any of you guys have any idea, please let me know!
Thank you all in advance.
------------------------------------------------------------------------------------------
binary_sensor:
- platform: mqtt
state_topic: "tele/tasmota_C24742/RESULT"
name: 'Kontakt 1'
value_template: '{{value_json.RfReceived.Data}}'
payload_on: '1F0492'
payload_off: '1F0492off'
- platform: mqtt
state_topic: "tele/tasmota_C24744/RESULT"
name: 'Kontakt 2'
value_template: '{{value_json.RfReceived.Data}}'
payload_on: '1F0494'
payload_off: '1F0494off'
- platform: mqtt
state_topic: "tele/tasmota_C24748/RESULT"
name: 'Kontakt 3'
value_template: '{{value_json.RfReceived.Data}}'
payload_on: '1F0498'
payload_off: '1F0498off'
------------------------------------------------------------------------------------------
- alias: RF enkel kode kontakt reset 1
initial_state: 'on'
trigger:
- platform: state
entity_id: binary_sensor.kontakt_1
from: 'off'
to: 'on'
for:
seconds: 0.1
action:
- service: mqtt.publish
data:
topic: tele/tasmota_C24742/RESULT
payload: 1F0492off
id: 3ac31740428246b788aba652d6ba9e3b
- alias: RF enkel kode kontakt reset 2
initial_state: 'on'
trigger:
- platform: state
entity_id: binary_sensor.kontakt_2
from: 'off'
to: 'on'
for:
seconds: 0.1
action:
- service: mqtt.publish
data:
topic: tele/tasmota_C24742/RESULT
payload: 1F0494off
id: 043633db0d3f4faa922e22058979d5cc
- alias: RF enkel kode kontakt reset 3
initial_state: 'on'
trigger:
- platform: state
entity_id: binary_sensor.kontakt_3
from: 'off'
to: 'on'
for:
seconds: 0.1
action:
- service: mqtt.publish
data:
topic: tele/tasmota_C24742/RESULT
payload: 1F0498off
id: be16d551452f427a8af4039a0f999f9b
Hi thanks for video,
What would be the easiest method (without FW flashing) to have the garage door status Open/Closed?
My initial idea was to use Sonoff RF Bridge and Sonoff DW1 sensors, but after watching your video I saw that this isn't possible because DW1 sends only "break" status with no info on being closed again.
Are there any compatible wireless door sensors that provide Open/Closed status (besides alarms) to phone app where one could check door status (without RF FW flashing)?
How long did the batteries last? Good video.
does this RF bridge work with any other 433mhz besides Sonoff sensor?
it refuses to detect my existing ADT door sensor that's also 433mhz and doorbell as well. :(
hey doc, I HV spin fan which use rf433. But, to use the remote it need to press power n light button to sync. Then, remote is dedicate to fan. On the fan, it use muchip mu3100. U think is this possible to automate with sonoff RF 433 bridge?
Thanks for the guide. Managed to flash the bridge successfully. However, connecting to the bridge works as well, but I don't get any respond when trying to enter the backlog command. How do I know if it fails or worked?
My sonoff bridge with tasmota is constanly disconnecting from mqtt broker mosquitto. I am using tasmota 8.2 version. Does anyone has this issue?
Hi DrZzs,
Can you come up with a video to Flash Sonoff RF Bridge V2. These instructions are not working for V2. With these instrution, on the console, I could only see tele/sonoff/STATE & tele/sonoff/UPTIME.
Did you ever have any luck with v2?
Hey Compadre.... maybe you use off_delay: 5 in your binary sensors to reset states to Off instead of use an automation to reset, I tested and it worked. thanks
Hello there, thanks a lot for the information, I just flash 8 sonoff basic and one rf bridge but now the rf brig is not sending or receiving anything, the rf led is not flashing at all, the switch is back to the on position, please help!
I really dont understand the need HA for automations in most cases. After compiling my own Tasmota to include IF/ELSE statements I have never come across a situation that I cannot do via rules right on the devices themselves. For my sensors all my automations are done by rules on the RF Bridge. No need for HA, MQTT server or anything else.
So just as a question. I was planning to use the rf bridge to automate some rf light switches. I wanted to use openhab, but that shouldn't change much.
I want the home automation software to send a data key to the rf bridge so that the bridge will send this code (instead of using one of the buttons on the web portal manually). Do you know if this is possible?
Hello DrZzs. Many, many thanks for your great videos that gave me a great start to flash everything (bunch of sonoff devices). Say, have you already encountered a device like Eachen RM-DC34 which is like sonoff rf bridge but it also has 315MHz support and possibly a better range thanks to external antenas? I would like to try one and would love to have it with Tasmota.
If I have 2 different bridges do they send the same codes or different? ie, is it possible to expand number of signals transmitted with more bridges?
Ok, water sensor working correctly when exposed to water not finger. I'm using pushbullet to get a notification on my android for this and the refrigerator as well so far.
... I flashed my bridge with Tasmoto... and got it configured to network, but i noticed when i move my door magnets close to each other I don't see any msgs for tele/.../RESULT in the console and but did noticed that my radio/443 led is blinking red the door sensor open/close, any ideas?
RESOLVED, forgot to set the Tasmoto Module type to 25, so it did not know that it needed to listen to a radio and then process the msg.
G
Hello everyone; when i restart HA after a config change, the sensors on my RF Bridge all go into a closed state even though they are open. Also, my cover.garage goes into a unknown state as i have a RF reed sensor as well. As soon as i open any of the sensors it gets back on track again. Seems like the RF bridge is not retaining the last state per device. any suggestions? Thank you
hi DrZzs and all guys, some missing session but i've fashed the rf bridge i've 2 door sensor and one pir. Now i'm search for a door sensor in order to keep track if a gate is open or close d, can someone help me to find a device as above in order to integrate with rf bridge ? thks a lot. well done!
Hey Doc, watching this video has potentially saved me loads of time and effort, figuring out how to build from scratch! Got mine plus a PIR up and running fine! One question, something I've not been able to find, possibly a n00b Q, but is there anyway of using the bridge to communicate with a Temperature sensor?
That's a good questions. I don't know the answer. I'd have to get an RF temp and play around with it. Do you see anything happen in the Console when the temp sensor is active? That's where I'd start looking. I wonder how an RF temp sensor sends the actual numbers for the temp?
Hi Im looking for a device that will voice prompt to a speaker when triggered preferrably by wifi or 433mhz
How did your system speak "ohh no water leak in basement again" what device didi you use to do that?
Revelation he uses google and Alexa for the announcements and a push notification for an iPhone.
I have installed a second RFBrige with Tasmota, who now decides that a sensor goes to a certain Sonoff bridge. I grabbed a new sensor and kept it next to the new sonoff bridge but the signal came in on the 1st sensor. My home assistant did not even know about the existence of the new bridge. Can you explain that ?
How do you handle retain for devices sending to the RF Bridge? If i restart my Hassio with a door sensor open, it stays closed in the frontend which is kind of annoying..
This is AWESOME! Nice work!
Thanks man!
Got your email too. Hope your stuff arrives soon!
Let me know how it goes with the setup!
Great video!
Just wondering if in the automation at 11:19 you shouldn't set the payload as in the template of the sensor, e.g., "{\"RfReceived\":{\"Data\":\"BDA5B9off\"}}" ?
Sorry if this is a repeated question.
You're probably right. I'll have to look at it again.
It isn't as necessary to make the fake "off" code anymore since they added an "off_delay" option to binary_sensors in HA. So now when you set up the sensor entry in HA you can set off_delay: 5s or whatever time you want for it to reset to off.
As always great video and another 60 Dollar order from China Lol. Btw I checked with my insurance agent and when I get these install I can get a 1% discount on my homeowner's policy for using leak detection.
Really?? I better check with mine. Thanks for the tip!
Hey Dr.Zzs. You can send unlimited codes using mqtt payload. But you have to flash the RF radio firmware first not just flashing the esp8266. :)
I'm already using broadlink RM Pro with HA to transmit RF as well as IR signals to devices . Can this also be used to receive RF signals ?
nice video as always! :)
finally, github gists! but you should standardize and put all there, instead of google docs ;)
and you really should try Espurna firmware on sonoff rf bridge... try with the standard rf bridge firmware, as it has way more options than the tasmota one (has a learning interface embedded, for example...)... then if you're brave, you can go for the hacked version which bypasses the internal (limited...) rf code generator and uses the esp8266 for everything, adding TONS of new devices detectable... links in next comment
hacking sonoff rf bridge: tinkerman.cat/hacking-sonoff-rf-bridge-433/
and custom firmware: github.com/xoseperez/espurna/wiki/Hardware-Itead-Sonoff-RF-Bridge---Direct-Hack
on tasmota wiki you'll find info about the sonoff rf bridge v2, too, the one you have (in which the 2 gpio are wrongly marked....)
you can add a IR transmitter, too: 1technophile.blogspot.com/2018/02/adding-infrared-emitter-to-sonoff-rf.html
other info: github.com/xoseperez/espurna/wiki/Hardware-Itead-Sonoff-RF-Bridge
Thanks man. I'm getting another RF bridge so maybe I will finally try ESPurna.
DrZzs thank you for your videos, very well done and informative, and you're funny, which is a bonus ;-)
How long did the batteries end up lasting? Also, how do you know when they die?
How is the transmission and receiving distance? Does it matter which Sonoff RF Bridge version is used?
I implemented this shortly after the video was published and it has been working flawlessly with my door sensors, PIRs, water sensors. I get a daily notification when the mailman opens the mailbox and when the mail is picked. However, after upgrading HA to 0.112 all my binary sensors show 'unavailable' until they are triggered. This happens every time I restart HA. This has been working fine for almost two years. Is anyone experiencing the same problem? Any ideas? Doc, are you having this issues? Thanks to all
There was a change to the binary sensor component. Try taking out the lines for "optomistic". You can also use "off_delay: 10" instead of adding the fake off code and the automation to reset them. Off_delay wasn't an option when I made this old video. Hope that helps!
@@DrZzs I don't have the 'optimistic' line and I was already using the 'off_delay' parameter instead of using the 'fake' codes. I restored a snapshot for version 0.114 and everything works fine. Thanks anyway and if you find out more info, please post it here.
ohh you should have got one of the 433 keychain fobs...you can attach it to your keychain and assign 4 buttons to different automations
That would be a good. I'll get one with my next Sonoff order. Thanks!
Hi all , any one know how to get sonoff RF bridge triggered by a RF button. To talk to ifttt tried to do it but there is no option to add the button 😭
I wanted it to control my sonoff lamp, led for fish tank and my WiFi light switches 😭
DrZzs, Let me start by saying appreciate all you have done in creating these vid's, has made this stuff so much easier. Just watch the video, didn't even realize that Sonoff made a RF bridge or motion detectors. Together my girlfriend and I have 5 kids so you can imagine, we don't have a lot of money for this stuff. I want to use the sonoff motion sensors because of the cost, can they be modified like the other sonoff's so that I can collect other information such as room temp, humidity, light levels, ect? Could you maybe do a video on it if this is an option.
the sonoff motion sensors are just rf devices, no wifi so no firmwares available, but you can add those sensors to sonoff basics or sonoff th, for example... even to s20 models...
So they can't be flashed with tasmota?
Jeremy Orchuk tasmota is a firmware for esp8266 devices, so no...
Thanks for the information, guess it would be better to do a plug in device for those anyway.
Jeremy Orchuk sonoff th is what you're looking, for 0 DIY hacking... www.itead.cc/sonoff-th.html
Of course if you need to pilot some electric load based on those info... Otherwise go for a small wemos d1+temperature sensor shield...
Thank you very much for your videos DrZzs, Simply great. When I paste the Backlog Command Lines for RF Bridge in Termite and press enter, the pasted lines appear in blue but nothing else is done (no green code lines appear below the blue line). Any ideas?
At min 1:01, you say we should select sonoff.bin. But we don't have that file. May I ask where to take it from? Thank you!
you can download the tasmota from here: github.com/arendst/Tasmota/releases/tag/v8.1.0 you can download the version with your preferred language.
Hello, I have a question and I need help. (sorry for my english, I am from Germany)
I have a Sonoff Bridge with Tasmota Firmware geflasht (6.4.1)
Now when I use my 433mhz Motion-Sensor, I see in the Tasmota Consol:
„RESULT = {"RfReceived":{"Sync":8890,"Low":290,"High":840,"Data":"2B56FA","RfKey":"None"}}“
I wish now, that a „Rule“ sending http Request to:
192.168.0.4:8083/fhem?cmd=set%20Anlagenschaltung%20on
(thats a switch in FHEM)
A example(its do not work) could be:
rule on rfreceived#Data=2B56FA do websend [192.168.0.4:8083] /fhem?cmd=set%20dummy%20on endon
If enyone is outside there in the World, who can help me, it would be very very good and you would do a big favor for me.
Have a nice Day,
Marco
how control 433mhz outlets with sonoff RF bridge ower home assistant?
Hi Drzzs,
Jumped in to HomeAutomation and HomeAsisstant recently. Bought a Pi3+ and lots of sonoff and wemos during the last shopping festival on AliExpress. Your videos have been an inspiration. Yaml has been bit overwhelming at first.
I also bought the two code sensors from your Banggood vip link. Working really well, although range is bit lower than the standard ones that I had earlier. I followed your other tutorial on flashing OpenMQTTGateway to the RF bridge. It has been working great so far. But, I see a soft Access Point "OpenMQTTGateway" on all the time, even if the RF bridge is connected to my home Wifi. Is their a way to disable that? Or should I tasmotize it following this tut?
Thanks!
Sounds like you're off to a great start.
Generally, I would say yes, Tasmota has been better for me than OpenMQTTgateway. I know OMG is good and a lot of people use it and are happy. I'm just more comfortable with Tasmota so that's my preference.
I don't know what specifically to do about the OMG access point showing up all the time. Makes me wonder if it does that by default sometimes.
so did you flash tasmota on the rf bridge?
Hey Doc...I've got the tasmota.bin flashing to the RF Bridge okay (once I realised to switch rx & tx), but Termite just won't work... I've got the right COM port selected but when I enter the command it just goes into the main window & nothing else happens - no green text or anything. What am I doing wrong?
(Plus when do I put the switch on the bridge back to on)?
Once the flashing is done you can put that little switch back to ON. If termite isn't working you can just go into the Tasmota console page and input that same backlog command there. You'll have to connect to the bridge using the AP mode wifi. Once it's flashed you should see a new wifi network called iTead-xxxxx (unless they've changed the naming). You connect to that wifi and it'll let you input your wifi network name/pw. After it restarts you can go to the console and input the backlog command.
Hope that helps.
@@DrZzs Mate... That's awesome - fixed me right up! Thanks! #legend
I've got some Energenie plugs that I had tied into my own RF Bridge I wrote in Python running on a Raspberry Pi (before I knew RF-Bridge was a thing & what 433 MHz was). It's flakey & I *think* the weak point is the 433 hat that plugs onto the pi. I'm hoping I can connect them to the Sonoff & it'll be more reliable, we'll see.
Anyway - a big thanks from the UK.
Seeyer (that's Geordie for "Adios")