Issue with driver to detect People Count
Closed this issue · 5 comments
Sensor count set to a room once is not retained. To reproduce:
- Set the sensor count to 10 and execute the command for room 6-09.
- Worked initially for one event
- Switched to another system in building zone in backoffice
- Created another event for room 6-09
- For system 6-09 on checking the debug logs, people count was shown as 0
Thanks sravani,
Can you help grab the js console logs from backoffice (Log level info, error and verbose) while the debug checkbox of the Eventattendancerecorder and Staff API modules in that room are selected, at the moment that the event ends? Paste the logs here or link them here to a secret gist.github.com.
This is the moment that eventattendancerecorder module will tell staff-api module to execute patcheventmetadata to store the people count for that event. The key to solving this issue will the be the outcome of that patcheventmetadata (Or confirming that it did not occur at all for some buggy reason). In an initial test in that same system I did confirm that the patcheventmetadata succeeded (Mia, Steve and I spent several weeks debugging it in placeos Dev using the above method and others)
Sure I've created another event now to monitor the logs. I'll share them once event ends
@stakach Noticing 0 counts again for few events today. It might have occurred after these back to back meetings in the screenshot below got ended. The last 3 meetings below returned 0 all the previous events worked fine.