Coder Social home page Coder Social logo

getminera / minera Goto Github PK

View Code? Open in Web Editor NEW
372.0 56.0 158.0 79.74 MB

Minera is a web interface to monitor and manage mining devices

Home Page: http://getminera.com

License: Other

PHP 37.20% HTML 0.04% CSS 2.53% JavaScript 23.96% Shell 15.60% Makefile 3.71% C 11.69% Batchfile 0.04% M4 0.12% Roff 5.07% Dockerfile 0.04%
cgminer bitcoin-mining raspberry bitcoin mining charts dashboard moonlander altcoin

minera's People

Contributors

carolinacmoravia avatar chrisf4lc0n avatar debpedrano avatar jazy510 avatar michelem09 avatar prolic avatar raid5 avatar skalnik avatar trinitronx avatar vnau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

minera's Issues

Reboot server from web-interface

reboot works, but I see the following error in the browser:

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: onloadFunction

Filename: views/sysop.php

Line Number: 1

webupdate vs console update

I just noticed today that there are updates available for minera. I connected with SSH and did:

cd /var/www/minera
git fetch
git merge origin/master --ff
./upgrade_minera.sh

Seemed all good. Checked the website again, still updates available. What?
Then I realized, nice, I can update via web browser. Hit the button, update passed, new version (0.1.8b) available, no more updates found.

Why did the update via console not work? Did I missed something?

Create higher resolution screen shot

It is hard to tell if I want to spend time contributing to a project that has a lot of UI components with such small sample graphics.
This looks interesting but please get better images.

Enhancement: Display the cpuminer device ID on the dashboard

Would it be possible to put the Device ID next to the serial number of the ASIC?

From command: cat /var/log/minera/cpuminer.log | grep ACM
[2014-05-24 18:01:25.8514] 0: Open device /dev/ttyACM4
[2014-05-24 18:01:25.9473] 1: Open device /dev/ttyACM3
[2014-05-24 18:01:26.0489] 2: Open device /dev/ttyACM5
[2014-05-24 18:01:26.1494] 3: Open device /dev/ttyACM1
[2014-05-24 18:01:26.2499] 4: Open device /dev/ttyACM2
[2014-05-24 18:01:26.3506] 5: Open device /dev/ttyACM0

It seems to be fairly random when assigning the Device ID and I can't fully rely on the ttyACM# when I'm working on tuning each chip (in a blade). Thus, I have been relying on the parameter --gc3355-freq=:850:0,:863:1,:850:2,[...etc] for each chip within each blade [denoted by ::,{repeat and increment}]. Not a big deal as I can pull it manually but it could same some time. Great job so far, by the way!!! Points!

HTTPS

Any chance of having HTTPS instead of HTTP in the future? At the moment I am using the reverse lighttpd proxy to achieve that...

last share in future

I have very often this as last share:
e.g.

-10 secs ago (Fri, 16 May 2014 23:59:14 GMT)

How can my last share be in the future? Wouldn't it be more accurate to say it's at least 0 sec ago?

Pre-compiled minerd (CFLAGS)

When you pre-compile the minerd, what CFLAGS are you using?
I am getting the fewer number of rejects/stales using CFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard"
Chris.

Found Blocks report in Dashboard

A very nice enhancement would be if Minera would be logging and reporting the number of found blocks inside the dashboard.
Maybe even found blocks in the current session and found block all-time.

Dashboard (device tree) shows wrong hashrates

When I hit the page, the correct hashrate is shown. After a few minutes the hashrate seems to drop from 17 MH/s to around 10MH/s, according to the dashboard's device tree.
However the hashrate reported in the miner details section (also in the dashboard) seems unaffected. I verification at the mining pool shows, that my hashrate did not drop.

Note: This has nothing to do with my other problem with cpuminer. This issue is about a wrong display, at the other one it's about a real hashrate drop.

PHP Error when bitstamp api not available

If bitstamp api is not available (not that often) you'll get php erros on the site and the current exchange value is not displayed.

trying to get property of non-object is the error message.

