Тёмный

Sonoff RF Bridge w/ MQTT & Home Assistant 

DrZzs & GrZzs
Подписаться 121 тыс.
Просмотров 109 тыс.
50% 1

Product Link from Banggood -
Sonoff RF Bridge 433: bit.ly/2JcmKs1
www.DrZzs.com
for blog post with Transcript and links.
UPDATE: if you have trouble with the OpenMQTTGateway asking for a password try: your_password
IMPORTANT LINKS:
Amazon Link: amzn.to/2rCQPcw
Patreon: / drzzs
Twitter: / dr_zzs
Instagram: / drzzs
FlashEZ: github.com/let...
OMG.bin: tinyurl.com/yb...
Home Assistant binary_sensor yaml:
binary_sensor
- platform: mqtt
name: "Garage Motion"
state_topic: "home/OpenMQTTGateway/SRFBtoMQTT"
payload_on: "123456"
payload_off: "123456off"
device_class: Motion
optimistic: false
qos: 1
retain: false
Home Assistant reset to 'off' automation yaml:
- alias: Reset RF Motion State
hide_entity: true
initial_state: 'on'
trigger:
- platform: state
entity_id: binary_sensor.garage_motion
to: 'on'
for:
seconds: 5
action:
- service: mqtt.publish
data:
topic: home/OpenMQTTGateway/SRFBtoMQTT
payload: 123456off
Home Assistant other automations yaml:
#automations:
- alias: Garage Lights Off
hide_entity: true
initial_state: 'on'
trigger:
- platform: state
entity_id: binary_sensor.garage_motion
from: 'on'
to: 'off'
for:
minutes: 30
action:
- service: switch.turn_off
data:
entity_id: switch.garage_lights
- alias: Garage Lights On
hide_entity: true
initial_state: 'on'
trigger:
- platform: state
entity_id: binary_sensor.shop_door
to: 'on'
- platform: state
entity_id: binary_sensor.garage_door
to: 'on'
- platform: state
entity_id: binary_sensor.garage_motion
to: 'on'
condition:
- condition: state
entity_id: switch.garage_lights
state: 'off'
action:
service: switch.turn_on
data:
entity_id: switch.garage_lights

