Prerequisites
Below you'll find all the things you'll need to complete the tutorial.
- Gateway
- Hardware UCM
Lua Runtime
A runtime environment is where Enapter Blueprint's code can run.
For this tutorial, we will use a virtual UCM, which is present on every Enapter Gateway. Since the Enapter Gateway software can be run on a personal computer, you can also launch it from your computer.
Lua Runtime
An Enapter ENP moduels act as an adapter between your endpoint device and the Enapter EMS.
Network
Wi-Fi network on 2.4GHz. Note that only WEP, WPA, WPA2 Personal (pre-shared key) supported.
Wi-Fi
The physical Wi-Fi Network Requirements:
- IEEE 802.11a/b/g/n (2.4 GHz only)
- IEEE 802.12 WEP, WPA, WPA2 Personal (Pre-shared key)
Captive portals are not supported.
Ensure that the Wi-Fi Client Isolation feature is turned off if you use Enapter Gateway and it's connected to the same Wi-Fi network as a UCM. Please refer to the manual of your Wi-Fi access point.
TCP/IP
If you have firewall or security devices in your Wi-Fi network, you need to keep the following ports open.
| Port | Protocol | Destination Host (IP-Address / Range or Name) |
|---|---|---|
| 80 | TCP | 95.168.174.108, 95.168.174.212, 95.168.174.213 (api.enapter.com) |
| 443 | TCP | 95.168.174.108, 95.168.174.212, 95.168.174.213 (api.enapter.com) |
| 123 | UDP | 95.168.174.108, 95.168.174.212, 95.168.174.213 (ntp.enapter.com) |
| 8883 | TCP | 95.168.174.108, 95.168.174.212, 95.168.174.213 (mqtt.enapter.com) |
| 1883 | TCP | 95.168.174.108, 95.168.174.212, 95.168.174.213 (mqtt.enapter.com) |
Enapter Cloud account
In case of online connection go to Enapter Cloud to create an account.
Enapter Mobile Application
Available on Google Play and Apple AppStore.
Enapter CLI
The Enapter CLI is a tool that allows you to interact with your devices that are connected to Enapter EMS.
- macOS
- Other OS
You can easily install it via brew:
brew tap enapter/tap && brew install enapter@3
To upgrade:
brew upgrade enapter@3
We recommend to download a suitable pre-built binary for your operating system.