Giter VIP home page Giter VIP logo

discoclient's Issues

Porting to FinestraMiner

I have a FinestraMiner (made by Smart Mimic/Mimiq). What steps would I need to take to create an image that allows me to use to this "discovery mode" tool on my hotspot? I have already disassembled the chassis (to access the ethernet port lol) and can clone the current SD card on the miner if that would help us here.

Thanks!

Get back trace when accessing https://dash.discomode.io/

ValueError: Value of 'x' is not the name of a column in 'data_frame'. Expected one of [] but received: fcnt
Traceback:

File "/usr/local/lib/python3.9/site-packages/streamlit/scriptrunner/script_runner.py", line 554, in _run_script
exec(code, module.dict)
File "/app/app.py", line 308, in
plot_num_of_hotspots(id=st.session_state.sensor['id'])
File "/app/app.py", line 110, in plot_num_of_hotspots
fig = px.line(df, x='fcnt', y='count', title="Number of hotspots reporting disco packet", markers=True)
File "/usr/local/lib/python3.9/site-packages/plotly/express/_chart_types.py", line 264, in line
return make_figure(args=locals(), constructor=go.Scatter)
File "/usr/local/lib/python3.9/site-packages/plotly/express/_core.py", line 1948, in make_figure
args = build_dataframe(args, constructor)
File "/usr/local/lib/python3.9/site-packages/plotly/express/_core.py", line 1405, in build_dataframe
df_output, wide_id_vars = process_args_into_dataframe(
File "/usr/local/lib/python3.9/site-packages/plotly/express/_core.py", line 1207, in process_args_into_dataframe
raise ValueError(err_msg)

Launch discomode will have such error

2022-12-09T08:05:27.019899982Z requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2022-12-09T08:06:27.019404037Z DEBUG:root:Check message
2022-12-09T08:06:27.029302869Z DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): discomode.io:443
2022-12-09T08:06:27.486941277Z DEBUG:urllib3.connectionpool:https://discomode.io:443 "GET /api/msg?id=<DEVICE_EUI> HTTP/1.1" 200 0
2022-12-09T08:06:27.497808759Z ERROR:root:disco_id not found

I configure disco_id as device EUI I applied in Helium Console, is it a right configuration?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.