-
Notifications
You must be signed in to change notification settings - Fork 2
Dashboard
You now have data in your dashboard! What we need to do next is write some Real-Time Expressions to display number of drinks in the fridge, total weight, and beer drank over time.
Number of Drinks in the fridge: =math.round(([w1_weight]+[w2_weight]-49.01)/0.80) & '🍺'
Total Weight: ='⚖️ ' & math.round([w1_weight]+[w2_weight],2) & " lbs"
Total Beers Drank: =math.round((math.sum([w1_decremented_weight]) + math.sum([w2_decremented_weight]))/0.80) & '🍻'
You can make Number of Drinks & Total Beers Drank summary tiles and line graph tiles. Total Weight, Wii Status, Pi+Wii Status, and Pi IP Address are all summary tiles. This is how we customized it but there is an infinite number of ways to customize your Tiles to your liking. You can view the below dashboard here: https://go.init.st/17lgb9n.
You can add a custom background image to your dashboard to give your data more context and personality. Whether that is a picture of a beer fridge or wine or sodas or a bar.
Now that your dashboard is fully setup and customized, let's set some Triggers so we can get notified when the beer fridge starts to go low!
<< Remotely Monitor the Pi Process and IP Address - Triggered Alerts
Initial State (https://www.initialstate.com)
(c) 2018 Initial State Technologies, Inc.