Skip to content

guyverckw/Steemit-Notification-Module-for-Raspberry-Pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Steemit-Notification-Module-for-Raspberry-Pi

Notification of your Steemit account activity on Raspberry Pi platform

Setup Procedure:

Notification module setup procedures

Hardware setup:

  1. Requirements:

    1x LCD Display with supported port expanders : PCF8574, the MCP23008 and the MCP23017 <-- for I2C connection

    1x LED (with resistor)

  2. Wiring :

    i) LED:

     • Connect to GRD and GPIO 0 
    

    ii) LCD Display:

     Connect the pins on the right with the Raspberry Pi:
    
     • GND: Pin 6 (GND)
    
     • VCC: Pin 4 (5V)
    
     • SDA: Pin 3 (SDA)
    
     • SCL: Pin 5 (SCL)
    
  3. Enable I2C interface: $ sudo raspi-config • Select "Interface Options" • Select "I2C" • Select "Yes" • Select "OK" • Select "Finish" to quit raspi-config

  4. Check I2C address :

    $ sudo i2cdetect -y 1

    Find the i2c address in the table displayed.

Software Setup:

  1. Install LCD library -- RPLCD

    i) Install RPLCD directly from using pip:

     $ sudo pip3 install RPLCD (for python2 use pip)
    

    ii) If you want to use I2C, you also need smbus:

     $ sudo apt-get install python3-smbus (for python2 use python-smbus)
    
  2. Install Python-steem (piston-steem)

    $ sudo apt-get update

    $ sudo apt-get upgrade

    $ git clone https://github.com/xeroc/piston-lib/

    $ cd piston-lib

    $ python3 setup.py install --user

if you get "fatal error: openssl/aes.h : No such file or directory" error, you may need to install Openssl Development package

$ sudo apt-get install libssl-dev
  1. Download Steem_notify.py

  2. Change 'account_name' in line 10 of Steem_notify.py to your own Steemit account name

  3. Update line 15 of Steem_notify.py to reflect your system's own i2c address

  4. Run it!

    $ python3 Steem_notify.py

About

Notification of your Steemit account activites on Raspberry Pi platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages