Smart Home IoT Blynk導入 2 解決編
前回、Blynk導入にあたり、ArduinoのSketchをBlynk Exampleから生成したものの、コンパイルができず。
散々調べた結果できたので、続きから。
前回のエラーは
Arduino: 1.8.12 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
sketch_may06a:41:25: fatal error: ESP8266_Lib.h: No such file or directory
compilation terminated.
exit status 1
ESP8266_Lib.h: No such file or directory
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
要は、ライブラリ(BlynkESP8266_Lib.h)が足りないということ。
Manage Librariesのインストールでは入らないのであれば、マニュアルインストール。
まず、Blynk の最新版のzipをダウンロード。
zipを解凍
BlynkESP8266_libがあり、これはManager Librariesではインストールされていない。
ArduinoのlibrariesディレクトリにBlynkESP8266_libのフォルダ自体をコピー。
librariesディレクトリは
To find the location of your sketchbook folder, go to top menu in Arduino IDE:
Windows: File → Preferences
Mac OS: Arduino → Preferences
で確認。
これでインストール完了。無事コンパイルが通った。
しかし。アップロードすると、うまく動かない。
シリアルモニターをみると
11:47:49.537 -> connecting to ESP 1connecting to ESP 2[10]
11:47:49.609 -> ___ __ __
11:47:49.609 -> / _ )/ /_ _____ / /__
11:47:49.644 -> / _ / / // / _ \/ '_/
11:47:49.679 -> /____/_/\_, /_//_/_/\_\
11:47:49.715 -> /___/ v0.6.1 on Arduino Mega
11:47:49.750 ->
11:47:50.182 -> [629] Connecting to aterm-36be98-g
11:47:51.201 -> [1640] ESP is not responding
ESPのレスポンスがない???
// Hardware Serial on Mega, Leonardo, Micro...
#define EspSerial Serial1// or Software Serial on Uno, Nano...
//#include <SoftwareSerial.h>
//SoftwareSerial EspSerial(2, 3); // RX, TX
Megaだけど、Mega2560はSerial1じゃないの?
過去のLession SketchをみるとSoftwareSerial部分は
#include "SoftwareSerial.h"
SoftwareSerial softserial(A9, A8); // RX, TX
なので、softwareSerialを変更。
softserial と EspSerialで文字列が違うので合わせる。
/*************************************************************
Download latest Blynk library here:
https://github.com/blynkkk/blynk-library/releases/latest
Blynk is a platform with iOS and Android apps to control
Arduino, Raspberry Pi and the likes over the Internet.
You can easily build graphic interfaces for all your
projects by simply dragging and dropping widgets.
Downloads, docs, tutorials: http://www.blynk.cc
Sketch generator: http://examples.blynk.cc
Blynk community: http://community.blynk.cc
Follow us: http://www.fb.com/blynkapp
http://twitter.com/blynk_app
Blynk library is licensed under MIT license
This example code is in public domain.
*************************************************************
WARNING!
It's very tricky to get it working. Please read this article:
http://help.blynk.cc/hardware-and-libraries/arduino/esp8266-with-at-firmware
You’ll need:
- Blynk App (download from AppStore or Google Play)
- Arduino Mega 2560 board
- Decide how to connect to Blynk
(USB, Ethernet, Wi-Fi, Bluetooth, ...)
There is a bunch of great example sketches included to show you how to get
started. Think of them as LEGO bricks and combine them as you wish.
For example, take the Ethernet Shield sketch and combine it with the
Servo example, or choose a USB sketch and add a code from SendData
example.
*************************************************************/
/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial
#include "ESP8266_Lib.h"
#include "BlynkSimpleShieldEsp8266.h"
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "JoG2IGS8QpJHDbIshSYOPbyao_TZL7BB";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "aterm-36be98-g"; // your network SSID (name)
char pass[] = "5017be9e5e30d"; // your network password
// Hardware Serial on Mega, Leonardo, Micro...
//#define EspSerial Serial1
// or Software Serial on Uno, Nano...
//#include "softwareserial.h"
//SoftwareSerial EspSerial(2, 3); // RX, TX
#include "SoftwareSerial.h"
//SoftwareSerial softserial(A9, A8); // A9 to ESP_TX, A8 to ESP_RX by default
//SoftwareSerial EspSerial(3,2); // RX, TX
SoftwareSerial EspSerial(A9, A8); // RX, TX
// Your ESP8266 baud rate:
//#define ESP8266_BAUD 38400
#define ESP8266_BAUD 9600
ESP8266 wifi(&EspSerial);
void setup()
{
// Debug console
Serial.begin(9600);
// Set ESP8266 baud rate
EspSerial.begin(ESP8266_BAUD);
delay(10);
Blynk.begin(auth, wifi, ssid, pass);
// You can also specify server:
//Blynk.begin(auth, wifi, ssid, pass, "blynk-cloud.com", 80);
//Blynk.begin(auth, wifi, ssid, pass, IPAddress(192,168,1,100), 8080);
}
void loop()
{
Blynk.run();
// You can inject your own code or combine it with other sketches.
// Check other examples on how to communicate with Blynk. Remember
// to avoid delay() function!
delay(1000); // stop the code for 1 second
}
シリアルモニターで動いた!!!!!!!!!!!!!
14:14:32.814 -> [9]
14:14:32.814 -> ___ __ __
14:14:32.850 -> / _ )/ /_ _____ / /__
14:14:32.884 -> / _ / / // / _ \/ '_/
14:14:32.920 -> /____/_/\_, /_//_/_/\_\
14:14:32.920 -> /___/ v0.6.1 on Arduino Mega
14:14:32.990 ->
14:14:33.419 -> [599] Connecting to aterm-36be98-g
14:14:36.635 -> [3808] AT version:1.2.0.0(Jul 1 2016 20:04:45)
14:14:36.668 -> SDK version:1.5.4.1(39cb9a32)
14:14:36.704 -> Ai-Thinker Technology Co. Ltd.
14:14:36.738 -> Dec 2 2016 14:21:16
14:14:36.775 -> OK
14:14:37.730 -> [4907] Failed to enable MUX
14:14:42.931 -> [10106] +CIFSR:STAIP,"192.168.3.27"
14:14:42.965 -> +CIFSR:STAMAC,"cc:50:e3:e3:d6:02"
14:14:43.000 -> [10115] Connected to WiFi
14:14:53.439 -> [20604] Ready (ping: 59ms).
アプリをみるとオンラインになった。
ONを押すと黄色LEDが点灯
ONを話すと黄色LEDが点灯
お疲れ様でした。
How to Blynk with OSOYOO Smart Home IoT Learning Kit With MEGA2560
Smart Home IoT Blynk導入
Blynkを導入していく。
https://blynk.io/en/getting-started
サポートHardwareの確認。
https://github.com/blynkkk/blynkkk.github.io/blob/master/SupportedHardware.md
Arduino Nano, Mini, Pro Mini, Pro Micro, Due, Mega
Arduino Yunも当然サポートされているし、今回利用するArduino Megaもサポートされている。
Blynkサーバはクラウドでもオンプレでもでもあるようだが、今回はクラウドを利用する。
準備---------------------
1、ハードウェア
そのままMEGA2560を利用。
2、スマートフォンソフトウェア
3、ライブラリ
記載時に0.6.1が最新
導入 ---------------------
Blynkアプリ
Criate New Accountでアカウント作成
プロジェクト名を作成
デバイスを選択
Authトークンがメールで送られてくる。
Auth Tokenは、Ardino側で使うキーとなっている。
ボタンを設置
Energyが2,000まで使えるようだ。Buttonで200使うので後1,800。Enerygy Packで追加ができる。
Yellow Lightを D13 に接続したのでD13を選択。
ボタン設置完了
Arduino側の設定
BlynkライブラリをArduinoにインストール
Managerからインストール
Manage Libraries..を選択
Blynkを検索し、最新版をインストール
Sketchを生成
Sketch generator: http://examples.blynk.cc
Boardなど選択。Mega 2560があると安心。
Board: Ardino Mega 2560
Connection: ESP8266 WiFi Shield
Example: Blynk Blink
#include <ESP8266_Lib.h>
でエラー。ESP8266.hのライブラリがない。
Arduino: 1.8.12 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
sketch_may06a:41:25: fatal error: ESP8266_Lib.h: No such file or directory
compilation terminated.
exit status 1
ESP8266_Lib.h: No such file or directory
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
BlynkESP8266_Lib のフォルダ自体をArudinoのLibrariesにコピー
無事コンパイルが通ったよ。
しかし。
11:25:37.739 -> [9]
11:25:37.739 -> ___ __ __
11:25:37.774 -> / _ )/ /_ _____ / /__
11:25:37.812 -> / _ / / // / _ \/ '_/
11:25:37.846 -> /____/_/\_, /_//_/_/\_\
11:25:37.846 -> /___/ v0.6.1 on Arduino Mega
11:25:37.913 ->
11:25:38.341 -> [599] Connecting to aterm-36be98-g
11:25:39.362 -> [1609] ESP is not responding
きた!
12:03:51.575 -> [9]
12:03:51.575 -> ___ __ __
12:03:51.609 -> / _ )/ /_ _____ / /__
12:03:51.646 -> / _ / / // / _ \/ '_/
12:03:51.683 -> /____/_/\_, /_//_/_/\_\
12:03:51.683 -> /___/ v0.6.1 on Arduino Mega
12:03:51.751 ->
12:03:52.175 -> [599] Connecting to aterm-36be98-g
12:03:55.409 -> [3808] AT version:1.2.0.0(Jul 1 2016 20:04:45)
12:03:55.447 -> SDK version:1.5.4.1(39cb9a32)
12:03:55.481 -> Ai-Thinker Technology Co. Ltd.
12:03:55.515 -> Dec 2 2016 14:21:16
12:03:55.515 -> OK
12:04:00.819 -> [9235] +CIFSR:STAIP,"192.168.3.27"
12:04:00.856 -> +CIFSR:STAMAC,"cc:50:e3:e3:d6:02"
12:04:00.962 -> [9242] Connected to WiFi
Smart Home IoT Learning の 続きについて
OSOYOO Smart Home IoT Learning Kit with MEGA2560 は、Lesson18、19で2台のメッセージのやり取りを取り扱うのだが、それはそれで大事なのだが、4*4 Keypadはないし、スマートホームの作り方が網羅されていないのは残念。
複数台での規模を大きくしたSmart Homeを想定しているのかもしれないが、ホームキットの板に入らないしね・・・。
それぞれのモジュール自体の説明などはあるため、後は自分で書けば良いのだがコピペサンデーエンジニアには少々時間が必要となるのでつらいなぁ。
と思って調べていたら、OSOYOO Smart Home IoT Learning Kit with MEGA2560 は、
OSOYOO Yun IoT Smart Home Kit のアップグレードされたもので、Yun IoT Smart Home Kitは、4*4 Keypadのレッスンがあるではないか。
さらに、Smart Homeもあるので、ここまではやってみたいところ。というかこれが目的の第一歩。
また、YunはBlynk(https://blynk.io/)がベースで実装されているように見えてその方が実用的なようにも見える。(配布したらライセンスが必要になるようになった?)
まあ、使ってみるべし。
ということで、Yunベースの
・4*4 Keypad
・Blynk
・Smart Home Sytem
を読んで実装していくことを考える。
Smart Home IoT Kit Lesson18: Two Mega-IoT Devices
Lesson18: Two Mega-IoT Devices
Please be noted that if you need do experiment in this lesson, you need buy two pcs of Osoyoo Mega-IoT extension shields.
2セット必要なのでパス。
まあ、UDPの送受信なのでよいでしょう。
Smart Home IoT Kit Lesson17: Tracing Human Movement
OSOYOO Smart Home IoT Learning Kit with MEGA2560 でつくるSmart Home Lesson17。
Lesson17: Tracing Human Movement
lession17.inoのWiFi書き換えてアップロード
色がチカチカ光り意味がわからないが、安定する位置で動作確認してみる。
White (透明) LEDはWebでは白くてstatusが見えない・・・
まず、色々試す。
Yellow LEDはWebもstatusが見えないので、反転。
距離は、
コードに2行加えてモニターする。
Serial.println(distance);
Serial.println(status_str);
↓こんな感じ。
17:47:39.529 -> <font color=red><b>Object is Very Far</b></font>
17:47:39.567 -> 41
17:47:39.567 -> <font color=red><b>Object is Very Far</b></font>
17:47:39.636 -> No object in range
17:47:39.669 -> 34
17:47:39.669 -> <font color=000000><b>No object in range</b></font>
17:47:39.707 -> 31
17:47:39.707 -> <font color=red><b>Object is Very Far</b></font>
17:47:39.777 -> 31
17:47:39.777 -> <font color=red><b>Object is Very Far</b></font>
17:47:39.813 -> 28
17:47:39.813 -> <font color=red><b>Object is Very Far</b></font>
17:47:39.889 -> 27
17:47:39.889 -> <font color=red><b>Object is Very Far</b></font>
17:47:39.959 -> 27
17:47:39.959 -> <font color=red><b>Object is Very Far</b></font>
17:47:39.993 -> 28
17:47:39.993 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.065 -> 28
17:47:40.065 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.102 -> 28
17:47:40.102 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.173 -> 28
17:47:40.173 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.209 -> 27
17:47:40.245 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.280 -> 26
17:47:40.280 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.317 -> 26
17:47:40.352 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.390 -> 26
17:47:40.390 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.462 -> 26
17:47:40.462 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.495 -> 26
17:47:40.495 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.562 -> 26
17:47:40.562 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.635 -> 26
17:47:40.635 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.671 -> 26
17:47:40.671 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.742 -> 26
17:47:40.742 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.776 -> 26
17:47:40.776 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.848 -> 26
17:47:40.848 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.882 -> 26
17:47:40.882 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.956 -> 26
17:47:40.956 -> <font color=red><b>Object is Very Far</b></font>
17:47:40.992 -> 25
17:47:41.026 -> <font color=red><b>Object is Very Far</b></font>
17:47:41.061 -> 25
17:47:41.061 -> <font color=red><b>Object is Very Far</b></font>
17:47:41.127 -> 24
17:47:41.127 -> <font color=red><b>Object is Very Far</b></font>
17:47:41.164 -> 26
17:47:41.164 -> <font color=red><b>Object is Very Far</b></font>
17:47:41.233 -> 22
17:47:41.233 -> <font color=red><b>Object is Very Far</b></font>
17:47:41.305 -> 21
17:47:41.305 -> <font color=red><b>Object is Very Far</b></font>
17:47:41.339 -> 21
17:47:41.339 -> <font color=red><b>Object is Very Far</b></font>
17:47:41.411 -> 20
17:47:41.411 -> <font color=red><b>Object is Very Far</b></font>
17:47:41.445 -> 20
17:47:41.482 -> <font color=green><b>Object is far</b></font>
17:47:41.515 -> 19
17:47:41.515 -> <font color=green><b>Object is far</b></font>
17:47:41.553 -> 19
17:47:41.553 -> <font color=green><b>Object is far</b></font>
17:47:41.624 -> 19
17:47:41.624 -> <font color=green><b>Object is far</b></font>
17:47:41.659 -> 19
17:47:41.659 -> <font color=green><b>Object is far</b></font>
17:47:41.727 -> 19
17:47:41.727 -> <font color=green><b>Object is far</b></font>
17:47:41.764 -> 18
17:47:41.764 -> <font color=green><b>Object is far</b></font>
17:47:41.837 -> 18
17:47:41.837 -> <font color=green><b>Object is far</b></font>
17:47:41.870 -> 18
17:47:41.870 -> <font color=green><b>Object is far</b></font>
17:47:41.940 -> 18
17:47:41.940 -> <font color=green><b>Object is far</b></font>
17:47:41.976 -> 18
17:47:41.976 -> <font color=green><b>Object is far</b></font>
17:47:42.048 -> 18
17:47:42.048 -> <font color=green><b>Object is far</b></font>
17:47:42.085 -> 18
17:47:42.085 -> <font color=green><b>Object is far</b></font>
17:47:42.155 -> 18
17:47:42.155 -> <font color=green><b>Object is far</b></font>
17:47:42.192 -> 18
17:47:42.192 -> <font color=green><b>Object is far</b></font>
17:47:42.261 -> 18
17:47:42.261 -> <font color=green><b>Object is far</b></font>
17:47:42.300 -> 18
17:47:42.300 -> <font color=green><b>Object is far</b></font>
17:47:42.368 -> 18
17:47:42.368 -> <font color=green><b>Object is far</b></font>
17:47:42.405 -> 18
17:47:42.405 -> <font color=green><b>Object is far</b></font>
17:47:42.477 -> 18
17:47:42.477 -> <font color=green><b>Object is far</b></font>
17:47:42.511 -> 18
17:47:42.511 -> <font color=green><b>Object is far</b></font>
17:47:42.583 -> 18
17:47:42.583 -> <font color=green><b>Object is far</b></font>
17:47:42.621 -> 18
17:47:42.621 -> <font color=green><b>Object is far</b></font>
17:47:42.691 -> 18
17:47:42.691 -> <font color=green><b>Object is far</b></font>
17:47:42.725 -> 18
17:47:42.725 -> <font color=green><b>Object is far</b></font>
17:47:42.798 -> 18
17:47:42.798 -> <font color=green><b>Object is far</b></font>
17:47:42.833 -> 18
17:47:42.833 -> <font color=green><b>Object is far</b></font>
17:47:42.904 -> 17
17:47:42.904 -> <font color=green><b>Object is far</b></font>
17:47:42.939 -> 17
17:47:42.939 -> <font color=green><b>Object is far</b></font>
17:47:43.010 -> 17
17:47:43.010 -> <font color=green><b>Object is far</b></font>
17:47:43.047 -> 17
17:47:43.047 -> <font color=green><b>Object is far</b></font>
17:47:43.117 -> 17
17:47:43.117 -> <font color=green><b>Object is far</b></font>
17:47:43.155 -> 17
17:47:43.155 -> <font color=green><b>Object is far</b></font>
17:47:43.227 -> 16
17:47:43.227 -> <font color=green><b>Object is far</b></font>
17:47:43.261 -> 15
17:47:43.261 -> <font color=green><b>Object is far</b></font>
17:47:43.334 -> 15
17:47:43.334 -> <font color=green><b>Object is far</b></font>
17:47:43.368 -> 14
17:47:43.368 -> <font color=green><b>Object is far</b></font>
17:47:43.436 -> 14
17:47:43.436 -> <font color=green><b>Object is far</b></font>
17:47:43.474 -> 13
17:47:43.474 -> <font color=green><b>Object is far</b></font>
17:47:43.547 -> 12
17:47:43.547 -> <font color=green><b>Object is far</b></font>
17:47:43.584 -> 13
17:47:43.584 -> <font color=green><b>Object is far</b></font>
17:47:43.620 -> 10
17:47:43.653 -> <font color=green><b>Object is far</b></font>
17:47:43.691 -> 10
17:47:43.691 -> <font color=yellow><b>Object is close</b></font>
17:47:43.764 -> 10
17:47:43.764 -> <font color=yellow><b>Object is close</b></font>
17:47:43.802 -> 10
17:47:43.802 -> <font color=yellow><b>Object is close</b></font>
17:47:43.875 -> 10
17:47:43.875 -> <font color=yellow><b>Object is close</b></font>
17:47:43.913 -> 9
17:47:43.913 -> <font color=yellow><b>Object is close</b></font>
17:47:43.981 -> 9
17:47:43.981 -> <font color=yellow><b>Object is close</b></font>
17:47:44.018 -> 8
17:47:44.018 -> <font color=yellow><b>Object is close</b></font>
17:47:44.090 -> 8
17:47:44.090 -> <font color=yellow><b>Object is close</b></font>
17:47:44.159 -> 8
17:47:44.159 -> <font color=yellow><b>Object is close</b></font>
17:47:44.196 -> 8
17:47:44.196 -> <font color=yellow><b>Object is close</b></font>
17:47:44.268 -> 9
17:47:44.268 -> <font color=yellow><b>Object is close</b></font>
17:47:44.305 -> 9
17:47:44.305 -> <font color=yellow><b>Object is close</b></font>
17:47:44.376 -> 10
17:47:44.376 -> <font color=yellow><b>Object is close</b></font>
17:47:44.414 -> 10
17:47:44.414 -> <font color=yellow><b>Object is close</b></font>
17:47:44.486 -> 9
17:47:44.486 -> <font color=yellow><b>Object is close</b></font>
17:47:44.521 -> 10
17:47:44.555 -> <font color=yellow><b>Object is close</b></font>
17:47:44.593 -> 10
17:47:44.593 -> <font color=yellow><b>Object is close</b></font>
17:47:44.660 -> 10
17:47:44.660 -> <font color=yellow><b>Object is close</b></font>
17:47:44.695 -> 11
17:47:44.695 -> <font color=yellow><b>Object is close</b></font>
17:47:44.766 -> 12
17:47:44.766 -> <font color=green><b>Object is far</b></font>
17:47:44.803 -> 11
17:47:44.839 -> <font color=green><b>Object is far</b></font>
17:47:44.875 -> 13
17:47:44.875 -> <font color=green><b>Object is far</b></font>
17:47:44.910 -> 13
17:47:44.946 -> <font color=green><b>Object is far</b></font>
17:47:44.984 -> 14
40以上 (no object)
20以上 Red (Object is Very Far)
10以上 Green (Object is far)
5以上 Yellow (Object is close)
それ以下 White (Object is Very close)
で、動いているかな。
このSmart Home KitoはAmazonで買いました。
Smart Home IoT Kit Lesson16: RFID Switching Door
OSOYOO Smart Home IoT Learning Kit with MEGA2560 でつくるSmart Home Lesson16。
Lesson16: RFID Switching Door
RFID.zipがライブラリとして必要。
からダウンロードしていつもの手順でインポート。
lesson16をアップロードしたがエラーが出たので、まずチュートリアルを実行。
https://osoyoo.com/2019/10/14/osoyoo-mega-iot-shield-rfid-tutorial/
テストでRFID Moduleの確認。
https://osoyoo.com/driver/smarthome/osoyoo-mega-iot-rfid.ino
いつものようにアップロード。
動かない・・・
LEDが赤い??
と思えば、RFIDカードをかざして番号が出るんですね。
かざせはOK。
16:32:26.824 -> Find the card!
16:32:26.824 -> The card's number is : 121,218,61,194,192
16:32:26.899 -> Not match!
で、Sketch書き換えてOK。
16:38:24.143 -> Find the card!
16:38:24.143 -> The card's number is : 121,218,61,194,192
16:38:24.178 -> This card match our record!
次は、smarthome-lesson16.ino
RFIDの番号を書き換え、WiFiを変更。今度は問題なくアップロード完了。
webも表示。
RFIDを近づけると
16:48:16.162 -> Find the card!
16:48:16.162 -> match
はでるが、何も動かない。
WebでClose Doorを押すとRed LEDが点灯し、
WebでOpen Doorを押すとGleen LEDが点灯。(Red LEDは消灯)
Close状態からRFIDをかざすとモータが動き、LEDもRedが光るようになった。
Turn Off Buzzerを押すと、モーターがぎこちなく動き続ける状態になり挙動がおかしい。
Buzzerがいつなるのかと思えば、別のRFID IDを近づけると鳴った。
ひとまずOK。
このSmart Home KitoはAmazonで買いました。