These are chat archives for esp8266/Arduino

Jul 2015
chad cormier roussel
Jul 09 2015 00:49
@igrr was an interesting reading, would be nice to see this implemented though i understand the license issue
Burk Murray
Jul 09 2015 05:13
@rahul2704 You don't need SSL or an AP running on the ESP8266 to use Blynk. Edit the example code use your Blynk auto code and to connect to your WiFi. The ESP makes a TCP connection to Blynk over the web.
Jul 09 2015 17:45
ok the ESP hates other 2.4Ghz transmitters :(
my ESP-12 crash randomly when i place it near my 100mW transmitter.
Jul 09 2015 21:28 states "The library is designed to send the JSON string to an implementation of the Print interface that is part of Arduino. In the example above we used Serial, but they are many other implementations that would work as well, including: HardwareSerial, SoftwareSerial, LiquidCrystal, EthernetClient, WiFiClient, Wire"

I assume that this should work with ESP8266 WiFiClient too but lightJson.printTo(HTTP.client()); gives "no matching function for call to 'ArduinoJson::JsonObject::printTo(WiFiClient)'"

with HTTP being ESP8266WebServer HTTP(80);
What am I misssing here?
Me No Dev
Jul 09 2015 22:04
Jul 09 2015 22:10
WiFiClient client = HTTP.client();
no matching function for call to 'WiFiClient::print(ArduinoJson::JsonObject&)'
Me No Dev
Jul 09 2015 22:14
try client.print((Printable&)root)
also can try root.printTo((Print&)client)
Jul 09 2015 22:22
the first crashes at runtime and the second seems to output nothing
hold on, root.prettyPrintTo((Print&)client); is working for me. thanks @me-no-dev
Me No Dev
Jul 09 2015 22:26
no probs :)
I actually wrote my own methods to traverse the Json
anyhow... bedtime.
Rahul Thakoor
Jul 09 2015 22:52
@TimeTravelingOwls hello thx for the help but I dont think you understood what I am trying to do! I want to connect the blynk app directly to the Esp without connection to router or web! I want to use it for outside projects and basically use blynk as a remote and collect data every now and then.. This is possible using nodemcu firmware and lua scripts. I want to implement it in arduino ide and blynk! Check out this example: