Module Integration Guides
Linux

Customising device shadow

2min



Every project in Bytebeam comes with a default Device Shadow stream. The stream by default contains just three fields Status, timestamp, and sequence.

This guide shows how to create additional fields and write data to this stream from your application. For that, Click on the username at the top right corner of the Bytebeam  cloud console and navigate to Settings 

Document image


Here under the Stream Tab, you can find “device_shadow

For example, add two new columns device_name and arch to the device shadow. You can do this by entering the field name and type and clicking the + button.



Document image


After adding both fields your device shadow will look like the below:



Document image


Now update your application to push this data to the device.

demo.py
demo.js
demo.rs
demo.go


You should now be able to see the new fields on Bytebeam cloud:

Document image