Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Z-Wave driver preview
The thing is, it seems to be reacting to all of the units. But the first time you run the client interface after loading the driver the client interface won't know about all of the units. It can't know that until you do the first replication. So it seems like it would have to be at least after you have done a replication.

BTW, I was doing some thinking last night, when I should have been sleeping. When the driver hands off an outgoing msg to the Z-Stick, there are two scenarios. It can just wait for the Z-Stick to acknowledge that it has queued the msg, or it can wait for the Z-Stick to announce that it has actually transmitted the msg.

My strategy, for maximum speed and overlap has been to do the former for queries and the latter for outgoing commands. For queries, we don't wait around for the result. We send it, and at some point it either sends the response or it doesn't and we time out and try again (if that's appropriate.) So there's no real need to wait around for it to be transmitted. As long as we know it's queued to be sent its fine.

But, I got to wondering that maybe I'm overrunning the Z-Sticks buffer on your systems because you have more units than me, and likely its straining a bit more to get then transmitted so there may be more re-tries which allows more time for other queries to be queued up.

So I think, as a sanity check, I should try sending all msgs in the wait for actual transmission style. That way we know we aren't going to overcook the Z-Stick. It'll be a bit slower, but safer. If it makes absolutely no difference, I can go back again easily enough. If it makes it a lot better, I'll keep that and just get rid of the option so that that decision doesn't even have to be made by the code.
Dean Roddey
Software Geek Extraordinaire

Possibly Related Threads...
Thread Author Replies Views Last Post
  Possible to copy all the name in a driver so can paste is elsewhere? ghurty 11 154 07-14-2018, 05:24 PM
Last Post: Dean Roddey
  RCS V2 Driver kblagron 2 133 06-10-2018, 04:35 PM
Last Post: Dean Roddey
  Sonos Driver with Sonos Connect Amp zra 5 334 05-05-2018, 09:43 AM
Last Post: Dean Roddey
  Radio RA driver issue dogman 7 461 04-22-2018, 08:33 AM
Last Post: Dean Roddey
  Preview of new Web based RIVA client Dean Roddey 464 75,167 04-07-2018, 12:13 PM
Last Post: Dean Roddey
  Elk Driver fails Ron Haley 11 775 03-08-2018, 07:28 PM
Last Post: Ron Haley
  Nest driver disconnecting and reconnecting dogman 59 6,009 03-08-2018, 05:23 PM
Last Post: dogman
  Aeotec USB stick, existing zWave (v3) driver? IVB 3 348 03-05-2018, 08:57 PM
Last Post: znelbok
  Problem with Jetstream Driver RichardU 16 1,189 02-27-2018, 03:05 PM
Last Post: batwater
  Problem with fooBarV2 driver pjgregory 2 406 02-21-2018, 01:01 PM
Last Post: Dean Roddey

Forum Jump:

Users browsing this thread: 1 Guest(s)