esp32-peoplecounter
- Create device in IoT Central
- Record Scope ID, Device ID, Primary device key
- Install DPS Keygen: https://github.com/Azure/dps-keygen
- Run dps-keygen:
npx dps-keygen -di:<device ID> -dk:<device key> -si:<scope ID>
- Record the connection string
- Copy
include/config.dist.h
toinclude/config.h
- Edit
include/config.h
, modifiy WiFi settings, and insert the connection string from above
- Currently the people checking loop is interrupted by the Azure upload function. These could easily be run on separate cores to eliminate this issue.