Announcement

Collapse
No announcement yet.

PluginAccess to Restart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    PluginAccess to Restart

    Hi

    Can i use the PluginAccess. e.g. in C#:

    var restart = new PluginAccess(ref hs,"Restart", string.Empty);

    and then trigger HS restart, HS shutdown etc via another plugin?

    Hence using your API to complete the actions?

    #2
    Yep, you can.

    Use the following public functions.

    restartHomeSeer()

    shutdownHomeSeer()

    rebootServer()

    shutdownServer()


    --
    Jeff Farmer
    HS 3, HSPhone
    My HS3 Plugins: CFHSExtras, Random, Restart, Tracker, WeatherXML, PanaBluRay
    Other Plugins In Use: APCUPSD, BLOnkyo, Device History, EasyTrigger, HSTouch Server, PHLocation2, Pushover, RFXCom, UltraGCIR3, UltraMon3, UltraPioneerAVR3, X10, Z-Wave

    Hardware: GoControl Irrigation Controler, Schlage Lever Lock, Schlage Deadbolt, Way2Call Hi-Phone, RFXCom RFXrec433 Receiver, WGL 800, TI-103, Z-Net, Pioneer 1120, Pioneer 1021, Pioneer LX302, Panasonic BDT-110, Panasonic BDT-210 x2

    Comment

    Working...
    X