PSS #109
Updated by Sieu Ngo about 1 month ago
Customer Interaction:
Sign On door: "Text "XXX" to 928.367.2101 for Door Code"
Blaze will send back: "Your Door code is [Number 1 field]. [Any Text from Custom 1]"
For Testing, will use these first:
W1B = laundromat bathroom
MHB = Mtn Haven Back Ally
There will be a lot more - each code stored as First Name. Code will be stored in "Number 1" field.
The door code will just be a random 4 digits. date based.
So if today is 5/13/26 (a Wednesday), the code will be 3162
1st Digit: Perhaps using something as simple as Day of the bash script "shuf -i 1000-9999 -n 1" week, so Wed=3
2nd/3rd Digit: DD (13th) + DOW (3) =16
4th Digit: Month - DOW = 5-3 = 10 = 2
On Thursday 5/14/26, code would be: 4171
On Friday, Jan 1st 2027, code would be: 5043 (for the 4th digit, it is 01 (jan) -3 = -2 - so we are taking absolute value)
Each day, around 8am, a new code will be emailed to mgr@singo1.com to key into the new lock. The code on blaze should be updated at 9am. VA's will add the new code once email received they have an hour. Then delete out the old code some time after 9am. If the old code is active for a while, that's fine if we get busy.
Sign On door: "Text "XXX" to 928.367.2101 for Door Code"
Blaze will send back: "Your Door code is [Number 1 field]. [Any Text from Custom 1]"
For Testing, will use these first:
W1B = laundromat bathroom
MHB = Mtn Haven Back Ally
There will be a lot more - each code stored as First Name. Code will be stored in "Number 1" field.
The door code will just be a random 4 digits. date based.
So if today is 5/13/26 (a Wednesday), the code will be 3162
1st Digit: Perhaps using something as simple as Day of the bash script "shuf -i 1000-9999 -n 1" week, so Wed=3
2nd/3rd Digit: DD (13th) + DOW (3) =16
4th Digit: Month - DOW = 5-3 = 10 = 2
On Thursday 5/14/26, code would be: 4171
On Friday, Jan 1st 2027, code would be: 5043 (for the 4th digit, it is 01 (jan) -3 = -2 - so we are taking absolute value)
Each day, around 8am, a new code will be emailed to mgr@singo1.com to key into the new lock. The code on blaze should be updated at 9am. VA's will add the new code once email received they have an hour. Then delete out the old code some time after 9am. If the old code is active for a while, that's fine if we get busy.