但你试着告诉今天的年轻人…
brownpaperbag的Python项目详细描述
But you try and tell the young people today that…
安装
pip install brownpaperbag
用法(cli)
配置
您需要使用官方应用程序,并与安装程序一起登录 代码
您需要打开的密码:从应用程序中,您可以将其设置为 其他系统。你还需要网关的IP:再次从应用程序, 您可以在其他>;网络中找到它
因此,如果您的IP是192.168.1.10,密码是qwerty:
exportBPB_HOST=192.168.1.10 exportBPB_PASSWORD=qwerty exportBPB_PORT=20000
发现设备
命令brownpaperbag event --human可以帮助您发现 设备
$ brownpaperbag event --human light 15 is OFF (*1*0*15##) light 11 is OFF (*1*0*11##) light 0010 is OFF (*1*0*0010##) light 0011 is OFF (*1*0*0011##) light 0012 is OFF (*1*0*0012##) light 02 is OFF (*1*0*02##) light 0014 is OFF (*1*0*0014##) light 0111 is OFF (*1*0*0111##) light 04 is OFF (*1*0*04##) light 19 is OFF (*1*0*19##) light 01 is OFF (*1*0*01##) light 09 is OFF (*1*0*09##) cover 07 is STOPPED (*2*0*07##) cover 0113 is STOPPED (*2*0*0113##) cover 13 is STOPPED (*2*0*13##) cover 17 is STOPPED (*2*0*17##) cover 16 is STOPPED (*2*0*16##) cover 06 is STOPPED (*2*0*06##) cover 08 is STOPPED (*2*0*08##) cover 06 is UP (*2*1000#1*06##) cover 06 is STOPPED (*2*1000#0*06##) cover 06 is DOWN (*2*1000#2*06##) cover 06 is STOPPED (*2*1000#0*06##) light 0111 is ON (*1*1*0111##) light 0111 is OFF (*1*0*0111##) light 0111 is ON (*1*1*0111##) light 0111 is OFF (*1*0*0111##) cover 06 is DOWN (*2*1000#2*06##) cover 06 is STOPPED (*2*1000#0*06##) cover 06 is UP (*2*1000#1*06##) cover 06 is STOPPED (*2*0*06##)
历史记录
0.1.0(2019-04-26)
- pypi上的第一个版本。
0.0.5(2019-02-15)
- pypi上的第一个版本。