Today we are flashing a Sonoff Rf Bridge with Tasmota allowing us to use it with home assistant.
Tasmota Bin file.
https://github.com/arendst/Tasmota/re...
Tasmotizer
https://github.com/tasmota/tasmotizer...
configuration.yaml
platform: mqtt
state_topic: "tele/tasmota/RESULT"
name: 'Bedroom2'
value_template: '{{value_json.RfReceived.Data}}'
payload_on: '22F20A'
payload_off: '22F20E'
device_class: window
platform: mqtt
state_topic: "tele/tasmota/RESULT"
name: 'Livingroom Pir'
value_template: '{{value_json.RfReceived.Data}}'
payload_on: 'F4243E'
payload_off: 'F4243Eoff'
device_class: motion
automations.yaml
alias: Reset PIR state living room
hide_entity: true
initial_state: 'on'
trigger:
platform: state
entity_id: binary_sensor.livingroom_pir
from: 'off'
to: 'on'
for:
seconds: 5
action:
service: mqtt.publish
data:
topic: tele/tasmota/RESULT
payload: F4243Eoff
Parts used:
Sonoff RF Bridge
https://www.banggood.com/custlink/DGK...
Wireless door sensor with 2 codes
https://www.banggood.com/custlink/vDv...
Pir Sensor
https://www.banggood.com/custlink/Kvm...
Ftdi Programer
https://www.banggood.com/custlink/Gmv...
For additional information or if you have an older/different board than the one in the video see the link below.
https://github.com/arendst/Tasmota/wi...