Twitter IoT Name badge Displays your twitter feed on a badge using Twitter REST API
- Onion Omega2+
- Onion OLED display
- Onion OLED expansion dock
Displays your twitter feed on a badge
opkg update
opkg install python-light python-urllib3 pyOledExp
- No space left on device
- This may happen if you have installed the
editororterminalon the Omega2. If you have previously installed these components, you can remove them with theopkg removecommands. You can do aopkg listto check if you have the modules installed on your Omega2, and if it's there ( look foronion-console-xxx), you can remove them withopkg remove onion-console-terminaletc. Once you have removed theonion-console-terminal,onion-console-editorandonion-console-base, you should be able to download and install the remainingpython-urllib3andpyOledExpmodules withopkg install python-light python-urllib3 pyOledExp. Since we won't have the editor on the omega2 anymore, you will have toscpyour updates files to the omega2 or change the file with native linux text editorvimand edit yourusername,consumer API key, andconsumer API key (secret)in theconfig.jsonfile.
- Something went wrong when running the mainProgram() in the
olderTwitterDisplay.py
- In this case, it's something to do with the ssl module on your OS system where it might not be able to make
HTTPSrequests. So you will have to change L8 ofoledTwitterDisplay.pyfile tobaseUrl = "http://api.twitter.com"
- Text on the OLED display is upside down.
- Working on a solution
