...
Thanks for trying the code, looking forward to any feedback you have.
Sorry, didn't work for me at all - I tried on my desktop (fedora18), just got red letters on the screen in somewhat of a mess saying
"i n e r E r r o r : C h e c k"
# python cgminerLCDStats.py
Welcome to cgminerLCDStats
Copyright 2013 Cardinal Communications
[Errno 110] Operation timed out
None
[Errno 110] Operation timed out
None
.
.
No idea why the timeout - I tried both 127.0.0.1 and localhost - which both are valid
Probably some python thing?
However, cgminer api-example.py works fine for me
After that I also had to power cycle it to get clock.py to not look like the above scattered text output
I also had a quick look at the code - you are using the wrong fields.
Use "Difficulty Accepted" and "Difficulty Rejected" etc ...
Read here and the quoted messages and git links:
https://bitcointalksearch.org/topic/m.2738336Thanks for the feedback. Bummer that it didn't work on your desktop. I actually only ever tried on on a Pi. Maybe I'll try and get it working on my OS X box tomorrow just out of curiosity. I'll also try a different linux distribution on the Pi as well.
Very strange that the connection was timing out. I'll have to think about that and play with it on another machine. No idea there yet. That's what I get for doing a script in a language I barely know, and don't really like.
But it wouldn't be fun if it was easy...
I'll post back with success or failure on another machine.
As for the wrong fields, thanks for that. I'd run into that exact post earlier today, and realized I'd likely used the wrong fields. I'll get that fixed for sure.
Thanks a bunch for trying it out, and giving feedback!