CREDIT: https://github.com/Hcreak/HomeKit-MiAcPartnerMcn02
use host
network mode to monitor host network usage --network=host
(REQUIRED)
MCN02_IP
IP address of your Mi AC Partner
MCN02_TOKEN
Token of your Mi AC Partner
$ docker run --network=host -e MCN02_IP=192.168.1.2 -e MCN02_TOKEN=xxxxxxxxxxxxxxxxxx dtcokr/miacpartner2