Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there a way to restart or reload a driver with a button cmd?
#1
Is there a way to restart a driver with a cmd button on an interface? I am having issues with a driver that requires me to restart it periodically. I would like to either restart the driver periodically or be able to restart it via a button on my interface if necessary. Can this be done?

Joe
Reply
#2
Not unless the driver supports it. What driver is it and what is the problem you are having? In general, if there's a problem, the driver should be able to know this and do what is necessary to remain connected.
Dean Roddey
Explorans limites defectum
Reply
#3
It's with the v2 of the Jandy driver here:

http://www.charmedquark.com/vb_forum/sho...hp?t=10476

The driver interviews the Jandy controller on startup instead of using an interview during setup to set what devices are present. Unfortunately, some items such as the salt chlorinator aren't actually on unless the filter pump is running so the driver doesn't discover them unless the driver loads while the filter pump is on (which rarely happens).

To make it worse, my driver has been experiencing disconnects recently due a wireless-to-serial issue that I am working to resolve, but after getting disconnected, I have to start the pump and then manually restart the driver every time for it to "see" the chlorinator so I can control it.

An obvious solution would be to have the driver use a manifest/interview to set options at startup and while that was discussed, it hasn't happened. I am not one to hassle (especially someone working for free), so I was hoping there might be a workaround.

Joe
Reply
#4
If it has the code to figure out the stuff present, then one fairly straightforward thing would be to just provide a Boolean field you can write to that just causes it to re-run that discover/field creation functionality.
Dean Roddey
Explorans limites defectum
Reply
#5
Thanks. I will see if I can modify the driver myself to do so.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Driver for Amazon 4k Stick Darrie 3 506 01-15-2022, 02:21 PM
Last Post: znelbok
  CQSL Interface Driver connects but no control NightLight 3 565 10-26-2021, 01:12 PM
Last Post: NightLight
  ClickPLC driver now failing after upgrade znelbok 2 992 09-21-2020, 10:48 PM
Last Post: znelbok
  Pentair driver tom 5 1,983 08-02-2020, 11:29 PM
Last Post: kblagron
  Marantz receiver driver (IP) dlmorgan999 6 2,077 05-15-2020, 03:32 PM
Last Post: dlmorgan999
  NetworkMonitor - Cannot Reload Config gReatAutomation 26 6,500 05-15-2020, 03:02 PM
Last Post: Dean Roddey
  How to have a button go through three options? Such as changing floors? ghurty 6 1,521 04-28-2020, 04:21 PM
Last Post: Dean Roddey
  Variables Driver Client gReatAutomation 4 1,667 04-25-2020, 12:46 PM
Last Post: gReatAutomation
  Reconfig of Driver Causes Built In Triggers to Fire gReatAutomation 2 1,234 03-25-2020, 04:09 PM
Last Post: gReatAutomation
  Lutron RadioRA2 Driver and Lutron Visor Control gReatAutomation 29 11,253 03-19-2020, 01:03 PM
Last Post: gReatAutomation

Forum Jump:


Users browsing this thread: 1 Guest(s)