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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,786
» Latest member: intwoit
» Forum threads: 10,555
» Forum posts: 71,534

Full Statistics

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

Latest Threads
ISY994i Device Issues
Forum: CQC Support
Last Post: bigdude
05-22-2018, 07:29 PM
» Replies: 8
» Views: 100
Official 5.3 Beta Discuss...
Forum: Beta Discussions
Last Post: Dean Roddey
05-22-2018, 05:44 PM
» Replies: 638
» Views: 33,914
Official 5.3 Release Thre...
Forum: Beta Discussions
Last Post: Dean Roddey
05-22-2018, 05:38 PM
» Replies: 16
» Views: 1,826
Security Server could not...
Forum: CQC Support
Last Post: Shaky
05-21-2018, 10:29 PM
» Replies: 2
» Views: 39
Tesla Box/Powerwall walkt...
Forum: General Automation
Last Post: IVB
05-21-2018, 06:32 PM
» Replies: 0
» Views: 1,034
Please report Windows 180...
Forum: CQC Support
Last Post: batwater
05-20-2018, 05:54 PM
» Replies: 14
» Views: 280
Issues with the Windows 1...
Forum: Announcements
Last Post: Dean Roddey
05-20-2018, 10:49 AM
» Replies: 1
» Views: 52
Sonos stops after CQC res...
Forum: CQC Support
Last Post: Dean Roddey
05-18-2018, 10:12 AM
» Replies: 1
» Views: 39
HTTP Post
Forum: CQC Support
Last Post: zra
05-18-2018, 08:47 AM
» Replies: 7
» Views: 106
New Z-Wave driver preview
Forum: CQC Support
Last Post: Dean Roddey
05-17-2018, 01:02 PM
» Replies: 13
» Views: 824

 
  removing itunes
Posted by: indygreg - 05-14-2018, 03:59 PM - Forum: Installation/Configuration - Replies (1)

i no longer use itunes but i have to keep it running for cqc.  how can i remove the itunes dependency from my cqc install if i no longer use it?

greg

Print this item

  Pushbullet Driver
Posted by: whozeawhat - 05-13-2018, 07:20 AM - Forum: Driver Development - Replies (1)

Pushbullet is a cross-platform messaging service that has both paid and free account options. It allows users to send text notifications, links, and files to multiple devices, such as computers and phones. Pushbullet can connect to IFTTT, Android Tasker, and even has a few community tools for the platforms/connections that aren't directly developed by Pushbullet. Free accounts (without a Pro subscription) are limited to 500 pushes per month.

https://www.pushbullet.com

This driver can send and process Pushbullet messages of type: note and link. File operations are not supported by this driver. To send a push, simply write to the field 'SendPush' with a properly formatted string, such as:

{"body":"Space Elevator, Mars Hyperloop, Space Model S (Model Space?)","title":"Space Travel Ideas","type":"note"}

If the format (of the text written to 'SendPush') is unacceptable to Pushbullet or if the send fails, the field '$Naks' will increment. Further options for sending push events are available at: https://docs.pushbullet.com/

Fields prefixed with 'LatestPush-' are user-defined in the config file, per the parameter 'PushElementPairs'. This is a comma-separated list of element pairs. The first half of each pair is the element name, such as 'type'. The second half of each pair is a unique token, that can be included in the parameter, 'HistoryFormat', which defines the template format for each historical entry.

For example, if the config file was defined as:

PushElementPairs~title,T,body,B
HistoryFormat~%(T)-%(B)

Then two fields, 'LatestPush-title' and 'LatestPush-body' would be created, and each listing in the field 'History' will be formatted as "<title>-<body>". 'LatestPush-Localtime' is always created to provide a native time for the latest processed push event.

Other push element options include: type, iden, url, body, title, modified

Account rate limit information is provided via 3 fields. The units are a sort of generic 'cost' number. A request costs 1 and a database operation costs 4. 'Ratelimit-Limit' is the total units for the account, 'Ratelimit-Remaining' is the remaining units, and 'Ratelimit-Reset' is the datetime for the next usage cycle.

Additional fields are available for troubleshooting: 'Command' and 'LastKeepAliveTime'. If the websocket is active, the 'LastKeepAliveTime' will increment every 30 seconds. 'Command' allows a user to perform low-level operations, that shouldn't ever be needed (hopefully).
 
The driver initiates a websocket connection, so new data notices are pushed (instead of polled), and then performs a secure HTTPS request for new data. If requires a secure tunnel, such as stunnel, to create a safe connection to pushbullet servers.

========================================================================

Setup Directions

