シーンごとのフラグ管理欲しくないですか?
個別でSwitchbotの運営に送ったのですが機能リクエストを共有します。
例えばハブミニ+温湿度計で除湿をしたいとします。
SwitchBot(スイッチを押すbot)で除湿機(スイッチ式)の湿度60%以上でONにしてしまうと湿度60%以上でひたすらONを繰り返してしまいます。当然、SwitchBotは除湿機のON/OFFを繰り返してしまい使い物になりません。調べた限り他の方もブログで言及されてたので回避方法は何か他の条件(他のセンサーを採用するなど)をつけるしかなさそうです…
またエアコンを湿度60%以上で除湿ON、湿度50%以下で除湿OFF(エアコンには「除湿のみOFF」は無いので当然全ての機能を「停止」するボタンを使う形になります)とした場合も問題が発生します。夏場も冬場も冷房、暖房を使うと湿度は低下するので勝手に除湿OFF(冷暖房の停止)となってしまうのです。
これは問題です。例題では除湿にしましたが他の使い方もありますしペットの温度管理などでは設定者の意図しない動作が起こる場合もあります。
なので各シーンにフラグ(ボタンモードのようなモノ)をつける事ができればとても便利になると思っています。
1.シーンが実行されたらフラグを建てる(例:湿度60%以上でSwitchBotが除湿機を1度押す)
2.フラグが建っている間はこの命令を繰り返さない(例:湿度60%以上だとしても命令をループしない)
3.フラグが建っている間に条件が満たされたらOFFにしてフラグを消す(例:湿度50%以下を検知してOFF)
こういうシンプルなフラグ管理ができれば除湿シーンがONになってる時しか停止信号は出ないでしょうし、Switchbotも無駄にON/OFFを連打しなくて済みそうです。どうかご検討お願いします(´;ω;`)
Comments
I think there are many English users, so I will translate it.
//////
I've sent this to Switchbot management individually, but I'll share my feature request.
For example, let's say you want to dehumidify a hub mini + thermo-hygrometer.
If I use SwitchBot (a bot that presses switches) to turn on the dehumidifier (switch type) when the humidity is above 60%, the dehumidifier will repeat turning on and off at 60% humidity or higher. Naturally, the SwitchBot will turn the dehumidifier on and off repeatedly, making it useless. As far as I can tell, other people have mentioned this on their blogs, so I guess the only way to avoid this is to add some other condition (such as employing another sensor)...
The problem also occurs when the air conditioner is set to turn on dehumidification when the humidity is above 60% and turn off dehumidification when the humidity is below 50% (there is no "dehumidification only off" on the air conditioner, so of course you have to use the button to "stop" all functions). In both summer and winter, humidity decreases when the air conditioner is used for cooling or heating, so the dehumidification is turned off by itself (i.e., the air conditioner is turned off).
This is a problem. In the example, dehumidification is used, but it can be used for other purposes as well, such as temperature control of pets, which may cause unintended behavior by the setter.
Therefore, I think it would be very useful if a flag (like a button mode) could be attached to each scene.
1. Set a flag when a scene is executed (e.g. SwitchBot presses the dehumidifier once when the humidity is above 60%).
2. Do not repeat this command while the flag is erected (e.g., do not loop the command even if the humidity is above 60%).
3. While the flag is still up, if the condition is met, turn off the dehumidifier and remove the flag (e.g., turn off the dehumidifier when it detects humidity below 50%).
With this kind of simple flag management, the stop signal would only be sent when the dehumidification scene is on, and Switchbot would not have to waste time repeatedly hitting ON/OFF.
ちなみに時間指定をすれば命令は1回だけなので正常に動作するのでは?とも考えてみましたがダメです。使えません。
例えば3時間置きに湿度を見て60%以上ならONにするは正常に動作するでしょうが湿度が50%以下ならOFFにするも正常に動作しそうですが実際は動かないでしょう。
極端に乾いた日は湿度50%以下の日も普通にあります。
時間指定+湿度50%以下で設定したシーンはSwitchBotは除湿が終わったと勘違いして意図しない動作となります。カラカラの日をさらにカラッカラにし続けるのです(´;ω;`)ケホケホ
なのでやはりシーンに紐づいたフラグ管理は必要だと考えます。
//
By the way, I thought that if I specify the time, it would work correctly since there is only one command. But it doesn't work. It does not work.
For example, if I check the humidity every 3 hours and if it is over 60%, it will turn on normally, but if the humidity is under 50%, it will turn off normally. If the humidity is below 50%, turning it off seems to work correctly, but in reality, it will not work.
Extremely dry days and humidity below 50% are common.
If you set a scene with a specified time + 50% or less humidity, SwitchBot will think that dehumidification is finished, and it will operate in an unintended way.
Therefore, I still think it is necessary to manage flags associated with scenes.
プラグミニを併用すると効果的です。
除湿機の電源供給としてプラグミニを使用します、消費電力を利用したトリガーが設定出来ますのでOn動作については、例えば消費電力〇〇W以下の場合に動作するよう設定すれば解決します。
プラグミニ等は消費電力測定を主につかったりしていますが、対象機器の稼働判定にも使用しています。
同じことで困っている方が居てこのヒントで解決したようですよ。
--------------------------------------------------------
Using a plug mini together is effective.
The plug mini is used to supply power to the dehumidifier, and a trigger using power consumption can be set so that it will operate when, for example, the power consumption is below 0 W. This will solve the problem.
Plug mini is mainly used to measure power consumption, but it is also used to judge the operation of the target device.
There is a person who is having the same problem, and this hint seems to have solved it.
Translated with www.DeepL.com/Translator (free version)
ご助言ありがとうございます。
一度自分も考えたのですがプラグミニを使うのはあまり乗り気ではないんです。
シンプルに作りたいフラグ判定のために2000円掛けるのも、判定のためだけにハードがデカくなるのがそもそもスマートでは無いなぁとか思うとシステムアップデートで解決して欲しいんです。
シンプルにシステム的に「起動したら1時間後OFFを行う(起動するためのトリガー条件は繰り返さない)」だけで良いはずなんです。
Thanks for your advice.
I thought about it once myself, but I'm not too keen on using a plug mini.
I want to make it simple, but I don't think it's smart to spend 2000 yen to determine the flag, and I don't think it's smart to have a big piece of hardware just to determine the flag, so I want the system update to solve the problem.
It should be simple and systematically "turn off after 1 hour of activation (do not repeat the trigger condition for activation)".
Please sign in to leave a comment.