Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,809
» Latest member: Mandycix
» Forum threads: 10,726
» Forum posts: 73,989

Full Statistics

Online Users
There are currently 114 online users.
» 3 Member(s) | 111 Guest(s)
adamalli, Mark Stega, Salemarret

Latest Threads
Latching triggers skip fi...
Forum: Beta Discussions
Last Post: Dean Roddey
7 hours ago
» Replies: 19
» Views: 174
Repository manager cant a...
Forum: Beta Discussions
Last Post: Dean Roddey
Yesterday, 10:17 AM
» Replies: 3
» Views: 50
Latest Sonos update break...
Forum: Announcements
Last Post: Dean Roddey
01-21-2019, 02:26 PM
» Replies: 1
» Views: 1,726
Sonos
Forum: CQC Support
Last Post: batwater
01-21-2019, 02:15 PM
» Replies: 2
» Views: 34
Official 5.4 Beta Discuss...
Forum: Beta Discussions
Last Post: Dean Roddey
01-19-2019, 03:07 PM
» Replies: 312
» Views: 20,541
Official 5.4 Beta Release...
Forum: Beta Discussions
Last Post: Dean Roddey
01-19-2019, 03:06 PM
» Replies: 31
» Views: 2,851
Zigbee Driver
Forum: CQC Support
Last Post: CouchPotatoe
01-17-2019, 06:20 AM
» Replies: 12
» Views: 179
OpenHAB Driver
Forum: Driver Development
Last Post: greymatter
01-16-2019, 06:45 AM
» Replies: 6
» Views: 1,442
Trigger Troubles
Forum: Beta Discussions
Last Post: rbroders
01-13-2019, 08:30 PM
» Replies: 4
» Views: 48
Event Order ...
Forum: CQC Support
Last Post: Dean Roddey
01-12-2019, 02:51 PM
» Replies: 24
» Views: 243

 
  Status Screen
Posted by: noshali - 08-11-2006, 10:50 AM - Forum: CQC Support - Replies (10)

Has anyone done the following:

A status screen that incorporates everything including security lights etc. on a main page sort of a thing.

For e.g. I have a template for security and one for lights.

Now if I am on the security template or on the main template and one of the zones goes off or a light goes off then there is no way for me to find out....what I am trying to achieve is have a template that is a sort of the house is ALL GOOD that I can view before going to sleep.

I don't want to have each zone listed and all the lights or all the devices on one page.....more like a small box/widget that is linked to all the zones in ELK and when any of the zones gets violated only that one shows rather than the status of all the zone to better use the screen real estate.

Thanks & Regards,

Print this item

  NetCallerID modem
Posted by: IVB - 08-11-2006, 10:30 AM - Forum: Installation/Configuration - Replies (108)

Ok, probably a waste, got sick of buying random modems that aren't actually working the CID driver.

Bought one of these, figured i'd take a crack at writing a driver for it. Cheap enough, $10 plus $6 shipping.

Actually, i bought 2 cuz in case there's an issue, plus i'm sure one of youse guys would want it.

Print this item

  Same Device - New Driver
Posted by: frankdr - 08-10-2006, 10:31 AM - Forum: CQC Support - Replies (6)

I have a serial Elk Driver set up right now. I just received the Ethernet card and want to change over to use it. What is the best way to do that?

I have many views set up based on the driver name, so i don't want to redo all that work. If I remove and install with the same name, am I ok or is there a better way to do it?

Thanks

Print this item

  Looking for serial protocol for DV5900M
Posted by: jpants - 08-10-2006, 05:59 AM - Forum: CQC Support - Replies (10)

Does anyone know where I can find the serial protocol for a Kenwood 400 disk dvd changer model # DV-5900M. Kenwood is no help.



Thx

John

Print this item

  FUJITSU 3400 Problems!
Posted by: NO1WOLVERINE - 08-08-2006, 03:04 PM - Forum: Installation/Configuration - Replies (61)

Okay guys and gals heres my problem.. I just purchased a Fujitsu 3400 off of Flee Bay. My Intentions are to use this for home automation but wanted to get the Tablet PC up and running first! The system has no operating system on it when delivered. I do have a USB DVD Drive external But That Wont Do Squat Untill I Get Windows Loaded. Soooo How Do I Get System Loaded? I Dont Have A Floppy Drive Either. I Do However Have Every Opp System That Windows Has Including Tablet Addition, What Would Also Be The Best System For The 3400 Anyhelp Would Be Greatly Appreciated Thanks!! ;-) NO1

Print this item

  Grocery Inventory and Calendar....
Posted by: noshali - 08-08-2006, 08:07 AM - Forum: General Automation - Replies (117)

Hi,

Groceries:
I have been wondering if anyone is using to track their grocery purchases. I have 3 kids and believe me thing run out before I know it...we also buy at SAMS or Costco so we do get stuff in bulk. It tend to get hard to track 5 feeding mouths.
Any suggestions to automate and maybe later on add it to CQC would help...I am willing to track this stuff outside of CQC for the time being if there is a feasible option. Barcode to scan incoming and outgoing cans etc would be awesome....nothing too expensive hopefully....would not like to spend the grocery money to track gorceries.

Calendar:
I am sure that most of you are using a group calendar to track the family's total activities. Any suggestions on this would help so that if one person can update then all of us can see what is going on. I tend to forget giving messages for my wife's planned stuff (obviously I get in a lot of trouble) so this would really help. I could do a shared calendar on the web but then it I would prefer to have it as a app on the local network so that one does not need to login etc. As it is trying to get my wife to use the PC is a task in itself.

regards,

Print this item

  CIDLib error writing buffer to USB HID device
Posted by: Jonathan - 08-07-2006, 06:53 PM - Forum: CQC Support - Replies (29)

I have CML driver code that finds and opens a USB HID device sucessfully and then dies when I try to write 8 bytes to it.

When calling m_USB.Write(m_IOBuf, 8, 2000) I get the following:

[Image: 1hv9.jpg]


Unfortunately, I've no idea what this means so understanding what is going wrong is difficult. Here is the work in progress code that is causing the above error:

Code:
Class=[NonFinal]
    ClassPath MEng.User.CQC.Drivers.PowerLincUSB.DriverImpl;
    ParentClass MEng.System.CQC.Runtime.CQCDriverBase;
EndClass;

Imports=
    MEng.System.Runtime.MemBuf;
    MEng.System.Runtime.USBHID;
    MEng.System.CQC.Runtime.CQCFldDef;
    #BeginDebug
    MEng.System.Runtime.ConsoleOutStream;
    #EndDebug
EndImports;

Literals=
    Card2   kVendorId(0x10BF);
    Card2   kProductId(0x0004);

    // All IBIOS commands are prefixed with STX followed by the command number
    Card1   kCmd_STX(0x02);

    // 0x80 in the count field indicates the device is ready to receive more data
    Card1   kCmd_Ready(0x80);

    // IBIOS Commands
    Card1   kCmd_Download(0x40);
    Card1   kCmd_FixedLengthMessage(0x41);
    Card1   kCmd_Upload(0x42);
    Card1   kCmd_VariableLengthMessage(0x43);
    Card1   kCmd_GetChecksum(0x44);
    Card1   kCmd_EventReport(0x45);
    Card1   kCmd_Mask(0x46);
    Card1   kCmd_SimulatedEvent(0x47);
    Card1   kCmd_GetVersion(0x48);
    Card1   kCmd_DebugReport(0x49);
    Card1   kCmd_X10ByteReceived(0x4A);
    Card1   kCmd_InsteonMessageReceived(0x4F);
EndLiterals;

Members=
    USBHID              m_USB;
    MemBuf              m_IOBuf;
    String              m_Path;
    Time                m_Time;
    #BeginDebug
    ConsoleOutStream    m_Con;
    #EndDebug
EndMembers;

//
//  Constructor and an entry point for testing purposes
//
Methods=[Public,Final]

    Constructor() : m_IOBuf(8, 8);
    Begin
    EndConstructor;

    Method Start() Returns Int4
    Begin
        Simulate();
        Return 0;
    EndMethod;

EndMethods;

//
//  Helper methods for reading, writing, and parsing messages
//
Methods=[Private,Final]

    Method InitIoBuffer([In] Card1 Byte1,
                        [In] Card1 Byte2,
                        [In] Card1 Byte3,
                        [In] Card1 Byte4,
                        [In] Card1 Byte5,
                        [In] Card1 Byte6,
                        [In] Card1 Byte7,
                        [In] Card1 Byte8)
    Begin
        m_IOBuf.SetAll(0);
        m_IOBuf.PutCard1At(0, Byte1);
        m_IOBuf.PutCard1At(1, Byte2);
        m_IOBuf.PutCard1At(2, Byte3);
        m_IOBuf.PutCard1At(3, Byte4);
        m_IOBuf.PutCard1At(4, Byte5);
        m_IOBuf.PutCard1At(5, Byte6);
        m_IOBuf.PutCard1At(6, Byte7);
        m_IOBuf.PutCard1At(7, Byte8);
    EndMethod;

    Method WriteIoBuffer()
    Begin
        #BeginDebug
        m_Con.FmtStr("S:");
        m_Con.FmtStr(" 0x");
        m_Con.FmtCard1R(m_IOBuf.GetCard1At(0), Radices.Hex);
        m_Con.FmtStr(" 0x");
        m_Con.FmtCard1R(m_IOBuf.GetCard1At(1), Radices.Hex);
        m_Con.FmtStr(" 0x");
        m_Con.FmtCard1R(m_IOBuf.GetCard1At(2), Radices.Hex);
        m_Con.FmtStr(" 0x");
        m_Con.FmtCard1R(m_IOBuf.GetCard1At(3), Radices.Hex);
        m_Con.FmtStr(" 0x");
        m_Con.FmtCard1R(m_IOBuf.GetCard1At(4), Radices.Hex);
        m_Con.FmtStr(" 0x");
        m_Con.FmtCard1R(m_IOBuf.GetCard1At(5), Radices.Hex);
        m_Con.FmtStr(" 0x");
        m_Con.FmtCard1R(m_IOBuf.GetCard1At(6), Radices.Hex);
        m_Con.FmtStr(" 0x");
        m_Con.FmtCard1R(m_IOBuf.GetCard1At(7), Radices.Hex);
        m_Con.NewLn();
        m_Con.Flush();
        #EndDebug
        m_USB.Write(m_IOBuf, 8, 2000);
    EndMethod;

    Method ReadIoBuffer() Returns Boolean
    Begin
        If (m_USB.Read(m_IOBuf, 8, 100, False))
            #BeginDebug
            m_Con.FmtStr("R: ");
            m_Con.FmtStr(" 0x");
            m_Con.FmtCard1R(m_IOBuf.GetCard1At(0), Radices.Hex);
            m_Con.FmtStr(" 0x");
            m_Con.FmtCard1R(m_IOBuf.GetCard1At(1), Radices.Hex);
            m_Con.FmtStr(" 0x");
            m_Con.FmtCard1R(m_IOBuf.GetCard1At(2), Radices.Hex);
            m_Con.FmtStr(" 0x");
            m_Con.FmtCard1R(m_IOBuf.GetCard1At(3), Radices.Hex);
            m_Con.FmtStr(" 0x");
            m_Con.FmtCard1R(m_IOBuf.GetCard1At(4), Radices.Hex);
            m_Con.FmtStr(" 0x");
            m_Con.FmtCard1R(m_IOBuf.GetCard1At(5), Radices.Hex);
            m_Con.FmtStr(" 0x");
            m_Con.FmtCard1R(m_IOBuf.GetCard1At(6), Radices.Hex);
            m_Con.FmtStr(" 0x");
            m_Con.FmtCard1R(m_IOBuf.GetCard1At(7), Radices.Hex);
            m_Con.NewLn();
            m_Con.Flush();
            #EndDebug
            Return True;
        EndIf;
        Return False;
    EndMethod;

    Method CheckStatus() Returns Boolean
    Begin
        InitIoBuffer(2, kCmd_STX, kCmd_GetVersion, 0, 0, 0, 0, 0);
        WriteIoBuffer();
        Return False;
    EndMethod;

