-
Notifications
You must be signed in to change notification settings - Fork 75
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
Python callbacks doesn't work with firmware 3.x.x? #122
Comments
Hi, Unfortunately package hasn't been yet properly tested with beta firmware versions. Hope we can test this soon and make necessary fixes. |
Hello, same problem. I updated the firmware of my two ruuvitags after reading this official page. There nothing is said that 3.x.x is actually a beta version and after upgrading to 3.x.x one cannot anymore downgrade to 2.x.x without a wired connection. This info is available only here Please address this issue as soon as you can and also update documentation on the first link with information above, otherwise it is confusing and may bring other people to the situation where I am at the moment. |
Is there something we can do on Ruuvi's side to help this issue? |
This works for both firmware as a workaround: from ruuvitag_sensor.adapters.nix_hci import BleCommunicationNix ruuvitag_sensor.log.enable_console() ble = BleCommunicationNix() for ble_data in ble.get_datas(): |
My workaround for now is to use get_data_for_sensors method inside of an infinite loop with sufficient timeouts. That does the trick for my POC now. Will follow this issue to see when get_datas method with a callback start working on 3.x.x to switch to it. Thanks for a quick reply anyways! |
Following up on this, if the root issue was in the scan response of the RuuviTag it is possible (and probably a good idea) to configure the HCITool to use passive scanning which does not request for scan responses. This saves a little bit of battery on the tags :)
|
Could you please push changes to pypi since all ruuvitags will be shipped with 3.3.0 from next week onwards |
New version is now released to pypi. Create an issue if you find something that doesn't work as expected. |
I have two identical setups with Raspberry PI4, one with 2.x.x Ruuvis around, one with only 3.x.x Ruuvis.
The production firmware works fine, I get callbacks for all the broadcasts. For the beta firmware I get only one for each Ruuvi, then nothing more.
So, is the issue firmware? If so, is there a way to use firmware 3.x.x with the ruuvitag_sensor package?
The requirement is the 'Weather Station' firmware, I guess this is now the production firmware?
The text was updated successfully, but these errors were encountered: