First play with rules

25 views
Skip to first unread message

Tim Wilkinson

unread,
Jul 7, 2021, 8:14:32 AM7/7/21
to TasmotaUsers
Whilst I have been a long time user of Tasmota, even putting my own enhancements in a fork I made several years ago, I had a problem and needed rules so updated my RF bridges with the latest firmware and started to play.

My problem is the wife wanted a video door bell. So I discounted all the main names as I wanted one that would integrate with the household CCTV so must have Onvif functionality and ended up buying a Geeree video door bell that came with a horrid USB powered chime.

Secondly, I work 100 yard from the house in a garden room (at the bottom of the garden) So need to hear the bell if I haven't taken my phone with me.

At present I have a conventional wireless doorbell with powered plug in chimes, the range is sufficient that anyone ring the bell the chimes in the house and garden room ring loud.

So the existing chimes will not pair with the Geree door bell, hence starting to think about the RF bridges I have in both the house and garden room. Time to tinker.

Snoop the console.
Geree video doorbell sends
10:28:25.952 MQT: tasmato/sonoff9/tele/RESULT = {"Time":"2021-07-07T10:28:25","RfReceived":{"Sync":12810,"Low":440,"High":1250,"Data":"303632","RfKey":"None"}}


Existing house doorbell sends
10:31:09.789 MQT: tasmato/sonoff5/tele/RESULT = {"Time":"2021-07-07T10:31:09","RfReceived":{"Sync":6040,"Low":190,"High":610,"Data":"DEB923","RfKey":"None"}}

So a bit of research and I come up with :-
rule1 ON RfReceived#data=303632 do backlog data RfSync 6040; RfLow 190; RfHigh 610; RfCode #DEB923  endon

I have set the rule on both bridges. and great the existing chimes now work whenever the video doorbell is pressed. 

I had see snippets where rules are created to retransmit an RF signal, but hope others will find this useful to send a different RF signal on receipt of a regognised signal.


Reply all
Reply to author
Forward
0 new messages