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



Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,801
» Latest member: Richardjam
» Forum threads: 10,725
» Forum posts: 73,974

Full Statistics

Online Users
There are currently 123 online users.
» 0 Member(s) | 123 Guest(s)

Latest Threads
Official 5.4 Beta Discuss...
Forum: Beta Discussions
Last Post: Dean Roddey
4 hours ago
» Replies: 312
» Views: 20,155
Official 5.4 Beta Release...
Forum: Beta Discussions
Last Post: Dean Roddey
4 hours ago
» Replies: 31
» Views: 2,782
Latching triggers skip fi...
Forum: Beta Discussions
Last Post: Dean Roddey
6 hours ago
» Replies: 10
» Views: 121
Repository manager cant a...
Forum: Beta Discussions
Last Post: Dean Roddey
01-17-2019, 01:15 PM
» Replies: 1
» Views: 23
Zigbee Driver
Forum: CQC Support
Last Post: CouchPotatoe
01-17-2019, 06:20 AM
» Replies: 12
» Views: 169
OpenHAB Driver
Forum: Driver Development
Last Post: greymatter
01-16-2019, 06:45 AM
» Replies: 6
» Views: 1,391
Trigger Troubles
Forum: Beta Discussions
Last Post: rbroders
01-13-2019, 08:30 PM
» Replies: 4
» Views: 41
Event Order ...
Forum: CQC Support
Last Post: Dean Roddey
01-12-2019, 02:51 PM
» Replies: 24
» Views: 237
5.3.928 problem
Forum: Beta Discussions
Last Post: rbroders
01-12-2019, 02:16 PM
» Replies: 4
» Views: 56
Admin interface and CML I...
Forum: CQC Support
Last Post: Dean Roddey
01-11-2019, 03:07 PM
» Replies: 5
» Views: 47

  GetCurMillis immune to system time change?
Posted by: rbroders - 12-05-2018, 02:35 PM - Forum: CQC Support - Replies (6)

My system time synced yesterday and the time jumped forward 4seconds.

This dinged my driver which uses Time.GetCurStamp() to calculate CommPort.ReadByte(, WaitFor) times.

If I modify my code to use GetCurMillis  to calculate WaitFor (careful not to get bitten by wrap-around).  Will I be immune to system time changes?

Thanks -- Bob

P.S.  I supposed it is possible that CommPort.ReadByte *itself* will not WaitFor the correct amount of time if there is a system time change, so maybe I'm wasting my time trying to fix this.  I have increased the frequency of time synchronization so hopefully less of a probably anyway...

Print this item

  Basic Z Wave/CQC Integration Question
Posted by: MikeW - 12-04-2018, 10:34 PM - Forum: Installation/Configuration - Replies (6)

I've read through various Z Wave threads, but it's still not clear to me if what I want can be achieved. I have an old Lutron Homeworks system which has been integrated into CQC. There are few closets and bathrooms which don't have Lutron controlled switches. I just purchased the Smartthings v3 hub along with a couple Z Wave wall dimmers and plugs. I have this working pretty well and I use the Google Home App to control my Z Wave devices. My plan is to use a Google Home Hub to control these devices. What I really want is to have CQC detect when I press a button on a Homeworks keypad to turn on/off a lighting scene and then have CQC control the appropriate Z Wave switches so they can be included in the lighting scene. I'm sure there are other capabilities I'd like to use, but this is the minimum functionality I need. Does the new CQC Z Wave driver allow for this type of control when I still want to use the Smartthings Hub/Google Home Hub as my main lighting control?


Print this item

  Know any mini-PCs, <50W, for a MS
Posted by: IVB - 12-03-2018, 07:57 PM - Forum: Installation/Configuration - Replies (22)

My MS is a VM, which can't access the USB port to run the Aeotec. My damn $200 mini-ITX can't run CQC as a master server. And it apparently has issues being a secondary server. I need to run the Aeotec for zWave, so I need a new MS.

But...I also want to put it in a location where I have very limited room. As in, I'd rather not have it physically be bigger than 7ish x 7ish x 1-2 inches. No mini towers.
And, I live in NorCal where power is expensive, so ideally <50W. I *could* go to 65W I guess but that seems a lot.

Struggling to find anything. I'd give up the power but it'll be hard to give up the size.

