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

OTA updates slow on RPI #1150

Closed
Swiftnesses opened this issue Jun 16, 2018 · 12 comments
Closed

OTA updates slow on RPI #1150

Swiftnesses opened this issue Jun 16, 2018 · 12 comments
Assignees
Labels

Comments

@Swiftnesses
Copy link

Swiftnesses commented Jun 16, 2018

Good day,

After a full day of testing I can confirm that OTA node updates via the RPI gateway are extremely slow (1-2 stream messages per few seconds). Reverting back to either the serial or ethernet gateway resolves the issue (constant stream of messages).

All configs were the same, i.e version, channel, power etc etc.

@marceloaqno marceloaqno self-assigned this Jun 16, 2018
@mfalkvidd
Copy link
Member

Could you share the configure command used for the gateway?

@Swiftnesses
Copy link
Author

./configure --my-transport=nrf24 --my-rf24-channel=125 --my-rf24-pa-level=RF24_PA_MAX --my-rf24-irq-pin=15 --extra-cxxflags="-DMY_OTA_LOG_RECEIVER_FEATURE"

@Swiftnesses
Copy link
Author

Guys, it's not just the Pi, it's all gateways - the issue coincided with me updating to 2.3.0 branch. Rolling back to 2.2.0 immediately fixes it. @tekka007

@Swiftnesses
Copy link
Author

Swiftnesses commented Jun 18, 2018

Update: After another few hours sitting on the floor with wires going crazy, it seems it's related to this commit:

2994d83

Replacing this file with the one from 2.2.0 causes OTA updates to resume full speed!

BTW, it also seems this only effects the PA+LNA models (I'm using a shielded one).

@Swiftnesses
Copy link
Author

Confirmed, with the file replaced, my Gateway (also tried other variants) is now working perfect!

@marceloaqno
Copy link
Member

@Swiftnesses thanks for the detailed feedback.

@Swiftnesses
Copy link
Author

Any news on this guys?

@tekka007
Copy link
Contributor

@Swiftnesses Yes, #1189 fixes an issue with certain RF24 PA + LNA modules. Please try with the current dev branch

@Swiftnesses
Copy link
Author

@tekka007 Just tried it, seems the discover button in MYSController no longer works with the dev branch?

@Swiftnesses
Copy link
Author

Swiftnesses commented Sep 11, 2018

Not working well for me at all, discover doesn't work and request presentation only provides version and one of the sensors (node has 3). Consistent behaviour.

Edit: I see your fix was simply the remove the pulse line, like I did (which works on the last release).
So I assume another recent change has caused issues with discover etc...

@tekka007
Copy link
Contributor

tekka007 commented Sep 12, 2018

I_DISCOVER messaging fixed in #1205 - thanks for reporting. The presentatoin issue I could not reproduce - can you post sketch & node + GW debug logs?

@Swiftnesses
Copy link
Author

@tekka007 That fixed it, a reboot of the nodes also fixed the presentation reporting issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants