Roles are numeric fields, currently lathe user is 11 and Lathe superuser is 9.
The time the user authenticated will be the time of the message in metadata.
The ID of the tag will be the last field of the topic of the message. You can subscribe to a wildcard tag to get all tags' messages.
Thinking about that there is more than just So Make It using this code now. Add a feature to push auth's into some well protected mqtt topic.
The publish shall be to the topic:
confidential/somakeit/space/tags/<tag_id>
The message format shall be:Roles are numeric fields, currently lathe user is
11
and Lathe superuser is9
. The time the user authenticated will be the time of the message in metadata. The ID of the tag will be the last field of the topic of the message. You can subscribe to a wildcard tag to get all tags' messages.