ZiGate-WiFi is based on powerfull ESP-LINK, you can follow and contribute to this project with following esp-link github
TCP 9999 <--> ZiGate-WIFI <--> ZiGate radio
To get informations to install, config or other thingss, you can go to WIKI from ZiGate Website
To get started you need to:
- prepare your ZiGate-WiFi module for serial flashing (Push button when you plug the module)
- download the latest ZiGate-WiFi release image (you can build your own later)
- flash the firmware
- connect to ZIGATE-XXXX SSID (default password is adminXXXX)
- go to your favorite browser with https://192.168.4.1
In this document: getting-started, serial-bridge, contact.
Separate documents:
- hardware configuration, serial flashing
- wifi configuration
- troubleshooting, LED indicators
- MQTT and outbound REST requests
- building esp-link, over-the-air flashing
- flash layout
In order to connect through the ZiGate-WiFi to ZiGate-Radio use port 9999. For example,
on linux you can use nc esp-hostname 9999
or telnet esp-hostname 9999
.
The connections on port 9999 and 2323 have a 5 minute inactivity timeout. This is standard with Espressif's SDK and esp-link does not change it. The reason is that due to memory limitations only a few connections can be open (4 per port) and it's easy for connections to get "lost" staying open forever, for example, due to wifi disconnects. That could easily make it impossible to connect to esp-link due to connection exhaustion. Something smarter is most likely possible...
Note that multiple connections to port 9999 and 2323 can be made simultaneously. Esp-link will intermix characters received on all these connections onto the serial TX and it will broadcast incoming characters from the serial RX to all connections. Use with caution!
If you are using esp-link to connect to the console of a linux system, such as an rPi, you
will most likely see what you typed being echoed twice. If you are on a linux system use
telnet and issue a mode char
command (in telnet, hit the escape char ^]
and type mode char
at the prompt). If you are using putty on Windows, open the connection settings and
in the terminal settings set both local echo
and local line editing
to off
.
- transparent bridge between ZiGate-WiFi and serial ZiGate-Radio
- debug ZiGate protocol with integrate console
- outbound REST HTTP requests from the attached micro-controller to the internet
- MQTT client pub/sub from the attached micro-controller to the internet
- upgrade ZiGate-WiFi over the air (OTA)
comming soon. Also you can go to esp-link github to get more informations.
If you find problems with ZiGate-WiFi, please create a github issue.
2019-05-07 -- Initial version