Close

API key storage

A project log for All-In-One ESP8266 IFTTT Button

This is an IFTTT IoT button based on Noel Portugal's design but implemented on an ESP826-07 breakout board with a built-in button.

stopsendingmejunkstopsendingmejunk 01/04/2016 at 17:171 Comment

I started working on making the IFTTT key a setting in the web config rather than having it hard coded. It looks like nodemcu's rtcmem module would allow for the storage of the key through deep sleep cycles. The 8266 rtc has 128 slots of 30 bits each available for program storage.

An IFTTT API key is formatted like this: x-Xxxxxxxxxxxxxxxxxxxx making it 176 bits. I will need to figure out how to divide it into 30 bit chunks to store in the rtc. Right now I can't even seem to store and retreive a simple value.

Discussions

marcoscalet wrote 01/10/2016 at 23:34 point

hi...i attend you and your beautiful work. Thanks ;)

  Are you sure? yes | no