ガラホ版 | 通常版

[7] 勢い | [9] 掲示板 | 検索

【自動化】MacroDroid Part11【マクロ】

[0] 下へ

Android@5ch掲示板のスレ一覧

1002レス

[4] 前20 | [6] 次20 | 先頭 | [8] 最新20 | [5] 更新

866 名無しさん@お腹いっぱい。
2024/01/29(月) 17:52:32.04 ID:j9TPBzub
>>865
AndroidのルートにPythonフォルダを作成
Pythonフォルダにtplink_smartplug_py3.pyをコピー
https://github.com/fernangit/ras_py_SmartPlugControl

TermuxにPythonをインストール

~/.termux/taskerにtplink_smartplug_on.shを作成
中身は「python storage/shared/Python/tplink_smartplug_py3.py -t 192.168.xx.xx(スマートプラグのIP) -c on」

同様にtplink_smartplug_off.shを作成
中身は「python storage/shared/Python/tplink_smartplug_py3.py -t 192.168.xx.xx(スマートプラグのIP) -c off」

後はMacroDroidであーだこーだ設定する

[4] 前20 | [6] 次20 | 先頭 | [8] 最新20 | [5] 更新

このスレッドには書き込めません。

[1] 上へ

[7] 勢い | [9] 掲示板 | 検索