Page 6 of 6 FirstFirst 123456
Results 51 to 60 of 60

Thread: PowerMon plugin - for laptop carpcs

  1. #51
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,610
    Have a look at bluezx3's plugins, he has one which will monitor label values and then react to certain user defined values.

  2. #52
    Low Bitrate docbreezy's Avatar
    Join Date
    Feb 2008
    Location
    Maryland
    Posts
    100
    Quote Originally Posted by Enforcer View Post
    Have a look at bluezx3's plugins, he has one which will monitor label values and then react to certain user defined values.
    Thanks for the reply, i used the RRWarningWatcher and i actually got it to work. Im exctatic. There is only one sticking point though. I am using the battery level label which does a few things i specify and then hibernates when battery drops below 90% which happens when external power is dropped and battery starts discharging . Works like a charm.

    Problem is, since the battery wont be charging while in hibernation, upon resume, battery level will still be below the 90%.

    I would rather use the powersource label but its given in text rather than numeric. so i cant/dont know how to use the '<' or '>' criteria.
    506 Skin
    506 Flash!
    NEVER BLEND IN!!!

  3. #53

  4. #54
    Low Bitrate docbreezy's Avatar
    Join Date
    Feb 2008
    Location
    Maryland
    Posts
    100
    I tried, with no luck. dont think the syntax allows "=", it seems to only respond when more or less than the set criteria which seem to need some numerical value.
    506 Skin
    506 Flash!
    NEVER BLEND IN!!!

  5. #55
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Kinda round about, but you could set up a global timer event to evaluate the power source label and set a value based on the string.

    Code:
    SETVARBYCODE;pstate;powermon_powersrc||EVAL;pstate;strcomp("$pstate$";"Battery")||BYVAR;pstate;SETLABEL;CUSTOMpwrsrc;1<<SETLABEL;CUSTOMpwrsrc;3"
    
    
    
    
    .
    Then set RRWW to monitor "CUSTOMpwrsrc"

    I think you can also use the BYSTR command to do the same thing, but I don't know if it can read labels directly. I know it can eval variables with string properties, tho.
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  6. #56
    Low Bitrate docbreezy's Avatar
    Join Date
    Feb 2008
    Location
    Maryland
    Posts
    100
    Well that didnt work out. It did work somewhat, but the RRWW Alarm event kept firing no matter how i cofigured it. However i did, find a winning combination from that code.

    Code:
    "TIMER","SETVARBYCODE;pstate;powermon_powersrc||EVAL;pstate;strcomp("$pstate$";"Battery")||BYVAR;pstate;DONOTHING<<CUSTHib"
    "CUSTHib","DIGITALOUT11TOGGLE||wAIT;1||FBDISCONNECT||wAIT;1||HIBERNATE"
    Works like a gem and now i have no need for those external hibernation apps and i didn't even have to utilize RRWW.
    506 Skin
    506 Flash!
    NEVER BLEND IN!!!

  7. #57
    The Last Good Gremlin GizmoQ's Avatar
    Join Date
    Nov 2004
    Location
    St Louis
    Posts
    2,347
    Hey Sal, I just posted some code in the RREXTENDED Thread about triggering an RRCode command when powermon_powersrc label changes. Can this plugin be setup to do it for me, i.e., through a settings.ini or a switch. My method works, but it requires a RRCode timer fired every 15 seconds. And I'd like to get away from additional plugins and timers.
    HARDWARE: Fujitsu Stylistic ST5111w/WiFi and dock, internal Hitachi 500G HD, external 1TB HD, Sierra Wireless Aircard 550, DVD-RW, BoomzBox HD radio, XM Commander, Delorme GPS, Saitek X-52 Pro joystick, BluSoleil Bluetooth, TPMS, FB, Elm327

  8. #58
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    I can probably add an indicator if the power source was a battery or external and you can then use the RRE's IndPoller.

    I've never had much luck executing commands from a label change.

    Looking at the code your provided in the RRE thread, it looks like it might work...
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  9. #59
    The Last Good Gremlin GizmoQ's Avatar
    Join Date
    Nov 2004
    Location
    St Louis
    Posts
    2,347
    Quote Originally Posted by Sal R. View Post
    I can probably add an indicator if the power source was a battery or external and you can then use the RRE's IndPoller.

    I've never had much luck executing commands from a label change.

    Looking at the code your provided in the RRE thread, it looks like it might work...
    Nah, my label change checker does work! Right now its the only thing using RRE. Was looking to reduce # of plugins.
    HARDWARE: Fujitsu Stylistic ST5111w/WiFi and dock, internal Hitachi 500G HD, external 1TB HD, Sierra Wireless Aircard 550, DVD-RW, BoomzBox HD radio, XM Commander, Delorme GPS, Saitek X-52 Pro joystick, BluSoleil Bluetooth, TPMS, FB, Elm327

  10. #60
    Newbie
    Join Date
    Nov 2009
    Posts
    1
    I am sorry, I read this thread but I dont think I am up to heavy coding.
    I am using the digitalFX 4.o skin.

    I tried using the examples people gave but with my 1024x600 res it is all screwed up placement wise. I would really like it small somewhere in the corner possibly next to the cpu%.

    any ideas?

Page 6 of 6 FirstFirst 123456

Similar Threads

  1. Garo's Extra POI Plugin 1.0 beta 1
    By garo in forum Map Monkey
    Replies: 63
    Last Post: 01-18-2007, 12:32 PM
  2. XMLTraffic Plugin
    By 307SW_NLD in forum RR Plugins
    Replies: 20
    Last Post: 09-14-2006, 05:20 PM
  3. Hello World plugin
    By paulpv in forum CF Plugins
    Replies: 5
    Last Post: 06-08-2006, 10:07 PM
  4. How do I use the Base plugin sources ?
    By guino in forum RR FAQ
    Replies: 1
    Last Post: 04-24-2006, 03:43 PM
  5. Winamp LCD display plugin / IRMan plugin - together?
    By Jarrod in forum Software & Software Development
    Replies: 9
    Last Post: 06-03-2002, 05:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •