Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
XBMC Driver
#11
XBMC is returning a bad value. If you can, set the debugmode field to true and then post the output log file that should be generated under MacroFileRoot in the CQC directory.
Wuench
My Home Theater/Automation Website

[THREAD=5957]BlueGlass CQC Config[/THREAD]
[THREAD=10624]Wuench's CQC Drivers[/THREAD]
Reply
#12
It seems XBMC_DebugMode isn't a value I can change when it isn't connected. I can change XBMC_LogMsg and XBMC_Notification, but I'm not sure what to enter.

Thanks for your help!
Reply
#13
Yeah, that's why I said if you can. Smile Set the verbose logging to debug then and hopefully that'll give me more info on what field is getting the bad value.
Wuench
My Home Theater/Automation Website

[THREAD=5957]BlueGlass CQC Config[/THREAD]
[THREAD=10624]Wuench's CQC Drivers[/THREAD]
Reply
#14
Under XBMC_LogMsg? When I adjust the field under the field browser, it comes back telling me that the driver is not currently connected. Let me know if you mean something else.
Reply
#15
No, sorry. In the CQC admin interface click the "Administer Server Drivers" button, select the XBMC driver and set Verbose Log: High.

LogMsg is just used to post log messages to XBMC's log file.
Wuench
My Home Theater/Automation Website

[THREAD=5957]BlueGlass CQC Config[/THREAD]
[THREAD=10624]Wuench's CQC Drivers[/THREAD]
Reply
#16
Sorry, went away for a day. Here's a copy of the section of log oh high verbosity. I started going through the driver test harness, the first error is the C++ error, the message I get is "0 is not a valid TTime::ESpecialTimes value"


Attached Files
.txt   XBMCLog.txt (Size: 6.5 KB / Downloads: 6)
Reply
#17
It doesn't even seem like a CML driver should be able to get such an error, unless it's perhaps an uninitialized local variable or something, but even that should have a reasonable default. What time related methods are you calling in that method that is throwing the exception?
Dean Roddey
Explorans limites defectum
Reply
#18
I think it is when I init a Time based variable using SpecialTimes.Base. But I would think this would happen to everyone every time unless it is some issue with that particular CQC version (3.3.6). It isn't getting very far into the driver.

You might want to try to upgrade CQC...

Code:
Time                tTemp(SpecialTimes.Base);
Wuench
My Home Theater/Automation Website

[THREAD=5957]BlueGlass CQC Config[/THREAD]
[THREAD=10624]Wuench's CQC Drivers[/THREAD]
Reply
#19
Yeh, that's a bit too wierd. 0 clearly is a valid value for that enumeration.
Dean Roddey
Explorans limites defectum
Reply
#20
Looks like the upgrade fixed my problems. Very odd indeed. Thanks for the driver!
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  New Driver - How hard would this be? kblagron 4 266 05-20-2019, 11:28 AM
Last Post: zaccari
  Cytech Comfort Driver znelbok 6 315 04-10-2019, 05:39 PM
Last Post: znelbok
  OpenHAB Driver whozeawhat 6 2,175 01-16-2019, 06:45 AM
Last Post: greymatter
  LIFX Driver bobskie708 14 3,694 01-10-2019, 06:36 PM
Last Post: Dean Roddey
  Amazon Echo Hue Simulator Driver wuench 117 49,038 12-24-2018, 11:10 AM
Last Post: Dean Roddey
  RunTimer2 driver rbroders 15 5,431 12-14-2018, 05:28 PM
Last Post: rbroders
  Driver for Bigass Fan lleo 7 811 11-25-2018, 08:57 AM
Last Post: Dean Roddey
  Generic Modbus Driver - Serial & IP znelbok 25 14,266 10-09-2018, 08:59 AM
Last Post: Ron Haley
  Issues debugging IP based driver jnolting 5 1,137 09-24-2018, 11:52 AM
Last Post: Dean Roddey
  Enhance Driver Test Harness Field Monitor rbroders 1 724 09-24-2018, 10:49 AM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)