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



Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,810
» Latest member: PatrickFrurl
» Forum threads: 10,726
» Forum posts: 73,975

Full Statistics

Online Users
There are currently 117 online users.
» 2 Member(s) | 115 Guest(s)
kjaerligkatt, Mark Stega

Latest Threads
Forum: CQC Support
Last Post: batwater
4 hours ago
» Replies: 0
» Views: 2
Official 5.4 Beta Discuss...
Forum: Beta Discussions
Last Post: Dean Roddey
01-19-2019, 03:07 PM
» Replies: 312
» Views: 20,266
Official 5.4 Beta Release...
Forum: Beta Discussions
Last Post: Dean Roddey
01-19-2019, 03:06 PM
» Replies: 31
» Views: 2,811
Latching triggers skip fi...
Forum: Beta Discussions
Last Post: Dean Roddey
01-19-2019, 01:53 PM
» Replies: 10
» Views: 128
Repository manager cant a...
Forum: Beta Discussions
Last Post: Dean Roddey
01-17-2019, 01:15 PM
» Replies: 1
» Views: 28
Zigbee Driver
Forum: CQC Support
Last Post: CouchPotatoe
01-17-2019, 06:20 AM
» Replies: 12
» Views: 177
OpenHAB Driver
Forum: Driver Development
Last Post: greymatter
01-16-2019, 06:45 AM
» Replies: 6
» Views: 1,409
Trigger Troubles
Forum: Beta Discussions
Last Post: rbroders
01-13-2019, 08:30 PM
» Replies: 4
» Views: 43
Event Order ...
Forum: CQC Support
Last Post: Dean Roddey
01-12-2019, 02:51 PM
» Replies: 24
» Views: 242
5.3.928 problem
Forum: Beta Discussions
Last Post: rbroders
01-12-2019, 02:16 PM
» Replies: 4
» Views: 57

Posted by: batwater - 4 hours ago - Forum: CQC Support - No Replies

Hey Dean, you might want to update your announcement from Nov about Sonos breaking the driver, it's working again and Sonos is still one of the best whole house audio solutions out there not to mention that they continue to introduce new products...

Print this item

  Repository manager cant add collection
Posted by: rbroders - 01-17-2019, 01:04 PM - Forum: Beta Discussions - Replies (1)

In 931 if you try to add collection manually you get Unhandled Exception in GUI Thread: Zero is not a valid max size for a collection.  The Edit Collection dialog appears, but none of the buttons work.

This is for repository type Videos.


Print this item

  Latching triggers skip first event
Posted by: rbroders - 01-13-2019, 09:05 PM - Forum: Beta Discussions - Replies (10)

Okay Dean, this one took a while to track down, but I'm pretty sure this is what is happening. (non-serialized event execution probably not causing my mystery problem)

When Bidirectional triggers get started no event is sent for the first threshold crossing.

Here is my test: Field is BedHallWatts Normal value 0.  I create a bidirectional trigger IsGtThan 5 and turn on a lamp.  Value -> 39, but no event is sent!  I shut off lamp.  Value -> 0; event sent.  Thence it works perfectly: event is sent for both on and off transition.

Delete/recreate the trigger or pause resume the driver (or the app shell), and it will again fail to send an event on the first transition.  Ugh.

Note: when I create an unlatched trigger it seems to work fine - i.e. it catches the very first transition from 0 -> 39 and sends an event.  When the lamp power wobbles a bit I get some 38 and 39 events and then it gave me a 10 during shutdown and no event when the lamp hit zero (as you would expect since 0 NOT IsGtThan 5).

Note2: I tested this with Unidirectional triggers and the behavior is identical.  The first transition does not send an event, but subsequent transitions do.

Thanks -- Bob

Print this item

  Trigger Troubles
Posted by: rbroders - 01-12-2019, 02:52 PM - Forum: Beta Discussions - Replies (4)

I suspect your type safe enum conversion has messed up triggers a bit.

I have several triggers that are supposed to be on IsGtThan, but now appear to be IsFalse.

The combo box contains the following:
Regular Expr
more stuff

I think the second Unused is messing things up.

I suspect fixing all my triggers will cause them all to break again when you fix your code, so I will revert to old version for now...


Print this item

  5.3.928 problem
Posted by: rbroders - 01-11-2019, 04:52 PM - Forum: Beta Discussions - Replies (4)

Hmm, the eventsrvr does not seem happy getting the runtime values anymore

