>>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であーだこーだ設定する
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であーだこーだ設定する