-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Percentage error on relayed device? #52
Comments
this is the device in freshdesk ticket #244346 |
I don't really see the issue, it stays at 1 if it is unable to request it from the Helium API. Some value needs to be there, when it was 0 it caused errors due to dividing by zero to get the percentage. I can add a cap to the percentage maybe. But otherwise it's working as intended. |
IMO it would be better to have it say something like an error message instead of 1. Something like "Waiting for block from Helium" or similar so that it is obvious. And to just show a similar error message in the percentage. Otherwise it just looks like a bug to someone that doesn't know |
Possibly could do similar to what I've just suggested in #50 which is that if it detects it is 1 then it'll display a message like that. |
This is a device that had been online for some time (many days), but is stuck syncing. Shows really high percentage and that blockchain is only on block 1
The text was updated successfully, but these errors were encountered: