Skip to content

Commit

Permalink
Updated MQTT documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
matjack1 committed Sep 21, 2024
1 parent 2cf5478 commit 8f14702
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README-MQTT.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ If the UID is in the users list, there can be a set of possible "access" configu
"access":"the access state",
"username":"username",
"uid":"token UID",
"pincode":"user pincode",
"hostname":"your esp-rfid hostname",
"doorName":"your door name"
}
Expand All @@ -280,6 +281,7 @@ If instead the UID is not present in the users list the message will be:
"access":"Denied",
"username":"Unknown",
"uid":"token UID",
"pincode":"user pincode",
"hostname":"your esp-rfid hostname"
}
```
Expand Down Expand Up @@ -308,6 +310,7 @@ In case of multiple doors managed by one esp-rfid, you'll get an array for doorn
"access":["the access state door 1", "access state door 2"],
"username":"username",
"uid":"token UID",
"pincode":"user pincode",
"hostname":"your esp-rfid hostname",
"doorName":["door 1", "door 2"]
}
Expand Down Expand Up @@ -622,6 +625,7 @@ And the message looks like this:
{
"uid":"token UID",
"username":"username",
"pincode":"user pincode",
"access":"the access state",
"time":1605991375,
}
Expand Down

0 comments on commit 8f14702

Please sign in to comment.