EndMethods;

//
//  Overrides of required methods defined by our base class. We must implement
//  these or the compiler will complain. These are how the underlying driver
//  infrastructure calls us to let us know events have occured.
//
Methods=[Public,Overrides,Final]

    //
    //  This is called when we are first loaded. It is just for us to do any
    //  data initialization, to register our fields, set our poll times, and
    //  so forth. Here we are checking to see if the PowerLinc is present in
    //  the system.
    Method InitializeOther([In] MEng.String CfgString, [In] MEng.System.Runtime.NamedValMap PromptVals) Returns DrvInitRes
    Begin
        If (!m_USB.FindDevice(kVendorId, kProductId, m_Path))
            If (GetVerboseLevel() >= VerboseLvls.Medium)
                LogMsg("The Insteon PowerLinc Controller is not present");
            EndIf;
            #BeginDebug
            m_Con.FmtStr("The Insteon PowerLinc Controller is not present\n");
            m_Con.Flush();
            #EndDebug
            Return DrvInitRes.Failed;
        EndIf;
        #BeginDebug
        m_Con.FmtStr("Insteon PowerLinc Controller found.\nPath=");
        m_Con.FmtStr(m_Path);
        m_Con.NewLn();
        m_Con.Flush();
        #EndDebug
        Return DrvInitRes.WaitCommRes;
    EndMethod;

    Method GetCommResource() Returns Boolean
    Begin
        Try
            m_USB.Open(kVendorId, kProductId);
        EndTry;

        Catch
            If (GetVerboseLevel() >= VerboseLvls.Medium)
                LogMsg($Exception.GetErrorText());
            EndIf;
            #BeginDebug
            m_Con.FmtStr("Failed to open USB port\n");
            m_Con.Flush();
            #EndDebug
            Return False;
        EndCatch;
        #BeginDebug
        m_Con.FmtStr("Opened USB port\n");
        m_Con.Flush();
        #EndDebug
        Return True;
    EndMethod;

    Method Connect() Returns CommResults
    Begin
        CheckStatus();
        Return CommResults.Success;
    EndMethod;

    Method Poll() Returns CommResults
    Begin
        Return CommResults.Success;
    EndMethod;

    Method CardFldChanged([In] Card4 FldId, [In] Card4 ValWritten) Returns CommResults
    Begin
        Return CommResults.Success;
    EndMethod;

    Method FreeCommResource() Returns Boolean
    Begin
        m_USB.Close();
        Return True;
    EndMethod;

EndMethods;

Print this item

  Pandora Radio
Posted by: simon - 08-03-2006, 12:38 PM - Forum: Installation/Configuration - Replies (21)

If you havent seen this new take on Internet radio, check it out:

http://www.pandora.com

I can get the main page with the player on it working in a web widget, but they also off a cut down page player, much more suited to working inside CQC.

The URL of this seems to be:
http://www.pandora.com/?cmd=indexmini

But when I put that into the web widget I get a different page, which is the same as when I put it into FF.

Anyone web clever enough to see where its going wrong?

I did find the direct link to the swf (flash file) but putting that URL into the web widget brought up the flash player, but it complained of network problems...

Print this item

  CQC controlling sonos?
Posted by: asinshesq - 08-02-2006, 12:40 PM - Forum: CQC Support - Replies (22)

I just posted on this topic at avsforum but IVB rightly suggested it should be posted in this forum. Here's that post:

Dean or others: has anyone managed to start controlling sonos zone players via CQC?

