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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,767
» Latest member: lonnygixer
» Forum threads: 10,738
» Forum posts: 74,129

Full Statistics

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

Latest Threads
MQTT support discussion
Forum: Beta Discussions
Last Post: Dean Roddey
1 hour ago
» Replies: 20
» Views: 276
Official 5.4 Beta Discuss...
Forum: Beta Discussions
Last Post: Dean Roddey
7 hours ago
» Replies: 334
» Views: 22,453
Weather
Forum: CQC Support
Last Post: zaccari
Today, 10:11 AM
» Replies: 42
» Views: 809
Magic mirror
Forum: General Automation
Last Post: greymatter
Today, 09:13 AM
» Replies: 1
» Views: 1,252
Chromecast
Forum: Driver Development
Last Post: NightLight
02-13-2019, 06:47 PM
» Replies: 17
» Views: 3,179
Considering cqc, what is ...
Forum: Installation/Configuration
Last Post: Dean Roddey
02-12-2019, 10:04 PM
» Replies: 11
» Views: 215
Accidental account deleti...
Forum: CQC Support
Last Post: Dean Roddey
02-10-2019, 09:59 PM
» Replies: 0
» Views: 46
Hue Lighting Control
Forum: Installation/Configuration
Last Post: Dean Roddey
02-10-2019, 11:49 AM
» Replies: 3
» Views: 54
How do I do this?
Forum: Installation/Configuration
Last Post: ellisr63
02-09-2019, 01:10 PM
» Replies: 100
» Views: 2,784
Lutron Radio RA2
Forum: Driver Development
Last Post: dogman
02-09-2019, 07:34 AM
» Replies: 218
» Views: 59,837

 
  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

Code:
If 
TrigEvent::GetFldChangeInfo
    P1=
    P2=

If 
Devices::FieldRead
    P1=Lutron.LGHT#Sw_Hallway
    P2=False
    P3=True

Devices::FieldWrite
    P1=Lutron.LGHT#Dim_Hallway
    P2=25
    P3=True

Devices::FieldWrite
    P1=Lutron.LGHT#Sw_Hallway
    P2=True
    P3=True

End

End

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

  CQC PC requirements
Posted by: ellisr63 - 01-08-2019, 03:20 PM - Forum: Installation/Configuration - Replies (3)

I am getting ready to install Windows on my i5, and was wondering if I might be better to use the i5 for my video movie server since I stream 1080p, and 4k movies. If I did this I would install Windows 7 on my Celeron NUC along with JRiver, and MyMovies. Would my Celeron NUC be able to handle Windows 7, JRiver, and MyMovies? I would not be viewing movies from MyMovies...only using it to rip movies to my hdd, and then copy to my NAS for playing. JRiver, and CQC would be the only things I plan on using with the Celeron. The only possible other thing would be to run Photoshop for my images..

Print this item

  Missing how to tell CQC to read a Lutron keypad button pressed
Posted by: ghurty - 01-07-2019, 05:13 PM - Forum: CQC Support - Replies (7)

Hi,

I am trying to have a Pico button on the Lutron trigger an event. I saw that it has to be programmed as a single control mode. And I saw how to write the command. Im just missing the line of where to get the trigger. By trigger event I set it to Is User Action, but where does it read which button is pressed?

Thank you

Print this item

  Event Order ...
Posted by: rbroders - 01-05-2019, 12:53 PM - Forum: CQC Support - Replies (24)

Hey Dean,

  I'm chasing a strange problem, and my working theory is that it is caused by events being processed out of order.  Is that possible?  Here's my scenario:

Boolean Field X has a bidirectional IsTrue trigger.  I have a triggered event which calls me via SendDrvCmd
T=0; X becomes True
T=30; X becomes False
T=31; X becomes True

My code seems to occasionally receive (not sure about delay times)
True (30secs) True (1sec) False

Instead of the correct
True (30secs) False (1sec) True

I haven't been able to capture this yet, but I'm writing some code to try to prove my conjecture.

Based on the CQC architecture, is my theory even possible?  Is there any way to force the events to be processed in the correct order?  Can I get the EventId and re-sort the events after receipt?  CQCEventSrv has 25 threads on my system, so I suspect this may be possible...

Thanks -- Bob

Print this item

  why master server needs DHCP client running?
Posted by: lleo - 01-04-2019, 11:04 AM - Forum: CQC Support - Replies (4)

my CQC master server is on  a Windows Server 2008 R2 - it is fairly low power and low memory rig, so I was pocking around to see where can I save a resource in windows...
Given that it is a server, it has statically assigned IP addresses, both for ipv4 and ipv6
I noticed that I had the DHCP client as service running, so went to turn it off since again, with static addresses this is not needed, But then I got a message that the CQC Application Shell and Taskbar Widget will also be stopped since they are dependent on the DHCP client.

Why is this a requirement?

Print this item

  Size of IV Client
Posted by: George M - 01-04-2019, 06:40 AM - Forum: Installation/Configuration - Replies (4)

I have not kept up with the betas much lately but just decided to try out 5.3.925 upgrading from 5.2.10. This has probably been talked about during the beta process but I could not find it.

When I open and Interface Template Viewer on my computer it is now about 1/4 the size that it was. Is there a new scaling factor at work? Is there a line item switch I need to use to increase the size of the Viewer?

Thanks

Print this item

  Magic mirror
Posted by: ellisr63 - 01-03-2019, 06:07 PM - Forum: General Automation - Replies (1)

I just found this thread in the ISY forum...this is a great idea for some of the techies here...
https://r.tapatalk.com/shareLink?url=htt...are_type=t

Graphical Home Automation Status

Print this item

  Web Camera Widget Questions
Posted by: znelbok - 01-02-2019, 01:57 PM - Forum: CQC Support - Replies (4)

I am now using the web camera widget in a popup.

A couple of questions

On Preload I was taking the global variables previously and using that to create the URL for a Web Image.  I want to do the same for the Web Camera URL but there does not appear to be an option to set the URL (or Set WebURL) on Preload or On Load.

How can I do this.

The web camera widget appears to always be on top.  I have a page with thumbnails and on top of the thumbnail is a command button.  If I use the web camera widget it stays on top of everything - even the popup.  I cant push it down the z order at all.

Cheers

Mick

Print this item

  Is there a Thermostat that CQC can have two way schedule communication?
Posted by: ghurty - 01-01-2019, 06:50 PM - Forum: CQC Support - Replies (6)

While CQC can have its own schedule saved and send that info to the thermostat, are there any thermostats out there that any schedule CQC sets would be written back to the thermostat directly, and any changes at the thermostat of the schedule will be reflected in the CQC UI?

Thank you

Print this item