| |||||||
| Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here. |
![]() |
| | LinkBack (1) | Thread Tools | Display Modes |
| | #12 (permalink) | |
| Portal Member Join Date: Mar 2008
Posts: 15
Thanks: 0
Thanked 5 Times in 1 Post
| Quote:
The last thing I've added was your threshold alarm dialog idea, which seems to break the whole system. GUIWindowManager.ActivateWindow(GetID); seems to misallocate the resources needed for FANatic Monitors window - visiting the window manually still works. Been debugging this the whole night, though my C# skill doesn't seem to be hight enough yet, to fix this problem. It's not that it's an easy one, because the error resulting after clicking "OK" seems to be random. Want to have a look? Possible error 1 Possible error 2 Source (a bit messed up, because of the testing) Sample config Skin file | |
| | |
| | #13 (permalink) |
| Portal Developer Join Date: Oct 2006 Age: 32
Posts: 1,210
Thanks: 20
Thanked 172 Times in 90 Posts
Country: | Hmm, at first i don't understand this line Code: public bool showDialogOnThreshold(ArrayList hits)
{
if (GUIWindowManager.ActiveWindow != GetID)
I would assume that the dialog shows up even if i am already in the plugin screen because i may have forgotten about the exact threshold values. Regarding the actual bug, i am not quite sure but it's this is not a good idea: Code: protected override void OnPageDestroy(int newWindowId)
{
if (timer != null && timer.Enabled)
{
timer.Stop();
}
Info("PAGEDESTROY");
if (wantsAlarm)
startAlarmTimer();
}
This might cause issues too.
__________________ ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600 |
| | |
| | #14 (permalink) |
| Portal Member Join Date: Mar 2008
Posts: 15
Thanks: 0
Thanked 5 Times in 1 Post
| 1st code: Yes, the dialog is only shown when you're NOT in FANatic's window, that's the alert feature, Inker suggested. You don't need an annoying alert dialog if you're just seeing the sensors overview, and the alarm-red threshold reached sensors. 2nd code: Yeah, that's true, the alarm dialog should exclusively be shown if requested by configuration and if not in FANatic's window. Am I using the wrong event here? Is there something like OnWindowDeactivate? [Edit] Hmm, a workaround would be to let the timer run all the time but explicitly check the current window ID. [Edit2] Another exception has been added to the random exception list: Code: 2008-04-01 19:15:24.750000 [Info.][11]: Exception :Fehler in der Anwendung. -2005530516 (D3DERR_INVALIDCALL) bei Microsoft.DirectX.Direct3D.Device.BeginScene() bei MediaPortalApp.Render(Single timePassed) 2008-04-01 19:15:24.750000 [Info.][11]: Exception :Fehler in der Anwendung. 2008-04-01 19:15:24.750000 [Info.][11]: site :Void BeginScene() 2008-04-01 19:15:24.750000 [Info.][11]: source :Microsoft.DirectX.Direct3D 2008-04-01 19:15:24.750000 [Info.][11]: stacktrace: bei Microsoft.DirectX.Direct3D.Device.BeginScene() bei MediaPortalApp.Render(Single timePassed) Okay, I've done what you suggested, and added some further debugging to the source. I've set the initial timeout of the alarmTimer to 10 seconds, because it seems to hardcrash only, if the timer hits while MediaPortal Window0 (GUIHome) isn't active (being loaded). Now the skin doesn't fail with a black screen anymore, but with destroyed controls, reproducably. Only after the modal window - manually visiting FANatic's window works, but only after clean start of MP. ![]() Anyway, here's the updated source and the debug build, if you want to try it. Last edited by panni; 2008-04-01 at 18:57. |
| | |
| | #15 (permalink) |
| MP Donator ![]() Join Date: Jun 2007 Location: Berg, Switzerland Age: 35
Posts: 640
Thanks: 4
Thanked 40 Times in 10 Posts
Country: | Hi i have tryed this plugin with the latest speedfan beta version (4.34 beta 51) and i noticed that in the logfiles are only lines like this writen: Code: SFLog20080413-0001.csv -------------------------------------------------------------- Seconds 1155 1157 1160 1164 1167 1170 1173 1176 1179 1182 1185 1188 1191 1194 1197 What do i am wrong? thanks for any help MoPhat Sorry, its me again... i had checked the wrong checkbox for logging I hadt not checked on every temp and fan that should be logged... MoPhat Last edited by MoPhat; 2008-04-12 at 23:36. Reason: Automerged Doublepost |
| | |
| | #16 (permalink) |
| Portal Member Join Date: Jan 2008
Posts: 89
Thanks: 5
Thanked 2 Times in 2 Posts
Country: | How about giving an option to rename in the home menu? E.g. I would like to have "System Monitor" instead "FANantic Monitor". I just like to keep things simple. Very nice plugin by the way. |
| | |
| | #18 (permalink) |
| Portal Member Join Date: Oct 2006 Age: 39
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | I can't wait to install the plugin. I've been wanting to monitor my temps. Tried to install MBM, but my mobo is not supported (to new). Like all of you, I want to make my HTPC as silent as possible. Because of that, some parts are fanless and most fans have reduce voltage. In such an environment, monitoring temps is critical. Having a plugin tan can repport realtime temps is nice and important. I'm using LCD Smartie to display info on the lcd panel of my Ahanix case. It would have been nice to display Temps on the case lcd but again MBM most be install / enable (my Asus P5DL2 is not supported). As soon as I get a chance to install it I'll report back. «Regards. |
| | |
| | #19 (permalink) |
| Portal Member Join Date: Feb 2008
Posts: 46
Thanks: 4
Thanked 4 Times in 4 Posts
| I agree, I have an Antec Fusion. During a movie it shows the movie time which is ok, but it would be great to have this toggle between movie time and case temps. Anyone think this is possible? |
| | |
![]() |
| Bookmarks |
| Tags |
| fanatic, monitor |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://forum.team-mediaportal.com/plugins-47/fanatic-monitor-37406/ | ||||
| Posted By | For | Type | Date | |
| MediaPortal - Mediacenter - - FANatic Monitor | This thread | Refback | 2008-07-24 19:57 | |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Second Monitor | AdamNZ | Newcomers Forum | 7 | 2008-01-08 07:00 |
| On the Second monitor in a Dual Monitor setup | j3bu | Support | 10 | 2007-09-04 23:46 |
| Second Monitor Issues | gregsmith | General Support | 13 | 2006-07-12 16:58 |
| TV out on second monitor? | Greg_SA | General Support | 2 | 2006-04-07 18:45 |
| Second monitor .... again | pigster | Improvement Suggestions | 0 | 2006-02-15 19:51 |