-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
Sensitivity drop with latest version used in OpenMQTTGateway #42
Comments
Hi @Dattel , I have been in touch with @NorthernMan54 about the recent new changes in rtl_433_ESP, with radiolib and a particular rtl_433 issue with my LaCrosse-TX141THBv2. While the LaCross decoder specific changes are not applicable to your Nexus-T, I also found that the other signal change improved the reception of my neighbours Nexus-TH. Not quite your model, but it might be worth you also trying the changes in my current test branch, by changing the rtl_433_ESP URL to
in platformio.ini. Let us know how you get on. |
Hi @DigiH , thanks for your quick reply. i just compiled with your lib and tested the sender. I also have a LaCrosse-TX141THBv2 (what is actually a TFA-Dostmann) ... it works flawless without any problems.... before and after the update |
Shame about your Nexus-T, as the changes I tried with @NorthernMan54 really improved the neighbour's Nexus-TH reception big time for me, and his Nexus is quite a bit further away than just in next room. Must be something else you are seeing. :(
Don't you ever get it to be wrongly recognised as a TFA-303221? This has been an ongoing issue with trl_433(_esp) for a while now and as you can see from my comments there, this has, at least for me, dramatically improved with the changes in my current test branch. |
@Dattel , one other test branch with some different changes might be worth also trying
|
just flashed it ... will give feedback later since i'm on the go now.. |
Update: seems to work better.. NEXUS-T Readings are coming in from the same distance as before with this build.. Do you have a clue, what's the major difference? |
@Dattel Myself and @DigiH had been working on some fine tuning of the signal reception settings. I had completed testing with my devices, and had seen similar performance with the change, but @DigiH had reported degraded reception. We then went thru each of the changes individually to identify the one that caused degraded reception. Under the covers the change was to use a transceiver specific end of transmission gap value. It seems that the CC1101 and SX127X handle RSSI differently at the end of a transmission. |
FYI - This is the final version of the proposed change - #43 |
is there anything i can provide to help`? @DigiH: |
If your up for it, you can try a build with the pull request included ( I do realize this could be a bit complex ). But feedback from the testing with DigiH's suggestion is good. |
is there a way to define these version with pullrequest in platformio? |
This has the change as in my test branch
which didn't remedy @Dattel's reception issue, only with the previous test branch with its
did it work for him - if I understood everything correctly above. For me both changes saw improved reception. |
@Dattel - make this change to your ini file
|
@NorthernMan54 |
Happy too soon... left the device over night - no signal from nexus-t since 8 hours captured. Captured 4 signals immediately in a few minutes... |
Revert CC1101 signal gap back to 40000, based on feedback in #42
@Dattel I revered back the signal gap change, can you try it again |
doesn't work either.. :-( |
I'm curious on how close the signal reception threshold your devices are, and what the signal reception threshold your OMG is using In the OMG status message, it will share details of the OMG RSSI threshold, can you share this ( This is from MQTT Explorer ) And the device message will also contain the signal RSSI In my case, this device is right on the edge for being able to receive a signal ( -81 ), hence I only receive sporadic updates. |
Thanks @Dattel, to be able to pin the issue down though, and hopefully get it nicely addressed and sorted for OMG 1.0.0 and future versions, would you mind giving 1.0.0 with the previously successful
another try. Especially to see if it keeps receiving the Nexus-TH when it is running over night? Then also posting some of the above rssi values of the received messages, and also the different rssi related values from the SYStoMQTT message of the gateway. Many thanks |
ok, just flashed it... one question... how can i detect, if the correct LIB is used in VS.Code? Are you addressing the deaf-state of the chip, when you asking for overnight messages? I'm already using the bugfix for the chip because i was one of the first, who asked with these problem here as issue :-D I'll come back later hopefully with some captured values. |
Once you change the library URL in platformio.ini the new referenced library should be downloaded and be used. To be on the completely safe side though, especially when testing different library branches, I usually also use the Clean All/Clean tasks of the environment. If you do that while watching the .pio directory you should see that this is doing exactly what you did manually - well, it not only deletes rtl_433_ESP, but all libraries, to make sure that for a new build all libraries will be downloaded afresh, making sure they are the latest. Also when watching the build process, you will see which changed librar(y|ies) is/are being downloaded.
Yes, to hopefully see if this slightly different branch does not have any deaf-state after an overnight run. Thanks |
Thanks for the testing @Dattel . I hope this will give @NorthernMan54 more info on pinning down your issue. |
@Dattel Dattel, tks for suppling that data. Looking at this data, it shows that the calculated RSSI Signal threshold is -66, meanwhile your sensor signal strength is -71. This explains why the signal is not being received. I'm going to add an option to remove the calculated RSSI Signal threshold function, should have a new release for testing in about 24 hours. |
This is worth a try, So that would mean, if a have a sender a few centemeters beside the receiver sending with the same clockfrequency as a far away sender, these far away sender will be ignored over time because of the average rssi threshold? |
Some background on the recent change We added support for the SX127x transceiver chipset by switching to the RadioLib library as it offered support for both the CC1101 transceiver and the SX127x chipset. And as part of the change we needed to change the algorithm used to determine if a signal is present as the existing method did not work with the SX127x. The old method, continuously polled the transceiver for the current RSSI value, and if it was above The new method is an enhancement on the above, where the code is averaging the current RSSI value I'm thinking that your environment may have a lot of background RF noise, and it is causing the average calculation to use a higher value. |
thanks for your detailed informations. |
Both myself and DigiH did some testing, and are feeling pretty good about this version. You can install it by using this version of the rtl_433_ESP library With this version we have introduced a new compiler directive |
looks really promising
|
Would like to give some feedback.. |
Great news I will publish this as the latest version Did you use |
* Initial Commit * Latest lacrosse_tx141x.c * Signal Reception Tweaks For SX127x disabled the automated level setting for OOKFixThreshold, it was occasionally problematic. And set the value to 90 For CC1101, changed the maximum signal gap to PD_MAX_GAP_MS ( from rtl_433 ). For SX127x, changed the maximum signal gap to PD_MAX_GAP_MS * 1000 ( from rtl_433 ). * Update rtl_433_ESP.cpp Revert CC1101 signal gap back to 40000, based on feedback in #42 * Revert signalEnd changes and add DISABLERSSITHRESHOLD * Update README.md * Update README.md * Update README.md
This has now been published as release v0.1.4 |
yes, i used DISABLERSSITHRESHOLD ... |
Correct well I’m closing this as resolved, thanks for your support in this |
always my pleasure :-D |
Hi there,
i just updated to the latest development version of openmqttgateway, which references rtl_433_ESP in version 0.1.3.
I have some issue with my Nexus-T temperature sensor, which has been captured fine before the update but now the signal seems to be ignored. If i put the sensor closer to the receiver, the signal is captured. i there some build flag i can tweek? I'm a bit confused about the new RSSI_THRESHOLD and AVERAGE_RSSI (which seems not to be used anywhere from rtl_433_esp)
That's what the sensor normally sends out:
{ "model": "Nexus-T", "id": 167, "channel": 1, "battery_ok": 1, "temperature_C": 22.1, "protocol": "Nexus, FreeTec NC-7345, NX-3980, Solight TE82S, TFA 30.3209 temperature/humidity sensor", "rssi": -53, "duration": 956000 }
thanks in advance
The text was updated successfully, but these errors were encountered: