ardevd / bobcatpy Goto Github PK
View Code? Open in Web Editor NEWBobcat Hotspot Diagnoser Python API wrapper
License: GNU General Public License v3.0
Bobcat Hotspot Diagnoser Python API wrapper
License: GNU General Public License v3.0
The background is that I am using this library within a script that repeatedly probes the sync status of the miner over a long time period (hours/days). I found that the sync_status requests would hang the process on rare occasions (but frequently enough to be annoying).
The diagnoser exposes leds.json
which includes the status of the leds.
there is no enough instructions how to run the tool, however after running there is no output ,
more information is needed
The current exception handling is way too generic.
Currently the Helium API is down, this is causing the blockchain height lookup to fail.
The result is all summary keys after height aren't set (such as temps, ips etc).
We should catch the request error (check the response of height for None before attempting double dict index access.
Hopefully this resolves the API having a negative impact if its down / responding badly.
Cheers
The status summary function currently makes a request to get miner status and then makes another request to the Helium explorer API to get the current blockchain height. We should execute the two in parallel for increased performance.
Code assumes the json keys for chain state etc are present. Since the update today these are no longer exposed.
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.