1) Obtain access token from Pushbullet account

2) Configure stunnel (or similar) for new connection
---When configuring stunnel, select an unused port for the 'accept' line, then enter the same port number when configuring the CQC driver

3) Create driver config file, updating line starting 'Token~' with access token. Move config file to MacroFileRoot (or subfolder).

4) Configure CQC driver.

----If stunnel is installed on the same machine as CQC, enter '127.0.0.1' for the address. Otherwise, a IPv4 address is recommended. 'localhost' does not work, at least for me.



========================================================================

Sample Pushbullet config file:

###############        CONFIG FILE - for Pushbullet Device Driver        ###############
####
#### ---- One config item per line, Use '~' for seperator. Lines with '#' will be ignored. ---- ####
####
#
# Required - below:
#

# Access Token is alpha-numerical string
Token~<Get-This-From-Pushbullet-Account----AccessToken>


###############
# Optional - Defaults/info provided below:
#

# csv pairs of push element and token for history format
PushElementPairs~iden,I,title,T,body,B,modified,M

# template string for history entries
HistoryFormat~%(T) - %(B)

# number of entries in history list
HistorySize~10

# enables logging to file
DebugEnable~False

# interval for poll cycle, in milliseconds
PollInterval~1000



========================================================================

Sample stunnel config section, but be sure to update port on 'accept' line:


[pushbullet-websocket]
client = yes
accept = 127.0.0.1:5000
connect = stream.pushbullet.com:443
checkHost = stream.pushbullet.com
verifyChain = yes
CAfile = ca-certs.pem


========================================================================


Hope you enjoy!
Feel free to reply in the thread, even if you just are trying the driver out. I'm curious about interest. Thanks!



Attached Files
.cqcdrvpack   Pushbullet-v1-0.CQCDrvPack (Size: 16.06 KB / Downloads: 0)
Print this item

  usb-uirt error
Posted by: indygreg - 05-12-2018, 06:26 PM - Forum: CQC Support - Replies (1)

driver shows connected.  Trains new commands without error.  attempting to execute a command i get the error below.  I reloaded the driver, restarted the system, etc.  

01/01 00:00:00-Transit, CQCServer, CQCDrv_USBUirtThread5
{
    CQCIR, USBUIRTS_DriverImpl.cpp.1223, Failed/Internal, Error: 1200/13/0
    The IR device (Moniker=USBUirt) returned error 'A unknown error was returned from the device'
      <CQCServer> CQCIR_DriverBase.cpp - 316
      <CQCServer> CQCDriver_DriverBase.cpp - 8344
      <CQCServer> CQCServer_ThisFacility.cpp - 887
      <CQCServer> CIDOrb_ThisFacility.cpp - 536
      <CQCAdmin> CQCKit_CQCSrvAdminClientProxy.cpp - 903

}

the device info shows as 
USB-UIRT FWVer=5.9, ProtoVer=1.1
Date 2004/3/26

Print this item

  CQC to PowerView Hub via Serial Driver
Posted by: Deane Johnson - 05-12-2018, 09:34 AM - Forum: Installation/Configuration - Replies (18)

I finally installed some HD PowerView shades.  I used PuTTy to extract the "Scene" serial information from the HD Hub.  I also used PuTTy to send it back to the HD Hub to make sure I had the right thing.  It worked exactly as expected.

Next, I moved to CQC.  Nothing.  The Driver shows connected to the Hub. but it's as if it isn't.  No response from the Hub whatsoever.  The COM # has to be correct as it's the same as successfully used with PuTTy.

Here are the codes for the two scenes programmed into the Hub.

1 8043 57748 Sunrise 

2 28541 57748 Noon PowerView Open

1: Scene ID
2: Room ID
3: Scene Name

The command is entered like this:

?SE 1 8043 57748 Sunrise <CR>

When the Hub receives a bad command, it sends back !EE  It isn't sending anything back.

Somewhere, I'm missing something, but I've run out of things to look for.

I've attached a link to Hunter's Serial API sheet for the Hub.

http://cdn.hunterdouglas.com/static/prod...al_API.pdf

Print this item

  Please report Windows 1803 compatibility
Posted by: RichardU - 05-09-2018, 01:17 PM - Forum: CQC Support - Replies (14)

Windows 10 1803 has just been released. Whenever anyone tries this on a CQC server, please let us know how it works.

Cheers, Richard

Print this item

  OpenHAB Driver
Posted by: whozeawhat - 05-08-2018, 11:20 AM - Forum: Driver Development - Replies (2)

OpenHAB is a JAVA-based open source automation software, http://www.openhab.org. It can run on almost all hardware, including Windows and Raspberry PI. It has apps for both android and IOS, and has a number of connection options, such as MQTT, SNMP, HTTP, and has a number of various interface/display options. Here's the summary from their website:

  1. is designed to be absolutely vendor-neutral as well as hardware/protocol-agnostic
  2. can run on any device that is capable of running a JVM (Linux, Mac, Windows)
  3. lets you integrate an abundance of different home automation technologies into one
  4. has a powerful rule engine to fulfill all your automation needs
  5. comes with different web-based UIs as well as native UIs for iOS and Android
  6. is fully open source
  7. is maintained by a passionate and growing community
  8. is easily extensible to integrate with new systems and devices
  9. provides APIs for being integrated in other systems

OpenHAB has also joined the cloud (band-wagon), and has a free, no-limits cloud service that connects and allows item values to be logged and uploaded to an external secure site, myopenhab.org.

IMHO, the documentation for version 2.x is great for the beginner but advanced subjects are difficult to locate or unavailable. OpenHAB has an active community and is actively developing new bindings (i.e., device drivers) for external connections. I found the community forum a better resource, than the online docs, but the built-in docs for the REST API are very comprehensive.

Attached is a CQC device driver for monitoring events, such as changes to an OpenHAB item's (field's) value. Other events could be monitored, but the driver does not support any other event types (yet). The driver's connection is only one-way, as any commands to the openhab instance can be completed using the REST API.

A TCP connection to the device running OpenHAB is required for the driver, since it implements a SSE (Server-side Event) protocol, where a persistent, one-way connection is created after a HTTP request.

The driver config file allows for multiple items to listened for (subscribed). Config file format, is as follows, (keyword names are not case-sensitive):

###############        CONFIG FILE - for OpenHAB Device Driver        ###############
####
#### ---- One config item per line, Use '~' for seperator. Lines with '#' will be ignored. ---- ####
####
# PollInterval will polling define interval, in milliseconds, default is 500
PollInterval~250

# Add additional custom fields on seperate lines, driver requires at least 1
ItemChange~someItemName
ITEMCHANGE~anotherItemName
itemchange~yetAnotherItemName
itemchange~AfourthItemName

# DebugEnable will dump debugging and detailed logging to a local file in MacroFileRoot
DebugEnable~False



Attached Files
.cqcdrvpack   OpenHAB-v1-0.CQCDrvPack (Size: 10.64 KB / Downloads: 0)
Print this item

  WebRIVA disconnect issue
Posted by: dlmorgan999 - 05-08-2018, 07:08 AM - Forum: CQC Support - Replies (11)

I've been meaning to post this for a while, and some discussion in the 5.3 beta thread reminded me to do it.  I'm currently using two different iPads with WebRIVA.  When connected, they work great (albeit sometimes a bit slow to update all the information on a page that has lots of fields).  I do run into a problem regularly though, and I'm wondering if there are things I can do to make it better.

The issue is that when I'm watching a movie in my theater, I'll use the iPad to get everything going, and then turn it off to preserve darkness. If I turn it back on after some time, CQC is usually no longer responding.  I end up having to kill the "app" (it's really just a full-screen Safari shortcut) and re-open it. 

Is this expected behavior?  Do you have any suggestions on things I could do to improve the experience?

Print this item

  Embedded Variable in Text
Posted by: zra - 05-07-2018, 09:21 AM - Forum: CQC Support - Replies (2)

Dean, For the life of me I can't remember the format and I've searched for an hour. 

Value is %(1) 

I thought the above was right, but it's not working. 

Huh

Print this item

  NY magazine interviewed me...
Posted by: IVB - 05-05-2018, 04:07 AM - Forum: General Automation - Replies (1)

http://nymag.com/selectall/smarthome/ext...ition.html

Alas I was in the last few days of my 18 month project so only had a little time to brag but got some stuff out there ...

Print this item

  Sonos Driver with Sonos Connect Amp
Posted by: zra - 05-04-2018, 08:19 PM - Forum: CQC Support - Replies (5)

Hi Dean, 

I recently purchased this Connect Amp and the driver is giving me an error:

{
    CIDUPnP, CIDUPnP_Service.cpp.302, Failed/Cannot Do, Error: 806/6712/2147746322
    Could not query the value of state variable IsZoneBridge
    Network system error
      <CQCServer> SonosZPPropS_DriverImpl.cpp - 453

}

This and the none Amp version of the Connect are otherwise the same from what I can tell. 

Can this be fixed easily? 

Thanks. 

System is running well. Virtually no problems that aren't caused by me.

Print this item