Someone has worked that out for homeseer (see http://forums.sonos.com/showthread.php?t=2747 ) and I'm wondering if that's been done for CQC (and if not I'm wondering how hard it would be to port the homeseer solution over to CQC and what kind of programming would be involved).

Thanks.

Print this item

  A Sage developer: Exhibiting wisdom, or used as a seasoning, you decide!
Posted by: beelzerob - 07-28-2006, 10:25 AM - Forum: Driver Development - Replies (482)

If you want the the Sage driver that WORKS, then check in the downloadable driverpacks. The sage driver below is a BETA of the next version, so use at your own risk. If you have not installed the released Sage driver first....do so before attempting to use this BETA driver.

Note: Although the sagecqc.jar file below SHOULD work with your old sage cqc driver, it probably won't. Thus, I HIGHLY suggest you copy the sagecqc.jar file someplace safe. The CQC driver pack below will install a "Dev" version of the sage driver, so your "original" version of the sage driver will not be harmed.

Also note...a 2nd .jar file is required. Go here:
http://forums.sagetv.com/forums/download...ile&id=128

Download the tools, and extract the gkusnick.sagetv.jar file. Put it into the JARS directory of Sage.

For reference, these are the lines required in the .properties file to get this driver running:
1. add the line: load_at_startup_runnable_classes=SageCQCServer
Note that the line: load_at_startup_runnable_classes= may already exist. If it does, than just add the value "SageCQCServer" to the end of this line"
If anything already exists in this line, separate each item with a semicolon ';'
Note that this is case-sensitive and there must be no spaces at all in this line.

2. add the line: sageCQCserver/port=xxxx, where xxxx is any valid port number.
It doesn't matter what port number you choose, so long as it's un-used. Remember this port number, as you'll need to add it when you go through the CQC manifest when installing the driver.
3. add the line: sageCQCserver/debugLevel=3
This value is just what it says, for debugging only. If things are working well, feel free to set this to 0.
4. add the line: debug_logging=TRUE.
This causes all of Sage's debugging console text to be output to a file. When I ask for the "sage log", I'm referring to the file produced by this. In the SageTV directory, there should be a file named something like: sagetv_0.txt . If you sort files by date, it should be one of the most recently created files. That's the logfile.

-------------------------------------------------------------------------
(Note: Driver pack and java .jar file versions may not be the same, but both are their latest version)
In versino 1.71:
+ Added SelectedShowId field. Upon writing to the SelectedRecordedShowIndex, the SelectedShowId field will be populated with the unique Sage ID for that show.

In version 1.70:
+ Upcoming recordings list and recorded shows list now automatically updates every 5 minutes
+ Selecting an upcoming recording now returns show info for it, just like selecting a recorded show does. (NOTE: For this to work, you must use the RTV to write the SelectedIndex on the string list to the appropriate Index field)

In version 1.68:
+ Fixed bug in 1.67
+ Added SelectedShowIsFirstRun field

In version 1.67
+ Added SelectedShowIsHDTV field, boolean indication of whether selected show is in HDTV format or not.

In version 1.66
+ Added a SelectedShowIndex field. This is the preferrable and eventually only method to select a show for viewing, as the show title string is too ambiguous.
+ Recorded shows and Upcoming recordings lists now update automatically every 5 mins.

List of future improvements requested:

  • Add media ID number for selected show DONE
  • Windowing Mode to be 2-way DONE
  • ToggleMute (true/false) DONE
  • Single button Record
  • Channel commands (up/down/previous/num0-9)
  • navigation commands (up/down/left/right/select/pagedown/pageup/pageback/pagefwd)



Attached Files
.cqcdrvpack   SageTCPDevDriver_1.71.CQCDrvPack (Size: 7.94 KB / Downloads: 11)
.zip   sagecqc_jar_1.70.zip (Size: 11.68 KB / Downloads: 23)
.html   SageTCPDriverDesc.html (Size: 16.79 KB / Downloads: 9)
Print this item