Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SONOFF RF Bridge R2 value always zero #218

Closed
nonsintetic opened this issue Jun 20, 2018 · 9 comments
Closed

SONOFF RF Bridge R2 value always zero #218

nonsintetic opened this issue Jun 20, 2018 · 9 comments

Comments

@nonsintetic
Copy link

nonsintetic commented Jun 20, 2018

  • Hardware used : Sonoff RF Bridge R2 V1.0
  • OpenMQTTGateway version 0.8beta
  • RCSwitch version 2.6.2
  • RF devices tested: Remote 1 , Door sensor and some others.

I managed to upload the firmware without any issues by following the guide. The device outputs messages to the SRFBtoMQTT topics when I press an RF remote, but the value received on home/OpenMQTTGateway/SRFBtoMQTT is always '0'. There are values being produced on /Raw, /Tsyn, /Thigh and /Tlow but they can't be used for anything. Below is a log of pushing the same button on a remote.

home/OpenMQTTGateway/SRFBtoMQTT/Raw 2F8A019A04A6000000
home/OpenMQTTGateway/SRFBtoMQTT 0
home/OpenMQTTGateway/SRFBtoMQTT/Tsyn 1217
home/OpenMQTTGateway/SRFBtoMQTT/Thigh 410
home/OpenMQTTGateway/SRFBtoMQTT/Tlow 1190
home/OpenMQTTGateway/SRFBtoMQTT/Raw 2F8A019A04A6000000
home/OpenMQTTGateway/SRFBtoMQTT 0
home/OpenMQTTGateway/SRFBtoMQTT/Tsyn 1217
home/OpenMQTTGateway/SRFBtoMQTT/Thigh 410
home/OpenMQTTGateway/SRFBtoMQTT/Tlow 1190
home/OpenMQTTGateway/SRFBtoMQTT/Raw 2F94019A04A6000000
home/OpenMQTTGateway/SRFBtoMQTT 0
home/OpenMQTTGateway/SRFBtoMQTT/Tsyn 1218
home/OpenMQTTGateway/SRFBtoMQTT/Thigh 410
home/OpenMQTTGateway/SRFBtoMQTT/Tlow 1190
home/OpenMQTTGateway/SRFBtoMQTT/Raw 2F94019A04A6000000
home/OpenMQTTGateway/SRFBtoMQTT 0
home/OpenMQTTGateway/SRFBtoMQTT/Tsyn 1218
home/OpenMQTTGateway/SRFBtoMQTT/Thigh 410
home/OpenMQTTGateway/SRFBtoMQTT/Tlow 1190

The setup I use and remotes tested all work fine with OpenMQTTGateway on a NodeMCU + STX882 modules. Same exact settings except #define ZgatewaySRFB instead of #define ZgatewayRF.

@1technophile
Copy link
Owner

Hello,

With the working setup could you give us the value you are receiving for the same emitting device shown above ?

@nonsintetic
Copy link
Author

Here is the same button being pressed on the working hardware:

home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 394
home/OpenMQTTGateway/433toMQTT 5592328
home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 395
home/OpenMQTTGateway/433toMQTT 5592328

@1technophile
Copy link
Owner

Could you post also both results also for the door sensors?

@1technophile
Copy link
Owner

@nonsintetic do you have some news about your issue ?

@nonsintetic
Copy link
Author

Hello,

Sorry about the delay, I got caught up with work (meh). Here is the output for all the devices I have around. I hooked up both my diy setup and the bridge and recorded it simultaneously from both:
Remote control (aliexpress) :

home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 395
home/OpenMQTTGateway/433toMQTT 5592325
home/OpenMQTTGateway/SRFBtoMQTT/Raw 2FBC019A04B0000000
home/OpenMQTTGateway/SRFBtoMQTT 0
home/OpenMQTTGateway/SRFBtoMQTT/Tsyn 1222
home/OpenMQTTGateway/SRFBtoMQTT/Thigh 410
home/OpenMQTTGateway/SRFBtoMQTT/Tlow 1200

Door sensor (aliexpress)

home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 419
home/OpenMQTTGateway/433toMQTT 14195225
home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 419
home/OpenMQTTGateway/433toMQTT 14195225
home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 420
home/OpenMQTTGateway/433toMQTT 14195225
home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 420
home/OpenMQTTGateway/433toMQTT 14195225
home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 420
home/OpenMQTTGateway/433toMQTT 14195225
home/OpenMQTTGateway/SRFBtoMQTT/Raw 361001B80546D89A19
home/OpenMQTTGateway/SRFBtoMQTT 14195225
home/OpenMQTTGateway/SRFBtoMQTT/Tsyn 1384
home/OpenMQTTGateway/SRFBtoMQTT/Thigh 440
home/OpenMQTTGateway/SRFBtoMQTT/Tlow 1350

