Chat freely about anything...

User avatar
By X7JAY7X
#37934 Thanks for your help! It pays to read!

I created a new VM and started over with your Windows installation directions (https://github.com/jeelabs/esp-link/blo ... WINDOWS.md). I can compile but it complains about git and about curl. Here are the issues:

1. "Install SourceTree and check CLI git or other git distribution to obtain git from CLI" - Can you describe this better? I don't see anywhere in SourceTree to check CLI git or other git distribution.

2. How do I get curl for the wiflash? Do I install it into MinGW somehow? If so, I cant seem to find a package for MinGW.

Thanks
User avatar
By X7JAY7X
#37982 Disregard. I have git and curl now installed and working, although git complains about the diff command being used in the makefile. I found your Windows install guide very helpful but needed a few tweeks. I am updating it on my end for my install records. tve, do you want it when I am done in case you want to update yours or just to see what other steps I had to do to get it all working on Windows?
User avatar
By rayellam
#38126 Happy new year All,
I have just installed ESP link V2.1.7 onto an ESP12E. The web server seems to work OK but i do not know how to send data to thingspeak using ESP link. I did this successfully using AT commands previously. Can any one give me examples of GET, POST, PUT?

1. I have coolterm connected to the ESP module and when it starts i get a log of it's boot sequence.
2. Cool term is set up to send /n after each command.
3. I use the example given in the esp serial protocol in this link https://gist.github.com/tve/a46c44bf1f6b42bc572e.
4. The ESP module is driven from a 1A 3v3 supply with decoupling close to the module.

What i get back after sending "~@1Tdeveloper.yahooapis.com:80" is nothing in coolterm then after around 3 seconds the ESP module will reboot, it states that the wdt caused the reboot. The reboot occurs even i just just hit return in coolterm without any text being sent. The reboot will not occur if i send no serial data to the module.

I can send text via the ESP-Link console entry and read that from the UART with coolterm but i still cannot connect to the internet. Here is a coolterm log.

Code: Select all86>
    86> ** esp-link v2.1.7 - 2015-12-13 08:49:46 - cb75396
    86> Flash config restore ok
    88> CONN led=4
    99> Wifi init, mode=STA
   114> Wifi uses DHCP, hostname=Energy Meter
   138> "ip": "0.0.0.0"
   151> "netmask": "0.0.0.0"
   167> "gateway": "0.0.0.0"
   182> "hostname": "Energy Meter"
   201> sleep enable,type: 2
   217> Httpd init, conn=0x3fff293c
   236> Serbridge pins: reset=12 isp=13 swap=0
   313> Reset cause: 1=wdt reset
   313> exccause=4 epc1=0x40000f68 epc2=0x0 epc3=0x0 excvaddr=0x0 depc=0x0
   318> Flash map 4MB:512/512, manuf 0xC8 chip 0x4016
   347> ** esp-link ready
   361> MQTT_Init
   371> mode : sta(18:fe:34:e6:7a:9f)
   391> add if0
   400> f r0, scandone
   528> state: 0 -> 2 (b0)
   529> state: 2 -> 3 (0)
   532> state: 3 -> 5 (10)
   532> add 0
   532> aid 1
   539> cnt
  1298>
  1299> connected with Pantelco, channel 1
  1299> dhcp client start...
  1299> Wifi connected to ssid Pantelco, ch 1
  2121> ip:192.168.1.5,mask:255.255.255.0,gw:192.168.1.1
  2122> Wifi got ip:192.168.1.5,mask:255.255.255.0,gw:192.168.1.1
  2134> host_name = Energy Meter
  2151> server_name = _http._tcp.local
  3235> HTTP GET /console/text: 200, 135ms, h=20760
  4500> HTTP GET /console/text: 200, 803ms, h=20656
  7718> HTTP GET /console/text: 200, 210ms, h=20656
 10539> pm open phy_2,type:2 0 0
 11097> HTTP GET /console/text: 200, 348ms, h=20656
 14476> HTTP GET /console/text: 200, 305ms, h=20656
 15217> Wifi check: mode=STA status=5
 15217> Turning OFF uart log
~@1Tdeveloper.yahooapis.com:80
~@1Tdeveloper.yahooapis.com:80
~@1Tdeveloper.yahooapis.com:80hello~@1Tdeveloper.yahooapis.com:80

hello
~@1Tdeveloper.yahooapis.com:80


TIA
Ray