Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Accent is a smart picture frame with a pop of color and no cables. Read more about it on Medium.



The Accent server is built on Google App Engine using the Python 3 runtime in the standard environment.

The database backend uses Cloud Firestore. User-specific data is stored in the users collection with each user identified by a key generated by the client to identify it.

  • /users/<USER_KEY>/home - The home address used for the local time, the weather, and the commute origin.
  • /users/<USER_KEY>/work - The work address used for the commute destination.
  • /users/<USER_KEY>/travel_mode - The commute travel mode.
  • /users/<USER_KEY>/schedule - The content schedule.
  • /users/<USER_KEY>/google_calendar_credentials - The OAuth credentials for Google Calendar.

To populate the cross-user data after setting up:

  1. Obtain an API key for Google Maps and add it the api_keys collection under /api_keys/google_maps/api_key. Ensure that the Maps Static API, Directions API, Geocoding API, Maps Elevation API, and Time Zone API are all enabled and added to the key's restrictions. The Cloud Vision API also needs to be enabled, but it doesn't need a key.
  2. Obtain an API key for OpenWeather and add it in the api_keys collection under /api_keys/open_weather/api_key.
  3. Obtain an OAuth client ID for the Google Calendar API with scope

To test and deploy the server:

  1. Install the Google Cloud SDK, create a project, and authenticate with a service account.
  2. Run cd server && python3 -m venv venv && . venv/bin/activate.
  3. Run pip install -r requirements.txt.
  4. Run the server locally with export GOOGLE_CLOUD_PROJECT=$(gcloud config get-value project) && python
  5. Test the local server with:
  6. Deploy the server with gcloud app deploy.


The Accent client uses the Arduino toolchain for the Waveshare ESP32 board.

To push the client code to the board:

  1. Add your server base URL to Client.ino.
  2. Use the board information in Client.ino to set up the environment.
  3. Verify and upload the sketch.

Finally, follow the on-screen instructions to connect the client to a Wifi access point.


Files describing the Accent frame hardware include:


Accent Smart Picture Frame




No releases published


No packages published
You can’t perform that action at this time.