「61」タグアーカイブ

スマートホームに向けて61: Raspberry Pi Zero Wに、n8nの前にdockerをインストール:For smart homes 61: Install docker on Raspberry Pi Zero W before n8n

Raspberry Pi Zero Wに、n8nをインストールする前に、Dockerは、linuxの仮想マシンという位置づけらしい。
プロセスやユーザなどを隔離して動作する。
軽量で高速に起動、停止などが可能ですと
redhat 6やfedora 20に時代ならさがせるが・・

苦慮してようやく動作にこぎつけた
最終的にこれ動作した。

balenaEtcher
https://www.balena.io/etcher/
でイメージをSDに書き込み
イメージはこれ
続きを読む スマートホームに向けて61: Raspberry Pi Zero Wに、n8nの前にdockerをインストール:For smart homes 61: Install docker on Raspberry Pi Zero W before n8n

スマートホームに向けて61:セサミ 3の本領発揮!:Demonstrate the true character of Sesame 3!

交換は23時に発生した、wifiモジュールが赤の点滅。
アプリに登録されるが、再度赤に
全く迷惑な話
セサミは、BTでの認識はできるが正直それだけだ。
結局、セサミ3に変換することに

交換、5分。
位置は、同一だったので問題ない。
自分のは
MIWAのロックはほとんどこれで対応可能っす。
この位置で動作しますが、スマートロックのストロークや厚さが少々違うので
狭いと言いつつ厚さは、1.5倍ほどn幅があり、稼働時にずれる事があります。
そこで
01
このつまみの部分、ナイロンロックタイ 百均の細い物で縛るとズレが僅少になります。
次に、土台の自由度が大きいため、回っている最中に中央からずれる可能性もある。
そうすると、回転途中で回らなくなる現象があったので、内部の回るところに、ブチルゴム5mmほど入れ、必ず中央になるようにしました。
MIWA PA-01+PE-01このタイプは、寒冷地で一番出回ったかと思う。

IMG_4761

IMG_4762

寒冷地だったので、張り付ける部分をドライヤーを使って温めて接着をした方が良いと思います。
直ぐに水滴がつくような寒暖差は、正常に接着できません。
自分は、接着後脱落しないように、3日ほど養生テープでがっちり成功しました。

スマートホームに向けて61:セサミ 3の本領発揮!

wifiモジュールをスマートロックから4mの位置に設置。
wifiモジュール付近で、
SnapCrab_NoName_2021-3-23_21-39-24_No-00
アプリを入れて
ユーザを登録
セサミを+で登録
で完了でした。
wifiモジュールは、古いファームだったのでその場でダウンロードで稼働させて、反応速度は、1秒程度
Screenshot_20210323-214301
アンドロイドだと設定でウィジット表示なる。
これは、便利。
スリープから、wifi、セサミ3 1-3秒ほど
ほとんど消えている事は無い。

次にうれしいのが、その連絡先の登録方法
基本QRコードです。
なので、例えば地方の友人にも送れる。
登録後に、通知を設定すれば通知が来る。

手ぶら解除お精度が良いです。
20mから設定可能。その通り、GNSSの精度10Mを基本をしているのが
良く理解している。

確かに、接近すると自動的に解除してくれます。
androidです。
iphoneも完璧ですね。
今のところ、ロケーションは正確。
この動作によって消費されるバッテリーは、アンドロイド 4000mah搭載の実機で10%でした。
アンドロイドは、プッシュ通信を、個別に停止できるので、その分ロケーションに実容量ですね。
iphoneでは通常プッシュ通信が、バックエンドで動作します。
止められない。
ので、パケットと合わせて頻度無く動作しているので3%程ですね。
通信量が何もしていないのに多いですよね。雑な機械です。

それは、さておきセサミ 3 本領発揮という事でしょうか。
動作を見るとどうも、パッシブソナーのようなロケーションだと思いますよ。
位置計算が何キロで、数秒後何キロ近づくとロケーションの時間を調整していますね。
近くなるとパッシブ感間隔が短くなるそれだとロケーションの精度は10mが理解できます。
10mとなればパッシブが短くという具合でしょ。
5000円でこの機能は素晴らしいと言えます。
他の3万程請求されてこれを見るとおもちゃのQ〇ioですね。

