Set up an Arduino to monitor light and sound readings from your baby's room to determine when they wake up.
Components I used:
Guide: https://thingsboard.io/docs/user-guide/install/docker-windows/
- [Prerequisites] Install Docker CE
- Create
d:\tb\
directory - [Windows] Run
docker run -it -p 9090:9090 -p 1883:1883 -p 5683:5683/udp -v d:\tb\data:/data -v d:\tb\logs:/var/log/thingsboard --name mytb --restart always thingsboard/tb-cassandra
- Browse to http://localhost:9090
- [PowerShell] Run
Remove-item alias:curl
- Run
curl -d "{""light"": 7, ""sound"": 13}" http://localhost:9090/api/v1/A1_TEST_TOKEN/telemetry --header "Content-Type:application/json"