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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,776
» Latest member: ultrasalmubs
» Forum threads: 10,782
» Forum posts: 74,641

Full Statistics

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

Latest Threads
Image Pack Previews Not A...
Forum: CQC Support
Last Post: gReatAutomation
1 minute ago
» Replies: 0
» Views: 2
SOLVED: VLC dll Issues wi...
Forum: CQC Support
Last Post: gReatAutomation
59 minutes ago
» Replies: 2
» Views: 9
Alarm Decoder for Ademco ...
Forum: CQC Support
Last Post: gReatAutomation
2 hours ago
» Replies: 4
» Views: 17
New MQTT support
Forum: CQC Support
Last Post: Dean Roddey
Yesterday, 09:33 PM
» Replies: 42
» Views: 274
Looking forward to the ne...
Forum: Beta Discussions
Last Post: Dean Roddey
Yesterday, 07:59 PM
» Replies: 2
» Views: 40
Strange behavior after re...
Forum: Installation/Configuration
Last Post: George M
Yesterday, 05:18 PM
» Replies: 6
» Views: 18
Official 5.4 Beta Release...
Forum: Beta Discussions
Last Post: Dean Roddey
Yesterday, 03:51 PM
» Replies: 53
» Views: 6,016
I think Amazon may have s...
Forum: Installation/Configuration
Last Post: zpollock
Yesterday, 09:44 AM
» Replies: 23
» Views: 458
The race to become Skynet
Forum: General Automation
Last Post: Dean Roddey
Yesterday, 08:38 AM
» Replies: 0
» Views: 49
TTS II Driver requirement...
Forum: Installation/Configuration
Last Post: Dean Roddey
05-20-2019, 09:34 PM
» Replies: 1
» Views: 17

 
  Image Pack Previews Not Available
Posted by: gReatAutomation - 1 minute ago - Forum: CQC Support - No Replies

I was attempting to view the different image packs, using the Download Preview link, however, receive and error for all of them.


[Image: Screen-Shot-2019-05-22-at-13-47-08.jpg]
Error:


[Image: Screen-Shot-2019-05-22-at-13-47-12.jpg]

Print this item

  SOLVED: VLC dll Issues with CQC Interface Template Viewer
Posted by: gReatAutomation - 1 hour ago - Forum: CQC Support - Replies (2)

Solution for those who do not care for the details. It appears CQC is looking in C:\Windows\system32\ for the VLC dlls. 

That is, it does not appear that you need to install VLC Player.

Simply download the latest 32-bit versions of libvlc.dll and libvlccore.dll from https://www.dll4free.com/ and copy them both to C:\Windows\system32\ and the problem is solved.

== Troubleshooting Details ==
I downloaded and installed latest version of VLC (32-bit) from the VLC web site onto Windows 10. Was able to open RTSP stream from VLC.

I opened up Interface Template Viewer and received the error, "The code execution cannot proceed because libvlc.dll was not found. Reinstalling the program may fix this problem."

I added VLC program path to system path as a System Variable under Environment Variables. Same issue.

I reinstalled VLC. Same issue.

I then downloaded libvlc.dll from https://www.dll4free.com/ and coped it to the VLC program directory. Same issue.

On a hunch from my software engineering days, I copied libvlc.dll to C:\Windows\system32\ 

Different error, "The code execution cannot proceed because libvlccore.dll was not found. Reinstalling the program may fix this problem."

I reinstalled VLC. Same issue.

I then downloaded libvlccore.dll from https://www.dll4free.com/ and coped it to the VLC program directory. Same issue.

I copied libvlccore.dll to C:\Windows\system32\ 

No more errors.

I uninstalled VLC completely.

Am able to open up the Interface Template Viewer with no errors. My video stream does not display, but I am not receiving dll errors.

Print this item

  Strange behavior after replacing my router
Posted by: George M - Yesterday, 03:22 PM - Forum: Installation/Configuration - Replies (6)

Something strange is happening and I am stumped.
I replaced my router.
The only major change was going from a network of 192.168.0.1 to 192.168.1.1

But now my MS wont run. I mean the computer runs fine and is connected to the network. But CQC wont start. When I try to open Admin Interface, it hangs and finally comes up with unable to contact nameserver.

So I figured I would just re install the same version over what is there. But then for the first time ever it tells me that port 13502 is not available. Then 13503 is not available. Finally when I have picked about 4 new ports it starts to continue with the installation, but then stops because the directory CQCData is locked. Huh???

I can go into that directory and open, move change files etc.

Not sure what is happening or how to correct it.

Print this item

  Alarm Decoder for Ademco Honeywell Vista 20P
Posted by: gReatAutomation - Yesterday, 10:51 AM - Forum: CQC Support - Replies (4)

I see it's been a couple of years since the last post on the Alarm DecodeR AD2USB device: http://www.alarmdecoder.com/catalog/product_info.php/products_id/29

I have a newly installed Ademco Honeywell Vista 20P. I did get the Tuxedo Touch Controller but it's so-so as far as automation and ZWave is concerned. There is an HTTP API that one can access however, I have not been able to figure out how to get an API key to actual try to use it.

Dean, it looks like they've updated their SW interface since the last thread a couple of years ago: https://www.alarmdecoder.com/wiki/index.php/Developers



Any chance at being able to integrate this?

Print this item

  The race to become Skynet
Posted by: Dean Roddey - Yesterday, 08:38 AM - Forum: General Automation - No Replies

So even LG is getting in heavy, with their own custom AI oriented chip.

https://techcrunch.com/2019/05/17/lg-ai-...mart-home/

And apparently various others are jumping into that end of the pool as well, doing their own hardware despite that being way out of their normal bailiwick.

Print this item

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

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