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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,779
» Latest member: Liefodieceria
» Forum threads: 10,738
» Forum posts: 74,162

Full Statistics

Online Users
There are currently 116 online users.
» 2 Member(s) | 114 Guest(s)
Dean Roddey, kblagron

Latest Threads
MQTT support discussion
Forum: Beta Discussions
Last Post: Dean Roddey
10 minutes ago
» Replies: 32
» Views: 450
Official 5.4 Beta Discuss...
Forum: Beta Discussions
Last Post: George M
8 hours ago
» Replies: 343
» Views: 22,970
Magic mirror
Forum: General Automation
Last Post: ellisr63
02-19-2019, 11:03 AM
» Replies: 4
» Views: 1,576
Chromecast
Forum: Driver Development
Last Post: dogman
02-18-2019, 07:25 PM
» Replies: 18
» Views: 3,244
Official 5.4 Beta Release...
Forum: Beta Discussions
Last Post: Dean Roddey
02-18-2019, 05:00 PM
» Replies: 35
» Views: 3,361
Considering cqc, what is ...
Forum: Installation/Configuration
Last Post: Dean Roddey
02-17-2019, 12:38 PM
» Replies: 12
» Views: 341
Weather
Forum: CQC Support
Last Post: batwater
02-17-2019, 12:35 PM
» Replies: 48
» Views: 950
Accidental account deleti...
Forum: CQC Support
Last Post: Dean Roddey
02-10-2019, 09:59 PM
» Replies: 0
» Views: 76
Hue Lighting Control
Forum: Installation/Configuration
Last Post: Dean Roddey
02-10-2019, 11:49 AM
» Replies: 3
» Views: 80
How do I do this?
Forum: Installation/Configuration
Last Post: ellisr63
02-09-2019, 01:10 PM
» Replies: 100
» Views: 2,913

 
  SetAllErrStates messes up $ fields
Posted by: rbroders - 01-25-2019, 03:19 PM - Forum: Beta Discussions - Replies (3)

I modified my Click driver to populate fields in Connect, but it is possible that some fields might fail (i.e. Text values fail but Inputs worked ok).  As long as some fields are retrieved I return Success.  Before getting the fields, I call SetAllErrStates to make sure the failed fields end up in Err State.

This has the annoying side effect of putting all of the $ fields in Err state as well.  $BadMsgs for instance is currently displaying ??? instead of 0.  Even $LoadTime is ???.  $Verbosity starts ???, but you can fix it by changing the Verbosity.

--Bob

(this is in 933)

Print this item

  Nest Token
Posted by: keepersg - 01-23-2019, 10:03 PM - Forum: Installation/Configuration - Replies (2)

Have just upgraded after a long absence and am now on 5.3.931.  Following directions for installation of the Nest (cloud) driver but I cannot get CQCIdGen to get a token for installation.  I've generated a valid PIN on the nest website as instructed and entered it as CQCIdGen NestToken  [********] but all I get is the following error:  authorization code not found.

Any help appreciated.

Print this item

  Sonos
Posted by: batwater - 01-21-2019, 06:42 AM - Forum: CQC Support - Replies (4)

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 (5)

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.

--Bob

Print this item

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

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:
Unused
Regular Expr
<Unused>
IsEqual
NotEqual
IsTrue
IsFalse
IsGtThan
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...

--Bob

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
    %(TEvRTV:SrcField)
      <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:
Devices::SendDrvCmd
    P1=RunTimers2
    P2=%(TEvRTV:SrcField)
    P3=%(TEvRTV:NewFldVal)

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.

https://www.amazon.com/Yale-Security-YRD...B06Y6K48TJ

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

Print this item