Node Red and Xiaomi gateway

Hi there,

Is there a way to arm/disarm the Xiaomi gateway using Node red?
I’m pretty new to Node red so any help would be great .

Thank you!