Google Home mini

# apt-get update
# apt-get install -y nodejs npm libavahi-compat-libdnssd-dev
# npm cache clean
# npm install npm n -g
# n stable
$ npm init
$ npm install google-home-notifier
const googlehome = require('google-home-notifier');
const language = 'ja';

googlehome.device('Google-Home', language);

googlehome.notify('てすと', function(res) {
  console.log(res);
});

github.com

Scala を使う例