Posts: 4,225
Threads: 365
Joined: May 2005
Hi all.
I have been trying some more MQTT stuff and I need to verify the config file but it appears to not run
C:\Program Files (x86)\CQC\Bin>CheckMQTTCfg.exe /Moniker=CBus
CQC MQTT Config Checker
The CQC environment was not found
C:\Program Files (x86)\CQC\Bin>
The environment variable not found is obviously the problem - does anyone know how to overcome this and get the verification to work.
Thanks
Mykel Koblenz
Illawarra Smart Home
Posts: 40,483
Threads: 491
Joined: Aug 2002
Did you run it from a CQC Command Prompt? It can't be just a regular command prompt.
Dean Roddey
Explorans limites defectum
Posts: 4,225
Threads: 365
Joined: May 2005
Yes and no. The CQC Command prompt drops you into c:\windows\system32 from memory.
Nothing I have tried has worked with the same error every time
Mykel Koblenz
Illawarra Smart Home
Posts: 589
Threads: 31
Joined: May 2009
I have a working system with MQTT as well. Just gave it a try to see if I can help at all:
Opened a CQC Command Prompt (via shortcut created by CQC install:
Code:
C:\Program Files\CQC\Bin>CheckMQTTCfg.exe /Moniker=MQTT1
CQC MQTT Config Checker
- The MQTT GW Server configuration parsed successfully.
C:\Program Files\CQC\Bin>
and from a regular command prompt:
Code:
C:\Users\CQCMaster>C:\"Program Files\CQC\Bin\CheckMQTTCfg.exe" /Moniker=MQTT1
Code:
CQC MQTT Config Checker
Code:
The CQC environment was not found
This is all from CQC ver 6.0.7
Let me know if there's anything else I can try to help narrow things down for you.
-Mike G
Posts: 40,483
Threads: 491
Joined: Aug 2002
03-17-2022, 01:07 PM
(This post was last modified: 03-17-2022, 01:08 PM by Dean Roddey.)
It's OK where the default initial directory is. The CQC stuff is in the path, so it'll find it. You shouldn't even have to provide the path, just CheckMQTTCfg should work.
Dean Roddey
Explorans limites defectum