自作スマートホームver0だと、
市販でスマートホームver1.0
もうこれは、戻れない状態
育児を離れても、結局、介護だ、仕事だと休まらない
市販のスマートホームは、本当に便利だ
構築して稼働まで1週間もかからなかった。
実際の費用も、
3万円程度(※そのほとんどは、セサミminiとwifi)
これは、仕方ない。
正確に形と将来性を考慮に入れなければならない。
If it is a homebrew smart home ver0,
Commercially available smart home ver 1.0
This is a state that can not return
Even if I left childcare, after all, I’m caring, I won’t rest at work
Commercial smart home is really convenient
It took less than a week to build and operate.
The actual cost is also
Approximately 30,000 yen (※ most of them are sesame mini and wifi)
as for this, it cant be helped.
You must take into account the form and the future exactly.
購入製品はと言うと
当然
Echo Dot 第3世代
If you say purchased products
Of course
Echo Dot third generation
セサミ mini
Sesame mini
スマート家電コントローラ
Smart home appliance controller
スマートプラグ
Smart plug
どれも、アレクサで動作して将来性とコストパフォーマンスで選定した
新品、中古混在で揃えてよかったが、今で言うとどちらも変わらない。
要は、この筋を、増殖させえば良いだけで後に、他の製品が必要なんてこともなく
中華 SonOFFのように、いきなり接続できなくなったり、バージョンを
戻すことも無いだろう。
これで、操作できる家電、1フロアすべて管理できるので、2フロアだと
All selected with Alexa for future and cost performance
It was good to arrange new and used mixed, but now both are the same.
The point is, you only need to grow this muscle, and no need for other products later
As in the case of Chinese SonOFF, suddenly you can not connect, version
There will be no return.
Now you can manage all the appliances you can operate on one floor, so if you have 2 floors
スマート家電コントローラこれを1
Smart home appliance controller this one
スマートプラグこれを数分
Smart plug this a few minutes
で事足りる。
そこでだ。
やるべきことがもう一つ
物理スイッチの操作
照明なら、リモコンが一般的
スマート家電コントローラでOK
That’s enough.
That’s it.
One more thing to do
Physical switch
If lighting, remote control is common
OK with smart home appliance controller
しかし、このパネル操作は、中身を開いて装置を入れるのは
この日本は禁止されている。
例えば、いくら保安部品の適合といえど、
家が焼失の特定でこれに当たれば即、補償外だ
キビシー
なので思いつくのは、これだ!
However, this panel operation is to open the contents and insert the device
This Japan is prohibited.
For example, no matter how much the safety parts fit,
Soku if hits to this in a particular house is burned down, it is excluded from compensation
Serious story
So this is what you come up with!
しかしである
これを可動させるのは、このまたまたまじかよ
スイッチボットハブプラスという何とも
ショックな製品が必要となる。
But
It’s another thing to make this move
Switchbot Hub Plus
You need a shocking product.
セサミと同様って事で
この費用 1万円、痛いというかどうにかならないかと悩んだのが
今回の方法
話が長い
調べていると結構当たるのがこれ!
ESP8266
おお!
コスパすげー
しかし、あれだ
組み込みが必要だっともっと探す
In the same way as Sesame
This cost 10,000 yen, I wondered if it would be painful or not
This time method
Talk is long
It is this to hit quite a bit if you are investigating.
ESP8266
Oh!
Cospa
But that’s it
Find more if it needs to be embedded
これを使うとWIFIスイッチができると言うだけ
電力を、ON OFF
でなくスイッチでモータを回すそれだけの意図
これ! サーボモータ
7年まえだろうかドローンなどの3次元ジンバルなどの制御に使ってたなー
It just says that you can use a WIFI switch
Power ON, OFF
Not just the intent of turning the motor with the switch
this! Servomotor
7 years ago maybe it was used to control 3D gimbal such as drone
そのために、スイッチボット群を導入するにはコスパが非常に悪い
そう考えた
単純にこのように接続して
Therefore, cospa is very bad to introduce switchbots
I thought so
Simply connect in this way
OSは、Arduino
で
この方のを参考
すごいね日本の方で非常にわかりやすい状態に
OSは、Arduino
で
この方のを参考
https://homemadegarbage.com/espalexa03
覚えたほうが良いのは本当
要はラズパイならまだしも、組み込みで
その上、アレクサ対応と言う無謀
覚えるには、フルセット
Memang benar bahwa lebih baik diingat
Intinya adalah bahwa jika itu adalah raspberry, itu masih ada di dalamnya
Selain itu, dikatakan bahwa itu adalah korespondensi Alexa
To remember, the full set
Osoyoo NodeMCU IoT プログラミング学習初心者キット
http://osoyoo.com/ja/2016/11/28/3596/
Osoyoo NodeMCU IoT Programming Learning Beginner Kit
OS Arduino
so
Reference this person
It’s amazing It’s very easy to understand in Japan
OS Arduino
so
Reference this person
ありがとございま-す 感謝ということで。
Thank you Thank you.
うまく動作すれば、単価的に
5000円で、4台を稼働させる事ができる。
その上、ハブを利用しないため、レスポンスが早い。
実際、ハブを利用するとどうなるかなというと、
音声の命令
アレクサ-ルータ-インターネット-アプリ-アプリ-インターネット-ルータ-アレクサ
ハブ-スイッチ-ハブーインターネット-アプリ-インターネットーハブ-スイッチ
この工程を行うので非常に遅延が発生する。
しかし、このESP8266は
音声の命令
アレクサ-ルータ-ESP8266-ルータ-インターネット-アプリ-インターネット-ルータ-アレクサ
ESP8266
となるので遅延が少ない上に、ブルートゥースを経由しないので干渉も少ない。
そもそも、認証するには、2.4Gで70ものランダム周波数でブルートゥース同期する必要が有る。
WIFIより、電力が少ないだけで、使っている周波数は同じ。
※5Gもあるがそもそも、日本で許されるかどうかというとグレーゾーン
頑張っても、同時に接続できるのは、2台ほど
ただ単に、WiFiが干渉するというのは、固定IPとしていないだけ。
セッションの確立に置いては、閉鎖された空間で固定されたIPであれば、接続は簡単。
WIFIは、万人のためにはあくまで公共空間で利用の場合。
家からでなければ、どうでも良いって事。
If it works well,
Four machines can be operated for 5,000 yen.
Moreover, the response is quick because the hub is not used.
In fact, what happens if you use a hub?
Voice command
Alexa-Router-Internet-App-App-Internet-Router-Alexa
Hub-Switch-Hub-Internet-App-Internet-Hub-Switch
Because this process is performed, a great delay occurs.
But this ESP8266
Voice command
Alexa-Router-ESP 8266-Router-Internet-App-Internet-Router-Alexa
ESP8266
So there is little delay and there is less interference as it is not via Bluetooth.
In the first place, to authenticate, it is necessary to perform Bluetooth synchronization at 70 random frequencies at 2.4G.
Less power than WIFI, using the same frequency.
※ There is 5G, but in the first place, gray zone is said whether it is permitted in Japan
Even if I try my best, I can connect at the same time, about 2
Just because WiFi interferes is not just a fixed IP.
When establishing a session, if IP fixed in a closed space, connection is easy.
WIFI is, in the case of use in the only public space in order of million people.
If it’s not from home, it’s okay.
これで、物理スイッチは完了するので
あとは、距離によるスマートホームに
超音波距離センサーモジュール For Arduino
Now that the physical switch is complete
After that, to a smart home by distance
Ultrasonic distance sensor module For Arduino
超音波モジュール HC-SR04の超音波センサー固定金具
Ultrasonic sensor mounting bracket for ultrasonic module HC-SR04
超音波距離センサーモジュール
Ultrasonic distance sensor module
簡単な構造でこれ
この製品はトリガーとしての音波発生ピン(Trig)と受信側のエコーピン(Echo)があります。 5v駆動となっていますので、ESP8266と接続するためには電圧降下が必要です。 ここでは5v、3.3v相互変換部品を使用しています。
https://www.kmrweb.net/micro/sonic.html
仕様はこれ
This is a simple structure
This product has an acoustic wave generator pin (Trig) as a trigger and an echo pin (Echo) on the receiving side. Because it is 5v drive, a voltage drop is required to connect to the ESP8266. Here we use 5v and 3.3v interconversion parts.
温度センサー
Temperature sensor
水の張りユニット
Water tensioning unit
candy house Suicaで解錠にたいして
対応するNFCリーダのRC-S380をMFRC-522 RC522 RFIDモジュールICカード誘導センサ
こんな感じ
これも感謝ですね。
https://www.kmrweb.net/micro/rfid.html
これも
Arduinoで複数のNFCタグを区別する
https://qiita.com/yuji_miyano/items/f00f9e3f2edc8025b704