Bitcoin Forum

Bitcoin => Mining => Topic started by: RazorZero on July 14, 2011, 10:58:18 AM



Title: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: RazorZero on July 14, 2011, 10:58:18 AM
Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Version 1.3 - Updated on 08/08/11
*Download Here* (http://razorzero.deviantart.com/art/Bitcoin-Pool-Monitor-PXT-222472360)

https://i.imgur.com/F4epv.png

https://i.imgur.com/kqp9N.png

This is a Rainmeter skin to display your Pool data from JSON encoded stats as well as show you current exchange prices.

Currently Supported Mining Pools:

  • ArsBitcoin
  • BitClockers
  • BitcoinPool
  • Bitparking
  • BTC Guild
  • Deepbit
  • Eligius
  • MT. Red
  • OzCoin
  • Slush Pool

1) Extract the files to your Rainmeter skins folder.

2) Add your API key and/or your user name to the "userData.inc" file located in either the same folder as the skin or in the "inc" subfolder.

3) In Rainmeter select the skin for how many workers you have. If you display more workers then you have, the skin won't parce the JSON data properly and won't work. Note: Some Pools don't list worker stats, so there will only be one skin variant to choose.

There are instructions to add more workers and change the exchanges PXT will display in the readme.txt file.

If you find any bugs, please let me know.

Changelog:
v1.0
- Initial Release
v1.0a
- Added Support for OzCoin
v1.1
- Fixed: Deepbit and BitcoinPool not including userData.inc file (oops)
- Fixed: Deepbit Est. Worth calculation error
- Added: Support for Eligius
- Changed: Added leading zeros to each .ini file so they show in order.

- You should delete your current PXT folder before adding this update or else you'll have a lot of old files left over.
v1.2
- Fixed: Actualy fixed the Deepbit calculation error
- Added: Share estimate to Eligius
- Added: Support for Bitparking Name Coin Pool (shows NMC -> BTC and NMC -> BTC -> USD)
- Added: Support for ArsBitcoin

v1.2a
- Fixed: Bitparking balance label (now says NMC instead of BTC)
- Changed: Removed version number from the .ini files.  It was becoming a pain updating 50+ files (especialy for minor updates like this one)

v1.2b
- Changed: Deleted "New Text Document.txt" inside the ArsBitcoin Folder (acidently left that in there
while I was testing it)
- Added: Support for BitClockers

v1.3
- Added: Set of "short" skins that don't include the exchanges display
- Added: An "Exchanges Only" skin that can be customized a bit and shows, only the exchanges and a few stats on the current BTC difficulty.
- Fixed: A few display errors in a couple of skins
- Changed: Deleted all the extra readme.txt files except for the main one.


If you find this helpful or useful, feel free to send a donation to me at: 12KEUoXczy5zEMdyPxMLTtxnvgZMtMAxfe


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: Graet on July 14, 2011, 11:06:50 AM
Nice :)
could you add http://ozco.in please?
i'll drop a coin in your box on the way out the door. i want to use this cheers :)
Graet


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: RazorZero on July 14, 2011, 06:31:56 PM
Thanks, and I added support for OzCoin.  Let me know how it works.


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: kiwiasian on July 15, 2011, 10:26:05 PM
Bump for a great plugin!!


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: Leon on July 15, 2011, 11:29:38 PM
Wow very impressive! Nice work.


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: EpicBacon on July 16, 2011, 07:02:43 AM
This looks really great!

Could you add support for Eligius? :)


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: RazorZero on July 16, 2011, 08:11:45 AM
It looks like Eligius doesn't use JSON data for users, but I can probably pull the data from their web stats page.  I'll look into it tomorrow (it's getting pretty late for me) and see if I can get something working for you :)


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: kiwiasian on July 16, 2011, 07:16:30 PM
Razer, could you tell me how I can align all the text to the right and remove some of the data that I don't need (i.e. highs and lows for the day)


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: RazorZero on July 16, 2011, 10:13:13 PM
New version:
v1.1
- Fixed: Deepbit and BitcoinPool not including userData.inc file (oops)
- Fixed: Deepbit Est. Worth calculation error
- Added: Support for Eligius
- Changed: Added leading zeros to each .ini file so they show in order.


You should delete your current PXT folder before adding this update or else you'll have a lot of old files left over.

@kiwiasian: That stuff is inside the "inc\globalMeters.inc" file.  Open it up and look for [MeterPriceHigh1Text], [MeterPriceHigh1], [MeterPriceLow1Text], [MeterPriceLow1] (or high2, low2 etc...).  Just delete the ones you don't want to see and they should be gone.  You'll probably want to change the "Y=" value for the meters you left so you don't have a blank space in there, but that's not required.  (You shouldn't have to change the worker bar settings, those should automatically put themselves at the bottom.  If they do mess up though, just check the workerXMeters.inc file)

To change where the meters align them self's, inside the same file just change the "X=" value.  That controls where it shows those things.  Probably set it to 5 if you want it on the left edge of the screen (not 0 because of the background image border).

If you're using one of the pools that I don't use the "inc\globalMeters.inc" file for it, just look in the main .ini file.  It has all the same stuff in it.  I just separated all that code into the .inc files for the other pools to make it easier for me to maintain this skin (I update 1 .inc file instead of 10 .ini files, much easier :))

Hope that helps :)


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: EpicBacon on July 17, 2011, 12:35:52 AM
- Added: Support for Eligius
Thank you so much! This is really easy to customize!
http://www.mediafire.com/imgbnc.php/d0712727faaf71ca06ff8a58be0c11dc42bad40a8791669920f5bc6d1686773d4g.jpg(Using fake numbers ;))
Can you change it so that the balance displays the total reward (unpaid + block estimate) rather than just the unpaid reward? I couldn't figure out how to do that myself.