Опубликовано:

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 419   
@SuperBill68
@SuperBill68 11 месяцев назад
like the features, setup was difficult for some of my devices (August Door lock, ru-vid.comUgkxhB5YOMNj04GuoAosExygP4cH-dKeb4aB Bose speaker)... but all switches and outlets (5), thermostat, tankless water heater. Unfortunately all I can do is turn on/off Bose. It doesn't support volume or changing channels, but I believe that is due to the particular speaker I have.... Worth getting if you already have other devices to use it with... I don't sit around and ask Alexa questions much so that doesn't really matter to me....
@DrZzs
@DrZzs 6 лет назад
UPDATE: if you have trouble with the OpenMQTTGateway asking for a password try: your_password Big thanks to Christos V. for finding the solution!
@jeffalperin5124
@jeffalperin5124 6 лет назад
this does not work for me (after hours attempting and finally flashing)
@CortexGaming
@CortexGaming 5 лет назад
If this isn’t working for people, try to unplug your bridge and re plug it in. It took me a few tries to connect to the WiFi but eventually it connected.
@TheHookUp
@TheHookUp 6 лет назад
Oh man, this is a great video. Makes my video for this week look silly (also a 433mhz device)!
@HOMESECURED1
@HOMESECURED1 6 лет назад
I cant express my appreciation enough. Gold
@DrZzs
@DrZzs 6 лет назад
Great! Hope it helps!
@HOMESECURED1
@HOMESECURED1 6 лет назад
It's helped a lot. Thanks again. I will test it with other devices to monitor or duplicate if needed to extend the range as well as the number of accepted devices which I 'm not sure about yet. Cheers, Reza
@jstrat121
@jstrat121 4 года назад
I have had my sonoff smart home devices setup ( standard,no flashing) for about a year now.....working great ! S31 switches ,light switches,water sensor,door contacts.......all flawless
@willcaradoc-hodgkins3446
@willcaradoc-hodgkins3446 4 года назад
Hi, could i ask how you done this? Thanks
@grinspoon9839
@grinspoon9839 6 лет назад
I was using tasmota on one of these bridges & had the pir & door sensors set up. I went with xiaomi sensors in the end. Door states were reported correctly & I added temp & humidity sensors to go with it. Worked out well. Have automated all the hvac in my home to turn off if there is a door or window open, with report of which door/window it is. Everything turns off in the kids room, if there is no one in there. That alone will save me thousands ;-) For Tasmota on the rf bridge & setting up the sensors, the data thats reported through mqtt is nested json data (apparently) See "Integrating RF devices with sonoff bridge on tasmota firmware" on the home assistant community pages. "bukurat" gives the solution that I used, which worked. I had the pir sensor set up the same way, with an automation that turned it off after 5 seconds. Happy Hassing ;-)
@DrZzs
@DrZzs 6 лет назад
Awesome! I'll check out that page before I re-try Tasmota on the RF bridge. I'm sure Tasmota will add some functions that may be more accessible compared to OMG. Genius idea to have the AC go off when the windows are open. Nice! Thanks!
@CosminRotaru
@CosminRotaru 5 лет назад
Hi! This worked perfect once I decided to follow your steps EXACTLY as described :) , with a couple of notes, though: - you said: "once this is successful, and I'm sure it will be, on your first try (...) then get out your phone and look for a wifi network.." Actually, there's no OpenMQTTGateway network available at this point. I assumed you disconnect the Sonoff RF Bridge, put its switch back to "ON" and then plug in a power adapter to power it on. Correct? At least this is how it worked for me. - the topic seems to be home/OpenMQTTGateway/SRFBtoMQTT (without the last " / " as captioned on the video) and seems to be case sensitive! When all is up and running I get the messages on this topic (with MQTTlens) but it takes about three seconds from the time I activate/deactivate the magnetic switch until the RF_LED on the Sonoff RF Bridge blinks and the message pops up in MQTTlens. Is that expected? I should add that I first tried to flash from command line with esptool.py (first erasing and then esptool.py --port COM4 write_flash -fs 1MB -fm dout 0x0 OpenMQTTGateway_1.bin ). This did not work! I mean the flashing was successful but I got other problems, different ones depending on the bin (the one you linked and others downloaded from the OMG page): - with some versions I did not get the WiFi setup page - with another version I would get that setup page each time I powered the Sonoff RF Bridge up (like it forgot the settings or something). For anyone trying this I highly recommend using the ESPEasy the way you described it. Thank you for this tutorial!
@juan11perez
@juan11perez 6 лет назад
Thank you for your this. I've been using this for about 7 months and it just works reliably. I went through the zwave pain and I now only have 2 legacy zwave ssnsors. Not only are they extortionate in pricing but the whole set up is short of "temperamental" to use an euphemism I definitely recommend this solution and as you stated it can do many other things such as ir BT etc (Not with sonoff).
@DrZzs
@DrZzs 6 лет назад
Crazy that Z wave is so expensive but doesn’t offer anymore reliability than these cheap 433’s. Thanks!
@juan11perez
@juan11perez 6 лет назад
Indeed, not sure if you've seen this already, but there's a list of devices that can be used. Here's the link docs.google.com/spreadsheets/d/1DdtVtSsN25nwP6BZI5q6C9yDGz37tUWjw2SQ1RGwBxU/edit#gid=0 It''s populated by users, based on purchases/experience. sensors, switches, plugs, smoke detectors.
@DrZzs
@DrZzs 6 лет назад
Awesome!
@charlesparisi9271
@charlesparisi9271 6 лет назад
Hi DrZzs First up great videos. Thought i would help out with tasmotising Sonoff RF Bridge. This worked for me. Flash the Sonoff RF with tasmota in the usual fashion. logg onto Sonoff Rf and do the usual Network and MQTT configurations and change to Bridge Module. Save configurations . Then in the console place Sonoff RF in learn mode. enter 'RfKey* 2' (replace * with the number 1 to 16 being the unique number for the sensor that is to be linked with the sonoff Rf. should hear two beeps from sonoff rf then sync your sensor. Then add the following to configuration.yaml #add to configuration.yaml binary_sensor: - platform: mqtt alias: "Movement Upstairs" name: "Movement Upstairs" payload_on: "1" payload_off: "key1_off" state_topic: "tele/sonoff/RESULT" value_template: '{{ value_json.RfReceived.RfKey }}' optimistic: false qos: 1 retain: false # note that payload_on: "1" is a reference to the sensor that you synced with the sonoff rf and can be number between 1 to 16 Add the following in the automation.yaml #automation.yaml - id: reset rfkey1 (movement upstairs) alias: Reset RF bridge RfKey1 hide_entity: true trigger: - platform: state entity_id: binary_sensor.movement_upstairs to: 'on' for: seconds: 5 action: - service: mqtt.publish data: topic: tele/sonoff/RESULT payload: "key1_off" # the following will turn a light on when movement is triggered. - id: turn_on_movement alias: Turn on light when there is movement initial_state: 'off' trigger: - platform: state entity_id: binary_sensor.movement_upstairs to: 'on' action: - service: homeassistant.turn_on entity_id: light.stairs_lights Hope this helps
@DrZzs
@DrZzs 6 лет назад
Awesome! Thanks! I’m planning to try again this week. This will be helpful!
@SomnathDutta-gadgetguru
@SomnathDutta-gadgetguru 5 лет назад
Hi, Thank you for the wonderful information. I also started automating my home setup last year and figured out using the sonoff door sensors that they create only time alarm trigger instead of open and close state trigger. I wanted my balcony lights to Turn ON as the door opens and Turn OFF when we close the door and through the Sonoff door sensor, it certainly was not turning OFF the lights. So I got a Sonoff PIR sensor and stuck it behind the door wall and set the PIR sensor alarm to Turn OFF the balcony light. So the PIR sensor triggers an alarm if I come in front to open the door, which will trigger an alarm to turn OFF the already OFF balcony light and then the door sensor will trigger the Balcony light to Turn ON and when I enter the room and close the door, the sensor again Turns OFF the door light. The only catch here is the placement of the PIR sensor, as initially I stuck the sensor at the edge of the door and it used to trigger 2 alarms, one seeing me approaching the door and then after opening the door, it triggered another alarm turning OFF the balcony light as it saw the door coming it's way. So I moved the PIR Sensor to the middle of the door and now it's works perfectly as it probably senses myself approaching the door and the door opening under the same alarm trigger. It's probably not the perfect solution and works only 8 out of 10 times correctly. But considering the cheap price of Sonoff, I really won't complain for the 2 times it messes up.
@PhG1961
@PhG1961 6 лет назад
Great and interesting video ! We're lucky to have you around Dr. Zzs ! Where would we be without you ;)
@DrZzs
@DrZzs 6 лет назад
Thanks man! I'm having fun, and it wouldn't be this much fun without you all watching and commenting. So THANKS!
@PhG1961
@PhG1961 6 лет назад
You're welcome. You have a very specific style, it's fun to watch and learn at the same time !
@Crewski4
@Crewski4 6 лет назад
Another great video as always. I flashed my bridge with Tasmota and am using the door sensors. I send a push notification (and to my google home) when a door is opened...basically an alert if my kid runs out of the house. In Node-Red I take the payload, parse it to JSON, then grab the Payload.RfReceived.Data value to determine which sensor it came from. Works like a charm, and might get you back to Tasmota! [{"id":"d852461f.021648","type":"mqtt in","z":"65764253.400fbc","name":"","topic":"tele/433bridge/RESULT","qos":"2","broker":"54b6dd0b.427a94","x":140,"y":100,"wires":[["196f6a78.c589a6","4f76d51e.a43b1c"]]},{"id":"4f76d51e.a43b1c","type":"json","z":"65764253.400fbc","name":"","property":"payload","action":"","pretty":false,"x":330,"y":120,"wires":[["1991f11c.c3394f"]]},{"id":"1991f11c.c3394f","type":"switch","z":"65764253.400fbc","name":"","property":"payload.RfReceived.Data","propertyType":"msg","rules":[{"t":"eq","v":"291EC1","vt":"str"},{"t":"eq","v":"1072C1","vt":"str"},{"t":"eq","v":"5BDD41","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":470,"y":120,"wires":[["72abf654.50a798"],["1239f5f8.1f743a"],["4d4b9f0b.c1515"]]},{"id":"54b6dd0b.427a94","type":"mqtt-broker","z":"","name":"","broker":"localhost","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"willTopic":"","willQos":"0","willPayload":"","birthTopic":"","birthQos":"0","birthPayload":""}]
@DrZzs
@DrZzs 6 лет назад
Thanks David! That's probably the answer I needed to get Tasmota working with the Bridge. When I get the chance to come back to the bridge and monkey with Tasmota I will probably need your help to get it working right. Are you ever on the HA discord chat?
@Crewski4
@Crewski4 6 лет назад
No problem. I don't use HA so I won't be any help there (though if I ever get some free time I might check it out finally), but feel free to reach out whenever.
@anthonyjobson
@anthonyjobson 6 лет назад
Amazing! this is going to make my migration from LightWaveRF to Ikea Tradfri so much simpler (and cheaper)! Thank you!
@davidchui4373
@davidchui4373 6 лет назад
Great tutorial and really helps with my RFBridge deciphering the MQTT messages using Espurna.
@DrZzs
@DrZzs 6 лет назад
Excellent! Glad it's helpful!
@egghead152
@egghead152 6 лет назад
I would really l enjoy more RF videos. There are so many super cheap sensors and devices out there.
@DrZzs
@DrZzs 6 лет назад
I'm planning to do another video using the RF Bridge with Tasmota. Maybe I should get some other RF sensors to demo how to get them working. Which sensors would you want to see specifically?
@CozySleepingCouch
@CozySleepingCouch 6 лет назад
Great video, keep ´em coming :-) To make a door closed sensor, I have replaced the Normally-Open (NO) reed switch with a Normally-Closed (NC) in a Sonoff DW1 That way I can use two door sensors to detect the state of a door. The NC to detect the opening of the door and NO to detect it being closed again.
@DrZzs
@DrZzs 6 лет назад
I thought about that! Glad to hear it works. I think I'll do exactly that then on my shop door with my other DW1. Thanks!
@avhound2
@avhound2 4 года назад
I thought my life was fun and simple until I saw this video. haha. lol. I am about to embark on a long and troublesome journey down the rabbit hole....cool video btw. :)
@seelanreddy9017
@seelanreddy9017 Год назад
hi, I have created the same single code sensor , using Node Red, publishing to MQTT Topic. I works great. Same yaml config used.
@TheWildCamper
@TheWildCamper 5 лет назад
Good videos, I like the way you explain everything. Please keep them coming!
@stanislavgurman787
@stanislavgurman787 5 лет назад
Thank you for great job! I have made a pretty good automation system in my home based on you videos practically with zero knowledge in linux and yaml in the begining. One observation: instead of making automation to revert sensor state to 'off' we can add 'off_delay' setting in configuration.yaml
@awshima
@awshima 6 лет назад
New to this stuff here, struggling with Home Assistant and Tasmota for a week now, but I'm starting to get the grasp of it. You know what is very hard to find for newbies like me? Good conceptual information about how things work, how Home Assistant is organized and so on. Almost all videos and articles are too specific about a particular subject. Maybe you can fill this gap :) I'm using Tasmota with the Sonoff RF Bridge, and this is what I'm doing to configure it in Home Assistant: binary_sensor: - platform: mqtt name: "PIR Garage 1" payload_on: "XXXX" payload_off: "XXXX_off" device_class: motion state_topic: "tele/srf/RESULT" value_template: '{{ value_json.RfReceived.Data }}' retain: 'true' Where XXXX is a value that I can read using the "Console" button in the Tasmotized RF Bridge web interface. I'm using automation to send an MQTT message to "turn off" this binary sensor, same as you are doing.
@DrZzs
@DrZzs 6 лет назад
I remember being in your shoes not long ago. Watching Ben from Bruh and thinking "WTH is YAML???" Maybe some simple walk-through stuff would be good for a live stream sometime. Then depending on what we talk about I could break it up with time-tags so people can refer back to specific parts to get what they need. I like that idea. Well, for being new to it you managed to get farther with Tasmota and the RF bridge than I did. Which part of the console payload are you using in place of XXXX? It seemed to me the most unique part was the "Data", it's like a 5-6 digit string. I did something similar to what you have there but it wasn't working for me. Maybe I just had the template formatted wrong. I'll give it another try. Thanks!
@homehome3390
@homehome3390 6 лет назад
Thanks for this = works perfectly. Been struggling to get this to work with Tasmota and this fixed it - brilliant !
@IshmeetSinghahuja
@IshmeetSinghahuja 6 лет назад
Amazing !! . thx a lot .. already ordered one of those kits for myself . As always you are awesome
@DrZzs
@DrZzs 6 лет назад
Thanks!
@iochhi
@iochhi 6 лет назад
Thank you for your tutorial tutorials and, although novice, I put the firmware tasmota in sonoff RF and implement an idea of yours from another tutorial to rescue data. Here I leave it and as always, thanks binary_sensor: #Sensor de movimiento - platform: mqtt name: "Sensor Movimiento" state_topic: "tele/sonoff_RF/RESULT" qos: 1 payload_on: "D3AE4E" payload_off: "D3AE4Eoff" value_template: "{{ value_json.RfReceived.Data}}" retain: false device_class: motion
@DrZzs
@DrZzs 6 лет назад
thanks! the part I was stuck on was the value_template. With that now solved I should have more luck with Tasmota and the RF bridge.
@christosv.4025
@christosv.4025 6 лет назад
Just what I need it. Burned my Sonoff RF last night waiting for the new one. I am going to test my Paradox alarm system with this. I will post the result. Just making it more challenging I use your Automation to my office to turn off the lamp and the LED strip switch but some times I leave the B1 lamp on in color mode. So how to avoid turn off when the lamp is in colour mode and turn it off when it is in white mode? Thank you and keep up the great job
@JaydenLitolff
@JaydenLitolff 5 лет назад
God I thought the bridge was much bigger before this video and was surprised when he held it up
@DrZzs
@DrZzs 5 лет назад
agreed! it is tiny.
@robertcruikshank8864
@robertcruikshank8864 3 года назад
I wonder if this will work with Tesla HomeLink to open an electric gate? Gate has a Sonoff SV set up with D1 Mini WiFi keys but this system needs something that is compatible with Homelink.
@opg1948
@opg1948 5 лет назад
oh oh, I've just found there is an Hassio option to avoid the automation.yaml configuration to reset the SINGLE STATE BINARY SENSOR back to off. Here is: "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. I used it, in this way into configuration.yaml: - platform: mqtt name: "Porta Terrazzo" state_topic: "tele/bridge-1/RESULT" value_template: '{{ value_json.RfReceived.RfKey }}' payload_on: "7" off_delay: 30 device_class: door qos: 1 when the binary sensor went ON it will be backed to off after 30 secs and NO Automation is requested to do the reset job.
@DrZzs
@DrZzs 5 лет назад
That’s new since this video. I need to try it! Thanks
@opg1948
@opg1948 5 лет назад
@@DrZzs I cannot say that option age, I'm new on Hassio (January 19), but I tested at version 0.87.0. Let me know. Thank You indeed for all your excellent activity on yutube.
@techtoca
@techtoca 5 лет назад
You are the best, DrZzs: Thanks for the great video!
@DrZzs
@DrZzs 5 лет назад
Thanks! If you're looking to do RF devices, check out the other video I did with the RF Bridge and Tasmota. I switched from using OMG to Tasmota and haven't looked back. It's working great!
@leonnel2750
@leonnel2750 2 года назад
Hi Sir, Do you have an updated video on doing the same thing using the sonoff bridge flashed with tasmota and portich?
@Jarnsen
@Jarnsen Год назад
What do you think, wich software is better for DOOYABLINDS. OpenMQTTGateway or Tasmota with the Portisch firmware? I will control the bilinds in HomeAssistant. I hope it´s possible to get a state in % or somthing linke that.
@GnobarEl
@GnobarEl 6 лет назад
Another amazing video! This is getting better day by day!
@DrZzs
@DrZzs 6 лет назад
Wow. Thanks!
@sammyboyproductions
@sammyboyproductions 6 лет назад
hi, thanks for all your great videos. floating head cracks me up every time. ive had the rf bridge up and running with tasmota for about 6 months. took me ages to get my head around the decoding of the json. one problem was that tasmota sent hex over mqtt from the bridge but needed dec to activate rf relays and sockets. i changed a few lines of code around in tasmota to make this work. i never forked it and put a pull request in github but i may go back and see if i can remember what i did. again thanks for all your help with home assistant
@DrZzs
@DrZzs 6 лет назад
Glad you appreciate my artistry ;p You've hit on exactly why I went with OMG. It's a case of Tasmota being almost too thorough. After today though we have a couple other folks that have done it that can help me and others understand it. I'll be giving Tasmota another shot soon. Thanks!
@sammyboyproductions
@sammyboyproductions 6 лет назад
ok, quick dirty mod to the code. apologies im using 5.14.0b for this. in the sonoff folder edit file xdrv_06_snfbridge.ino line 97 change the section \"" D_JSON_DATA "\":\"%06X\", to \"" D_JSON_DATA "\":\"%d\", this will output any received codes in dec. much easier to use in home assistant. hope this helps everyone.
@ahmedbelfakir6688
@ahmedbelfakir6688 4 года назад
Hi Dr ZZE please i tried to flase my sonoff bridge with this bin but went it's run i can't fine the wifi host
@HellbaneAD
@HellbaneAD 5 лет назад
Thanks so much DrZzs, another really informative vid!
@DrZzs
@DrZzs 5 лет назад
Thanks! I've stopped using OpenMQTTgateway though and am now using Tasmota: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-OfSbIFIJPuc.html
@battistuzzijohn
@battistuzzijohn 4 года назад
Hi Im John from Italy.... I'm a big fan. I am looking for a woreless battery powered external pir motion sensor that can trigger my external flood lights as a traditional sensor but I would like to create some routines to control my flood lights through a sonoff basic. Any idea's? The basic idea is for security purposes or to light up the surroundings at my arrival at night through a voice command or IFTT geofencing. Thanks and continue making great content
@kfash5198
@kfash5198 6 лет назад
U can also use node red buy searching the payload for a particular code and publishing a different mqtt topic with a different payload. Your videos are amaing. i always look forward to them please keep on making them
@hertzz1
@hertzz1 6 лет назад
Awesome video as always. Keep them coming! thanks a lot!
@DrZzs
@DrZzs 6 лет назад
Thanks! Glad it's helpful. Working on 2 more MiniZzeries that should be done this week. Sonoff POW and ESP-RFID.
@opg1948
@opg1948 5 лет назад
Fantastic video, thank you. I've been able to replicate your schema on a Sonoff RF bridge flashed with Tasmota, configured on Hassio, with the following setup: on configuration.yaml file - platform: mqtt name: "Porta Terrazzo" state_topic: "tele/bridge-1/RESULT" value_template: '{{ value_json.RfReceived.RfKey }}' payload_on: "7" payload_off: "700" device_class: door retain: false qos: 1 optimistic: false on automation.yaml file - id: Reset Porta Terrazzo alias: "Reset Porta Terrazzo" hide_entity: true initial_state: 'on' trigger: - platform: state entity_id: binary_sensor.porta_terrazzo to: 'on' for: seconds: 30 action: - service: mqtt.publish data: topic: tele/bridge-1/RESULT payload: '{"RfReceived":{"RfKey": 700}}' as you can see I used numeric values for payload_on and payload_off (7 & 700) the reset automation starts after 30secs (instead of 5 secs) and activates the service mqtt.pub publishing the same topic with a short form of payload '{"RfReceived":{"RfKey": 700}}' still detectable by the value_template ( {{ value_json.RfReceived.RfKey }}' ) to reset the binary sensor. I've been able to configure 2 PIRS and 3 door/window sensors with a single state change (open).
@ianrobertson912
@ianrobertson912 5 лет назад
Hi Dr I have Broadlink RF pro. I heard that Sonoff Basic RF is not compatible with Broadlink frequency so I ordered Sonoff RF Bridge. I have different types of down lights installed in my home (not my doing). Those come in different sizes and also use different power (12v, 16v with transofrmers and 230v). There are some downlights that are wifi based including hue range. However unlike normal lights where down lights are installed there are about 4-5 of them in each room. So If I am to get wifi based down lighrs I would be clogging my mesh network further. As such I am planning to add Sonoff RF basics for each downlight and then use Sonoff Bridge to control them. In that way I do not need to change the existing bulbs or power controllers and just need to add a soffbasic RF to the circuit which is very easy to do. My question is have you played with Sonoff Basic RF and can I easily on/off with the Bridge which mimic turning on off down lights via switch. Thanks
@tubejim101
@tubejim101 5 лет назад
On my Linux Mint system, it know the battery status of my AA mouse battery. It is at 70% right now. Is there a way to get the battery state of these RF devices?
@DrZzs
@DrZzs 4 года назад
Some will send a battery-low signal, but not all. It just depends on the sensor.
@stonewallace
@stonewallace 6 лет назад
Another GREAT video in the can!
@DrZzs
@DrZzs 6 лет назад
Thanks! I worried a lot about this one. It was a totally new topic for me. I had a lot to learn. There's still a lot to do with this bridge. This is just the beginning.
@yomegaman1
@yomegaman1 6 лет назад
The mailman just delivered my RF Bridge, but this one is a Version 2.0. It'll flash successfully, but cannot connect to WiFi through OpenMQTTGateway ... even using the password "your_password". I flashed it with both the bin_1 and the bin_2 but no luck. Guess I'll wait for your Tasmota video for this RF Bridge. Wanted you to know about the V2.0 incompatibility. Been loving your videos since December - keep 'em coming DrZZs!
@DrZzs
@DrZzs 6 лет назад
bummer. ya, the Tasmota RF video is in the works. It might be a couple weeks before I can get it all worked out and done. If you want to flash it and get started the process for flashing is the same, just use Sonoff.bin instead. The part I had trouble with was just getting the info from the payload, but I think I know how to do that now. Go ahead and get it flashed and let me know what troubles you run into. If you're free on Sunday maybe we can talk about it during the Live Stream.
@yomegaman1
@yomegaman1 6 лет назад
Great - I'll do my homework and see you at 10 on Sunday!
@yomegaman1
@yomegaman1 6 лет назад
Progress w/ Tasmota - now flashed Bridge and connected to MQTT, The Bridge's RF LED goes on for a second then off when I activate a sensor (using the Kerui you recommended) but have no idea what Topic to use to find the device code on ... tried cmnd/sonoffRF01/power1 (where sonoffRF01 is MQTT device name for this Bridge and the rest of it is the format from a functioning sonoff Basic sensor working off of its gpio14 pin.) Help me if you can, otherwise I'll wait 'til Sunday.
@MrTedzor
@MrTedzor 5 лет назад
Hi Dr Zzs, First of all, great blogs / tutorials! I have learned a lot and because of you I changed to HA. I have only a question: I have Tasmotized my Sonoff bridge. I receive signals and working fine for that. However, I’m wondering if you also have a blog how to send 433mhz codes, to activate for example an 433mhz siren. HA greetings, Tedzor!
@seetendrapanda
@seetendrapanda 6 лет назад
OMG is great but you should try Espurna it is really good and has a web interface as well
@coehn1
@coehn1 6 лет назад
Indeed! I flashed mine with ESPurna. Great, with RF learn function and much much more.Great!!!
@easwaran83
@easwaran83 6 лет назад
Great to know. can you guide or post the video link on how to flash Espurna on Sonoff bridge RF.
@seetendrapanda
@seetendrapanda 6 лет назад
This should help just replace sonoff.bin file with the bin file from espurna ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Ega4U1KRlso.html
@justf4you
@justf4you 6 лет назад
Thanks a lot man! I couldn't get the bridge with openmqttgateway to send RF signals to my relays via MQTT, but with Espurna it's so easy!
@seetendrapanda
@seetendrapanda 6 лет назад
Iam glad that worked for you. Cheers
@CosminRotaru
@CosminRotaru 5 лет назад
Hi! I got the "GS-WDS07 Wireless Door Magnetic Strip" from banggood which actually transmit two separate codes for close and open. So that is nice. But there's another problem: if HA is restarted it'll show the doors as "closed". How do I make HA remember the last status? Better yet: is there a way to request the status from these switches? Or hack them into sending their status at intervals... Thanks!
@DrZzs
@DrZzs 5 лет назад
Cool! I don't think there is a way to request state updates from the sensors. To get HA to remember the last state you need to set the message to send with "retain". I don't remember how to do that with OMG since I switched to Tasmota for my RF Bridge. There should be a setting in OMG somewhere to send messages with Retain. That should be the trick for remembering states after HA restart. Hope that helps.
@CosminRotaru
@CosminRotaru 5 лет назад
@@DrZzs in the video you talked about why you used OMG instead of tasmota. So you switched back to tasmota?
@mfreiher
@mfreiher 4 года назад
Great videos. Would you be able to make a video with the same parts but with openHAB. I have followed a lot of videos but i cant seem to get the door icon in the Control page to open or close.
@kashishgulati5988
@kashishgulati5988 4 года назад
great video! but i seem to have run into a strange problem, i am only able to get message as 0 for a door sensor on OMG but when I add a PIR sensor to the OMG, both the sensors start to send the same message information. thanks please help
@donnyf12
@donnyf12 6 лет назад
Have you tried the Xiaomi Gateway? Very cheap sensors and very reliable. I'm in the US and bought the gateway which came with the China->US power adapter and I couldn't be happier.
@DrZzs
@DrZzs 6 лет назад
cool! good to know. I'll have to check it out sometime. Thanks!
@SornDP
@SornDP 6 лет назад
Yeah, mine works fine too.
@donnyf12
@donnyf12 6 лет назад
I would have guessed the Xiaomi would have encrypted the sensors somehow. So with the above it can talk to th Xiaomi sensors reliably? Send and receive?
@keithrushton9899
@keithrushton9899 6 лет назад
Fully agree and it really does work well in Home Assistant. The gateway also includes a built in (multi coloured) LED set and has a built in loudspeaker that can provide alarms (such as a doorbell, dog bark, police siren etc) Superb value and great sensors!
@MichaelBennett1
@MichaelBennett1 4 года назад
Has Tasmota improved in regard to messaging or would you still recommend openmqttgateway?
@MegaGaspadin
@MegaGaspadin 3 года назад
Hello, i am using tasmota 7.1.1 on a sonoff rf bridge, it works a treat. Do you need help with anything?
@MichaelBennett1
@MichaelBennett1 3 года назад
@@MegaGaspadin I’m good thanks, ended up using an RFLink box.
@jackywoo4975
@jackywoo4975 6 лет назад
hi Dr, thks for the video. Just wondering do i still us the ewelink to add devices to the RF bridge AFTER flashing the bridge? or we have to add all the devices first before flashing? Thanks in advance. Jacky
@sblantipodi
@sblantipodi 5 лет назад
I had similar problems with tasmota with ir receiver. You need to recompile it to support longer mqtt messages. The default mqtt size is too short for this kind of messages and corrupt them.
@kovaccsaba
@kovaccsaba 6 лет назад
Thank's for this helping videos!
@DrZzs
@DrZzs 6 лет назад
you're welcome!
@shaundekok
@shaundekok 6 лет назад
I offset the door sensor on my garage door so that you get a message when the door opens (sensor passes by) and closes (sensor passes by again). It is not bullet proof, but at least you get a 2nd message.
@DrZzs
@DrZzs 6 лет назад
That’s a great idea. Nice work!
@jaytherider
@jaytherider 5 лет назад
So you're using a gateway to convert RF to MQTT. Can't we skip the gateway and simply have an RF receiver on the Rasperry?
@DrZzs
@DrZzs 5 лет назад
You could certainly do that. I don't know what an RF receiver for a pi would cost, or what would be the best way to control it. My Sonoff RF bridge has been rock solid running Tasmota for a long time. My way works, so I'm sticking with it.
@ChrisCDXX
@ChrisCDXX 3 года назад
Do you know of a solution that would work like this for 319.5 MHZ sensors from a QOLSYS IQ 2 panel? Love these videos. The WLED videos helped a ton! Keep up the great work.
@ramanathantitotitannadar6524
@ramanathantitotitannadar6524 4 года назад
Superb ji with the fake payload
@flyaway7169
@flyaway7169 3 года назад
amazing stuff! thanks a lot.
@jacopo.scarpellini
@jacopo.scarpellini 4 года назад
Can the sonooff rf bridge be used with anything that runs on 433MHz like for example a cheap wireless doorbell?
@MrFusker10
@MrFusker10 3 года назад
A little late, but yes it works fine
@GBiv78
@GBiv78 3 года назад
I'd be interested to see this bridge used to control an automatic garage door or gate
@PeterThornton
@PeterThornton 6 лет назад
Great video, thank you.
@miim17
@miim17 6 лет назад
if you cant find the wifi network after flashing just flash tasmota bin and then flash the openMqttGateway... work for me !
@DrZzs
@DrZzs 6 лет назад
cool. good to know. I just re-flashed with Tasmota and got the ValueTemplate working, so I'll be doing a video about using Tasmota on the RF bridge, hopefully this week.
@johanr4541
@johanr4541 5 лет назад
Thanks for great videos DrZzs! I have had problem to find sonoff devices (S20, S26, ..RF bridge at the latest) on wifi after flash in every case except for a TH10. Have tried both ESP Easy and Tasmota. The flash seems to be successful but then nothing. With Wemos D1, success every time. Never any problems. Any advice?
@xfabiosoft
@xfabiosoft 5 лет назад
Where do you host home assistant? On raspberry pi? Do you trust its reliability?
@kfash5198
@kfash5198 6 лет назад
I've had the RF bridge and some sensors for a while now and it runs on tasmota. sonoff POW and RF bridge sends its important messages through Json This is how i extract the code RF bridge sends through Tastmota - platform: mqtt name: "Motion" state_topic: "/home/rf-bridge/tele/RESULT" value_template: "{{ value_json.RfReceived.Data }}"
@BootlegEL
@BootlegEL 6 лет назад
i have got a few 12v23A door sensors but the battery was empty after a year i wonder if i replace them for 3V (CR2032) it would last longer? great video BTW. keep it up!
@DrZzs
@DrZzs 6 лет назад
Thanks! I don't know. Guess you could try it and see.
@gcaffese
@gcaffese 4 года назад
Hi everyone. I´m new with Sonoff. Does anyone know how many PIR or magnetic sensors may be connected to an RF Bridge ? I need to connect more than 64 sensors. I´ve read limit is 16. Maybe with Tasmota or another firmware, limit may be higher. Thanks !
@neilbrookins8428
@neilbrookins8428 6 лет назад
I read all the reviews of the Sonoff RF bridge and they complain that it only supports 4 devices. But I can’t figure out if that’s a limit in EWeLink itself or the hardware? When you flash it with new firmware are you able to support more than 4 devices? If so what is the limit before it fails? I’d like to setup what you show in the video but I don’t want to waste my time if it doesn’t scale well.
@cshoffie6593
@cshoffie6593 6 лет назад
Good video, thanks. Any chance you could do a video on IR blasters and HA?
@DrZzs
@DrZzs 6 лет назад
I was actually hoping to get the IR send/receive working with the RF Bridge. I bought the sensors but still figuring out how to get them working. I will get it sometime, hopefully soon.
@aversao
@aversao 6 лет назад
Your audio is good again!
@DrZzs
@DrZzs 6 лет назад
yay! I did this one the "old" way. I'm working toward a middle ground. Best quality with lower time to produce. Thanks for the feedback!
@semenklimanov9062
@semenklimanov9062 4 года назад
Can you help me to send rf-commands using rf bridge through Home Assistant? Nobody rewieved this ability...
@RicardoBonon
@RicardoBonon 6 лет назад
DrZzz do you think if I use a 433 RF Transmitter Arduino module to tramsmit sensor data (from temperature sensor for example), it could be read via the Sonoff bridge? The idea is to build a DYI low power temperature sensor with something like Adafruit Trinket + Temperature Sensor + 433 RF Emitter to transmit temperature to Sonoff Bridge and then to Home Assistan.
@kriss1313
@kriss1313 5 лет назад
Will Broadlink RM Pro read these sensors (double code ones) ? Or just the Sonoff RF hub is capable of this?
@sergiumelnic5
@sergiumelnic5 6 лет назад
Hi there, I had a problem with some single code Window/Door Sensors which I solved by soldering 2 pads together on the PCB. Now, the sensor sends one separate code for on and one for off. I cannot find any internal photos of the DW1 Sensor that you are showing in your video, but if you use one sensor as a test subject and poke around some empty contact points, and at the same time bring close/away the magnet, just look at what codes are displayed in the MQTT sub topic.
@DrZzs
@DrZzs 6 лет назад
I like this idea. I’ll have to give it a try. Thanks!
@maxpower8170
@maxpower8170 6 лет назад
It did not work as I expected, but thanks good vid
@ladylodgers
@ladylodgers 6 лет назад
Great Video! Easy to follow also, even if I haven't got the stuff yet I can already Imagine doing it. :) By the way Dr. Zzs? May I request if you can cover sonoff POW on how to tasmotize it and use it's sensor? TIA!
@DrZzs
@DrZzs 6 лет назад
are you reading my mind!?! I've already finished filming the POW video. Should have it out tomorrow (should...)
@ladylodgers
@ladylodgers 6 лет назад
Not really a mind reader. :) But I am very excited to watch the POW video. I'll be eagerly waiting....
@VAKUL-DC
@VAKUL-DC 6 лет назад
thanks doc. I will get the bridge with out the sensors. for the other one you showed ($10) can be used with out automation to indicate if the door is open or cloased ? i believe this bridge would work with the 433mhz fan controllers. not to mention the sonoff RF. not sure if it will works with the new US touch switch that does include the 315mhz radio. Doc, since you have the touch switch please test and let us know if it works on the US touch switch.
@DrZzs
@DrZzs 6 лет назад
Good call. Yes, those other sensors will send 2 codes, on for open, one for closed. There are likely other models out there. I don't think I put the link for those, so here it is: amzn.to/2l3Zn9N I'll test it with the T1's soon. Thanks!
@easwaran83
@easwaran83 6 лет назад
As you mentioned in today's RU-vid live can you please post link for other dot Bin files so that I can give a try with other files & verify if those work for me. Thanks in advance
@5Type
@5Type 6 лет назад
Awesome, as always ! For door sensors (that give the current state) what do you prefer RF, Zigbee or Zwave ???
@DrZzs
@DrZzs 6 лет назад
I have wired sensors in my house thankfully. I don't know much about Zigbee, but I'm not a fan of Zwave, just because they're so proprietary and expensive. I'd have to do a side-by-side comparison. If you're really counting on it for security I probably wouldn't skimp on price. Maybe I need to get Banggood to send me some Z-wave and zigbee stuff. :)
@5Type
@5Type 6 лет назад
I'm planning on a Wemos/Wired magnetic sensor for the garage door. For the other doors it would fail the WAF (Wife Acceptance Factor). Since you are a fan of Wemos you should do a video explaining how to make them work with HA MQTT. I have yet to find a simple, well explained, well made as yours on the subject.
@DrZzs
@DrZzs 6 лет назад
You bet! I'll put it on the list.
@wardope
@wardope 5 лет назад
What's the Range of the Rf devices? I live in a big house. and therefore I got a lot of ZigBee and z-wave stuff. but at the price point, the RF stuff comes at it made me interested. then again if I need to have multiple bridges like you do with IR I think I might just pass on the RF stuff what you're experience with this?
@DrZzs
@DrZzs 5 лет назад
I've had good experience with RF devices. I have RF sensors out in the garage with the Receiver on the second floor, so separated by several walls and at least 50' and they seem pretty solid. They aren't as fast to respond as Zigbee devices, but as you say, the RF stuff is pretty cheap. I just started using the Xiaomi Aqara sensors with the Conbee II and the Deconz add-on for HA. They might be the cheapest Zigbee sensors. So far they've been working pretty good. I set them up on a live stream a couple months ago. I've got plans to do a full video about them soon-ish. Hope that helps.
@wardope
@wardope 5 лет назад
@@DrZzs you will love the aqare stuff. I've been using it for over a year and I love it. The only issue I have with aqara motion sensors is that it takes a full minute to go from detected to clear. Aka on/off. But as fare as buttons go they are brilliant The aqara cube seemed like a gimmick. But now I have a few. For music controls light dim and what not. Definitely get the cube!! Well as a matter of fact get everything aqara and xiaomi has to offer for smart home. It's integration with home assistant makes it so powerful and yet cheap.
@padepokanarca6180
@padepokanarca6180 6 лет назад
you are my hero ... TQ ...
@DrZzs
@DrZzs 6 лет назад
ha! you're welcome!
@bogdanasanache3135
@bogdanasanache3135 5 лет назад
After flashing Sonoff Bridge will also suport more devices to be added to same bridge ? Initially support only 4 and in case you need more have to buy another bridge .
@DrZzs
@DrZzs 5 лет назад
If you use Tasmota there are no limits to the number of codes the bridge can receive. It is limited to 16 codes to transmit.
@jean-yvestremblay8530
@jean-yvestremblay8530 6 лет назад
I used this one: espurna-1.12.6-itead-sonoff-rfbridge.bin. When I did setup the mqtt user and password it added automatically in homeassisant without modification to the config file
@DrZzs
@DrZzs 6 лет назад
Awesome! I saw some posts about using ESPurna with the bridge too. You're happy with it? it's doing what you want?
@jean-yvestremblay8530
@jean-yvestremblay8530 6 лет назад
Yes, you can setup the off delay directly in the rfbridge webpage
@webflue
@webflue 6 лет назад
I have the same and it has a great user interface, only downside is restriction on number of switches. Might try switching as I have a lot of rf switches that I already user on ha
@squalazzo
@squalazzo 6 лет назад
look at my comment up here, there's an extended firmware available, always from Espurna author, but a little hardware hack is needed... all info in my other comment... i tried it and for example the learn function passed from even 30 seconds and more, to just 2, for the same remote...
@tomasind6840
@tomasind6840 5 лет назад
ow control 433mhz autlets with sonoff RF bridge ower home assistant?
@redbad
@redbad 6 лет назад
Nice videos as always! Is the Sonoff RF Bridge an alternative to the popular Broadlink RM Pro?
@DrZzs
@DrZzs 6 лет назад
Yes it is. Someone else asked me to look at the Broadlink so I'll have to do that in the future.
@DrZzs
@DrZzs 6 лет назад
Awesome! Thanks Antonio!
@kaleun303
@kaleun303 6 лет назад
I am struggling to connect my RM pro to Home Assistant. The code learning stops after the first signal has been sent. Any tips on how to read out the codes?
@davidmashworth
@davidmashworth 3 года назад
Hi, having trouble with this. I just get a command window that cycles through a few attempts and the flash failed. "trying to connect". Ive followed your instructions but im stuck. What am i doing wrong?
@sheaffej
@sheaffej 3 года назад
Try reversing the Rx/Tx connections on one side. You want the Tx of the adapter to connect to the Rx of the Sonoff, and vice versa.
@MathijsGroothuis
@MathijsGroothuis 5 лет назад
I once shook the hand of Theo Tasmota!
@stonewallace
@stonewallace 6 лет назад
I have a GE Simon XT alarm that I was using before I set up HomeAssistant. I am going to order the RF Bridge and try and use the sensors from that with HA through the bridge. - Has anyone else used this RF Bridge with existing alarm sensors yet?
@AlbertSebastianelli
@AlbertSebastianelli 6 лет назад
Stonewallace yes I'm using RF bridge with an existing alarm system. It's great because they are independent so no issues if HA is off (the alarm must be reliable for me) but they communicate well together thanks to ESPurna. I get notified when the alarm gets armed and disarmed and I can arm and disarm the alarm from HA if I want
@stonewallace
@stonewallace 6 лет назад
NICE! Ordering one up now. - Thanks Albert!
@neilbrookins8428
@neilbrookins8428 6 лет назад
GE Simon is 319.5 MHz. Therefore it won’t work with a gateway operating at 433 MHz.
@kovaccsaba
@kovaccsaba 6 лет назад
A quick (not complettly perfect) solution to the "Sonoff DW1 one code problem": Have two DW1 sensors mounted exactly over each other on the door/window frame. Have a magnet on the door leaf aligned to the bottom DW1. If the door is open, both DW1 pulls, first the lower next the upper. Program that in this case the upper DW1 state change will be ignored. (This is the not exact part of this solution.) The lower DW1 status change shows the opened state of the door. When the door is closed, only the upper DW1 status will change. This will be the door locked status. (But the really exact solution a sensor firing two sates.)
@DrZzs
@DrZzs 6 лет назад
That's actually a beautifully simple solution. nice work!
@poudelg1
@poudelg1 4 года назад
Hey Dr Zzs, help me! how can I link tasmotized sonoff basic to eWelink?
@shaunvanderpoll5542
@shaunvanderpoll5542 2 года назад
Hey all. Is there anyone who can tell me if you need to flash a sonoff Dw-2 RF door/window sensor in order to receive codes with an rf sniffer for connected to raspberry pi? @drzzs
@DutchFlyReviews
@DutchFlyReviews 6 лет назад
Great video! What is the range of the RF bridge? Can you get away with using just one for an entire house?
@DrZzs
@DrZzs 6 лет назад
I should have mentioned Range. I put the sensors in my garage and had the bridge on the second floor. So probably at 100'. So I think you could cover the whole house with one bridge.
@paulbehrens5842
@paulbehrens5842 6 лет назад
What's inside the DW1 sensor? Maybe a NO and NC reed switch can be used on the one sensor with a firmware mod?
@DrZzs
@DrZzs 6 лет назад
possibly. someone suggested replacing the reed switch. I think it's NO now, so maybe replacing it with a NC and putting 2 sensors on one door would do it. Someone else suggested there are other pins on the DW that can be used with another reed switch (NC) to send another code. Might be true. I'll have to play with it and see.
@dinotech6692
@dinotech6692 6 лет назад
Thanks a million...as usual. My Tas flashed RF bridge has been a paperweight for a few weeks now. Was up and running, but I could never get the RFkey commands right to retrieve the mqtt codes for commands. So I gave up and waited on your video. ;-) Question: What is the total number of sensors per bridge that can be added? In eWelink app you can only add 4 alarm type sensors per rf bridge. Hence the reason I am using 3 of them for basic coverage...ummm...2 now, cuz I killed one with Tas. LOL
@DrZzs
@DrZzs 6 лет назад
Oh man, Well, glad you can dust off the paperweight and put it back in service. I don't remember how many devices it can handle. I did read that it is more than the ewelink app, but I can't remember the number. I only have 3 to test with... Maybe there's some other folks here that could tells us both. Anyone?
@dinotech6692
@dinotech6692 6 лет назад
Only thing I know from their app set up is it can handle 16 RF keys, but only set up as TX, I was hoping their app was the limitation for only 4 RX options and NOT the bridge. Hope someone may have a better clue than me! ?? ( still waiting on my Konnected boards :/ )
@DrZzs
@DrZzs 6 лет назад
ah, I'll see if I can find what I read. Try the OpenMQTTgateway github. I read so many things I can't remember where I read what... github.com/1technophile/OpenMQTTGateway Bummer on the Konnected's. I haven't done much with mine since installing them. Just too many projects :)
@nickjedl
@nickjedl 6 лет назад
Great video! Ordering one tonight! Can it send 433MHz tho? Would be cool for those cheap Switchplugs. Also, for the door sensor, perhaps a switch? On signal: if (door is open): door = closed. else door = open
@DrZzs
@DrZzs 6 лет назад
Yes, it is capable of sending 433mhz signals, so it should work with a variety of other devices.
@djvincon
@djvincon 6 лет назад
How do you make this work?
@NunoCoutoPT
@NunoCoutoPT 6 лет назад
I use espurna firmware on sonoff bridge .. please give a try... is very good and easy
@MPElectronique
@MPElectronique 6 лет назад
DrZzs, i just flashed it.. and i dont have any other wifi appearing... can you help? THanks. Marc.
@EduardoMartinsJundiai
@EduardoMartinsJundiai 6 лет назад
Hi. Great videos. I’d like your opinion in how I should invest in devices because I only have one RF device that my garage door. Should I buy the only RF motion and window sensors? Thanks.
@DrZzs
@DrZzs 6 лет назад
hmmm good question. There's probably a lot of things to consider. For me, I got better results from the Wifi PIR and I have wired door/window sensors. The advantages I see with the RF bridge are 1- low power use. They'll last a long time with just simple batteries. A wifi device like the D1mini with a PIR sensor (or door sensor) would need to be powered but a power supply (except maybe Rob's d/w sensor). So if you need sensors that run on batteries either try building the one's Rob made or go with these (or other RF 433mhz). I don't think you'd be disappointed with the Sonoff Bridge/sensors. They aren't very expensive, so even if you get them and they don't fit your needs exactly, you're not out a lot of money. If you're not sure, I'd say try the RF bridge and sensors. You may find they work great for you. And, we may discover some even better ways to use the "one code" d/w sensors.
@EduardoMartinsJundiai
@EduardoMartinsJundiai 6 лет назад
DrZzs thanks for the advice.
@dartfrogdk
@dartfrogdk 6 лет назад
i got a 433mhz on off switch, i cant figure out how to set it up to turn on a light in HA, i got the sonoff rf setup in binary sensors, i tried this automation not working alias: test 433 trigger: - entity_id: binary_sensor.433_kontakt platform: state to: 'ON' payload: 13259682 condition: [] action: - data: entity_id: switch.akvarie_lys service: switch.turn_on
@DrZzs
@DrZzs 6 лет назад
I don't think you need the payload in the automation. What does your binary_sensor.433_kontakt entry look like? Does your 433 switch send 2 codes? one for Off and one for On?
@dartfrogdk
@dartfrogdk 6 лет назад
DrZzs it sends only one code and I can see the sensor change from off to on, I want it to toggle but maybe it just cant
@DrZzs
@DrZzs 6 лет назад
You can do that. Change your action to 'switch.toggle' Do you have the automation set up to change it back to 'off'? You'll need that if you don't have it already. Then it should work. pushing the RF button sends the "on" code, so the sensor turns "On", that triggers the automation which sends "switch.toggle" to the akvarie_lys switch. Then the other automation turns the binary switch back off after a short time. I'd make it just a few seconds so you can push the RF button fairly soon after you've pressed it the first time. And I don't think you need the payload in the automation, just in the Binary_sensor entry.
@dartfrogdk
@dartfrogdk 6 лет назад
DrZzs Thanks I will try it 😃
@MrCBRXX1100
@MrCBRXX1100 6 лет назад
Hi aden . I have just got the bridge and installed/ flashed the bridge with the open mqtt. I cannot see the payload after I have set up the settings etc. Anyone have this experience ?
@DrZzs
@DrZzs 6 лет назад
dang. Maybe check that you have to topic right. I've changed my RF Bridge to Tasmota. Maybe try that or ESPurna - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-KMiP9Ku71To.html I'll do an RF Bridge Tasmota video soon.
@awshima
@awshima 6 лет назад
Does your PIR2 work fine? Mine shows an inconsistent behavior, sometimes I can dance in front of it and the thing doesn't detect any motion.
@DrZzs
@DrZzs 6 лет назад
ya, I have noticed that in the last few days. One time I got all the way up on the ladder to check the battery before it sensed and activated. I don't know if it's a sensitivity problem or a re-triggering setting. So, ya, unfortunately I don't think it's as sensitive as the PIR I had connected to the D1 mini. If I were depending on it for an alarm I'd have to go with something more sensitive.
Далее
RTL 433 ON ESP32 DEVICE - MQTT HOME ASSISTANT
8:25
Просмотров 38 тыс.
Fixing Plastic with Staples
00:18
Просмотров 1,3 млн
Butch REACT to Creative way to fix damaged tile!
00:46
Sonoff RF bridge - is RF433MHz still relevant?
9:34
Просмотров 32 тыс.
Better IoT: DIYing a Sonoff Wireless 433Mhz Bridge
9:44
Sonoff RF Bridge Review
29:29
Просмотров 224 тыс.
Fixing Plastic with Staples
00:18
Просмотров 1,3 млн