Posts: 341
Threads: 53
Joined: Nov 2018
How can I perform device control from the admin interface? I'm testing out some new devices and such (currently MQTT). I want to test and verify that sending commands is working properly.
Other than building a UI interface how can I do a simple control test?
Posts: 341
Threads: 53
Joined: Nov 2018
Interestingly enough I tried from the Driver panel to just change the field for the MQTT device from False to True and it works... it's sending the new value to MQTT.
But.. it's not sending to the correct topic.
Is this method of changing the value in the driver panel valid for all drivers and devices?
Posts: 40,483
Threads: 491
Joined: Aug 2002
Be sure to make the driver reload any changes you've made, and that they are are accepted. Use the little command line CheckMQTTCfg program (from the CQC Command Prompt) to verify your configuration first, to be sure it's going to be accepted. Otherwise if the driver rejects it, you won't be working against the config you think you are.
Dean Roddey
Explorans limites defectum
Posts: 341
Threads: 53
Joined: Nov 2018
(01-04-2020, 09:44 AM)Dean Roddey Wrote: Be sure to make the driver reload any changes you've made, and that they are are accepted. Use the little command line CheckMQTTCfg program (from the CQC Command Prompt) to verify your configuration first, to be sure it's going to be accepted. Otherwise if the driver rejects it, you won't be working against the config you think you are.
I saw the CQC Command Prompt but not finding much documentation. Is there a full list of available commands or a help function?
Posts: 40,483
Threads: 491
Joined: Aug 2002
There aren't many command line tools. Generally you just run the tool with no options and it'll give you the info you need to provide. For that one it's not much.
Dean Roddey
Explorans limites defectum
Posts: 341
Threads: 53
Joined: Nov 2018
(01-04-2020, 10:36 AM)Dean Roddey Wrote: There aren't many command line tools. Generally you just run the tool with no options and it'll give you the info you need to provide. For that one it's not much.
I tried that and noticed it did provide the single options. I'll have to go through the other cli tools. Is there a list of them anywhere?
Posts: 40,483
Threads: 491
Joined: Aug 2002
There aren't really many that are for anyone but us. The only other ones commonly used, and those mostly just when we ask are
1. CQCNetTest. Just run it and it does a basic validation of connectivity and displays info related to that
2. CIDLogAdmin. This a command line tool to query the log server and is useful if we need you to get us a log dump.
Dean Roddey
Explorans limites defectum
Posts: 341
Threads: 53
Joined: Nov 2018
Thanks. I'm making a cheat sheet and documenting as I go. Might put together a newbie guide