Also, I sent a small donation :) this is a great skin.


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: Iyeman on July 17, 2011, 03:28:47 AM
Still a slight issue with deepbit, not a huge one but i dont think .04btc is worth $8000 lol

http://iyeman.net/pics/deepbit_error.png


Also I know this is for bitcoin pools but any chance you could pull the same info for a Namecoin mining pool?  I have one of my miners pointed to bitparking.com and the stats are available via a webpage http://bitparking.com/user/NBoopHYYSixS7FNLZyMqDWDgpkoPFdJFhn (no API that I have seen, not even a logon just goes off of your NMC wallet address.) The current NMC to BTC exchange rate can be pulled from https://exchange.bitparking.com/main


Love this rainmeter skin! keep up the good work.


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: RazorZero on July 17, 2011, 08:42:45 AM
@EpicBacon: Estimates usually aren't accurate so that's why I haven't included them for any of the pools that give that data.  But if you would like the ability to see that as well I can add it as a option.  Thanks for the donation BTW, those are always nice to receive :)

@Iyeman: lol, yeah maybe someday they'll be worth that much.  I just rechecked the code and I ended up multiplying the current price by your hash rate instead of how many BTC you've got.  I've got a lot of files to manage for this thing and I get confused some times  ???  I'll get the fix out tomorrow with the next version.

As for doing the Bitparking stuff, I should be able to do that too.  How do you think the exchange tracking part should work?  Would you want it to just display the NMC to BTC rate or should I calculate NMC to BTC to USD so that it basically looks the same.  I supose I could do both also.  Let me know you think and I'll see what I can do.  I haven't bothered mining NMC's so I don't really know what stats a NMC miner is interested in :)


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: EpicBacon on July 17, 2011, 09:26:16 AM
@EpicBacon: Estimates usually aren't accurate so that's why I haven't included them for any of the pools that give that data.  But if you would like the ability to see that as well I can add it as a option.  Thanks for the donation BTW, those are always nice to receive :)

It's not really an estimate. Eligius uses SMPPS (no-fee pay per share) so the value in "block estimate" is BTC you have already earned in the current round from pay per share. That value will never go down, it can only ever display slightly less than your current actual total (from shares you've submitted very recently that have not been accounted for) so it makes sense to include this in the total balance in your skin.

Also, support for Ars Technica (another SMPPS pool) would be wonderful :D


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: Iyeman on July 17, 2011, 02:49:04 PM


As for doing the Bitparking stuff, I should be able to do that too.  How do you think the exchange tracking part should work?  Would you want it to just display the NMC to BTC rate or should I calculate NMC to BTC to USD so that it basically looks the same.  I supose I could do both also.  Let me know you think and I'll see what I can do.  I haven't bothered mining NMC's so I don't really know what stats a NMC miner is interested in :)

Both would be cool! If that's to much work then NMC to BTC is what i'm most interested in seeing.


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: gigica viteazu` on July 17, 2011, 09:30:06 PM
very nice, thank you

http://dl.dropbox.com/u/3653118/btc_rainmeter.jpg


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: RazorZero on July 17, 2011, 10:29:25 PM
New version:

v1.2
- Fixed: Actualy fixed the Deepbit calculation error
- Added: Share estimate to Eligius
- Added: Support for Bitparking Name Coin Pool (shows NMC -> BTC and NMC -> BTC -> USD)
- Added: Support for ArsBitcoin



Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: Iyeman on July 18, 2011, 01:41:13 AM
New version:

v1.2
- Fixed: Actualy fixed the Deepbit calculation error
- Added: Share estimate to Eligius
- Added: Support for Bitparking Name Coin Pool (shows NMC -> BTC and NMC -> BTC -> USD)
- Added: Support for ArsBitcoin



thanks! deepbit looks to be working correctly now and the bitparking one looks good also, sent a little something your way, not much but my mining capacity isn't that great lol.


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: RazorZero on July 18, 2011, 02:20:04 AM
Thanks for the donation and I'm glad everything is working :)

I don't really have a lot of mining power either (a single 5770).  The screen shot I have for PXT was using fake stats for everything except for the exchanges.  I set it up so it would show the capabilities of the skin, not what I actually have.  I wish I had 1.9 GH/s :)


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: RazorZero on July 20, 2011, 10:12:51 PM
New Version:

v1.2a
- Fixed: Bitparking balance label (now says NMC instead of BTC)
- Changed: Removed version number from the .ini files.  It was becoming a pain updating 50+ files (especialy for minor updates like this one)



Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: dub0matic on July 23, 2011, 10:02:03 AM
This is mad sweet been looking for this. But is there anyway you could add round duration and estimated share for slush and btc guild


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: RazorZero on July 25, 2011, 08:24:26 AM
The estimated values aren't usually accurate, so I didn't want to include them and stats like round durations are hard to capture or aren't even shown on pools to discourage pool hoppers.  Many pools delay or even lie about their stats because of pool hoppers.  I have made the skin pretty easy to customize though if you wanna give it a try on your own.  Rainmeter skins are pretty simple to work with.  The most complicated thing in this one is just parcing the JSON data with regular expressions and that isn't too hard to work with, it just looks messy :)


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: ptshamrock on July 25, 2011, 09:36:20 AM
please add bitclockers.com !


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: RazorZero on July 26, 2011, 08:07:57 PM
New Version:

v1.2b
- Changed: Deleted "New Text Document.txt" inside the ArsBitcoin Folder (acidently left that in there
while I was testing it)
- Added: Support for BitClockers



Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: Clipse on July 28, 2011, 03:27:58 AM
So I figured I would give this a shot, never used rainmeter before.

Im just wondering, the first post screenshot have all listed together with all pools(I assume?) confirmed/unconfirmed etc. listed in same window. When I add the skin files, all of them run in seperate windows.

Is there some magic on switch to get them like the OP screenshot? :)


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: Iyeman on July 28, 2011, 03:46:43 AM
So I figured I would give this a shot, never used rainmeter before.

Im just wondering, the first post screenshot have all listed together with all pools(I assume?) confirmed/unconfirmed etc. listed in same window. When I add the skin files, all of them run in seperate windows.

Is there some magic on switch to get them like the OP screenshot? :)

The OP Screenshot is just one pool. Like my BTCguild skin lists each individual worker but deepbit one doesn't.  Not sure why the OP didn't list workers for all of the pools.

3 Separate Skins below for my setup.
http://i52.tinypic.com/9rr2vq.jpg


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: Clipse on July 28, 2011, 03:50:26 AM
uh oh I qualified as a retard ;)

I see now, the original looked like he had one frame with multiple pools in it (I read the various workers as pools, doh)

These skins would be nice if you could have a main frame and have different pools added to it so that every pool doesnt list exchange rates(kinda pointless) and it all stacks neatly inside the single frame with only one listing of exchanges , grand total of all pools confirmed/unconfirmed with the exchange value total.


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: RazorZero on July 28, 2011, 06:48:25 PM
@Iyeman: I wasn't able to add the worker display for every pool because the ones that don't show them don't put that information in their API.  So it's imposable for me to add it :)  They may change their API in the future to include that information and then I'll probably add the workers in.

@Clipse: I have thought about adding a separate exchange skin and then removing the exchange displays from all the other skins, but I haven't really made up my mind yet.  Rainmeter skins are pretty easy to customize though and I've made an extra effort to make this one easier to customize as well.  For example, if you want to remove the the exchanges from a skin you self just open up the .ini file of the one your using and look for this section:
Code:
; * * * * * *
; * Exchange Data Mesures Section
; * * * * * *

@include3=inc\exchangeDataMesures.inc

@include4=inc\globalMeasures.inc
change to
Code:
; * * * * * *
; * Exchange Data Mesures Section
; * * * * * *

;@include3=inc\exchangeDataMesures.inc

;@include4=inc\globalMeasures.inc

[MeasureTotal]
Measure=Calc
Formula=MeasureConfirmed+MeasureUnconfirmed
The semicolon turns the include statements to comments so they don't load and then I had to copy the [MeasureTotal] measure from the globalMeasures.inc file and past it here since it's needed else where (it may not be depending on which pool your using though).  If you're using one of the single .ini files like Deepbit, then it's a bit messier but it's baiscly the same thing. Just open up one of the exchangeDataMesures.inc and globalMesures.inc files from another pool's skin and find that data in the single .ini file and just delete the stuff that's the same between the files.


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: Iyeman on July 28, 2011, 07:54:20 PM
@Iyeman: I wasn't able to add the worker display for every pool because the ones that don't show them don't put that information in their API.  So it's imposable for me to add it :)  They may change their API in the future to include that information and then I'll probably add the workers in.


I figured that was why but didn't want to put words in your mouth.


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: dub0matic on August 08, 2011, 10:16:36 PM
bitclocker skin isnt work right anymore doesnt seem to connect anymore


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: RazorZero on August 09, 2011, 03:30:55 AM
New Version

v1.3
- Added: Set of "short" skins that don't include the exchanges display
- Added: An "Exchanges Only" skin that can be customized a bit and shows, only the exchanges and a few stats on the current BTC difficulty.
- Fixed: A few display errors in a couple of skins
- Changed: Deleted all the extra readme.txt files except for the main one.


Here's a pic of the Exchanges only skin:
https://i.imgur.com/kqp9N.png

@dub0matic: I just tested it and it appears to be working on Bitclockers.  It might have just been some random connection error or maybe your API key was lost or something.  Try the new version and let me know if it still doesn't work.


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: dub0matic on August 09, 2011, 09:56:45 AM

@dub0matic: I just tested it and it appears to be working on Bitclockers.  It might have just been some random connection error or maybe your API key was lost or something.  Try the new version and let me know if it still doesn't work.

thank looks sweet. works now. the problem was i had it on 4 workers forgot i deleted one. dont now if that makes sense but w/e sending donation


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: RazorZero on August 16, 2011, 05:29:30 PM
Yeah, that's just an issue with Rainmeter.  I tried working around it when I started this skin, but I never figured it out.  Maybe the next time I release an update I'll add something in that will let you know something is wrong and give some hints on how to fix it.  Thanks for the donation btw :)  they are always nice.


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: newunit16 on August 19, 2011, 04:32:40 PM
Any possible way to make the text larger? It may be that I use LogMeIn to remote into my machine, but the text is difficult to see at 1440x900 without utilizing Window's built in magnify feature (which is kind of junk).


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: RazorZero on August 19, 2011, 05:00:45 PM
There's 3 variables you can change to do that.  Look in either the globalVariables.inc file in the inc folder or look in the [Variables] section in the skins .ini file if it doesn't have the globalVariables.inc file.  Look for the following 3 variables:

FontSizeTitle=8 (Size of the title, i.e. "Deepbit" or "BTC Guild")
FontSizeGeneral=7 (Size of all the stats and stuff)
FontSizeBars=6 (Size of the text on the worker bars)

Change those to your liking :)  Depending on how large you go it may cut off some text in places or hang outside the background image.  So you may also want/need to change it's size also, which can be found under [Background] in the main skin .ini file.  Just increase the H (height) and/or W (width) values to whatever suits your needs.  You may have to also change all the Y values for things as well to space out the individual stats (so they aren't all overlapping when the text gets larger).

Also, I'm not sure if you're running Rainmeter on your miner's machine or some other machine that you're remoting to for a specific reason, but if you didn't know you can run this on your main computer.  It doesn't actually have to run on your mining machine.  I run this skin on my main computer, but mine on a 2nd computer.  You may already be aware of that, but this is just a friendly heads up if you didn't know :)  You could actually run this skin on your main PC, your miner, a laptop and your computer at work all at the same time if you felt like it and they all would display the same information :)



Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: newunit16 on August 20, 2011, 02:38:51 AM
I run it on my miner just for convenience. I like to keep tabs on it while Im at work and home, also like to keep memory down on my main machine at home. Not that rainmeter is a memory hog, but why not, not have it there, ya know? lol

Anyway, this made my day:) Now I can get a good grasp of the entire BTC situation in .8 seconds.
http://dl.dropbox.com/u/27220257/miner.jpg


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: sokay on February 21, 2012, 06:48:42 PM
I can not get this skin to pull information using the newest rainmeter for x64.  None of them work for exchanges or pools.  No information is displayed, it is all zero'ed out or blank.


Title: Re: Rainmeter Bitcoin Mining Pool and Exchange Tracker (PXT)
Post by: dub0matic on February 27, 2012, 03:34:55 AM
I can not get this skin to pull information using the newest rainmeter for x64.  None of them work for exchanges or pools.  No information is displayed, it is all zero'ed out or blank.
yep it been like that for a bit now and dont expect an update this dude has been gone for a grip