bronan
|
|
August 24, 2014, 06:25:29 PM |
|
Send you the gift Nice work on the fix
|
|
|
|
DimensionsOfHell
|
|
August 24, 2014, 06:31:41 PM |
|
Deleting all the S3 and testing with two, the S3 with the old FW now no longer works, but the one with the new fw does work. So I guess I'll just upgrade all of them now. Thanks I'll send some tip your way for all your hard work on this project, M
|
|
|
|
daddyfatsax
|
|
August 24, 2014, 06:46:59 PM |
|
All my old S3's are still showing up in my monitor. Do I just need to delete the registry files and start over, or is there another way to delete them?
You can select them individually from the config and remove them. Or delete/rename hkey_current_user\software\mantmonitor\ants Another short cut for those who were using them as S1s, you can just rename the S1 entries to S3 in that subkey. If you don't feel comfortable editing the registry, you should delete them through the interface. M Restarting the monitor fixed it. It kicked all the S1's out and just the S3's show up now.
|
|
|
|
MoreBloodWine
Legendary
Offline
Activity: 1064
Merit: 1001
|
|
August 24, 2014, 06:53:32 PM |
|
It is working on the new FW. Just uploaded the new FW to all 11 of my S3's. Thanks mdude!! Love this software. Saves me a lot of a headache!!!
The only thing not working is the web scraping. but M wanted to understandably work on the API first since it's what most people use. Except in cases like me with people who have machines outside of the home network that need monitoring. I think you missed a message? https://bitcointalk.org/index.php?topic=596178.msg8513191#msg8513191Web scraping works for me. But I'm not able to simulate your environment, so I'm not 100% certain it'll work with your config. Just waiting for you to try it and tell me. M Looks like it works, is there a way to omit the full URL and just show the IP ? So right now the Name might look like this... 1.2.3.4:5678/cgi-bin/luci/;stok=etc. etc. etc. I think all we rally need shown is just 1.2.3.4:5678. Also, I noticed when web scraping these fields are blank... Diff, Rej%, Stale% Here's some other things I noticed. The freq values are rounding up and not showing true values... like 237.25 shows as 238 and 243.75 shows as 244. I know this might not be a big deal to a lot of people but I'd like it if it shows true and not rounded values. There's a few other curiosities I will touch on later, don't want to overload one reply lol This also keeps coming up from time to time... Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately. Conversion from type 'DBNull" to type 'String' is not valid. Here's details... See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text ************** System.InvalidCastException: Conversion from type 'DBNull' to type 'String' is not valid. at Microsoft.VisualBasic.CompilerServices.Conversions.ToString(Object Value) at MAntMonitor.frmMain.dataAnts_CellToolTipTextNeeded(Object sender, DataGridViewCellToolTipTextNeededEventArgs e) at System.Windows.Forms.DataGridView.OnCellToolTipTextNeeded(DataGridViewCellToolTipTextNeededEventArgs e) at System.Windows.Forms.DataGridView.OnCellToolTipTextNeeded(Int32 columnIndex, Int32 rowIndex, String toolTipText) at System.Windows.Forms.DataGridViewCell.GetToolTipText(Int32 rowIndex) at System.Windows.Forms.DataGridViewCell.OnCellDataAreaMouseEnterInternal(Int32 rowIndex) at System.Windows.Forms.DataGridViewCell.OnMouseMoveInternal(DataGridViewCellMouseEventArgs e) at System.Windows.Forms.DataGridView.OnCellMouseMove(DataGridViewCellMouseEventArgs e) at System.Windows.Forms.DataGridView.UpdateMouseEnteredCell(HitTestInfo hti, MouseEventArgs e) at System.Windows.Forms.DataGridView.OnMouseMove(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseMove(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.DataGridView.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- MAntMonitor Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Documents%20and%20Settings/Owner/My%20Documents/Ant%20Monitor/MAntMonitor.exe ---------------------------------------- Microsoft.VisualBasic Assembly Version: 10.0.0.0 Win32 Version: 10.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll ---------------------------------------- Newtonsoft.Json Assembly Version: 6.0.0.0 Win32 Version: 6.0.4.17603 CodeBase: file:///C:/Documents%20and%20Settings/Owner/My%20Documents/Ant%20Monitor/Newtonsoft.Json.DLL ---------------------------------------- Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- Microsoft.mshtml Assembly Version: 7.0.3300.0 Win32 Version: 7.0.3300.0 CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll ----------------------------------------
************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
For example:
<configuration> <system.windows.forms jitDebugging="true" /> </configuration>
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
|
To be decided...
|
|
|
mdude77 (OP)
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
August 24, 2014, 07:13:59 PM |
|
Thanks everyone for the tips!
M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
mdude77 (OP)
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
August 24, 2014, 07:22:20 PM |
|
Looks like it works, is there a way to omit the full URL and just show the IP ?
So right now the Name might look like this...
1.2.3.4:5678/cgi-bin/luci/;stok=etc. etc. etc.
I think all we rally need shown is just 1.2.3.4:5678.
That's all it's supposed to show. Not sure why it's showing more. Will have to look at that. Also, I noticed when web scraping these fields are blank...
Diff, Rej%, Stale%
That's actually intentional. I don't do any calculations for those when using the API, I just display what's from the API. I'll have to look at the numbers on the web UI and see if I can derive the values that the API shows. The difficulty could be a tricky one. I think the best I can do is show the values from all the pools. Here's some other things I noticed.
The freq values are rounding up and not showing true values... like 237.25 shows as 238 and 243.75 shows as 244. I know this might not be a big deal to a lot of people but I'd like it if it shows true and not rounded values.
That's easily fixed. There's a few other curiosities I will touch on later, don't want to overload one reply lol
This also keeps coming up from time to time...
Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
Conversion from type 'DBNull" to type 'String' is not valid.
Here's details...
I have an idea what's causing that. Thanks for the feedback! M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
MoreBloodWine
Legendary
Offline
Activity: 1064
Merit: 1001
|
|
August 24, 2014, 07:33:42 PM |
|
Sounds good M, here's one other thing I think might help. At least with me lol.
I noticed the log reads old to new and you need to scroll down to see new items, might you consider flipping it so the new log items are always at he top so to see older items one would need to scroll down ?
Oh, and about the name thing... it shows fine in config. It's just on the "main" page where the stats are seen does the name show with all the other stuff.
Also, I closed the program out and only one of the four miners showed up when I restarted it.
|
To be decided...
|
|
|
mdude77 (OP)
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
August 24, 2014, 07:47:09 PM |
|
Sounds good M, here's one other thing I think might help. At least with me lol.
I noticed the log reads old to new and you need to scroll down to see new items, might you consider flipping it so the new log items are always at he top so to see older items one would need to scroll down ?
Oh, and about the name thing... it shows fine in config. It's just on the "main" page where the stats are seen does the name show with all the other stuff.
Also, I closed the program out and only one of the four miners showed up when I restarted it.
Re reject and stale %, I assume it's just reject / (accepted + rejected) and stale / (accepted + stale)? The numbers pretty close to what I get from the API. The log bugs me too. I tried a few things already to solve that, and nothing has completely worked yet. As for the 1 of 4 ... I know why. Oversight on my part. They aren't saving correctly, they all get plopped into one entry. So for now, don't shut it down! The other things, aside from the name thing, I already have fixed in dev. M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
MoreBloodWine
Legendary
Offline
Activity: 1064
Merit: 1001
|
|
August 24, 2014, 07:55:18 PM |
|
Re reject and stale %, I assume it's just reject / (accepted + rejected) and stale / (accepted + stale)? The numbers pretty close to what I get from the API.The log bugs me too. I tried a few things already to solve that, and nothing has completely worked yet.As for the 1 of 4 ... I know why. Oversight on my part. They aren't saving correctly, they all get plopped into one entry. So for now, don't shut it down! The other things, aside from the name thing, I already have fixed in dev. M Wish I could help but I don't know the math used for those values.Maybe someone else here can help ?I was doing the whole shutdown thing to test... when I started messing with it I still had old reg values showing up and had to delete the whole Ant folder from regedit. Wont mess with anything else til a new versions out.As for everything else, sounds good ;-)
|
To be decided...
|
|
|
elpres
Newbie
Offline
Activity: 57
Merit: 0
|
|
August 25, 2014, 02:52:14 PM |
|
I am just curious, is there any one that may desire a Java version of this? I've been tossing up the idea for a while and thought it would provide multi-platform support. I wouldn't be able to get onto it for a while but if there is call for it I may be motivated to do it.
|
|
|
|
kgb2mining
Member
Offline
Activity: 112
Merit: 10
|
|
August 26, 2014, 07:39:24 PM |
|
Ok, so is there any reason why the SSH API would stop working, but the web scrape still works?
All my S3's now show up as ERROR in the panel when using the API call, but when un-checked, it pulls info just fine. Any ideas on how to troubleshoot that?
|
|
|
|
mdude77 (OP)
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
August 26, 2014, 07:44:32 PM |
|
Ok, so is there any reason why the SSH API would stop working, but the web scrape still works?
All my S3's now show up as ERROR in the panel when using the API call, but when un-checked, it pulls info just fine. Any ideas on how to troubleshoot that?
Are all your S3s using the latest firmware? I thought someone said it doesn't work with the older firmware. M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
kgb2mining
Member
Offline
Activity: 112
Merit: 10
|
|
August 26, 2014, 08:04:39 PM |
|
Ok, so is there any reason why the SSH API would stop working, but the web scrape still works?
All my S3's now show up as ERROR in the panel when using the API call, but when un-checked, it pulls info just fine. Any ideas on how to troubleshoot that?
Are all your S3s using the latest firmware? I thought someone said it doesn't work with the older firmware. M Yep, I did the firmware upgrade yesterday, but I did upload a copy of cgminer (the /etc/init.d one) today to change the queue length. I wonder if any changes were made to the default cgminer with the firmware upgrade that I may have just blown away. Any one got a stock /etc/init.d/cgminer file from the latest firmware I can try?
|
|
|
|
mdude77 (OP)
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
August 26, 2014, 09:05:13 PM |
|
Ok, so is there any reason why the SSH API would stop working, but the web scrape still works?
All my S3's now show up as ERROR in the panel when using the API call, but when un-checked, it pulls info just fine. Any ideas on how to troubleshoot that?
Are all your S3s using the latest firmware? I thought someone said it doesn't work with the older firmware. M Yep, I did the firmware upgrade yesterday, but I did upload a copy of cgminer (the /etc/init.d one) today to change the queue length. I wonder if any changes were made to the default cgminer with the firmware upgrade that I may have just blown away. Any one got a stock /etc/init.d/cgminer file from the latest firmware I can try? You should be able to re-apply the firmware. M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
kgb2mining
Member
Offline
Activity: 112
Merit: 10
|
|
August 26, 2014, 09:58:15 PM |
|
You should be able to re-apply the firmware.
M
Yep that seems to have done the trick, thanks. Now to find out what is different between that and my custom copy and fix it.
|
|
|
|
mdude77 (OP)
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
August 26, 2014, 10:12:20 PM |
|
You should be able to re-apply the firmware.
M
Yep that seems to have done the trick, thanks. Now to find out what is different between that and my custom copy and fix it. Maybe you blocked API access altogether? M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
paradigmflux
|
|
August 27, 2014, 12:44:13 AM |
|
Does anyone know if there's an easier way to upgrade 30-40 S3's? and has nobody offered to send this M guy a S3 yet? I mean heck, I bet he'd even be willing to pay back the BTC cost of the device once it mines the 0.5 btc or whatever, then he could keep the miner running after that and technically it wouldn't even have cost a cent to hook him up
|
|
|
|
mdude77 (OP)
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
August 27, 2014, 01:08:13 AM |
|
Does anyone know if there's an easier way to upgrade 30-40 S3's? and has nobody offered to send this M guy a S3 yet? I mean heck, I bet he'd even be willing to pay back the BTC cost of the device once it mines the 0.5 btc or whatever, then he could keep the miner running after that and technically it wouldn't even have cost a cent to hook him up
I've got an S3, support is in the latest version, but rumor has it only works if you're using the latest firmware. Not sure about upgrading them.. aside from one at a time. M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
mdude77 (OP)
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
August 27, 2014, 01:57:17 AM |
|
Here's version 3.1. Mostly fixes on the web scraping side, but there are some tweaks for API users. v3.1 - Changed the frequency display to show the decimal value instead of rounding. - Changed the S3 JSON fix to also work if it happens to be marked as an S1. - Hopefully fixed the problem with an error being thrown on the display grid if you're not using the API. - Added difficulty (from all 3 pools), reject%, and stale% to the Web scraping routine. - Changed the Stale % for the API to be calculated, as the value from the API seems to always be zero. - Changed the log for Web "ant responded" to show the short Ant name instead of the full URL. - Hopefully changed the log to properly autoscroll to the end of the log so you don't have to. - Fixed a potential problem that could cause alerts not to trigger when using the Web scraping routines. Download link: MAntMonitor31.zipM
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
kgb2mining
Member
Offline
Activity: 112
Merit: 10
|
|
August 27, 2014, 02:25:42 AM |
|
You should be able to re-apply the firmware.
M
Yep that seems to have done the trick, thanks. Now to find out what is different between that and my custom copy and fix it. Maybe you blocked API access altogether? M Possible. Did a diff on the two files and I'm really not seeing any major difference that I could attribute to blowing it up. But, I'm deploying out the "stock" one with just the queue change now, and they seem to be coming back to life in the monitor. Thanks for the help!
|
|
|
|
|