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
Software Geek Extraordinaire
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
Software Geek Extraordinaire
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
  RunTimer2 driver rbroders 14 3,511 10-15-2018, 11:45 AM
Last Post: rbroders
  Generic Modbus Driver - Serial & IP znelbok 25 11,281 10-09-2018, 08:59 AM
Last Post: Ron Haley
  Issues debugging IP based driver jnolting 5 226 09-24-2018, 11:52 AM
Last Post: Dean Roddey
  Enhance Driver Test Harness Field Monitor rbroders 1 103 09-24-2018, 10:49 AM
Last Post: Dean Roddey
  Koyo Click PLC Driver rbroders 75 26,916 09-23-2018, 01:18 PM
Last Post: rbroders
  Carrier Infinity HVAC Driver beelzerob 34 12,531 09-07-2018, 01:15 PM
Last Post: lleo
  Amazon Echo Hue Simulator Driver wuench 113 36,771 09-02-2018, 07:24 AM
Last Post: TurboSam
  Sony TV IP driver dogman 10 848 08-01-2018, 03:53 PM
Last Post: znelbok
  Sony Bravia TV Driver znelbok 12 1,808 06-11-2018, 09:19 AM
Last Post: Dean Roddey
  OpenHAB Driver whozeawhat 5 824 05-28-2018, 08:50 AM
Last Post: whozeawhat

Forum Jump:


Users browsing this thread: 1 Guest(s)