Controlling the MSNSwitch Tech Note MSNTN01 Proxicast, LLC 312 Sunnyfield Drive Suite 200 Glenshaw, PA 15116 1-877-77PROXI 1-877-777-7694 1-412-213-2477 Fax: 1-412-492-9386 E-Mail: support@proxicast.com Internet: www.proxicast.com © Copyright 2019-2020, Proxicast LLC. All rights reserved. Proxicast is a registered trademark and EtherLINQ, PocketPORT and LAN-Cell are trademarks of Proxicast LLC. All other trademarks mentioned herein are the property of their respective owners.
MSNTN01: Controlling the MSNSwitch Document Revision History: Date June 1, 2021 Dec 9, 2020 Jan. 2, 2020 Aug. 1, 2019 Comments Added non-DHCP IP assignment feature Updated for API changes in firmware MNT.
MSNTN01: Controlling the MSNSwitch 1. Internal Web Sever Full access to all of the MSNSwitch’s functionality is available via its internal web server pages. To access the web server, enter the MSNSwitch’s IP address into any web browser. http:// e.g. http://192.168.1.33 The default username for the MSNSwitch is “admin”. The default password for firmware versions prior to MNT.9731 is “admin”. For MNT.
MSNTN01: Controlling the MSNSwitch 2. ezDevice Smartphone App Download and install the free ezDevice app for iOS from the Apple AppStore or for Android from Google Play. If possible, connect your smartphone via WiFi to the same LAN as the MSNSwitch. This is the fastest and easiest way to add the MSNSwitch to ezDevice. Launch the ezDevice app and create a new account. This same account information will be used for the Cloud4UIS.com web service (see page 5). Tap Add Device on the top right of the screen.
MSNTN01: Controlling the MSNSwitch If you cannot connect your phone to your LAN, then choose the Add by Serial Number option under Add Device. Follow the instructions on the screen. Remove the LAN cable from the MSNSwitch for 1 second, then replace it. Check that the blue UIS button is flashing. This is “Add Mode” which must be active to manually add the MSNSwitch to ezDevice. Enter the MSNSwitch Serial Number and Device Key when prompted.
MSNTN01: Controlling the MSNSwitch 3. Cloud4UIS.com Web Service Open the Cloud4UIS.com web site using any web browser: http://Cloud4UIS.com If you do not yet have an account, create one on the site. If you previously created and account using ezDevice, use the same login credentials for Cloud4UIS.com. The Cloud4UIS service is free. If you used ezDevice to add devices, they will appear in your Cloud4UIS account automatically.
MSNTN01: Controlling the MSNSwitch The Add Device screen works the same as it does in the ezDevice smartphone app. If your PC is in the same LAN as the MSNSwitch, you will be able to select it from the list. If your MSNSwitch is not shown, manually enter its serial number to proceed. See the ezDevice section on page 3 for instructions on completing the device add procedure. Devices added through Clolud4UIS.com will also be automatically synchronized with the ezDevice app.
MSNTN01: Controlling the MSNSwitch 4. Skype In the MSNSwitch’s web interface, select the Skype menu and enable the Skype function. Click the Auto Rebooter link to add the Auto Rebooter robot service to your Skype contacts. Click the Get Started button to add Auto Rebooter to your contacts and begin a messaging session. Click Send Message to begin a messaging session.
MSNTN01: Controlling the MSNSwitch Type HELP to see the available commands. Type Get My ID to retrieve the security ID required to connect with your MSNSwitch. Copy the ID from the Skype response and paste it into the ID field of the MSNSwitch’s web interface. Click ADD to save the settings. In Skype, enter the command Show My Devices and press Enter. The response will be a menu of your devices and actions you can take. Click any of the menu buttons for more actions.
MSNTN01: Controlling the MSNSwitch 5. Google Hangouts You must first have a Google Hangouts or Gmail account for yourself. You must create a second Google account that the MSNSwitch will use (a unique account for each MSNSwitch you have). In the MSNSwitch’s web interface, select the Hangouts menu and enable the Hangouts function. Enter Google credentials for the account you created for the MSNSwitch.
MSNTN01: Controlling the MSNSwitch 6. REST API For firmware versions MNT.A624 and later only (For earlier firmware versions, please contact Proxicast for additional documentation) Basic functions of the MSNSwitch can be controlled through a series of HTTP Packet Requests. Generate a Cookie-Token for User Login: HTTP Packet Request "POST /goform/login HTTP/1.
MSNTN01: Controlling the MSNSwitch EXAMPLE: Show Cookie curl --url "http://192.168.0.42/goform/login" --http1.1 --verbose --cookie- --header "Accept-Encoding: gzip, deflate" --header "Accept: */*" --header "Content-Type: application/x-www-form-urlencoded" --data "user=admin&password=05FE36" OUTPUT: * Trying 192.168.0.42... * TCP_NODELAY set * Connected to 192.168.0.42 (192.168.0.42) port 80 (#0) > POST /goform/login HTTP/1.1 > Host: 192.168.0.42 > User-Agent: curl/7.55.
MSNTN01: Controlling the MSNSwitch Get the Status of the MSNSwitch HTTP Packet Request “GET /xml/outlet_status.xml HTTP/1.1"CRLF “Accept: */*”CRLF “Accept-Encoding: gzip, deflate”CRLF "Cookie: WQKJhuEcnAVA3t7WE+ug6A=“CRLF CRLF HTTP Packet Response XML format: "
MSNTN01: Controlling the MSNSwitch Control an Outlet HTTP Packet Request Packet Request: "GET" "HTTP/1.1"CRLF "Host:" CRLF "Keep-Alive: 300"CRLF "Connection: keep-alive"CRLF "Authorization:Base" CRLFCRLF ;auth:encoded account(username:password) with base-64 HTTP URL: “http://< IP>/cgi-bin/control2.cgi?&” IP: The IP Address of the MSNSwitch.
MSNTN01: Controlling the MSNSwitch Get Last Heartbeat Time HTTP Packet Request Packet Request: "GET" "HTTP/1.1"CRLF "Host:" CRLF "Keep-Alive: 300"CRLF "Connection: keep-alive"CRLF "Authorization:Base" CRLFCRLF ;auth:encoded account(username:password) with base-64 URL: http:///cgi-bin/heartbeat.cgi? IP: The IP Address of the MSNSwitch. Auth: user= passwd= HTTP Packet Response XML format: "
MSNTN01: Controlling the MSNSwitch 7. Netility Utility MegaTec provides a software utility for Windows and MAC called Netility that scan your LAN for compatible devices and allows you to change some configuration settings and upgrade firmware without accessing the internal web server pages. Download and install the Netility utility (Windows or MAC) from the www.MSNSwitch.com web site’s Download page. Connect the MSNSwitch to the same Ethernet LAN as your PC.
MSNTN01: Controlling the MSNSwitch 8. Updating Firmware Download the latest MSNSwitch firmware from the Download page at: http://www.MSNSwitch.com Be sure to download the correct file for your MSNSwitch model. Also download and review the firmware Release Notes for important information on the changes and new features. MSNSwitch firmware is delivered as a compressed .ZIP file – extract the .BIN file from the zip archive. The .BIN file is the actual firmware image file you need to use.
MSNTN01: Controlling the MSNSwitch Do not power off the MSNSwitch or remove its Ethernet connection until the process is complete. Once the upgrade is complete and the web page refreshes to show the new firmware version number, we strongly recommend performing a factory reset from this screen to ensure that all new firmware parameters are properly initialized. You should also clear your web browser cache, then reconfigure your MSNSwitch as needed.