Bas_Fpv
(Bas Fpv)
January 31, 2020, 2:41pm
21
I am 2 days busy to get this working
I have made this mqtt
switch:
platform: mqtt
name: “gang”
command_topic: “cmnd/rf_bridge/rfcode”
state_topic: “stat/rf_bridge/rfcode”
availability_topic: “tele/rf_bridge/LWT”
payload_available: “Online”
payload_not_available: “Offline”
payload_on: “#AA B0 4E 05 08 0168 0AE6 00D2 04F6 28BE 481828383828382838283828283828383808382828383828283828383828283838082838283828382838283828382838283838283828283838283828283828383828 55”
payload_off: “#A B0 4E 05 08 0168 0AF0 00D2 04F6 28FA 481828383828382838283828283828383808382828383828283828383828283838082838283828382838283828382838283838283828283828383828283828383828 55”
optimistic: true
When i click i hasio template switch on and check the rf bridge console it get this message
stat/rf_bridge/RESULT = {“RfCode”:“#0000AA ”}
When i past the payload code in the rf bridge tasmota console with rfraw before it then the led goes on in my room.
Big quastion why my payload is send but wrong recieved
francisp
(Francis)
January 31, 2020, 2:55pm
22
try
command_topic: “cmnd/rf_bridge/rfraw”
state_topic: “stat/rf_bridge/rfraw”
Bas_Fpv
(Bas Fpv)
January 31, 2020, 2:57pm
23
like this:
switch:
service: mqtt.publish
data:
topic:
command_topic: “cmnd/rf_bridge/rfraw”
state_topic: “stat/rf_bridge/rfraw”
payload: ‘B0 4E 05 08 0168 0AE6 00D2 04F6 28BE 481828383828382838283828283828383808382828383828283828383828283838082838283828382838283828382838283838283828283838283828283828383828 55’
francisp
(Francis)
January 31, 2020, 3:02pm
24
switch:
platform: mqtt
name: 'gang'
command_topic: 'cmnd/rf_bridge/rfcode'
state_topic: 'stat/rf_bridge/rfcode'
availability_topic: 'tele/rf_bridge/LWT'
payload_available: 'Online'
payload_not_available: 'Offline'
payload_on: '#AA B0 4E 05 08 0168 0AE6 00D2 04F6 28BE 481828383828382838283828283828383808382828383828283828383828283838082838283828382838283828382838283838283828283838283828283828383828 55'
payload_off: '#A B0 4E 05 08 0168 0AF0 00D2 04F6 28FA 481828383828382838283828283828383808382828383828283828383828283838082838283828382838283828382838283838283828283828383828283828383828 55'
optimistic: true
Bas_Fpv
(Bas Fpv)
January 31, 2020, 3:05pm
25
Then i recieve this in the RF bridge tasmota console
16:02:42 MQT: tele/rf_bridge/RESULT = {“Time”:“2020-01-31T16:02:42”,“RfRaw”:{“Data”:“AAA055”}}
16:04:41 MQT: stat/rf_bridge/RESULT = {“RfCode”:“#0000AA ”}
16:04:42 MQT: tele/rf_bridge/RESULT = {“Time”:“2020-01-31T16:04:42”,“RfRaw”:{“Data”:“AAA055”}}
16:04:52 MQT: stat/rf_bridge/RESULT = {“RfCode”:“#00000A ”}
16:04:52 MQT: tele/rf_bridge/RESULT = {“Time”:“2020-01-31T16:04:52”,“RfRaw”:{“Data”:“AAA055”}}
francisp
(Francis)
January 31, 2020, 3:06pm
26
Sorry, forgot to change
switch:
platform: mqtt
name: 'gang'
command_topic: 'cmnd/rf_bridge/rfraw'
state_topic: 'stat/rf_bridge/rfraw'
availability_topic: 'tele/rf_bridge/LWT'
payload_available: 'Online'
payload_not_available: 'Offline'
payload_on: '#AA B0 4E 05 08 0168 0AE6 00D2 04F6 28BE 481828383828382838283828283828383808382828383828283828383828283838082838283828382838283828382838283838283828283838283828283828383828 55'
payload_off: '#A B0 4E 05 08 0168 0AF0 00D2 04F6 28FA 481828383828382838283828283828383808382828383828283828383828283838082838283828382838283828382838283838283828283828383828283828383828 55'
optimistic: true
Bas_Fpv
(Bas Fpv)
January 31, 2020, 3:10pm
27
When i change on or off this is the only message tasmota console shows
16:09:17 MQT: stat/rf_bridge/RESULT = {“RfRaw”:“ON”}
16:09:29 MQT: stat/rf_bridge/RESULT = {“RfRaw”:“ON”}
francisp
(Francis)
January 31, 2020, 3:13pm
28
if you use developer tools -> mqtt -> mqtt publish with topic
cmnd/rf_bridge/rfcode
and payload
#AA B0 4E 05 08 0168 0AE6 00D2 04F6 28BE 481828383828382838283828283828383808382828383828283828383828283838082838283828382838283828382838283838283828283838283828283828383828 55
What do you get ?
Also try payload
'#AA B0 4E 05 08 0168 0AE6 00D2 04F6 28BE 481828383828382838283828283828383808382828383828283828383828283838082838283828382838283828382838283838283828283838283828283828383828 55'
Bas_Fpv
(Bas Fpv)
January 31, 2020, 3:16pm
29
francisp:
cmnd/rf_bridge/rfcode
first code
16:15:44 MQT: stat/rf_bridge/RESULT = {“RfCode”:“#0000AA ”}
second code 16:16:25 MQT: stat/rf_bridge/RESULT = {“RfCode”:170}
Bas_Fpv
(Bas Fpv)
January 31, 2020, 3:17pm
30
#AA B0 4E 05 08 0168 0AE6 00D2 04F6 28BE 481828383828382838283828283828383808382828383828283828383828283838082838283828382838283828382838283838283828283838283828283828383828 55
then
16:16:55 MQT: stat/rf_bridge/RESULT = {“RfCode”:“#0000AA ”}
i am new so i need to edit posts
first code: 16:36:24 MQT: stat/rf_bridge/RESULT = {“RfRaw”:“ON”}
Send code:
16:36:49 MQT: stat/rf_bridge/RESULT = {“RfRaw”:“ON”}
16:36:50 MQT: tele/rf_bridge/RESULT = {“Time”:“2020-01-31T16:36:50”,“RfRaw”:{“Data”:“AAA055”}}
this code works, just so thankfull for your help @francisp
switch:
platform: mqtt
name: ‘gang’
command_topic: ‘cmnd/rf_bridge/Backlog’
state_topic: ‘stat/rf_bridge/rfraw’
availability_topic: ‘tele/rf_bridge/LWT’
payload_available: ‘Online’
payload_not_available: ‘Offline’
payload_on: ‘RfRaw AA B0 4E 05 08 0168 0AE6 00D2 04F6 28BE 481828383828382838283828283828383808382828383828283828383828283838082838283828382838283828382838283838283828283838283828283828383828 55’
payload_off: ‘RfRaw AA B0 4E 05 08 0168 0AF0 00D2 04F6 28FA 481828383828382838283828283828383808382828383828283828383828283838082838283828382838283828382838283838283828283828383828283828383828 55’
optimistic: true
Now i need to find out how to add a second switch on same rf bridge
@francisp aah yes i see it, that is easy, next step is adding a dimm function and what i miss, when i switch the normal switch in my house, hassio don’t change the function that i fysicly activated the switch
My the rfbridge dont see then a code
francisp
(Francis)
January 31, 2020, 3:24pm
31
I don’t know, I don’t have portish firmware myself. You could try to ask the question also here :
https://groups.google.com/forum/#!forum/sonoffusers
Forgot again to change:
if you use developer tools -> mqtt -> mqtt publish with topic
cmnd/rf_bridge/rfraw
and payload
#AA B0 4E 05 08 0168 0AE6 00D2 04F6 28BE 481828383828382838283828283828383808382828383828283828383828283838082838283828382838283828382838283838283828283838283828283828383828 55
What do you get ?
Also try payload
‘#AA B0 4E 05 08 0168 0AE6 00D2 04F6 28BE 481828383828382838283828283828383808382828383828283828383828283838082838283828382838283828382838283838283828283838283828283828383828 55’
francisp
(Francis)
January 31, 2020, 3:54pm
32
According to https://translate.google.com/translate?hl=en&sl=de&u=https://forum.creationx.de/forum/index.php%3Fthread/2378-sonoff-rfbridge-state-topic-f%C3%BCr-rfraw/&prev=search
you need to do this
topic : cmnd/rf_bridge/Backlog
payload : RfRaw AA B0 4E 05 08 0168 0AE6 00D2 04F6 28BE 481828383828382838283828283828383808382828383828283828383828283838082838283828382838283828382838283838283828283838283828283828383828 55
1 Like
francisp
(Francis)
January 31, 2020, 4:59pm
33
Just the same. Use another name and different payloads.
Bas_Fpv
(Bas Fpv)
February 1, 2020, 11:15am
34
@francisp
All is working now, 6 lamps are controlled in my home from klikaanklikuit.
now i have also a normal rf switch in my house from the (action)
possible to use channel D to send the code to the rf bridge and the mqtt send a message back to activate a klikaanklikuit lamp?
francisp
(Francis)
February 1, 2020, 11:46am
35
If you can catch the code with the rf bridge it will work. Just as the others.
Bas_Fpv
(Bas Fpv)
February 1, 2020, 11:48am
36
only when using rfraw 177, i get this code for ON:
AA B0 4C 04 08 012C 097E 047E 28D2 381828082808082828082808082808280828280828082808280828080828082808280828082808280828082808280828082808280828082828080828280808280828 55
sorry i am so new in this that i need to see how i need to setup for all next projects, many thanks for your help
made this in automation, only nothing appear on the RF Bridge console
id: ‘1580558061648’
alias: Tes
description: ‘’
trigger:
payload: RfRaw AA B0 4C 04 08 0118 09A6 04CE 28E6 381828082808082828082808082808280828280828082808280828080828082808280828082808280828082808280828082808280828082828080828280808280828
55
platform: mqtt
topic: cmnd/rf_bridge/Backlog
condition:
condition: state
entity_id: switch.slaapkamer
state: ‘ON’
action:
entity_id: switch.slaapkamer
service: switch.turn_on
francisp
(Francis)
February 1, 2020, 12:10pm
37
Please use this when pasting code :
What do you want this automation to do ? The trigger will never work, since topic cmnd/rf_bridge/Backlog is used for sending code to the bridge, but a mqtt trigger is used for listening to messages coming from te bridge.
Bas_Fpv
(Bas Fpv)
February 1, 2020, 12:22pm
38
i want my action remote channel D send to rf bridge and activate a lamp
francisp
(Francis)
February 1, 2020, 12:31pm
39
The condition is of no use, condition -> light on, action switch on. It will never turn on this way.
id: '1580558061648'
alias: Tes
description: ''
trigger:
payload: 'AA B0 4C 04 08 0118 09A6 04CE 28E6 381828082808082828082808082808280828280828082808280828080828082808280828082808280828082808280828082808280828082828080828280808280828 55'
platform: mqtt
topic: stat/rf_bridge/rfraw
action:
entity_id: switch.slaapkamer
service: switch.turn_on
Bas_Fpv
(Bas Fpv)
February 1, 2020, 12:38pm
40
The part what i understand is that my remote when i push D ON it recieve data when i type RFRAW 177, but when RFRAW 177 is not types nothing disappear in the log from the console, i am stuck how to get the remote working on the rf bridge to trigger a lamp