Skip to content

ayoko/micropython_esp8266_tweetbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

micropython_esp8266_tweetbot

Tweet bot for MicroPython v1.8.4 (ESP8266)

This program is a Tweet bot (Twitter status updater) for MicroPython ESP8266. Confirmed working with MicroPython 1.8.4.

One problem is, this program consumes a lot of heap memory, so it will not run if you add more functionality.

To run, we need a modified hmac.py which is compatible with SHA1. We can obtain the code below even though it is not merged to the main stream, yet. (Thanks to the patch author.)

https://github.com/micropython/micropython-lib/pull/82/files

In addition, you need some authentication keys and secrets for Twitter. You can obtain them at https://dev.twitter.com/oauth/overview/application-owner-access-tokens . You can apply them to the variables in the tweet.py as following.

CK = ''     # CONSUMER_KEY
CS = ''     # CONSUMER_SECRET
AT = ''     # ACCESS_KEY
AS = ''     # ACCESS_SECRET

Any question, please send email to github@flogics.com though I may not have time to answer clearly.

Thanks you.

Yokoyama, Atsushi

Firmlogics (http://flogics.com)

About

Tweet bot for MicroPython v1.8.4 (ESP8266)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages