Code Monkey home page Code Monkey logo

libbtctools's People

Contributors

clouddev-c avatar jacobhot avatar swimmingtiger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libbtctools's Issues

failed:getHashrate:./lua/scripts/scanner/WhatsMinerHttpsLuci.lua:300

I'm having trouble reading the hashrate and I'm not sure how to fix it, can you provide advice?thanks

192.168.24.229 C6:10:09:00:18:30 success WhatsMiner M30S_V50
--------- HelperBase:makeRequest ---------
Error: Exception raised: ./lua/scripts/scanner/WhatsMinerHttpsLuci.lua:300: attempt to call field 'getNext' (a nil value)

stack traceback:
./lua/scripts/scanner/WhatsMinerHttpsLuci.lua:300: in function 'exec'
./lua/scripts/HelperBase.lua:22: in function <./lua/scripts/HelperBase.lua:21>
[C]: in function 'xpcall'
./lua/scripts/utils/oop.lua:37: in function 'try'
./lua/scripts/HelperBase.lua:21: in function 'makeRequest'
./lua/scripts/ScannerHelper.lua:25: in function <./lua/scripts/ScannerHelper.lua:24>

stack traceback:
./lua/scripts/HelperBase.lua:24: in function 'func'
./lua/scripts/utils/oop.lua:51: in function 'catch'
./lua/scripts/HelperBase.lua:23: in function 'makeRequest'
./lua/scripts/ScannerHelper.lua:25: in function <./lua/scripts/ScannerHelper.lua:24>
192.168.24.229 C6:10:09:00:18:30 failed:getHashrate:./lua/scripts/scanner/WhatsMinerHttpsLuci.lua:300: attempt to call field 'getNext' (a nil value) WhatsMiner M30S_V50

get whatsminer info err

log as:
========= HelperBase:makeResult =========
IP: 192.168.11.18
Host: 192.168.11.18:4028
Step: parseStats
Stat: success
--------- Request ---------
{"command":"stats"}
--------- Response ---------
{"STATUS":"E","When":1675912321,"Code":14,"Msg":"invalid cmd","Description":"whatsminer v1.3"}
192.168.11.18 success WhatsMinerHttpsLuci WhatsMiner v1.3
192.168.11.18 find pools... WhatsMinerHttpsLuci WhatsMiner v1.3

Add ePIC UMC support

Would like to add ePIC UMC support to BTCtools. Can work to add support to the libbtctools lib however I did not see how the GUI/BTCTools application is compiled and bumped.

Is this something that can be done once the changes are made to this lib? Not sure if the BTCtools application is still being maintained/supported.

Get mac by tcp

Hello!

Request *req = new Request;
req->host_ = ip;
req->port_ = "4028";
req->content_ = "stats|"; //Does not return MAC-Address! Just like "summary, lcd " and all other requests.

How to get the MAC-Address?

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.