Google Homeで現在位置を取得した

Google Home(Google Assistant)で現在地を取得してました。 以前はアドレスも取得できたようですが、現在は緯度経度のみとのことです。 ソースコード API Ver.は1.Xです。(Firebaseのデフォルトが2.Xなのでご注意ください。) DialogFlowの設定 位置情報取得許可申請 緯度経度取得

Read More
post-thumb Google Homeで作る見守りサービス

用途

  • 一人暮らしの高齢者が起きた時に家族にLINEで伝える安否確認サービス
  • 子供が帰宅した時に、LINEで伝える見守りサービス

必要なもの

  • Google Home (1万3000円程度) もしくは Google Home Mini (6000円程度)
  • Google アカウント(登録料無料)
  • LINE アカウント(受信者のみ)
  • IFTTT (登録料無料)

したがって、Google Home 本体代しか、お金はかかりません。(ちなみに、スマートスピーカーでなくとも、スマホでGoogle Assistantが使える環境があれば、このアプリは動作します。)

Read More
post-thumb Migrate from Jekyll

Move static content to static Jekyll has a rule that any directory not starting with _ will be copied as-is to the _site output. Hugo keeps all static content under static. You should therefore move it all there. With Jekyll, something that looked like ▾ <root>/ ▾ images/ logo.jpg should become ▾ <root>/ ▾ static/ ▾ images/ logo.jpg Additionally, you’ll want any files that should reside at the root (such as CNAME) to be moved to static.

Read More
post-thumb Hugo is for lovers

Step 1. Install Hugo Goto hugo releases and download the appropriate version for your os and architecture. Save it somewhere specific as we will be using it in the next step. More complete instructions are available at installing hugo Step 2. Build the Docs Hugo has its own example site which happens to also be the documentation site you are reading right now. Follow the following steps: Clone the hugo repository Go into the repo Run hugo in server mode and build the docs Open your browser to http://localhost:1313 Corresponding pseudo commands:

Read More
post-thumb Creating a new theme

Introduction This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I’ll explain how Hugo uses templates and how you can organize your templates to create a theme. I won’t cover using CSS to style your theme. We’ll start with creating a new site with a very basic template.

Read More
post-thumb How To Setup Airspace Hugo

Install this template by following those simple steps: STEP-1 : Hugo installation Check this link below for install hugo on your computer. hugo install documentation STEP-2 : Create your project Hugo provides a new command to create a new website. hugo new site <new_project> STEP-3 : Install the theme Run this command hugo new site airspace-hugo and then go to the themes folder inside of airspace-hugo folder. You can also use this command cd airspace-hugo/themes for going to this folder.

Read More