Train TJBot to Say The Weather Report in Node-RED

JeanCarl Bisson
2 min readAug 27, 2017

--

Today we’ll train TJBot how to speak out the weather report using the Weather Company Data service, the Watson Text to Speech service, and the speaker node.

The Weather Insights node returns the forecasts and observations from the Weather Company Data service. Select Current Observations from the Service drop-down menu.

A template node constructs the message to be spoken.

This project uses the speaker. Configure the TJBot as shown and add the Watson Text to Speech service credentials.

Remember to set the Speaker Device ID to the card and device number of your speaker. Run the command aplay -l to locate this if you have a USB audio adapter or USB speaker connected.

Here’s a video of how to train TJBot to speak the weather report.

That’s it for today’s skill. What can you train TJBot to do now that it say the weather report?

Come back tomorrow and we’ll train TJBot to speak out headlines.

This post is part of a series of skills you can train TJBot to perform.

--

--

JeanCarl Bisson

I’m an IBM Technical Innovation Lead. I love to build prototypes and then share how I designed and built what I made so others can try it too.