Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Official 5.3 Beta Discussion Thread
(04-26-2018, 04:13 AM)kfly Wrote: Some of the lights that were working lats night are not this morning.
in the Driver screen when I set to "True" I get this pop up:

"The value couldn't be written to the field. See the logs for more info..."

From the log: (Driver Verbosity is on High)
04/26 08:02:17-CQC-PC, CQCServer, CQCDrv_Z-StickThread23
{
    CQCKit, CQCDriver_DriverBase.cpp.8540, Failed/Unknown
    An unknown exception occurred while processing the command
    Z-Stick
      <CQCServer> CIDOrb_ThisFacility.cpp - 536
      <CQCAdmin> CQCKit_CQCSrvAdminClientProxy.cpp - 1945
      <CQCAdmin> CQCAdmin_DrvMonTab.cpp - 1321

}
After more test looks like the light actually does turn off but in the Driver screen I get the above pop-up and log entry.
Good news is the lights work even though the driver screen gives a pop-up. Again it is only some lights that give the pop-up when setting True/False.
thx.
_______________
Denon 3808ci, 2112ci , SONOS, Russound CAA66,Z-Wave(Lights,Locks), Hue, SmartThings,
iPads,Tivo,Hikvision,Elk-M1,iTunes,TED5000,Somfy RTS blinds, Amazon Echo, Google Home, Polk XRT12,
Honeywell Wi-Fi 9000 & Caleo Wi-Fi Thermostats, Rainmachine
I'll look at that. BTW, something I just thought about wrt to the lock not responding to secure messages is that the driver may not be securely included. This is one of the most annoying things about Z-Wave. The inclusion process is not very tight. It an fail such that the device is included, but not securely included. If so, it will work fine, but won't be able to do secure messages.

And the only way to really make sure is to exclude it, and re-include it with tracing on, and check that it got a key. But, if you do that, most likely the driver's unit id will change, which invalidates all associations to the driver, and leaves bogus associations in all the units. Some masters will allow you to assign specific ids, but most won't, they will use the next unused id.
Dean Roddey
Explorans limites defectum
Can you reset the trace file and flush the logs, do the field write to cause the popup, turn off tracing, then get a log dump and the trace file? That'll help figure out what might be going on. The most likely scenario is that the unit never was able to create its unit handler object, but this will help me know better.
Dean Roddey
Explorans limites defectum
Another option would be to set up our port server so that I can connect to your Z-Stick from here. That would let me set exactly what is going on, and probably learn a number of other things I'm not going to ever see here in my particular setup.
Dean Roddey
Explorans limites defectum
The above made me realize I'd not yet implemented the remote port client and chat client in the new C++ driver test harness, which would be required for this. So I put in some time today to do that. So we could get me hooked up to your Z-Stick so that I could test some things out and see what is happening.
Dean Roddey
Explorans limites defectum
(04-26-2018, 11:31 AM)Dean Roddey Wrote: Can you reset the trace file and flush the logs, do the field write to cause the popup, turn off tracing, then get a log dump and the trace file? That'll help figure out what might be going on. The most likely scenario is that the unit never was able to create its unit handler object, but this will help me know better.

Pop up error when setting True/False in some lights:
"The Value couldn't be written to the field. See logs for more info..."

System log file:
04/27 07:14:48-CQC-PC, CQCServer, CQCDrv_Z-StickThread23
{
    CQCKit, CQCDriver_DriverBase.cpp.8540, Failed/Unknown
    An unknown exception occurred while processing the command
    Z-Stick
      <CQCServer> CIDOrb_ThisFacility.cpp - 536
      <CQCAdmin> CQCKit_CQCSrvAdminClientProxy.cpp - 1945
      <CQCAdmin> CQCAdmin_DrvMonTab.cpp - 1321

}

Trace file:

Z-Wave USB3 Trace
,  Time: 7:14:39 AM
----------------------------------------------------

