How to connect R5 to IHost?

https://forum.ewelink.cc/t/r5-scene-switch-support/20391/6