01/11 16:47:37-HARTFORD, CQCEventSrv, EvSrvWorkerThread1
    CQCKit, CQCKit_ThisFacility.cpp.657, Failed/Data Format, Error: 6257/0/0
    Token expansion failed during command processing. Reason: Runtime value TEvRTV:SrcField was not available for replacement
      <CQCEventSrv> CQCEventSrv_ThisFacility.cpp - 594
      <CQCEventSrv> CQCEventSrv_ThisFacility.cpp - 369
01/11 16:47:37-HARTFORD, CQCEventSrv, EvSrvWorkerThread1
    CQCEventSrv, CQCEventSrv_ThisFacility.cpp.375, Status/App Status
    Scheduled/Triggered event '/User/RunTimers2' failed

RunTimers2 is only one line:

Print this item

  Admin interface and CML IDE interface issue
Posted by: lleo - 01-11-2019, 07:37 AM - Forum: CQC Support - Replies (5)

I have been using the administrative interface and the CML driver harness now sufficiently long for this issue to reach the annoyance level for me to post here...

Say I have a driver opened for development in the CML Driver IDE, with the cursors in the main code window. The cursor is on the name of a method. I can use the keyboard to select text, by holding down the Shift key and moving the cursor, and I can then cut/copy the selected text to the clipboard using standard key combination, such as CTRL+X or CTRL+C. Then move the cursor away, to dismiss the selected text...

If then I was to search for the copied text, I can press CTRL+F which will bring up, activate the search/replace tab on the bottom of the IDE, and place the cursor into the "search criteria" drop-down field.

And this is where, I think there is a bug: if I press CTRL+V to paste the text from my keyboard where the cursor is active and blinking, it does not do it, it is pasted into the main code window, where the cursors is not even active. The only way to paste text into the search field is by grabbing the mouse, right click there, and few more clicks later, find and click the paste command.

This behavior is not standard, at least by my account, and despite of best effort to remember, I keep pasting bogus text where is not needed, and than chasing tale to find out why something is not working...
Similar behavior is seen in the administrative interface, im the "Customize/Macros/User/CQC/Drivers" section

Dean can you please check?

Print this item

  What would the proper trigger to be for a time or a X min before sundown?
Posted by: ghurty - 01-10-2019, 05:48 AM - Forum: CQC Support - Replies (1)

With the Actions, I can set for something to check if it before sunrise or for example a set time. So I can easily write IF its sunday AND its an hour before sunrise then do X. But what would the proper trigger for that be? And is it possible to have the same trigger for two sets of time? For example, I want one action to be an hour before sunrise on Sunday and at 2PM on a Tuesday? Or is it just better to keep it on two separate triggers?

Thank you

Print this item

  Zigbee Driver
Posted by: adamalli - 01-09-2019, 07:14 AM - Forum: CQC Support - Replies (12)

Is a zigbee driver on the road map for development? I bought a couple of yale locks that where on sale awhile ago. They were 50% off at the time. They have a zigbee radio in them that I currently don't use but thought it would be nice.


I don't have any other zigbee device other than the Hue. But have thought about buying some switches.

Print this item

  Stupid question: How can I read a motion or other field state change
Posted by: ghurty - 01-08-2019, 08:50 PM - Forum: CQC Support - Replies (10)

I know this is a stupidly easy question, but it has been a while since I coded triggered events and I am hitting a blank, I looked through the docs but I cant find what I am looking for. I used to be able to do this.

Lets say I want to do something very simple:
When "elk.motion1" detects motion, and the hallway lights are currently off, then turn them on to 25%.
The second half I have properly, my problem is reading the motion. I tried creating a trigger, setting it to Is Feild Change (is this even correct), and then putting the following code in, but I dont remember how to have it read the motion. (I know it is probably not TrigEvent::GetFldChangeInfo I just put it there as a place holder)

Thank you







Print this item

  DIY Security System Integration
Posted by: cavalier240 - 01-08-2019, 08:41 PM - Forum: CQC Support - Replies (10)

I'm thinking about adding one of the DIY security systems (e.g., Abode, Simplisafe, Ring, Nest, etc) to my house.   Abode looks to work with lots of third parties (https://goabode.com/works-with-abode), so I'm wondering if it would be possible to integrate into CQC to trigger events.   I'm basically looking for a more modern alternative to Elk.   Thoughts?

Print this item