Z-way Mi Home Zimi Power Strip integration
- First make sure you have installed the
miio
app:
sudo npm install -g miio
- Allow module to call the remote host command. You need to add
miio.sh
bash script to the list of syscommands
echo "/opt/z-way-server/automation/userModules/ZimiPowerStrip/miio.sh" >> /opt/z-way-server/automation/.syscommands
- Make helper
miio.sh
executable
sudo chmod +x /opt/z-way-server/automation/userModules/ZimiPowerStrip/miio.sh
IP address of the zimi power strip. You can easily find all your available mi home devices by command
miio --discover