Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Angelo Santagata
#20374 Hi all,

These questions kinda cross forums so I thought Id post it here..

1. Ive received a NodeMCU dev board (very nice) and seams to work fine, but im thinking I may end up using Arduino sketch instead.. This can be flashed ok, after all this is just a ESP8266 with a USB/Serial interface right?
2. Ive noticed that the LUA net library only supports http, not https, is this correct? if so then its quite bad for security...
3. if I move arduino sketch (better for me as Im a C/java developer) does it support https on the ESP8266??? My R&D is a little .. inconsistent...

thanks all!
Angelo
User avatar
By torntrousers
#20409 Yes you can use a NodeMCU dev board just as a regular ESP8266 with a USB/Serial interface and the Arduino ESP support works fine with it.

I've not yet found any HTTPS support on anything that runs on the ESP8266. There is an issue open on the Arduino support that says its possible, just not done yet - https://github.com/esp8266/Arduino/issues/286
User avatar
By Angelo Santagata
#20422 Thanks torntrousers ,

Good to know I can use Sketch directly on the nodemcu board, I think it will come down to whatever is easier.. With regards to the https support this is kinda dissapointing as it means you need to have a "server", be it a raspberry pi or something, to receive the data within your network and then send it securely to a 3rd party service like sparkfun, openhab or thinkspeak.. One alternative I have discovered is to use MQTT (Mosquitto) according to the wiki the mosquitto client does support SSL!
wiki/doku.php?id=esp_mqtt

So this would be a secure way of sending, and receiving, to the ESP8266.

For IOT Cloud services, like thinkspeak and openhab, do you know any others?

Thanks all!
User avatar
By Tawhiz20
#20449 Hi Angelo,

I am a noob myself (well, not realy.. but I just started with the esp8266)... but I think I have something to contribute:
I read that in the new SDK 1.0.2?? SSL is supported... also if you go to this page: http://frightanic.com/nodemcu-custom-build/
you can build a custom NodeMCU-version and I can see that SSL is an option you can choose.

Thingspeak: I personally have some experience with that...
I have a few projects running which incorporate Thingspeak... no need for https for that... plenty of examples for that (in lua AND in C)

Personally I have started my 8266-adventure with NodeMCU and lua (its pretty easy to learn) but as I made bigger projects I ran out of memory with my lua-projects..
so now i am in the middle of switching to C (with some challenges)

Hope this helps... Have Fun!