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

RSSI Always -60 #139

Open
adamleemiller opened this issue Nov 5, 2021 · 1 comment
Open

RSSI Always -60 #139

adamleemiller opened this issue Nov 5, 2021 · 1 comment

Comments

@adamleemiller
Copy link

So, I have moved on from trying to use the module directly in Vue and instead, I have purchased a Raspberry Pi 4 where I will run a NodeJS backend to communicate with the hubs and then a UI (Vue + Quasar) that will interact with the API. I am in the process of doing some initial development and have noticed that the RSSI is always -60, no matter what. It appears to be hard coded in one of the files.

https://github.com/nathankellenicki/node-poweredup/blob/master/src/hubs/basehub.ts#L61

Am I reading this wrong or is this an issue that needs to be fixed?

Thank you.

@aileo
Copy link
Contributor

aileo commented Nov 15, 2021

Hello,
The RSSI is initialized to -60 in BaseHub (which is the generic class) but it gets updated in LPF2Hub when the relevant property report is received.
Those reports are "required" in the connect method of LPF2Hub

Note that updates to 0 are ignored, I do not know why.

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