I think you need to introspect the result given from bitstamp, first.

Temp Conversion

Could you enable a setting to allow the miner's temperature to be displayed in Fahrenheit? Or, perhaps just displaying Cº/Fº?

Can't log back in after saving frequencies

I hit the button the dashboard to saved my gridseed frequencies, then the web page locked up. I then closed the minera web dashboard, reopened it, and was presented with the login which the default password no longer works for. I can't ssh in either, so I'm essentially locked out.

0 KH/s hashrate displayed

in miner details i see this:

 ttyACM9 (6D6D34A04853) 865 Mhz 0Kh/s   22428   42 (97.67%) 0 (0.00%)   1 (2.33%)   66 secs ago (Sat, 17 May 2014 00:33:31 GMT)

The device mines correctly and has valid accepted shared, so why is it shown with 0 KH/s?

Donation

I have got an idea on how to rise more money for the project...
At the moment there are 2 ways of donating, both rather "manual":

  1. Simple BTC/LTC/DOGE donation directly to the address.
  2. One of the pools which are setup is the pool you are mining on, but that only kicks in when all the other pools are down or somebody decides to manually mine on your pool.

What if it was possible to setup like a time frame when would people mine on your pool/account. Lets say I want to sacrifice 1h (23:00-24:00hrs) of my daily hash power to the project, it would be nice to have that option so it does it automatically without the need of manually changing the pool.
It is rather easy to do that in crontab, but not everyone is that good in Linux/Unix so a WebUI interface to accommodate could be useful.
Chris.

Wrong hashrate and hashrate history

I restarted the miner, but didn't took a look at minera. One day later, I checked the minera stats. I can see 8,7 MH/s hashrate, and my hashrate history shows approx 3 MH/s.
When I check my stats at my pool, all is good, since the start.

When I leave minera on, the hashrate will be shown correctly after approx 15mins.

rejected/errors stats meaningless?

It seems to me that the rejected/error stats is meaningless, as it only accumulates all errors. That means that I will always expect some kind of increasing graph.
More interesstly would be accepted vs. error stats (like 1% erros) and a graph representing that over time.

Time Stamp

Is it possible to set the time to our local time zone? The time log and the miner up time sections would be more beneficial and relevant in our local time. There is a 5 hour difference between GMT and CST.
Also, I just wanted compliment your effort and hard work and how you are continually making improvenents based on feedback. You've designed a top-rate interface which is heads above all others and that is due to your obvious talent, dedication and effort, insight and initiative, altruistic motivation, and I want you to know I truly appreciate that and respect you for your effort. The least we could do is contribute some mining time, and I'll advocate that to others at every opportunity. You deserve it.

I'm not sure what other manners of compensation you efforts might attract, but I hope it will benefit your career in some way or lead to a lucrative job offer or business opportunity. You are a Rock Star in the crypto mining world. Good luck with it.

Hashrate stats more in time

The hashrate is calculated by accepted per time (according to difficulty). That is my average hashrate from starting the miner until now.
When the miner runs for lets say 30 days perfectly, and then my hashrate suddenly drops, these stats won't show my hashrate drop in realtime.
Therefore I ask for a hashrate in the last 5 / 10 mins shown (perhabs additionally, because overall stats matter, too).

check your settings (minerd API must listen on 127.0.0.1:4028).

Hi and thanks for this stunning back-end.

hi have 2 issues the first is in the raspberry pi, if i conect more than5 gridseeds fall and i need swich off the raspberry and power on another time.

also now i install in ubuntu for try if work better and now something like that appear on the screen, wen i log in minera

I can't get the stats from your minerd. Please try to refresh the page or check your settings (minerd API must listen on 127.0.0.1:4028).

can i run 20 gridseed in the raspberry?

can i run 20 gridseeds in the laptop?

thanks for your time

rc.local

Any chance the rc.local does not get replaced as some run other services on startup. Every time I save settings my rc.local get overwritten, when I run 2 other startup scripts there and need to add them every time I make changes.
I personally need to add sleep 10 before minerd starts, as if I do not Grids only start at 200khs each! When I delay the start just by 10 seconds they run at full speed.
Thanks Chris.

Cgminer and CPUMiner

Since you have started to work on implementing the cgminer into the minera, I thought I would share my observations.
You cannot run cpuminer in autodetect mode as well as the cgminer, the cpuminer will still detect the device, you do not want to have controlled with it and cause tons of HW errors in the cgminer.
Tested it with 3 Grids running on cpuminer, controlled by minera and 1 GAWMiners The Fury on cgminer.

Minera unusable when using with multiple G-Blades

Issues for me begin after running 10 whole G-Blades (20 blade boards) but it may very well begin even earlier, I can't afford to redo my setup to test the exact number at which this problem begins.

The Bugs:
Most recently after I did a fresh image flash to an SD and turned up my raz for the first time to input pool info for mining I got a:

Warning!
I can't get the stats from your minerd. Please try to refresh the page or check your settings (minerd API must listen on 127.0.0.1:4028).

in the dashboard.

stats.json:

{"error":true}

Log shows:

[2014-05-18 05:22:35.2043] API: Client 127.0.0.1 connected

[2014-05-18 05:22:35.3127] API: Client 127.0.0.1 connected

[2014-05-18 05:22:35.4424] API: GET: stats

many times over but other than mining for 10 whole blades (pool confirms this) still nothing. I also tried forcing api port to 4028 via parameter but still nothing.

Another more critical issue is that it will not mine on more than 10 G-Blades (roughly 20 blade boards) at a time. This is a super critical problem because it has forced me to run all blades on 3 raspberry pi's (plus no stats reading =/) and yes yes proper usb powered hubs, same exact setup allows me to mine with all G-blades on an adjacent laptop.

Just as critical, over time, G-blades seem to stop mining one by one until I reset the device (manually) and the low (difficulty) reject rate is exponentially high for at least the first 45 minutes or so (which happens to be around the time it starts dropping G-Blades from the original whole working 10).

I've messed with it long enough by now to safely assume these are bugs born from both cpuminer and minera being incompatible with running over 10 whole G-Blades.

If you have fix for this it would be super duper appreciated :D

Settings for coinotron LTC

Hi,

Not sure I am raising this in the right way but here I go

I am going to use Minera to mine LTC using coinotron (coinotron.com) using my GridSeed Blade

The commands are as follows

cgminer -o stratum+tcp://coinotron.com:3334 -u workername -p password --scrypt

I assume using the CPUMiner will make no difference which is what Minera uses?

Also how do I set the --scrypt flag? I tried setting this in the manual options and the miner did not start

thanks

view log buttons

Much to often when I try to open the view log window I tap the wrong area of the screen simply because the "buttons" are too close together. Instead of simply viewing the log, I often accidentally download it or hit the close window button which is extremely frustrating as it is very difficult to make it open again. Perhaps you might consider more spacing between these buttons.

records per page lost after refresh

In the dashboard we have the "miner details". I changed the value to "25 records per page". After the refresh of the view, the value is back to "10 records per page" and my view is lost.

pool setting bug

The drag and drop works great on android. However, I just now tried to add a pool and I'm not able to enter any data in the fields. I'm unable to select any field in that section. The other fields work fine, though.

order by shares accepted

when I order by shares accepted (increasing), this is my order:

101
588
593
594
631
642
72
73
76

Starting frequency

I may be a bit of pain and I know it is possible to get that done from extra options menu, but it would be nice to have a starting frequency for each device as a drop down menu. I am not talking here about every single chip, but at least the device.
I really appreciate your work and will be donating Chris.

mining pool priority adjustment

An awesome feature that I think Hashra utilized is the ability to adjust the pool priority setting from the dashboard by tapping a button that would move the pool up or down the list as desired. Maybe even just the option on the settings page to enter a numerical value for each pool in order of preference similar to Scripta's method. With Minera I have to juggle a lot of copying and pasting when I want to change mt pool preferences.

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.