Emojis – those wonderful, wordless forms of communication have quickly spread to nearly every aspect of our digital vocabulary. A single emoji can provide context and invoke emotion more efficiently than even the most carefully selected words. In a world filled with lifeless messaging, emojis give us a fun, convenient means to insert our personality into that endless string of ascii characters.
Why do emojis have to be limited to human-to-human interactions? Why can’t a device leverage the power of emojis when communicating with you? A picture is worth a thousand words. Would you prefer to read the status of an internet connected sensor/device from a bunch of words or see the status in a single image? Your “Internet of Things” (IoT) needs a personality.
Welcome emojis into the wonderful world of the IoT as every Initial State data visualization now supports emojis 👏🏼. A device can send an emoji to your Tiles dashboard or Waves data view by simply sending an emoji token (e.g. :emoji_token_name:). Emojis can be sent as data to a stream/signal, used as the name of a stream/signal, or used as the name of an entire data bucket. http://emoji.codes lists all emoji tokens and their corresponding emojis.
To send an emoji data point in a stream/signal using the ISStreamer Python Module, simply use an emoji token in the value parameter of a .log statement:
streamer.log("status",":beer:") streamer.log("status",":angry:") streamer.log("status",":thumbsup: :smile:")
In Tiles, you will see the current value with each instance of an emoji token replaced with the corresponding emoji.
Similarly in Waves:
To use emojis in the name of a stream/signal, place an emoji token in the name parameter of a .log statement.
streamer.log("voltage :zap:",volt_var) streamer.log("power :battery:",power) streamer.log("clock :clock3:",internal_clock)
To use emojis in the name of an entire data bucket, insert an emoji token in the bucket_name parameter when constructing the bucket.
streamer = Streamer(bucket_name=":beer: Beer Fridge" ,bucket_key=MY_BUCKET_KEY,access_key=MY_ACCESS_KEY) streamer = Streamer(bucket_name=":computer: Status" ,bucket_key=MY_BUCKET_KEY,access_key=MY_ACCESS_KEY)
The emoji will appear in the bucket shelf and title of each visualization page.
Now go make your 📻 stream 🎈✨ to a dashboard on your 📱and 💻.