The replacement occurred at 23:00, the wifi module flashed red.
Registered in the app, but red again
Totally annoying story
Sesame can be recognized by BT, but honestly that’s it.
After all, I decided to convert it to Sesame 3

Exchange, 5 minutes.
There is no problem because the positions were the same.
My own
Most of MIWA’s locks can be handled with this.
It works in this position, but the stroke and thickness of the smart lock are slightly different.
Although it is said to be narrow, the thickness is about 1.5 times as wide as n, and it may shift during operation.
Therefore

If you tie this knob with a thin nylon lock tie, the deviation will be small.
Secondly, because of the large degree of freedom of the foundation, there is a possibility that it will shift from the center while rotating.
Then, there was a phenomenon that it did not rotate in the middle of rotation, so I put about 5 mm of butyl rubber in the rotating part inside so that it was always in the center.
MIWA PA-01 + PE-01 I think this type was the most popular in cold regions.

Since it was a cold region, I think it is better to warm the part to be attached with a dryer and bond it.
If there is a temperature difference that causes water droplets to form immediately, it cannot be adhered normally.
I succeeded with the curing tape for about 3 days so that it would not fall off after bonding.

Towards a smart home 61: Demonstrate the true character of Sesame 3!

Install the wifi module 4m from the smart lock.
Near the wifi module

Put the app
Register user
Register sesame with +
It was completed with.
Since the wifi module was an old farm, I downloaded it on the spot and operated it, and the reaction speed was about 1 second.

If it is an android, it will be displayed as a widget in the settings.
This is convenient.
From sleep, wifi, sesame 3 1-3 seconds
It has almost never disappeared.

The next thing I’m happy about is how to register the contact information.
This is the basic QR code.
So, for example, you can send it to a local friend.
After registration, if you set a notification, you will receive a notification.

Empty-handed release The accuracy is good.
Can be set from 20m. That’s right, it is based on GNSS accuracy of 10M.
I understand well.

Certainly, it will be canceled automatically when approaching.
android.
The iphone is also perfect.
For now, the location is accurate.
The battery consumed by this operation was 10% on the actual Android 4000mah.
Android can stop push communication individually, so it’s the actual capacity in the location.
Push communication usually works on the back end on the iphone.
can not stop.
So, it works infrequently with packets, so it’s about 3%.
There is a lot of traffic even though you are not doing anything. It’s a rough machine.

Does that mean that the three sesame essences are demonstrated aside?
Looking at the operation, I think it’s a location like a passive sonar.
The position calculation is how many kilometers, and after a few seconds, how many kilometers approach you are adjusting the location time.
As it gets closer, the passive feeling interval becomes shorter, so the accuracy of the location can be understood as 10m.
Passive is short when it becomes 10m.
For 5,000 yen, this feature is great.
If you look at the other 30,000 bills, it’s a toy Q〇io.

そうそう、この時点でもスマートホンはカバンの中です。
スマートホンやタブレット、スマートウォッチ(友人)も現在、家も合わせると10台余り共有しているけど、どれもすべて1-2秒ほどで動作。
非常にアホみたいに面倒な同期?のプロセスは一切ありません。
iphoneとかapple watch等限定では一切ありませんね。
トレイに古いスマートホン置いても、インターホン代わりになりますから
セサミミニは、オーナがwifiによって外部からコントロールできるが、他は、BTだけだったので、セサミAPIを作成しました。
このセサミ3 それを、ことごとく搭載したて感じです。
民泊とか宅配とか管理に毎月数万円かかるようだけど、このスマートホームの状態で
Screenshot_20210323-222635
出来ていますね。
内容も、手動、BT,wifi,手ぶらやICタグとユーザ名が表示さえています。
便利です。

Oh yeah, the smartphone is still in the bag at this point.
Currently, I share about 10 smart phones, tablets, and smart watches (friends), including my home, but all of them work in about 1-2 seconds.
Very annoying synchronization like a fool? There is no process.
It’s not limited to iphone or apple watch.
Even if you put an old smartphone on the tray, it can be used as an intercom.
For Sesame Mini, the owner can control it from the outside by wifi, but the others are only BT, so I created the Sesame API.
This Sesame 3 It feels like it’s all installed.
It seems that it costs tens of thousands of yen every month to manage private lodging and home delivery, but in the state of this smart home

It’s done.
The contents are also displayed manually, BT, wifi, empty-handed and IC tags and user names.
Convenient.