easycryptomining / ecmgui

A web based GUI to monitor and control your Monero XMR-STAK mining rigs, Netgear Arlo wireless security camera, Belkin Wemo switch / insight and Philips Hue.
http://www.easycryptomining.com
Other
1 stars 3 forks source link

Can't see hashrates/temps/uptime #2

Open MoneroCrusher opened 6 years ago

MoneroCrusher commented 6 years ago

Hi there

Thank you for the new version! Looks very nice. I still have the problem of no hashrates though.

Step for step what I do: Install ecmgui + nginx server according to README.md (Maybe you should add that one has to add chmod +R 777 to ecmgui folder in /home/www/ otherwise error "500") So then I go to the ecmgui website

I click Save Then I go to Dashboard and it shows my worker, I can even click on "View worker" and it will take me to the xmr-stak dashboard and showing me real time hashrates). But in dashboars I see: H/s - Uptime: - Temperature: -

But I can the hadhrate at ip:444 Uptime I can see with ssh user@ip uptime Temperatures I can see with ssh user@ip sensors

So I believe the issue is somewhere in ecmgui.

easycryptomining commented 6 years ago

Hi,

The chmod 777 is not necessary on all files, i'll investigate this, as in my case the nginx/php/folder belong to the same user. You probably only need a chown www-data on some vendor folder. Thanks for pointing this to me.

This should solved the uptime and temperature issues.

For the hashrate issue, are you running xmr-stack v2 on your workers with the API (http://ip:444/api.json should work if not you're probably running v1) ?

MoneroCrusher commented 6 years ago

Hi

I found the issue: "Name" can't be IP address. Very strange. Changed it to my computer name and it worked (other names won't work either). Is it supposed to be that way? Personally i'd prefer if we could name it the way we want to name it.

So this issue can be closed if it's supposed to be that way.

EDIT: I have cloned several USB, so they all have the same machine name. Now when I add them to worker section, if only shows hashes/temps of the one added the latest, it would be great if it went by IP and not "name", otherwise I have to rename all machines (not a big effort, but annoying).

Edit 2: another small report: you can delete the "°C" because °C is already included in lm-sensors, otherwise it shows it 2 times like °C °C in module/Application/src/Entity/Workers.php line 342 & line 351

easycryptomining commented 6 years ago

The name can be whatever you want, here is what append :

--> But yes there's something missing : the same process with ssh for uptime/temp and hashrate, fix with commit 40211af3531c47bcfcce5ac3dd6c72db2c3605d8

For the °C can you confirm what type of card you have ? (got only AMD running for now but don't have °C in the result of "sensors" command) --> if you have nvidia card that's not "sensors" command but "nvidia-smi" one

MoneroCrusher commented 6 years ago

Thanks for resolving the issue. I'm running RX 550 card. "sensors" outputs temperatures with °C. Maybe it's kernel or driver dependent but one can easily fix it if it's a problem.

easycryptomining commented 6 years ago

Ok, i'll make a fix this week-end for this.