Safety Moments

Platforms

What is Safety Moments?

Safety Moments is a "third party" Cortana skill that picks from a random list of safety moments (also called toolbox talks or safety briefs.) A Safety Moment is a quick briefing on a health, safety, or environmental topic. They are used to keep safety front-of-mind, encourage socialization, and positively reinforce important topics.

Safety Moments also now runs on Google Assistant!

How do I use Safety Moments?

You can invoke it on Windows devices or through the Cortana app on mobile devices by saying "Open Safety Moments". You can also invoke it on headless devices like the Invoke speaker from Harman Kardon.

Oh, and it also runs on Google Home and Google Assistant.  "Talk to Safety Moments to show any card". You can show next or previous cards too.

Why did you write Safety Moments?

Safety Moments helps people from getting hurt! But it was a technology demonstration of Microsoft adaptive cards, botframework, and Cortana skills to create B2E (business-to-employee) skills (that in this case reduces off work time and cost related to preventable injury.) It is literally 7 lines of code and took 15 minutes to implement. However, gathering the content is a longer process (it takes about 30 minutes per card).

And now it runs on Google Assistant. It took me 8 hours to implement on Google's platform.

Credit

Thanks to

Can I contribute a Safety Moment?

Absolutely! I appreciate any contributions of content. Follow the instructions below, but please note they must be copyleft on content and graphics provided. You can either send me headline, sub-headline, and body copy with an optional image, or even better, send me an adaptive card in json (javascript object notation) where you can tweak the layout!


Is Safety Moments free?

Yes. Feel free to use it. However, cloud hosting costs money (I pay about $300/year), so if you want to contribute to my hosting costs and/or support my innovations please click the "Become a Patron!" link on the right.

What is Next for Safety Moments

The fun is in the possibilities to integrate with EHS IMS to present cards based on incident frequencies (targeting) and natural language searches with active feedback. But right now I need to find Copyleft images that demonstrate the current content.

What are adaptive cards?

Adaptive cards are a cool json based rendering notation for static content that should look great on any device (but more specifically, on a mobile phone, in Cortana's canvas, or a card in a chat bot.)  The specification is open, and cards are very portable.

What does a Safety Moments card look like?

Here is a template for the card you see as of this posting (and you can test it via this totally awesome visualizer tool)

{
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "type": "AdaptiveCard",
  "version": "1.0",
  "speak": "Did you know this is example speech?",
  "body": [
    {
      "type": "ColumnSet",
      "columns": [
        {
          "type": "Column",
          "width": 2,
          "items": [
            {
              "type": "TextBlock",
              "text": "HEADER few words.",
              "weight": "bolder",
              "size": "small",
              "wrap": true
            },
            {
              "type": "TextBlock",
              "text": "SUBHEADER and a sentence example.",
              "weight": "bolder",
              "size": "medium",
              "wrap": true
            }
          ]
        },
        {
          "type": "Column",
          "width": 1,
          "items": [
            {
              "type": "Image",
              "url": "https://safetymoments-a1ea.azurewebsites.net/images/Picture1.jpg",
              "size": "auto"
            }
          ]
        }
      ]
    },
    {
      "type": "TextBlock",
      "text": "This is a block of body text that should be about a paragraph.",
      "isSubtle": true,
      "wrap": true,
      "size": "small",
      "maxLines": 10
    }
  ],
  "actions": [      
    {
      "type": "Action.OpenUrl",
      "title": "Visit OctavianIT",
      "url": "http://www.octavianit.com"    
    }
  ]
}

2 comments: