diff --git a/content/VCS-Documentation/server-install/MQTT-Configuration.md b/content/VCS-Documentation/server-install/MQTT-Configuration.md deleted file mode 100644 index 013e25475..000000000 --- a/content/VCS-Documentation/server-install/MQTT-Configuration.md +++ /dev/null @@ -1,21 +0,0 @@ -# MQTT Configuration - -## Rules - -When configuring MQTT in a camera or other device, these rules need to be respected due to assumptions made in how we process and route messages. - -### Connection messages - -Currently we receive connect, but not disconnect messages. AppMqtt does receive a disconnect, but it is not converted and sent in the pipeline today. These standards presume that the disconnected message can be added one day. - -- Topics end with "/event/connection". -- Payload has a boolean `connected` showing the connection state. -- Payload has a `description` of the event of "Connected" or "Disconnected". - -### Application event messages - -For axis cameras, these events come from the ACAP applications. - -- Payload contains `topic`, with 3 parts delimited by "/". The 2nd part is the application name. E.g., "VMD". The 3rd part is the profile identifier (aka "zone"). E.g., "Camera1ProfileANY" indicates any zone. -- Payload contains `message` object, which contains `data`. For zone triggering, `data` contains `active`, with a string value of "1" or "0". - diff --git a/content/VCS-Documentation/server-install/Server Install.md b/content/VCS-Documentation/server-install/Server Install.md new file mode 100644 index 000000000..696bf6758 --- /dev/null +++ b/content/VCS-Documentation/server-install/Server Install.md @@ -0,0 +1,9 @@ + +# New server setup +1. install vcs +2. setup docker-compose/ configure postgres[[New install (single server)]] +3. database migration TODO: link to document + +# Existing server setup +1. setup docker-compose / configure postgres [[New install (single server)]] +2. database migration for existing server \ No newline at end of file diff --git a/content/index.md b/content/index.md index 60f933039..4024a290f 100644 --- a/content/index.md +++ b/content/index.md @@ -9,3 +9,5 @@ git clone https://github.com/Acuity-vct/vcs-documentation ``` commit any documentation to `content/VCS-Documentation` + +Documentation for [[New install (single server)]] \ No newline at end of file