Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question on CQC Driver Pack Install
#1
I had originally built a driver, which I then updated to a new version, along with updated manifest showing the new version number.  When I build the new driver pack, and then installed, the AI still shows the original version number, even with a CQC App Shell recycle or Server reboot.  If you go to "Add New Driver", the only option is the new version.  

I can reconfig the driver and it will change the version number, and from what I can tell, that is the only way to update the information.  

The new driver pack overwrites the original version's manifest and command file , and the new version's enhancements are included, but the info shows it to be a previous version (unless you reconfig).   Bug possibly?
Reply
#2
That's to be expected, though it is a bit inconsistent. The manifest info (and the user input it generated) is stored as the driver configuration. It doesn't get reset just because you install a newer version. But the CML has to be seen since it's replaced what was there before. So it sees the code but not the manifest (if you pause/resume or restart both of which cause the driver to load the code again.) It's only when you do a reconfigure that the new manifest and old stored away info are merged and you are allowed to provide info for any new prompts and such (and possibly new fixed prompts behind the scenes.)

During upgrade that same process is done, since it kind of has to be, but any new prompts are just defaulted until such time as you reconfigure since that's the only way to enter that info.

So it's a bit messy, but that's the way it currently works. Normally, the only time drivers get upgraded is during a system upgrade. Any time I give someone a driver pack I tell them to install and reconfigure, which gets everything caught up. Most of the time the driver is running and would have to be reconfigured also just to see the new CML. But if you restart the driver or system, without a reconfig then the CML is seen but not the new manifest info.
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  TTS Driver Error kblagron 7 723 03-03-2023, 01:05 AM
Last Post: kblagron
  Driver for Amazon 4k Stick Darrie 3 889 01-15-2022, 02:21 PM
Last Post: znelbok
  New Install Errors znelbok 3 907 11-29-2021, 02:42 AM
Last Post: znelbok
  CQSL Interface Driver connects but no control NightLight 3 938 10-26-2021, 01:12 PM
Last Post: NightLight
  SSL Certificate Question gReatAutomation 1 1,126 10-26-2020, 07:48 AM
Last Post: gReatAutomation
  ClickPLC driver now failing after upgrade znelbok 2 1,263 09-21-2020, 10:48 PM
Last Post: znelbok
  Pentair driver tom 5 2,429 08-02-2020, 11:29 PM
Last Post: kblagron
  Marantz receiver driver (IP) dlmorgan999 6 2,469 05-15-2020, 03:32 PM
Last Post: dlmorgan999
  V2 Question - OpenWeatherMap Using their New JSON Data Feed kblagron 7 2,543 05-07-2020, 01:40 PM
Last Post: Dean Roddey
  Variables Driver Client gReatAutomation 4 2,028 04-25-2020, 12:46 PM
Last Post: gReatAutomation

Forum Jump:


Users browsing this thread: 1 Guest(s)