Closed A-Cepheus closed 4 months ago
有没有完整的日志?
也说下是什么型号
MI_HARDWARE='X08E' 设置MI_DID以后不出错了,不过好像页面功能不能使用,估计是api不一样,我记得我这个设备播放是 7
X08E好像不能使用player_play_url播放,执行了没反应,返回结果{'code': 0, 'message': "Msg has been successfully proxy to the device, this service is a simple proxy, if you encounter any problems pls contact ROM's developers directly!!!", 'data': {'code': 0}} 估计要改用miio_service模式
还有ipv6的绑定是host = "::",建议吧host = "0.0.0.0"参数也写成环境变量。
还有ipv6的绑定是host = "::",建议吧host = "0.0.0.0"参数也写成环境变量。
不想ipv6被访问到端口可以在docker配端口时修改的,见 https://stackoverflow.com/questions/30750271/disable-ip-v6-in-docker-container
也可以配防火墙禁用就行了的。
docker部署,提示
Exception: Error https://api2.mina.mi.com/remote/ubus: {"code":601,"message":"illegal argument exception","data":"IllegalArgumentException: ubus call format illegal!"}