NebraLtd / helium-sensecap

Nebra OpenFleet for Sensecap Miners
https://nebra.io/sensecap
MIT License
2 stars 13 forks source link

gateway-config #4

Closed RoZelm0 closed 2 years ago

RoZelm0 commented 2 years ago

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.

RoZelm0 commented 2 years ago

he following ENV variables must be set: FREQ, SENTRY_CONFIG, SENTRY_DIAG, SENTRY_PKTFWD, and VARIANT

it must have something to do with it.

can this be??

shawaj commented 2 years ago

See my comment on #3 you just need to install using that method and the environment variables are already set