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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,775
» Latest member: obudurejulmew
» Forum threads: 10,787
» Forum posts: 74,728

Full Statistics

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

Latest Threads
Unhandled system exceptio...
Forum: CQC Support
Last Post: Dean Roddey
1 hour ago
» Replies: 43
» Views: 2,133
Official 5.4 Beta Discuss...
Forum: Beta Discussions
Last Post: Shaky
7 hours ago
» Replies: 427
» Views: 34,016
New MQTT support
Forum: CQC Support
Last Post: znelbok
10 hours ago
» Replies: 47
» Views: 422
Somfy RTS Driver
Forum: CQC Support
Last Post: jokermac
Today, 04:47 AM
» Replies: 2
» Views: 60
Looking forward to the ne...
Forum: Beta Discussions
Last Post: Dean Roddey
Yesterday, 08:17 AM
» Replies: 8
» Views: 117
new build
Forum: CQC Support
Last Post: znelbok
05-23-2019, 09:38 PM
» Replies: 10
» Views: 264
Native amazon echo implem...
Forum: Installation/Configuration
Last Post: NishanF
05-23-2019, 01:19 PM
» Replies: 2
» Views: 57
Honeywell TH8320ZW Thermo...
Forum: CQC Support
Last Post: gReatAutomation
05-23-2019, 12:29 PM
» Replies: 10
» Views: 46
New Z-Wave driver preview
Forum: CQC Support
Last Post: gReatAutomation
05-23-2019, 11:40 AM
» Replies: 80
» Views: 9,548
Leviton DZR15-1RZ Recepta...
Forum: CQC Support
Last Post: gReatAutomation
05-23-2019, 09:42 AM
» Replies: 11
» Views: 46

 
  Logic Server not sending triggered events
Posted by: znelbok - 05-06-2019, 12:21 PM - Forum: CQC Support - Replies (7)

Trying to work out what I did wrong but as far as I can tell nothing.

I have the logic server setup with run timers - field on, logic server starts a timer field - that all works fine.

Setup a triggered event for the field - >= a set time it is supposed to send a trigger but nothing is showing up in the Event Triggers window.

Did a sanity check and created a follower boolean field.  Turn on a boolean field in a different driver (and set a triggered event on it as well) and the logic server just follows that drivers state.  Added a trigger on the logic server field identical to the field it is following.

Turn on the bool and the event is registered, the logic server turns on but no event for the logic server is recorded.

So at the moment for me, all events from the logic server driver are not triggering events.

Is it broken or did something change.

Print this item

  Omni arming mode user info
Posted by: dlmorgan999 - 05-02-2019, 03:11 PM - Forum: CQC Support - Replies (2)

I would like to create a triggered event when the arm mode on my OmniPro II changes.  I looked through the documentation and searched the forum but couldn't find what I needed.

First, I need to know what to use for the event trigger.   Do I just need to look for a field value change on SEC#Area_A1_ArmMode?

More importantly though, I'm hoping that what comes back will include the name or code for the user who made the alarm mode change.  The Omni event log shows this info, but I don't know if the driver makes it available.

If I missed it somewhere in the documentation I apologize, but can you help?

Print this item

  Atonic Pi - x86 SBC $35 on amazon (yes runs Win 10)
Posted by: znelbok - 05-01-2019, 04:57 PM - Forum: General Automation - Replies (1)

$35 Atomic Pi - x86 based SBC.

Craps on a RPi and is the same price. Will run Win10 etc.

Available on Amazon but sold out pretty quickly.

https://dlidirect.com/products/atomic-pi...3701794921

https://www.amazon.com/Atomic-Pi-High-Sp...N0TR4HYQQW

Maybe the ideal CQC server in the background. So cheap and probably great for IV clients as well. (think magic mirror etc)

Print this item

  Small hardware is getting pretty crazy
Posted by: Dean Roddey - 04-30-2019, 10:19 AM - Forum: General Automation - Replies (4)

So a Nano with a 128 core NVida GPU, supports 2 4K monitors, and it can do 4K H.25x video decoding at 60fps.

https://www.youtube.com/watch?v=tgGELfqigsc

Print this item

  Elk Counter update
Posted by: Ron Haley - 04-30-2019, 09:20 AM - Forum: CQC Support - Replies (3)

Dean,
I used to use a modified version on the V1 Elk driver that included an UpdateCounters call.  That version went away, so I reverted to the standard Elk V1 driver.  How do I force a Counter update prior to a read.  The driver currently never updates counters modified by the Elk.
Thanks,

Print this item

  Audible alerts via TTS or similar
Posted by: znelbok - 04-29-2019, 03:39 PM - Forum: CQC Support - Replies (6)

I use to use the TTS option of the IV drive to create voice announcements/alerts in the kitchen when I had a full client running.

Now that the client has passed away and I am using an iPad I am missing that feature and looking for an alternative.

Amazon announced notifications was now an option but that is yet to be implemented into CQC and I am suspecting that I woun't be able to use it because my ISP has me behind a NAT and hence there is no port forwarding options available to me (so my CQC/Echo setup is dead in the water).

What I am thinking is use the existing TTS feature in CQC to output a .wav file to a specific location and then have something play that file.  File name will always be the same.  As to what that something is, I'm thinking a Raspberry Pi with some software installed that is simple and can take a command to play a file - either from a network share or local.

A RPi with a built-in/add-on amp connected to a small speaker (say something like the Elk speaker enclosure) would be small and easy to mount up high out of the way and give me audible alerts.

Dean - is it possible to have the TTS feature in CQC output a wav file?

Anyone know of any software for a Pi or other hardware that may be suitable for this feature?

Print this item

  I think Amazon may have screwed us
Posted by: Dean Roddey - 04-27-2019, 11:09 AM - Forum: Installation/Configuration - Replies (23)

Looking at the Amazon skill stuff, I think that maybe they have screwed folks like us who need to have a lot of flexibility. They got rid of the 'literal' slot type, which would let us just get some spoken words within an overall utterance and use the rendered text of those words for whatever we want on our side. Now it appears like you must provide pre-fab options for all slots, which makes it semi-useless for a lot of applications, ours included I think. It makes it impossible to have the sort of on the fly flexibility that really gave the Echo an advantage over something like CQC Voice (which can at least generate a grammar on the fly for you that includes your room configuration driven stuff.)

Or at the least I won't be able to provide you with nearly as useful pre-fab content to use. You'll have to set up all the options for these types of slots yourself and you won't be able to have any sort of on the fly text available to react to.

Print this item

  New MQTT support
Posted by: Dean Roddey - 04-26-2019, 03:22 PM - Forum: CQC Support - Replies (47)

I deleted the previous thread because it was now full of out of date information... Since we have the driver now pretty much at an initial release state, I wanted to start a new one that wouldn't confuse folks who haven't been following along. This information is as of 5.3.951 an beyond. The driver is documented under the Miscellaneous driver category. It's not in the online stuff yet because that's for the released version. It's only in the local, installed help content. I'm pretty much waiting for this MQTT stuff to solidify before doing the next release.

MQTT is a messaging scheme based on some earlier IBM technology. It involves a server where various parties can 'publish' data under some name, and other parties can subscribe to that data if they know the name. This is useful for CQC in that various devices support publishing their state to an MQTT server. This driver can be set up to subscribe to that information and load the data into CQC driver fields so that you can access it within CQC.

The name under which each piece of data is published is called the 'topic', and it's in the form of a path like:

xyz/somedata/value1

There's no standards for either the paths or the format in which the data is stored, which is pretty sub-optimal and makes things a lot more complicated for you and me than would otherwise be the case. 

The driver is uses a configuration file that you set up, which tells it what topics you want it to subscribe to, what field to store that topic data in, how to translate from the incoming MQTT data to a valid field value, and if the field is writable how to translate back the other way. It also contains connection information for the target MQTT server you want to use. Since there are no standards for the format of published data there's a fair number of options for providing the back and forth translation stuff. The configuration options are documented in the driver docs, and it's too much to repeat here. But, once you set it it up, it's done and shouldn't require much or any more fiddling about.

The MQTT server passes along incoming changes to published data pretty much immediately to subscribed clients. So it tends to have good response times. If the data is published in 'retained' mode, then the server hangs onto it and will immediately send out values when a client subscribes to it, so for that type of data the driver will get immediate information when it loads. Otherwise, it won't see anything until the next time the device publishes a new value. Typically data will be stored in retain mode, from what I've seen so far. For outgoing field writes, you can mark each field as to whether it should send the new values with the retain option or not, with sending it being the default if you don't say otherwise.

Some MQTT servers are available publicly and some you can set up locally in your local network, depending on how you feel about such things. Amazon has one, though setting it up can be tricky because of all of the certificate stuff it requires. I'm not too hip on the local options but hopefully other folks can kick in on that front.

I've considered doing an MQTT server and selling it separately as our first and only ever non-CQC specific product. Not sure if that's worth it or not though.

Print this item

  Google Calendar and Web Browser
Posted by: kblagron - 04-22-2019, 11:25 PM - Forum: CQC Support - Replies (4)

I don't know much about html but can usually figure out enough to get a webpage to display on CQC with a web widget.  I am having a problem getting a Google Calendar to display using the tools they provide within their Google Calendar settings.  You can generate a customized embedded script using IFrames to place into your webpage, which I did.

I can run the .html file I built without problems on both Chrome and IE, but I get an error message when using the WebBrowser widget as follows:

1st Error: Object doesn't support property or method 'map'
2nd Error: Object doesn't support property or method 'addEventListener'

Here is the html file I access in the /HTMLRoot folder:

Code:
<!DOCTYPE html>
<html>

<head>
</head>

<body>
<iframe src="https://calendar.google.com/calendar/embed?showTitle=0&amp;showNav=0&amp;showDate=0&amp;showPrint=0&amp;showTabs=0&amp;showCalendars=0&amp;showTz=0&amp;mode=AGENDA&amp;height=520&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=emailaddy1%40gmail.com&amp;color=%2329527A&amp;src=emailaddy2%40gmail.com&amp;color=%23182C57&amp;src=en.usa%23holiday%40group.v.calendar.google.com&amp;color=%23125A12&amp;ctz=America%2FChicago" style="border-width:0" width="284" height="520" frameborder="0" scrolling="no">
</iframe>
</body>
</html>

Print this item

  Sonos - PlayFovorite command
Posted by: NightLight - 04-17-2019, 05:29 PM - Forum: CQC Support - Replies (22)

Devices::FieldWrite
    P1=Sonos.InvokeCmd
    P2=PlayFavorite : Example
    P3=True

This command started failing causing the driver to disconnect and reconnect with the Sonos device.

I'm guessing do to a Sonos update.

Anyone else experiencing or can replicate?

Anything I can do to help? everything else continues to work as expected. This command still works.

Devices::FieldWrite
    P1=Sonos.InvokeCmd
    P2=SetPLToQ : ByName, %(GVar:Selection)
    P3=True

Print this item