{"action":"published","release":{"url":"https://api.github.com/repos/jeelabs/esp-link/releases/2126072","assets_url":"https://api.github.com/repos/jeelabs/esp-link/releases/2126072/assets","upload_url":"https://uploads.github.com/repos/jeelabs/esp-link/releases/2126072/assets{?name,label}","html_url":"https://github.com/jeelabs/esp-link/releases/tag/v2.1.beta3","id":2126072,"tag_name":"v2.1.beta3","target_commitish":"master","name":"Release 2.1.beta3","draft":false,"author":{"login":"tve","id":39480,"avatar_url":"https://avatars.githubusercontent.com/u/39480?v=3","gravatar_id":"","url":"https://api.github.com/users/tve","html_url":"https://github.com/tve","followers_url":"https://api.github.com/users/tve/followers","following_url":"https://api.github.com/users/tve/following{/other_user}","gists_url":"https://api.github.com/users/tve/gists{/gist_id}","starred_url":"https://api.github.com/users/tve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tve/subscriptions","organizations_url":"https://api.github.com/users/tve/orgs","repos_url":"https://api.github.com/users/tve/repos","events_url":"https://api.github.com/users/tve/events{/privacy}","received_events_url":"https://api.github.com/users/tve/received_events","type":"User","site_admin":false},"prerelease":true,"created_at":"2015-11-14T08:21:39Z","published_at":"2015-11-14T08:22:29Z","assets":[],"tarball_url":"https://api.github.com/repos/jeelabs/esp-link/tarball/v2.1.beta3","zipball_url":"https://api.github.com/repos/jeelabs/esp-link/zipball/v2.1.beta3","body":"### This is a beta release\r\nFor a stable release please use: https://github.com/jeelabs/esp-link/releases/tag/v2.0.rc1\r\n\r\n#### Warnings\r\n- If your module has a 512KB version of esp-link V1 flashed you cannot upgrade over-the-air,\r\n  you have to serially flash the larger firmware - sorry.\r\n- If you are using an Adafruit Huzzah module then you should select the esp-bridge pin-out (default) and add an external 4.7k-10k pull-up directly on the esp module's RX pin, alternatively, recompile esp-link to change  https://github.com/jeelabs/esp-link/blob/master/serial/uart.c#L63 to PIN_PULLUP_EN, this will be a UI option in the next release...\r\n\r\n#### Features:\r\n- port 23 transparent bridge, port 2323 programming bridge\r\n- AVR, ARM & esp8266 flashing support (port 23 and 2323)\r\n- built-in programmer for AVRs with optiboot (typical for Arduinos)\r\n- outbound TCP connections from attached micro-controller to the internet\r\n- outbound HTTP REST requests from attached microcontroller using espduino library and protocol\r\n- built-in MQTT client that can be used by attached uC using espduino library and protocol\r\n- over-the-air (OTA) reflashing of the esp if your module has 1MB or more flash (e.g. esp-12 but not esp-01)\r\n- console page to see the attached uC's output\r\n- simple debug log page to view the esp-link's own os_printf output\r\n- buttons to reset the uC and change the baud rate\r\n- pin configuration selector to change GPIO function assignments\r\n- web page to configure MQTT client and built-in status message publishing\r\n- saving of configuration changes in flash\r\n\r\n#### Changes since v2.1.beta2:\r\n- uC console text input courtesy https://github.com/katyo\r\n- first cut at mDNS support, not happy yet...\r\n- first cut at supporting hidden SSIDs\r\n- improved click-to-edit name/description fields\r\n- extended AP+STA time before switching to STA-only\r\n\r\n#### Changes since v2.1.beta1:\r\n- new esp-link summary card on home page with, among other things, info on the flash chip and configured size\r\n- new editable 12-character \"name\" displayed on home page and in left menu bar so you know which esp-link module you're looking at\r\n- new editable 128 character \"description\" displayed on home page so you can leave yourself a memo about this module\r\n\r\n#### Changes since v2.0.rc1:\r\n- single image fits any esp module flash size, no OTA reflashing of esp-link with 512KB modules though\r\n- built-in optiboot programmer\r\n- attempt to fix crash when scanning and there are too many access points around (I have not been able to really test the fix yet)\r\n\r\nThis version uses the Espressif IOT SDK version 1.4.0.\r\n\r\n## Install via serial upload\r\n\r\nThe short version for the serial install is:\r\n- flash `boot_v1.4(b1).bin` from the official `esp_iot_sdk_v1.4.0` and included in the release tgz to `0x00000`\r\n- flash `blank.bin` from the official SDK and also included in the tgz to `0x3FE000`\r\n- flash `user1.bin` to `0x01000`\r\n- be sure to use the commandline flags when flashing the bootloader to set the correct flash size\r\n\r\nOn Linux using esptool.py this turns into the following for a 32mbit=4MByte flash chip, such as an esp-12 module typically has:\r\n```\r\ncurl -L https://github.com/jeelabs/esp-link/releases/download/v2.1.beta3/esp-link-v2.1.beta3.tgz | tar xzf -\r\ncd esp-link-v2.1.beta3\r\nesptool.py --port /dev/ttyUSB0 --baud 460800 write_flash -fs 32m -ff 80m 0x00000 boot_v1.4\\(b1\\).bin 0x1000 user1.bin 0x3FE000 blank.bin\r\n```\r\nI use a high baud rate as shown above because I'm impatient, but that's not required. For a 512KB flash module use `-fs 4m -ff40m' (that says 4Mbits and 40Mhz as opposed to 32Mbits at 80Mhz for the 4MByte flash modules).\r\n\r\n## Upgrade over-the-air\r\n\r\nTo upgrade from an earlier version 2.x of esp-link:\r\n```\r\ncurl -L https://github.com/jeelabs/esp-link/releases/download/v2.1.beta3/esp-link-v2.1.beta3.tgz | tar xzf -\r\ncd esp-link-2.1.beta3\r\n./wiflash <esp-hostname> user1.bin user2.bin\r\n```\r\n\r\n## Installing esptool.py\r\n\r\nOn Linux use [esptool.py](https://github.com/themadinventor/esptool) to flash the esp8266.\r\nIf you're a little python challenged then the following install instructions might help:\r\n - Install ez_setup with the following two commands (I believe this will do something\r\n   reasonable if you already have it):\r\n\r\n        wget https://bootstrap.pypa.io/ez_setup.py\r\n        python ez_setup.py\r\n\r\n - Install esptool.py:\r\n\r\n        git clone https://github.com/themadinventor/esptool.git\r\n        cd esptool\r\n        python setup.py install\r\n        cd ..\r\n        esptool.py -h"}}