Used equipment is fine, i'd buy a new SSD since that's the most at-risk component.

Anyone know of anything? No desire to spend more than $500 as that seems crazy.

Print this item

  Basic CML question
Posted by: lleo - 12-01-2018, 09:39 AM - Forum: CQC Support - Replies (12)

I am dabbing my feet into CML and I am stuck on finding a simple solution for the following:

trying to use the [character count of a string] + 1 as index for extracting from another string...

I have something like:

index := string1.GetLength();


but how do I increase the resulting Card4 value of the .GetLength() instruction with 1 character's worth?

I am trying to avoid to append to string1 before getting its length as that is used than later on...
I know this is very basic but never learned the basics...

Print this item

  Pause Command Seems to be Short
Posted by: kblagron - 11-30-2018, 11:16 PM - Forum: CQC Support - Replies (1)

I just set up another motion detector using the Elk that, once triggered, turns on a couple of TV's to display the security cams. 

I use the pause() command in a several of the action commands to wait while the driver switches to analog TV, etc.  I also use it to wait while the cams are displayed before going back to whatever the TV was doing before.

What I noticed was, during the long pause - ie 800,000 millisecs while the video stream is being output to the TV, that it only goes for about 190,000 millisecs.  Is there a better way to do this?  

Essentially I want the TV to display the cams for about 10 minutes, then go back to what they were doing, either off, or the programming they were on.    It seems like the millisecs entered in the command is not the real time it pauses.

Print this item

Posted by: ellisr63 - 11-29-2018, 04:16 PM - Forum: General Automation - Replies (6)

Has anyone tried to get Nest too work with CQC?  I see the protocol has been opened up now to developers.

Print this item

  How to use Fibaro HC2 as your zWave primary controller
Posted by: kjaerligkatt - 11-27-2018, 12:40 PM - Forum: How-To - Replies (3)

I had major issues getting the Fibaro HC to act as my primary zWave controller, with CQC as the secondary using an Aeotec USB stick. The issue is that I could get CQC to replicate successfully, or join the zWave network. 

I stumbled on a way to make it work, which *appeared* to require me to connect to the USB stick with Zensys Tool, not do anything and then just reconnect the USB stick in CQC.  Having had to rebuild my sandboxed test CQC install, I have now found the formula for successful initial replication. After initial replication, update replication works reliably.  To make the initial connection, follow the steps below:

  • Follow the instructions to include CQC into the Fibaro HC2 master - put the HC2 into device inclusion mode, and select include/exclude in the CQC zWave Client Interface. You will get a replication failed error and the driver will *not* be in the zWave network
  • Pause the zWave driver, and then Unpause. When this is completed, you will see that the driver is now reporting as In Network, but *no* zWave devices will be listed. 
  • Repeat the zWave include step above - now replication will be successful, and all the devices in your zWave network will appear. 
Easy when you know how, but this problem almost had me giving up on CQC ?

Print this item

  System.Runtime.FileSystem documentation missing?
Posted by: rbroders - 11-25-2018, 06:42 PM - Forum: CQC Support - Replies (1)

I can't seem to find the documentation for FileSystem class.  I know it exists because I am using in some of my older drivers.

Thanks -- Bob

Print this item

  New inexpensive switch
Posted by: ellisr63 - 11-25-2018, 04:24 PM - Forum: General Automation - Replies (6)

I just found this switch in a message from Amazon...

Looks like it is pretty inexpesive, and controlled via wifi with Alexa or Google. I wonder if this would be a good inexpensive option to integrate with CQC?

Print this item

  CML Driver IDE [copy/paste] does not work
Posted by: lleo - 11-25-2018, 06:52 AM - Forum: CQC Support - Replies (2)

Not sure what is wrong maybe on my end, I am connected to my CQC server via remote desktop and using the CML driver IDE.
The editor does not seem to support copy/paste via keyboard keys CTRL+C and CTRL+V
I get some symbols instead like ETX and SYN in reversed fonts.
The undo also doesn't work I get SUB as a symbol.
Copy/paste works via mouse right click and selecting the appropriate command.
This is on CQC 5.3.0

See pic as example...

Very frustrating as I keep forgetting it and if I do a CTRL+C on a selection, it gets deleted and no way getting it back other than retyping...

Attached Files Thumbnail(s)
Print this item