Fire alarm (Digoo)

home/OpenMQTTGateway/SRFBtoMQTT/Raw 2E5E017C047E787FA8
home/OpenMQTTGateway/SRFBtoMQTT 7897000
home/OpenMQTTGateway/SRFBtoMQTT/Tsyn 1187
home/OpenMQTTGateway/SRFBtoMQTT/Thigh 380
home/OpenMQTTGateway/SRFBtoMQTT/Tlow 1150
home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 383
home/OpenMQTTGateway/433toMQTT 7897000
home/OpenMQTTGateway/SRFBtoMQTT/Raw 2E72019A0460787FA8
home/OpenMQTTGateway/SRFBtoMQTT 7897000
home/OpenMQTTGateway/SRFBtoMQTT/Tsyn 1189
home/OpenMQTTGateway/SRFBtoMQTT/Thigh 410
home/OpenMQTTGateway/SRFBtoMQTT/Tlow 1120

@1technophile
Copy link
Owner

1technophile commented Jun 28, 2018

No problem, if I understand well it is working for 2 cases / 3

@nonsintetic
Copy link
Author

nonsintetic commented Jun 28, 2018

I think it may be intermittent. Just after doing the test above the remote started working fine, then I reset the bridge and it seems to be outputting 0 now again.
When I tested the first time the door sensor and the alarm were generating 0 as well, now they are working fine.
Maybe it's a hardware issue.

@nonsintetic
Copy link
Author

After more testing, the bridge seems to be giving me the same code no matter what device I use. The diy seems to be doing fine:

remote button 1
home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 396
home/OpenMQTTGateway/433toMQTT 5592325
home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 396
home/OpenMQTTGateway/433toMQTT 5592325
home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 396
home/OpenMQTTGateway/433toMQTT 5592325
home/OpenMQTTGateway/SRFBtoMQTT/Raw 3020019004B04B57A9
home/OpenMQTTGateway/SRFBtoMQTT 4937641
home/OpenMQTTGateway/SRFBtoMQTT/Tsyn 1232
home/OpenMQTTGateway/SRFBtoMQTT/Thigh 400
home/OpenMQTTGateway/SRFBtoMQTT/Tlow 1200
remote button 2
home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 396
home/OpenMQTTGateway/433toMQTT 5592331
home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 397
home/OpenMQTTGateway/433toMQTT 5592331
home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 397
home/OpenMQTTGateway/433toMQTT 5592331
home/OpenMQTTGateway/SRFBtoMQTT/Raw 2FE4019A04B04B57A9
home/OpenMQTTGateway/SRFBtoMQTT 4937641
home/OpenMQTTGateway/SRFBtoMQTT/Tsyn 1226
home/OpenMQTTGateway/SRFBtoMQTT/Thigh 410
home/OpenMQTTGateway/SRFBtoMQTT/Tlow 1200
door
home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 403
home/OpenMQTTGateway/433toMQTT 4937641
home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 403
home/OpenMQTTGateway/433toMQTT 4937641
home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 403
home/OpenMQTTGateway/433toMQTT 4937641
home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 403
home/OpenMQTTGateway/433toMQTT 4937641
home/OpenMQTTGateway/433toMQTT/protocol 1
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 403
home/OpenMQTTGateway/433toMQTT 4937641
home/OpenMQTTGateway/SRFBtoMQTT/Raw 30B6019004BA4B57A9
home/OpenMQTTGateway/SRFBtoMQTT 4937641
home/OpenMQTTGateway/SRFBtoMQTT/Tsyn 1247
home/OpenMQTTGateway/SRFBtoMQTT/Thigh 400
home/OpenMQTTGateway/SRFBtoMQTT/Tlow 1210

@1technophile
Copy link
Owner

This is strange as you proposed maybe an hardware issue.
If ok for you could you close the issue

1technophile added a commit that referenced this issue Oct 23, 2022
IBT-4XC inclusion by @DigiH in #208
ThermoPro TP359 by @DigiH in #210
IBS-TH1 external probe differentiation by @DigiH in #211
CGG1 firmware extension by @DigiH in #218
Otio/BeeWi BSDOO by @DigiH in #214
1technophile added a commit that referenced this issue Oct 23, 2022
* Bump Theengs Decoder to v095

* IBT-4XC inclusion by @DigiH in #208
* ThermoPro TP359 by @DigiH in #210
* IBS-TH1 external probe differentiation by @DigiH in #211
* CGG1 firmware extension by @DigiH in #218
* Otio/BeeWi BSDOO by @DigiH in #214
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants