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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,766
» Latest member: Michaelpen
» Forum threads: 10,787
» Forum posts: 74,684

Full Statistics

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

Latest Threads
Unhandled system exceptio...
Forum: CQC Support
Last Post: kblagron
3 hours ago
» Replies: 31
» Views: 2,045
new build
Forum: CQC Support
Last Post: Dean Roddey
4 hours ago
» Replies: 5
» Views: 195
Leviton DZR15-1RZ Recepta...
Forum: CQC Support
Last Post: Dean Roddey
5 hours ago
» Replies: 9
» Views: 27
New MQTT support
Forum: CQC Support
Last Post: Dean Roddey
6 hours ago
» Replies: 43
» Views: 289
Official 5.4 Beta Release...
Forum: Beta Discussions
Last Post: Dean Roddey
6 hours ago
» Replies: 54
» Views: 6,042
Looking forward to the ne...
Forum: Beta Discussions
Last Post: Dean Roddey
6 hours ago
» Replies: 4
» Views: 61
Native amazon echo implem...
Forum: Installation/Configuration
Last Post: kblagron
6 hours ago
» Replies: 1
» Views: 12
Honeywell TH8320ZW Thermo...
Forum: CQC Support
Last Post: Dean Roddey
7 hours ago
» Replies: 4
» Views: 10
RTSP Stream / Username an...
Forum: CQC Support
Last Post: Shaky
7 hours ago
» Replies: 6
» Views: 23
Abandoned Windows 10 for ...
Forum: Installation/Configuration
Last Post: gReatAutomation
8 hours ago
» Replies: 3
» Views: 19

 
  TTS II Driver requirements
Posted by: znelbok - 05-20-2019, 07:08 PM - Forum: Installation/Configuration - Replies (1)

I am trying to install the TTS II driver and the manifest is asking for which voice to use.

I can't find any reference to what we need to install wrt the MS TTS and voices.  Is this part of the CQC installer where the we are asked if we want to install the Kinect drivers etc or is it totally separate.

Its a MS on a Win10 machine, so TTS is installed and voices are there.

Some guidance is needed.

Print this item

  Looking forward to the next drop (6.x?)
Posted by: Dean Roddey - 05-20-2019, 01:34 PM - Forum: Beta Discussions - Replies (4)

So I've been thinking a lot about how to move forward. I've been trying to find something that would provide a big bang for the buck, hopefully on multiple fronts, something fundamental and non-linear in terms of the product's applicability, and something that will provide me with some needed benefits as well.

Ultimately, I think that the best answer is to add support for Linux for the back end. My reasoning is:

1. I badly need to broaden my skill set. I've sacrificed my career to this to the point that I'm the world's leading expert in Me World, which (bizarrely) a lot of other people don't consider as important as I do. Windows/C++ is a dying combination at this point, and the bulk of C++ work seems to on Linux.
2. I've already open sourced my CIDLib code (the general purpose system that underlies CQC), and that's where the work would be done. CQC would mostly just come along for the ride since it is written purely in terms of CIDLib. This could make CIDLib a far more attractive platform for other folks if it was multi-platform (and it would be very cleanly multi-platform as well.) That could get more folks on board at that level to add new capabilities, which CQC could in turn use.
3. Getting the CQC back end on Linux means that it can then run on a wide variety of systems, both Windows and Linux. That would make it a lot more appealing to a lot of folks, and possibly folks with real money to invest. 

CIDLib was designed from day one to support Windows and Linux cleanly, but the opportunity just never arose to actually do it. The whole reason it's very strongly Me World is so that everything would be written in terms of my own 'virtual kernel' and hence portable very cleanly.

I've had Ubuntu on a VM for a couple months and have been playing around with it, and also with the Rust language as sort of side thing. But I could start moving forward with getting the Linux platform driver for CIDLib done as well.

I'm guessing it will be a pretty significant effort, like on the six months time scale. But, if I got it done and cleanly so, it could be quite a coup. This would only be the back end. The front end would stay on Windows because making the UI portable is a whole other couple orders of magnitude more complex.

Print this item

  CQC error installing on server 2016
Posted by: zane - 05-20-2019, 04:48 AM - Forum: Installation/Configuration - Replies (2)

When installing CQC on server 2016 i get a erro saying "CQCData is locked" how do i fix this so i can and completely unistall and try to install with different ip addresses. I beleive it is conflicting with Hyper-V and or Windows deployment. I have also attached logs.

Thank you
Zane



Attached Files Thumbnail(s)
   

.txt   CQCInstall.Txt (Size: 2.15 KB / Downloads: 2)
Print this item

  How-To : Tasmota with CQC using MQTT
Posted by: znelbok - 05-19-2019, 07:14 PM - Forum: How-To - Replies (2)

Tasmota is a very popular firmware to flash onto many Web enabled devices that are found for sale in many places.  This all started with the SonOff basic ESP8266 based relay but has expanded quite significantly.

Below are some of the lines that can be used in the cfg file for the various options of the Tasmonta firmware.  At the moment it is just plugs and relays and once I have sorted out the RGB side I will post the cfg lines required to control colour and brightness.

At a minimum a plug/relay will need two fields - One to read the status of the device and one to control it.  There are three options, On, Off and Toggle.  This is a basic setup

Code:
   <Fields>
     
        <!-- ================================================================== -->
        <!-- Sonoff Basic Relay 1                                               -->
        <!-- 192.168.0.                                                         -->
        <!-- Test Relay                                                         -->
        <!-- ================================================================== -->
       
        <Generic Topic="stat/TestRelay/POWER" BaseName="TestRelay" Access="R" FldType="Boolean">
            <PLFmt Type="BinText"/>
            <BoolTextMap FalseOut="OFF" TrueOut="ON">
                <BoolTextVal TarVal="False" MQTTVal="OFF"/>
                <BoolTextVal TarVal="True" MQTTVal="ON"/>
            </BoolTextMap>
        </Generic>
        
       <Generic Topic="cmnd/TestRelay/POWER" BaseName="TestRelay_Cmd" FldType="String" OnConnect=" " Retain="No"
                   Limits="Enum: On, Off, Toggle" Access="W">
           <PLFmt Type="BinText"/>
           <EnumMap>
               <EnumVal FldVal="Off" MQTTVal="OFF"/>
               <EnumVal FldVal="On" MQTTVal="ON"/>
               <EnumVal FldVal="Toggle" MQTTVal="TOGGLE"/>
           </EnumMap>
       </Generic>
</Fields>
The firmware also supports blinking.  The user can define the number of times the relay "blinks" and the time between blinks.  Once blinking has started it can be stopped with the BlinkOff command.  Note that the relay does not publish the change of state when blinking.  Turning off blinking will revert the relay back to its state prior to blinking.

Below is the extended Command for the control of the relay
Code:
           <Generic Topic="cmnd/TestRelay/POWER" BaseName="TestRelay_Cmd" FldType="String" OnConnect=" " Retain="No"
                   Limits="Enum: On, Off, Toggle, Blink, BlinkOff" Access="W">
           <PLFmt Type="BinText"/>
           <EnumMap>
               <EnumVal FldVal="Off" MQTTVal="0"/>
               <EnumVal FldVal="On" MQTTVal="1"/>
               <EnumVal FldVal="Toggle" MQTTVal="2"/>
               <EnumVal FldVal="Blink" MQTTVal="3"/>
               <EnumVal FldVal="BlinkOff" MQTTVal="4"/>
           </EnumMap>
           </Generic>

The fields for controlling the blink time and blink count.  The CQC field for time is in seconds and the drivers converts it to 100th's of seconds.

Becasue the firmware publishes status changes on the same topic in JSON format we need to use the IgnoreNotFnd feature.  This means the field is only updated if the JSON value matches the InPath value otherwise it is ignored.  This stops the driver from putting all the other fields in error that use the same topic when if it finds a match.
Code:
        <Generic Topic="stat/TestRelay/RESULT" BaseName="TestRelay_BlinkCount" Limits="Range:1,32000" FldType="Card" Retain="No"
                   Access="R">
               <PLFmt Type="BinText"/>
               <JSONMap
                InPath="/BlinkCount" IgnoreNotFnd="Yes" >
                <ScaleRangeMap MQMin="0" MQMax="32000" FldMin="0" FldMax="32000"/>
            </JSONMap>
        </Generic>
       
           <Generic Topic="cmnd/TestRelay/BlinkCount" BaseName="TestRelay_BlinkCount_Cmd" FldType="Card" Limits="Range:1,32000" OnConnect=" " Retain="Yes"
                   Access="W">
           <PLFmt Type="BinText"/>
         </Generic>

         <Generic Topic="stat/TestRelay/RESULT" BaseName="TestRelay_BlinkTime" Limits="Range:0,3600" FldType="Float" Retain="No"
                   Access="R">
               <PLFmt Type="BinText"/>
               <JSONMap
                InPath="/BlinkTime" IgnoreNotFnd="Yes">
                <ScaleRangeMap MQMin="0" MQMax="3600" FldMin="0" FldMax="360"/>
            </JSONMap>
        </Generic>
 
           <Generic Topic="cmnd/TestRelay/BlinkTime" BaseName="TestRelay_BlinkTime_Cmd" Limits="Range:0,360" FldType="Float" OnConnect=" " Retain="Yes"
                   Access="W">
           <PLFmt Type="BinText"/>
           <ScaleRangeMap MQMin="0" MQMax="3600" FldMin="0" FldMax="360"/>
         </Generic>

Print this item

  Deleting Drivers From AI "Add Drivers List"
Posted by: kblagron - 05-16-2019, 07:12 AM - Forum: CQC Support - Replies (1)

I may of been guilty of not doing this the preferred way, and I am thinking it will stay for awhile - I was manually adding a manifest and .Meng2 file, and noticed that when I incremented the version number in the manifest, the new one was added, but the old one remained in the list even though they used the same file name.

Is there any way to rebuild the driver list that the AI "Add Driver" reads, and remove that reference?  Right now I have Driver V1.0, and Driver V1.2 in my list - however the V1.2 is valid, the older version looks to be reading a cache of one of the earlier implementations.  If I try to install V1.0, I get error messages that are not even in the driver .Meng2 now, and not sure why it is even showing up in the list.

I have tried restarting the CQC App Shell, rebooting, and cleaning up all the temporary files, but the Driver 1.0 remains on the list.

Print this item

  Sound United buys Onkyo/Pioneer
Posted by: Dean Roddey - 05-15-2019, 02:55 PM - Forum: General Automation - Replies (2)

Assuming this is fact and not just the internet, Sound United, which already owns Denon and Marantz, has purchased Onkyo and Pioneer. That would seem somewhat anti-competitive, given that they now sort of own most of the mainstream slash volume AVR models, right?

Print this item

  Somfy RTS Driver
Posted by: jokermac - 05-14-2019, 07:19 PM - Forum: CQC Support - Replies (1)

I see there is a somfy RTS driver but have not found any documentation on it.  Can someone point me to info on this driver, or more specifically the command structure?

Print this item

  SnapAV acquires Control4
Posted by: Dean Roddey - 05-09-2019, 10:32 AM - Forum: General Automation - No Replies

For $680M. That sucks since I was just about to buy them myself for $199 (plus taxes of course.) I never realized that SnapAV was anywhere near that big.

Print this item

  Reading Text File of Google Calendar Entries
Posted by: kblagron - 05-09-2019, 09:00 AM - Forum: CQC Support - Replies (19)

I am working on a driver that will load in my Google Calendar entries.  I found a python script online that uses the Google Calendar API that will give me the following text from my linked calendars:

Code:
email1@gmail.com:

2019-05-07 Debo Golf Tournament
2019-05-25 Bolder Boulder Race

email2@gmail.com:

2019-05-06T09:00:00-05:00 Haircut
2019-05-10T18:00:00-05:00 MGA Blue Grass Pairing Party
2019-05-11T08:00:00-05:00 MGA Blue Grass Tournament
2019-05-14T09:30:00-05:00 Check Chlorine Level

email3@gmail.com:

2019-05-14 HMR Board Meeting

en.usa#holiday@group.v.calendar.google.com:

2019-05-05 Cinco de Mayo
2019-05-12 Mother's Day
2019-05-27 Memorial Day
2019-06-16 Father's Day


I plan to generate this file once a day through task scheduler, and I have total control of this output as well - I can set it up as a json list and then parse it out, or just use the text as shown, or something different.  I am currently at the point in the driver where I can read the data, but before I got past this, I wanted to know if it would be better to parse it as a text file or put the output into a json format and use the parser you have built in?  I have done that on a driver in the past, so more familiar with that.

Just wanted an opinion of the best way forward before I get too deep into this.

Print this item

  Google is killing the Nest cloud API
Posted by: Dean Roddey - 05-07-2019, 01:56 PM - Forum: General Automation - Replies (3)

So Googles says they are going to shut down the Nest cloud API on Aug 31st. Everyone has to migrate over to their Google Assistant system. I have no idea what that really entails. From a quick read it's hard to tell if that means basically just voice control or if there's an equivalent to the Nest API available there.

Print this item