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

no HELIUM information after update to .25 #10

Closed
chapy23 opened this issue Mar 24, 2023 · 26 comments
Closed

no HELIUM information after update to .25 #10

chapy23 opened this issue Mar 24, 2023 · 26 comments

Comments

@chapy23
Copy link

chapy23 commented Mar 24, 2023

image

@chapy23
Copy link
Author

chapy23 commented Mar 24, 2023

I should have add that i use Balena Cloud to update.

@Dani1914
Copy link

Dani1914 commented Mar 24, 2023

Firmware Version | 2023.02.07.0-25 (c165b61)
With last update no more poc!!!
Edit-After reboot poc start.

@shawaj
Copy link
Member

shawaj commented Mar 24, 2023

Please can you add gh_shawaj as a user on your BalenaCloud fleet @chapy23 ?

@Dani1914 how did you install? Using BalenaCloud?

@chapy23
Copy link
Author

chapy23 commented Mar 24, 2023 via email

@shawaj
Copy link
Member

shawaj commented Mar 24, 2023

Ok let me know when done so I can take a look at the device and see what's happening

@chapy23
Copy link
Author

chapy23 commented Mar 25, 2023 via email

@chapy23
Copy link
Author

chapy23 commented Mar 25, 2023 via email

@shawaj
Copy link
Member

shawaj commented Mar 25, 2023

@chapy23 you added me as a member but you didn't give me access to any fleets.

Also, I need to have "developer" level access so I can change device settings to try and see what's going wrong

@chapy23
Copy link
Author

chapy23 commented Mar 25, 2023 via email

shawaj added a commit to NebraLtd/hm-pyhelper that referenced this issue Mar 25, 2023
ECC lock not required on this check because all we are doing is checking the i2c address of the attached device.

Ref: NebraLtd/helium-syncrobit#10
@MihaiDoro
Copy link

I have the same problem as chapy23, no helium info after update to v25 with balenaCloud

@Maudslay
Copy link

I wish to add to this, no helium information either but guessing you guys already know that? any update on the fix patch? another note glad to see OTA is working :)

@shawaj
Copy link
Member

shawaj commented Mar 27, 2023

@MihaiDoro @MihaiDoro @chapy23 this will hopefully be fixed with the next update once this PR is merged (hopefully later today)...
NebraLtd/hm-pyhelper#234

I'm pretty sure it's working fine with this update after checking it on a test unit.

However, just FYI, this shouldn't cause an issue with mining just with the display of the correct info :-)

shawaj added a commit to NebraLtd/hm-pyhelper that referenced this issue Mar 27, 2023
- ECC lock not required on this check because all we are doing is checking the i2c address of the attached device.
- persist a generated ECC location (from the i2c bus) to file to make get_ecc_location() function more efficient and to remove unnecessary calls to the i2c bus
- additional tests for SWARM_KEY_URI_OVERRIDE and new "persist to file" feature

Ref: NebraLtd/helium-syncrobit#10
Ref: NebraLtd/helium-syncrobit#2
@shawaj
Copy link
Member

shawaj commented Mar 27, 2023

The error message shows:

 diagnostics  INFO:root:Frequency: US915
 diagnostics  
 diagnostics  INFO:root:Diagnostics shipping not requested, skipping.
 diagnostics  INFO:root:Diagnostics complete
 diagnostics  INFO:root:Running periodic hardware diagnostics
 diagnostics  INFO:root:Running periodic hardware diagnostics
 diagnostics  2023-03-27 10:53:38,275 - [ERROR] - hm_pyhelper.lock_singleton - (lock_singleton.py).wrapper_lock_ecc -- /opt/python-dependencies/hm_pyhelper/lock_singleton.py:(67) - ECC is busy now.
 diagnostics  ERROR:hm_pyhelper.lock_singleton:ECC is busy now.
 diagnostics  2023-03-27 10:53:38,276 - [ERROR] - hm_pyhelper.lock_singleton - (lock_singleton.py).wrapper_lock_ecc -- /opt/python-dependencies/hm_pyhelper/lock_singleton.py:(67) - ECC is busy now.
 diagnostics  ERROR:hm_pyhelper.lock_singleton:ECC is busy now.
 diagnostics  2023-03-27 10:53:38,276 - [ERROR] - hw_diag.utilities.hardware - (hardware.py).get_public_keys_and_ignore_errors -- /opt/python-dependencies/hw_diag/utilities/hardware.py:(324) - 
 diagnostics  INFO:root:Running periodic hardware diagnostics
 diagnostics  2023-03-27 10:53:48,373 - [ERROR] - hm_pyhelper.lock_singleton - (lock_singleton.py).wrapper_lock_ecc -- /opt/python-dependencies/hm_pyhelper/lock_singleton.py:(67) - ECC is busy now.
 diagnostics  ERROR:hm_pyhelper.lock_singleton:ECC is busy now.
 diagnostics  2023-03-27 10:53:48,374 - [ERROR] - hm_pyhelper.lock_singleton - (lock_singleton.py).wrapper_lock_ecc -- /opt/python-dependencies/hm_pyhelper/lock_singleton.py:(67) - ECC is busy now.
 diagnostics  ERROR:hm_pyhelper.lock_singleton:ECC is busy now.
 diagnostics  2023-03-27 10:53:48,375 - [ERROR] - hw_diag.utilities.hardware - (hardware.py).get_public_keys_and_ignore_errors -- /opt/python-dependencies/hw_diag/utilities/hardware.py:(324) -

