Goodbye Fibaro - Hello Foxx Project - Cheap Dry Contact

Well i tried on the xiaomi and it works when i touch the wires to get open and close status. However i failed on the code or maybe xiaomi cannot work. Force open and force close do not seem to do anything. Was trying to use as a dry contact relay.