-
Notifications
You must be signed in to change notification settings - Fork 11
2.4 Sending Measurements
Lets send some measurements using the device that you have just registered. We'll run through the steps involved to get ambient light data through from your device to the platform.
First, grab the SendLightMeasurementDevice script contained in the Telstra example set (found here)
Change the hostname to again match that of your team, before loading this script onto your device.
Secondly, open the serial monitor and send the command "send"
Go to Cumulocity 'Data Explorer' and select your device and add data measurements.
Now you can plot your data in Data Explorer.
You're also at the stage where you can run the board on its own, independent from your pc/laptop. Maybe you'd like to stick it in your fridge to check if the light really turns off when you shut the door! You can do this with the help of the battery and display readings on OLED module (Example script can be found here).