Port RemoteSwitch library v2.3.0  to ENERGIA