Announcement

Collapse
No announcement yet.

Is this program running?

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

    Is this program running?

    Probably not.... OK, my most frequent complaint is that I find Sighthound not running. I have no idea why.... BUT....

    if I had a way of checking to see it was (or still was) running and execute it if it wasn't, that would be a great help.

    Any thought on how this might be accomplished within HS3...?
    HomeSeer Version: HS4 Pro Edition 4.2.19.0 (Windows - Running as a Service)
    Home Assistant 2024.3
    Operating System: Microsoft Windows 11 Pro - Desktop
    Z-Wave Devices via two Z-Net G3s
    Zigbee Devices via RaspBee on RPi 3b+
    WiFi Devices via Internal Router.

    Enabled Plug-Ins
    AK GoogleCalendar 4.0.4.16,AK HomeAssistant 4.0.1.23,AK SmartDevice 4.0.5.1,AK Weather 4.0.5.181,AmbientWeather 3.0.1.9,Big6 3.44.0.0,BLBackup 2.0.64.0,BLGData 3.0.55.0,BLLock 3.0.39.0,BLUPS 2.0.26.0,Device History 4.5.1.1,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,HSBuddy 4.51.303.0,JowiHue 4.1.4.0,LG ThinQ 4.0.26.0,ONVIF Events 1.0.0.5,SDJ-Health 3.1.1.9,TPLinkSmartHome4 2022.12.30.0,UltraCID3 3.0.6681.34300,Z-Wave 4.1.3.0

    #2
    There is a scripting call which is hs.IsApplicationRunning, it has never been documented (sure it was not in HS2) and you pass the application name in and it should return true/false if it is running or not. So in your position you could have a recurring event to check and then launch it with hs.Launch if you find it not running.

    Comment


      #3
      Originally posted by mrhappy View Post
      There is a scripting call which is hs.IsApplicationRunning, it has never been documented (sure it was not in HS2) and you pass the application name in and it should return true/false if it is running or not. So in your position you could have a recurring event to check and then launch it with hs.Launch if you find it not running.
      Thanks!

      I'll look at this and give it a try. However, AND THIS IS HUGE, the REQUIREMENT to use a mostly undocumented arcane method to achieve results is holding this whole technology back on an epic scale.

      I know I'm talking to the hand but, geesh....
      HomeSeer Version: HS4 Pro Edition 4.2.19.0 (Windows - Running as a Service)
      Home Assistant 2024.3
      Operating System: Microsoft Windows 11 Pro - Desktop
      Z-Wave Devices via two Z-Net G3s
      Zigbee Devices via RaspBee on RPi 3b+
      WiFi Devices via Internal Router.

      Enabled Plug-Ins
      AK GoogleCalendar 4.0.4.16,AK HomeAssistant 4.0.1.23,AK SmartDevice 4.0.5.1,AK Weather 4.0.5.181,AmbientWeather 3.0.1.9,Big6 3.44.0.0,BLBackup 2.0.64.0,BLGData 3.0.55.0,BLLock 3.0.39.0,BLUPS 2.0.26.0,Device History 4.5.1.1,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,HSBuddy 4.51.303.0,JowiHue 4.1.4.0,LG ThinQ 4.0.26.0,ONVIF Events 1.0.0.5,SDJ-Health 3.1.1.9,TPLinkSmartHome4 2022.12.30.0,UltraCID3 3.0.6681.34300,Z-Wave 4.1.3.0

      Comment


        #4
        I think I would probably be trying to solve why the application is not staying online and perhaps run some sort of application monitor to establish if any sort of memory leaks or something that is causing it to end and perhaps get it fixed rather than try and monitor it.

        Comment

        Working...
        X