nebraltd / helium-sensecap Goto Github PK
View Code? Open in Web Editor NEWNebra OpenFleet for Sensecap Miners
Home Page: https://nebra.io/sensecap
License: MIT License
Nebra OpenFleet for Sensecap Miners
Home Page: https://nebra.io/sensecap
License: MIT License
Do we need to copy config.json file into new sdcard ? There is no info about it in manual
Here is the error when i try to deploy the latest release.
[Info] Starting build for nebra-sensecap, user g_szil_rd_k_k_ny
[Info] Dashboard link: https://dashboard.balena-cloud.com/apps/2016434/devices
[Info] Building on arm02
[Info] No suitable previous release for caching, skipping cache pull
[Info] Uploading images
[Success] Successfully uploaded images
[Error] Some services failed to build:
[Error] Service: packet-forwarder
[Error] Error: no matching manifest for linux/arm64/v8 in the manifest list entries
[Error] Service: multiplexer
[Error] Error: no matching manifest for linux/arm64/v8 in the manifest list entries
[Info] Built on arm02
[Error] Not deploying release.
Thanks!
Helium Status pending and can't receive gps coordinates
And unable to connect to OTA server by transmit scale
Number of witness: helium server unavailable
I have 1 beacon but no witness 3 hours now
What's the problem ?
Installed new Nebra Fw for sensecap m1
Could you detail how to monitor a SenseCAP running your Software.
OR provide instruction for ssh(not through balena cloud) so I can pull the logs myself. TY.
Does this version change the config.json upon the first update/boot ? Having issues accessing the miner through ssh, with a key i know was good when used on other FW packages.
(miner IP will pull up a Diagnostic page, for others looking, shows connection and sync status)
Flashed an sensecap M1 one hour ago. i cannot see the web console. (it conencts, but waits forever) how much time can i expect to wait?
Hello, How can i connect to BalenaCloud Dashboard? What i need?
were can i add my own ssh key the config json that gets installed on the sd card does not seem to have that section like it does on the senscap firmware , is there a place were it can be added is it in a seperate file someware ?
If you attempt to Fork the fleet the PacketForwarder container is stuck in restart loop.
after install services dont start just loops please see log bellow
2023-05-16 23:45:49,093 - [WARNING] - hw_diag.utilities.hardware - (api.py).__retry_internal -- /opt/python-dependencies/retry/api.py:(40) - [Errno 2] No such file or directory: '/var/pktfwd/diagnostics', retrying in 10 seconds...
diagnostics WARNING:hw_diag.utilities.hardware:[Errno 2] No such file or directory: '/var/pktfwd/diagnostics', retrying in 10 seconds...
helium-miner Diagnostics container not ready. Going to sleep.
Service exited 'packet-forwarder sha256:86879d57ab373a0eba294f8a6112a4e58de6b37cc76d20a31060cf3fd8ff29de'
Restarting service 'packet-forwarder sha256:86879d57ab373a0eba294f8a6112a4e58de6b37cc76d20a31060cf3fd8ff29de'
packet-forwarder Error: Cannot set FREQ variable.
packet-forwarder Error: Cannot set VARIANT variable.
packet-forwarder Error: Required VARIANT parameter has not been set. Container will be reset after 10 sec.
diagnostics 2023-05-16 23:45:59,094 - [ERROR] - hw_diag.utilities.hardware - (hardware.py).lora_module_test -- /opt/python-dependencies/hw_diag/utilities/hardware.py:(312) - File /var/pktfwd/diagnostics doesn't exit yet. Most likely pktfwd container hasn't started yet
diagnostics ERROR:hw_diag.utilities.hardware:File /var/pktfwd/diagnostics doesn't exit yet. Most likely pktfwd container hasn't started yet
diagnostics 2023-05-16 23:45:59,095 - [WARNING] - hw_diag.utilities.hardware - (api.py).__retry_internal -- /opt/python-dependencies/retry/api.py:(40) - [Errno 2] No such file or directory: '/var/pktfwd/diagnostics', retrying in 15 seconds...
diagnostics WARNING:hw_diag.utilities.hardware:[Errno 2] No such file or directory: '/var/pktfwd/diagnostics', retrying in 15 seconds...
Service exited 'packet-forwarder sha256:86879d57ab373a0eba294f8a6112a4e58de6b37cc76d20a31060cf3fd8ff29de'
Restarting service 'packet-forwarder sha256:86879d57ab373a0eba294f8a6112a4e58de6b37cc76d20a31060cf3fd8ff29de'
packet-forwarder Error: Cannot set FREQ variable.
packet-forwarder Error: Cannot set VARIANT variable.
packet-forwarder Error: Required VARIANT parameter has not been set. Container will be reset after 10 sec.
helium-miner Diagnostics container not ready. Going to sleep.
diagnostics 2023-05-16 23:46:14,097 - [ERROR] - hw_diag.utilities.hardware - (hardware.py).lora_module_test -- /opt/python-dependencies/hw_diag/utilities/hardware.py:(312) - File /var/pktfwd/diagnostics doesn't exit yet. Most likely pktfwd container hasn't started yet
diagnostics ERROR:hw_diag.utilities.hardware:File /var/pktfwd/diagnostics doesn't exit yet. Most likely pktfwd container hasn't started yet
diagnostics 2023-05-16 23:46:14,097 - [WARNING] - hw_diag.utilities.hardware - (api.py).__retry_internal -- /opt/python-dependencies/retry/api.py:(40) - [Errno 2] No such file or directory: '/var/pktfwd/diagnostics', retrying in 15 seconds...
diagnostics WARNING:hw_diag.utilities.hardware:[Errno 2] No such file or directory: '/var/pktfwd/diagnostics', retrying in 15 seconds...
Service exited 'packet-forwarder sha256:86879d57ab373a0eba294f8a6112a4e58de6b37cc76d20a31060cf3fd8ff29de'
Restarting service 'packet-forwarder sha256:86879d57ab373a0eba294f8a6112a4e58de6b37cc76d20a31060cf3fd8ff29de'
packet-forwarder Error: Cannot set FREQ variable.
packet-forwarder Error: Cannot set VARIANT variable.
packet-forwarder Error: Required VARIANT parameter has not been set. Container will be reset after 10 sec.
Warning: Suppressed 42 message(s) due to rate limiting
diagnostics ^^^^^^^^^^^^^^^^^^^^^^^
diagnostics FileNotFoundError: [Errno 2] No such file or directory: '/var/pktfwd/diagnostics'
diagnostics 2023-05-16 23:46:29,139 - [WARNING] - hm_pyhelper.miner_param - (miner_param.py).get_gateway_mfr_command -- /opt/python-dependencies/hm_pyhelper/miner_param.py:(211) - Variant None is not recognized. Omitting --device arg.
diagnostics WARNING:hm_pyhelper.miner_param:Variant None is not recognized. Omitting --device arg.
diagnostics 2023-05-16 23:46:29,146 - [ERROR] - hm_pyhelper.miner_param - (miner_param.py).run_gateway_mfr -- /opt/python-dependencies/hm_pyhelper/miner_param.py:(42) - gateway_mfr exited with a non-zero status
diagnostics Traceback (most recent call last):
diagnostics File "/opt/python-dependencies/hm_pyhelper/miner_param.py", line 33, in run_gateway_mfr
diagnostics run_gateway_mfr_result = subprocess.run(
diagnostics ^^^^^^^^^^^^^^^
diagnostics File "/usr/local/lib/python3.11/subprocess.py", line 571, in run
diagnostics raise CalledProcessError(retcode, process.args,
diagnostics subprocess.CalledProcessError: Command '['/opt/python-dependencies/hm_pyhelper/gateway_mfr_aarch64', 'test']' returned non-zero exit status 2.
diagnostics ERROR:hm_pyhelper.miner_param:gateway_mfr exited with a non-zero status
diagnostics Traceback (most recent call last):
diagnostics File "/opt/python-dependencies/hm_pyhelper/miner_param.py", line 33, in run_gateway_mfr
diagnostics run_gateway_mfr_result = subprocess.run(
diagnostics ^^^^^^^^^^^^^^^
diagnostics File "/usr/local/lib/python3.11/subprocess.py", line 571, in run
diagnostics raise CalledProcessError(retcode, process.args,
diagnostics subprocess.CalledProcessError: Command '['/opt/python-dependencies/hm_pyhelper/gateway_mfr_aarch64', 'test']' returned non-zero exit status 2.
diagnostics 2023-05-16 23:46:29,149 - [ERROR] - hm_pyhelper.miner_param - (ecc_diagnostic.py).perform_test -- /opt/python-dependencies/hw_diag/diagnostics/ecc_diagnostic.py:(65) - gateway_mfr exited with a non-zero status
diagnostics Traceback (most recent call last):
diagnostics File "/opt/python-dependencies/hm_pyhelper/miner_param.py", line 33, in run_gateway_mfr
diagnostics run_gateway_mfr_result = subprocess.run(
diagnostics ^^^^^^^^^^^^^^^
diagnostics File "/usr/local/lib/python3.11/subprocess.py", line 571, in run
diagnostics raise CalledProcessError(retcode, process.args,
diagnostics subprocess.CalledProcessError: Command '['/opt/python-dependencies/hm_pyhelper/gateway_mfr_aarch64', 'test']' returned non-zero exit status 2.
diagnostics
diagnostics During handling of the above exception, another exception occurred:
diagnostics
diagnostics Traceback (most recent call last):
diagnostics File "/opt/python-dependencies/hw_diag/diagnostics/ecc_diagnostic.py", line 51, in perform_test
diagnostics ecc_tests = get_gateway_mfr_test_result()
diagnostics ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
diagnostics File "/opt/python-dependencies/hm_pyhelper/miner_param.py", line 247, in get_gateway_mfr_test_result
diagnostics return run_gateway_mfr("test")
diagnostics ^^^^^^^^^^^^^^^^^^^^^^^
diagnostics File "/opt/python-dependencies/hm_pyhelper/lock_singleton.py", line 71, in wrapper_lock_ecc
diagnostics raise ex
diagnostics File "/opt/python-dependencies/hm_pyhelper/lock_singleton.py", line 60, in wrapper_lock_ecc
diagnostics raise ex
diagnostics File "/opt/python-dependencies/hm_pyhelper/lock_singleton.py", line 57, in wrapper_lock_ecc
diagnostics value = func(*args, **kwargs)
diagnostics ^^^^^^^^^^^^^^^^^^^^^
diagnostics File "/opt/python-dependencies/hm_pyhelper/miner_param.py", line 43, in run_gateway_mfr
diagnostics raise ECCMalfunctionException(err_str).with_traceback(e.traceback)
diagnostics File "/opt/python-dependencies/hm_pyhelper/miner_param.py", line 33, in run_gateway_mfr
diagnostics run_gateway_mfr_result = subprocess.run(
diagnostics ^^^^^^^^^^^^^^^
diagnostics File "/usr/local/lib/python3.11/subprocess.py", line 571, in run
diagnostics raise CalledProcessError(retcode, process.args,
diagnostics hm_pyhelper.exceptions.ECCMalfunctionException: gateway_mfr exited with a non-zero status
diagnostics ERROR:hm_pyhelper.miner_param:gateway_mfr exited with a non-zero status
diagnostics Traceback (most recent call last):
diagnostics File "/opt/python-dependencies/hm_pyhelper/miner_param.py", line 33, in run_gateway_mfr
diagnostics run_gateway_mfr_result = subprocess.run(
diagnostics ^^^^^^^^^^^^^^^
diagnostics File "/usr/local/lib/python3.11/subprocess.py", line 571, in run
diagnostics raise CalledProcessError(retcode, process.args,
diagnostics subprocess.CalledProcessError: Command '['/opt/python-dependencies/hm_pyhelper/gateway_mfr_aarch64', 'test']' returned non-zero exit status 2.
diagnostics
diagnostics During handling of the above exception, another exception occurred:
diagnostics
diagnostics Traceback (most recent call last):
diagnostics File "/opt/python-dependencies/hw_diag/diagnostics/ecc_diagnostic.py", line 51, in perform_test
diagnostics ecc_tests = get_gateway_mfr_test_result()
diagnostics ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
diagnostics File "/opt/python-dependencies/hm_pyhelper/miner_param.py", line 247, in get_gateway_mfr_test_result
diagnostics return run_gateway_mfr("test")
diagnostics ^^^^^^^^^^^^^^^^^^^^^^^
diagnostics File "/opt/python-dependencies/hm_pyhelper/lock_singleton.py", line 71, in wrapper_lock_ecc
diagnostics raise ex
diagnostics File "/opt/python-dependencies/hm_pyhelper/lock_singleton.py", line 60, in wrapper_lock_ecc
diagnostics raise ex
diagnostics File "/opt/python-dependencies/hm_pyhelper/lock_singleton.py", line 57, in wrapper_lock_ecc
diagnostics value = func(*args, **kwargs)
diagnostics ^^^^^^^^^^^^^^^^^^^^^
diagnostics File "/opt/python-dependencies/hm_pyhelper/miner_param.py", line 43, in run_gateway_mfr
diagnostics raise ECCMalfunctionException(err_str).with_traceback(e.traceback)
diagnostics File "/opt/python-dependencies/hm_pyhelper/miner_param.py", line 33, in run_gateway_mfr
diagnostics run_gateway_mfr_result = subprocess.run(
diagnostics ^^^^^^^^^^^^^^^
diagnostics File "/usr/local/lib/python3.11/subprocess.py", line 571, in run
diagnostics raise CalledProcessError(retcode, process.args,
diagnostics hm_pyhelper.exceptions.ECCMalfunctionException: gateway_mfr exited with a non-zero status
diagnostics 2023-05-16 23:46:29,155 - [DEBUG] - hw_diag.diagnostics.bt_diagnostic - (bt_diagnostic.py).perform_test -- /opt/python-dependencies/hw_diag/diagnostics/bt_diagnostic.py:(28) - Retrieving list of Bluetooth device(s)
Warning: Suppressed 13 message(s) due to slow reading
helium-miner Diagnostics container not ready. Going to sleep.
Service exited 'packet-forwarder sha256:86879d57ab373a0eba294f8a6112a4e58de6b37cc76d20a31060cf3fd8ff29de'
Restarting service 'packet-forwarder sha256:86879d57ab373a0eba294f8a6112a4e58de6b37cc76d20a31060cf3fd8ff29de'
packet-forwarder Error: Cannot set FREQ variable.
packet-forwarder Error: Cannot set VARIANT variable.
packet-forwarder Error: Required VARIANT parameter has not been set. Container will be reset after 10 sec.
diagnostics 2023-05-16 23:46:34,175 - [ERROR] - hw_diag.utilities.hardware - (hardware.py).lor
KeyError: 'VARIANT'
packet-forwarder Traceback (most recent call last):
packet-forwarder File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
packet-forwarder return _run_code(code, main_globals, None,
packet-forwarder File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
packet-forwarder exec(code, run_globals)
packet-forwarder File "/opt/pktfwd/main.py", line 13, in
packet-forwarder VARIANT = os.environ['VARIANT']
packet-forwarder File "/usr/local/lib/python3.10/os.py", line 679, in getitem
packet-forwarder raise KeyError(key) from None
packet-forwarder KeyError: 'VARIANT'
packet-forwarder Traceback (most recent call last):
packet-forwarder File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
packet-forwarder return _run_code(code, main_globals, None,
packet-forwarder File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
packet-forwarder exec(code, run_globals)
packet-forwarder File "/opt/pktfwd/main.py", line 13, in
packet-forwarder VARIANT = os.environ['VARIANT']
packet-forwarder File "/usr/local/lib/python3.10/os.py", line 679, in getitem
packet-forwarder raise KeyError(key) from None
packet-forwarder KeyError: 'VARIANT'
packet-forwarder Traceback (most recent call last):
packet-forwarder File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
packet-forwarder return _run_code(code, main_globals, None,
packet-forwarder File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
packet-forwarder exec(code, run_globals)
packet-forwarder File "/opt/pktfwd/main.py", line 13, in
packet-forwarder VARIANT = os.environ['VARIANT']
packet-forwarder File "/usr/local/lib/python3.10/os.py", line 679, in getitem
packet-forwarder raise KeyError(key) from None
packet-forwarder KeyError: 'VARIANT'
how do i set it up
gateway-config Traceback (most recent call last):
gateway-config File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
gateway-config "main", mod_spec)
gateway-config File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
gateway-config exec(code, run_globals)
gateway-config File "gatewayconfig/main.py", line 77, in
gateway-config main()
gateway-config File "gatewayconfig/main.py", line 30, in main
gateway-config start()
gateway-config File "gatewayconfig/main.py", line 66, in start
gateway-config FIRMWARE_VERSION
gateway-config File "/opt/gatewayconfig/gatewayconfig_app.py", line 31, in init
gateway-config self.variant_details = variant_definitions[variant]
gateway-config KeyError: None
What should I do.
In the readme, stays it will show in my balena cloud apps. but nothing appears... Is there any howto about adding the device?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.