-->
Page 1 of 2

Controlling ESP8266 through Node-Red via MQTT

PostPosted: Fri Dec 09, 2016 1:53 am
by vickeyhort
Hi friends,

I have written a library ESPMetRED for controlling ESP8266 based boards through Node-Red via MQTT. Your feedback is required.

ESPMetRED

A blend of ESP8266 MQTT and Node-Red

- Arduino IDE compatible
- For more information visit ESPMETRED AN ARDUINO IDE COMPATIBLE LIBRARY TO COMMUNICATE ESP8266 AND NODE-RED VIA MQTT
- Visit our github repository to download it

Features:

- User friendly API
- Back and forth communication between ESP8266 and Node-Red using MQTT protocol
- Auto connect to WiFi or MQTT server in case of failure
- Sudo Timer for Timely operations, update Sunrise or Sunset data and preserve it in flash memory
- Save variables in Flash memory
- Retrieve variables from Flash memory on booting ESP8266
- Preserve and restore GPIO state i.e. HIGH or LOW
- Over the Air (OTA) update
- More are comming soon!!

Re: Controlling ESP8266 through Node-Red via MQTT

PostPosted: Fri Dec 09, 2016 5:47 am
by AcmeUK
- Save variables in Flash memory
- Retrieve variables from Flash memory on booting ESP8266
Any example?

Re: Controlling ESP8266 through Node-Red via MQTT

PostPosted: Fri Dec 09, 2016 7:42 am
by vickeyhort
AcmeUK wrote:
- Save variables in Flash memory
- Retrieve variables from Flash memory on booting ESP8266
Any example?

Yes sure, Check out the github repo.

Re: Controlling ESP8266 through Node-Red via MQTT

PostPosted: Fri Dec 09, 2016 11:53 am
by AcmeUK
I can only see
Code: Select all state = client.ReadSPIFFS("12");
in relay.ino. I cannot see an equivalent write.