So it seems the ECC lock is interfering.

Should be solved by NebraLtd/hm-pyhelper#234

@chapy23
Copy link
Author

chapy23 commented Mar 27, 2023 via email

@shawaj
Copy link
Member

shawaj commented Mar 27, 2023

Great. I'll keep you updated here 😊

@vstrong-info
Copy link

Thank's for your effort to fix that and also for the quick explanation. I will wait for my miners to be updated OTA 🙂 bye

I thought BalenaCloud deployed miners do not get OTA... :)

@shawaj
Copy link
Member

shawaj commented Mar 27, 2023

@vstrong-info you are correct they don't unless you set it up yourself ☺️

shawaj added a commit to NebraLtd/hm-pyhelper that referenced this issue Mar 28, 2023
* fix: remove unnecessary ECC lock and improve bus check

- ECC lock not required on this check because all we are doing is checking the i2c address of the attached device.
- persist a generated ECC location (from the i2c bus) to file to make get_ecc_location() function more efficient and to remove unnecessary calls to the i2c bus
- additional tests for SWARM_KEY_URI_OVERRIDE and new "persist to file" feature

Ref: NebraLtd/helium-syncrobit#10
Ref: NebraLtd/helium-syncrobit#2

* Update miner_param.py

* Update miner_param.py
@shawaj
Copy link
Member

shawaj commented Mar 28, 2023

@chapy23 can you push the latest release from this repo to the fleet and see if it's fixed?

I don't seem to have access anymore

@chapy23
Copy link
Author

chapy23 commented Mar 28, 2023 via email

@shawaj
Copy link
Member

shawaj commented Mar 28, 2023

@chapy23 easiest way is to go to https://github.com/NebraLtd/helium-syncrobit and click "deploy with Balena"

Screenshot_20230328_172013_Chrome

Then click to use an existing fleet and choose the correct one...

Screenshot_20230324_132456_Chrome

Then toggle the advanced tab and make sure it's got all the info loaded...

Screenshot_20230324_132522_Chrome

@vstrong-info
Copy link

@chapy23 Follow the above instructions from @shawaj, push the new release to an existing Fleet and all your fleet devices will be updated. They will retain the names and passwords as well.

@vstrong-info
Copy link

image

Version 26 fixes this issue.

@shawaj
Copy link
Member

shawaj commented Mar 28, 2023

@vstrong-info but it's still showing "not available"?

Is that an old screenshot?

@chapy23
Copy link
Author

chapy23 commented Mar 28, 2023

Forget about delete screenshot, i was able to remove it by myself, sorry

Now, running: 2023.02.07.0-26 (7784b16) update with "Deploy with Balena", all good !
password and devicename still the same (not lost)
also confirm that Helium info are there.
anything i should look for you here ?

@vstrong-info
Copy link

Yes, it is @chapy23's screenshot from the first post.

@shawaj
Copy link
Member

shawaj commented Mar 28, 2023

Ah ok, perfect. Looks like everything fixed now then yes. 🎉🥳🙌

Perfect. Will close this issue but if you spot any other problems feel free to open a new issue 👍

@shawaj shawaj closed this as completed Mar 28, 2023
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

6 participants