|
Title: cgminerLCDStats - My little LCD Post by: leemunro on November 19, 2013, 03:54:42 PM Hi everyone
I've been trying for the last two weeks to try and get cgminerLCDstats.py to work. but I've now given up. hopefully someone can put me out of my misery.... I have a raspberry Pi with 3 bitfury miners connected to it and i'm running cgminer-3.8.2. connected to slush pool via http://stratum.bitcoin.cz:3333 Everything seems to be running fine on the mining front, I just can't get my little LCD screen to work. I have installed the cgminerLCDStats fron GitHub but no matter what configuration I run, the screen displays Error: Check Miner API Connection Error A sample of the commands I've tried are sudo python cgminerLCDStats.py -i 192.198.107.178 -p 3333 sudo python cgminerLCDStats.py -p 3333 sudo python cgminerLCDStats.py -i stratum.bitcoin.cz -p 3333 sudo python cgminerLCDStats.py etc etc Does anybody have any suggestions...... please Thanks in advance for any help Title: Re: cgminerLCDStats - My little LCD Post by: elbandi on November 19, 2013, 05:54:19 PM You sould enable cgminer api support:
Code: "api-port" : "4001", or cgminer command line: Code: Code: --api-port 4001 --api-listen --api-allow "YOUR_IP" maybe you cgminer already configured api, use that port number, and configure api-allow option. and start lcdstatus: Code: python cgminerLCDStats.py -i CGMINER_IP -p 4001 Title: Re: cgminerLCDStats - My little LCD Post by: leemunro on November 20, 2013, 03:38:30 AM Hi elbandi
Thanks for the reply, I was worried nobody was going to reply. I'm a bit confused by your answer. You've listed 3 different IP's : "YOUR_WEBSERVER_IP", "YOUR_IP" and CGMINER_IP as far as I know, I only have two IP addresses. my Pi's IP and Slush Pools IP. Could you explain which address goes where Thanks Title: Re: cgminerLCDStats - My little LCD Post by: elbandi on November 20, 2013, 09:25:54 AM Hi,
This cgminerLCDStats query the stat from cgminer directly not from the pool. sorry, i misspelled the first code block. So there is 2 things: your pi with cgminerLCDStats (1.2.3.4 ip), and your cgminer (5.6.7.8). Than you sould give access in cgminer for cgminerLCDStats to allow query the stats. "api-allow" : "1.2.3.4", and you run cgminerLCDStats to query the stats from cgminer: cgminerLCDStats.py -i 5.6.7.8 That's it. Elbandi |