07:14:48 - [TRACE]- Got bool field write. Name=LGHT#Sw_Fish_Tank_Light Value=0
07:14:48 - Sending a new msg:
{
    [DR->ZW] - (REQ,Msg: SendData/0x13,AckId=24954,CBId=167) 
    {
        TarId: 2
        Class: BinSwitch
         Cmd: Set
        Bytes: 0A 00 13 02 03 25 01 00 05 A7 
    }
}
07:14:48 - [TRACE]- Sending msg, AckId=24954, Attempt #1
07:14:48 - [TRACE]- Transitioned from Idle to WaitAck state
07:14:48 - [ZW->DR] - ACK
07:14:48 - [TRACE]- Transitioned from WaitAck to WaitCallback state
07:14:48 - [ZW->DR] - RES,Msg:SendData/0x13,Recvd: 07:14:48) 7MSs
{
    Bytes: 01 
}
07:14:48 - [ZW->DR] - TRANSACK,Msg:SendData/0x13,Recvd: 07:14:48) 17MSs
{
   Callback Id: 167
        Status: Success
    Bytes: A7 00 00 02 
}
07:14:48 - [TRACE]- Transitioned from WaitCallback to Idle state
_______________
Denon 3808ci, 2112ci , SONOS, Russound CAA66,Z-Wave(Lights,Locks), Hue, SmartThings,
iPads,Tivo,Hikvision,Elk-M1,iTunes,TED5000,Somfy RTS blinds, Amazon Echo, Google Home, Polk XRT12,
Honeywell Wi-Fi 9000 & Caleo Wi-Fi Thermostats, Rainmachine
I found a few things, but everything I found was the sort of thing that would have made the field write fail, so apparently none of those were it. Can we set up the port server? I've updated my C++ driver test harness to support the remote port server and chat, so I could do that now. We'd need to wait for the next drop that includes those changes.
Dean Roddey
Explorans limites defectum
(04-27-2018, 12:55 PM)Dean Roddey Wrote: I found a few things, but everything I found was the sort of thing that would have made the field write fail, so apparently none of those were it. Can we set up the port server? I've updated my C++ driver test harness to support the remote port server and chat, so I could do that now. We'd need to wait for the next drop that includes those changes.

Sure, After next drop will setup port server so you can get a closer look.
_______________
Denon 3808ci, 2112ci , SONOS, Russound CAA66,Z-Wave(Lights,Locks), Hue, SmartThings,
iPads,Tivo,Hikvision,Elk-M1,iTunes,TED5000,Somfy RTS blinds, Amazon Echo, Google Home, Polk XRT12,
Honeywell Wi-Fi 9000 & Caleo Wi-Fi Thermostats, Rainmachine
5.2.909 is posted. This guy has a few small tweaks, but mostly is just some improvements to the remote port server, and support for that in my new C++ driver test harness, so that I can now remote debug C++ drivers. It also adds some more security stuff to the remote port server as well, in that you can now select which serial ports you want to make available. The others won't be reported and can't be opened by the test harness.
Dean Roddey
Explorans limites defectum
I got started on the Z-Wave driver written documentation today. I feel like I'm writing a small book. For something that is supposed to be a simple, consumer oriented system, it's got so many gotchas. Definitely for this one it will has some associated videos, since it's just too much to write it all down in a driver doc page. The written doc page will contain the details and provide links to the videos which give a tour of the driver and how to use it and all that.

I'll hold off a bit longer on the videos in case we have to change anything. The written does are a lot easier to update.
Dean Roddey
Explorans limites defectum


Possibly Related Threads...
Thread Author Replies Views Last Post
  Official 5.4 Beta Discussion Thread Dean Roddey 441 40,371 06-15-2019, 02:33 AM
Last Post: Bugman
  Official 5.4 Beta Release Thread Dean Roddey 55 7,292 06-07-2019, 07:02 PM
Last Post: Dean Roddey
  Official 5.3 Release Thread Dean Roddey 27 7,896 07-05-2018, 12:44 PM
Last Post: Dean Roddey
  Official 5.2 Beta Discussion Thread Dean Roddey 244 87,576 10-14-2017, 07:57 PM
Last Post: Dean Roddey
  Official 5.2 Beta Release Thread Dean Roddey 13 8,793 10-09-2017, 06:49 PM
Last Post: Dean Roddey
  Official 5.1 Beta Discussion Thread Dean Roddey 453 196,333 05-16-2017, 03:45 PM
Last Post: Dean Roddey
  Official 5.1 Beta Release Thread Dean Roddey 28 19,443 05-12-2017, 05:44 PM
Last Post: Dean Roddey
  Official 5.0 Beta Discussions Dean Roddey 2,019 488,134 11-09-2016, 04:34 PM
Last Post: Dean Roddey
  Official 5.0 Beta Release Thread Dean Roddey 15 13,265 11-01-2016, 10:32 AM
Last Post: Dean Roddey
  How to obtain Beta versions? willsauter 3 3,557 07-15-2016, 04:57 PM
Last Post: willsauter

Forum Jump:


Users browsing this thread: 1 Guest(s)