LOGIN

Hacking The Mixpanel API with Raspberry Pi 3

Tapping into the Mixpanel API from my Pi 3

JOIN PROJECT
17 Contributions Made
7 Milestones
4 Participating Countries
Electronics
Passion
This project is on ICE!
Heat this project up by pinging the project leader to make a new post and get things moving!
OUR TEAM
Steven ReubenstoneMechanical Engineer & Tinkerer of Things.
SaNju RDy
Áñañţh Şømù
Govinda Rathod
VIEW ALL 29 MEMBERS
JOIN PROJECT
SPONSORS
Sponsor This Project
STORY

Project Complete!!! :) :) :) :) :)

Special thanks to Harsha Alva and all who contributed!!! We did it! This has been an incredible learning experience across the board – from dual h bridge motor shield control, raspberry pi 3, node.js, gpio control, npm, and more. Wow. Unbelievable.

Project Overview

I continue to stress that Arduino is a real, yet amazing addiction. This weekend, I had an intensely strong urge to start a new Arduino Project. The thing is, I did not want this to be a meaningless project, even if it is primarily to learn.

The Prototype is Working!!!

My top 2 ideas initially

  1. Sling shot for the office

  2. A wifi + arduino + lcd project that could somehow tap into Mixpanel data

I decided to go with option 2 because it seems like a much more effective learning project, with knowledge we can apply later.

How the Project Will Work

It’s pretty simple to understand.

–> Wifi card taps into mixpanel’s api, pulls the most recent event to happen on Collaborizm Live Server --> Display on LCD.

how it will appear

circuit diagram

https://circuits.io/circuits/2923704-mixpanel-live-activity-to-lcd

Current Task in Progress

There are 2-3 active tasks in Progress. The reason why I say “2-3” is because these 2-3 tasks will work together so they must be tackled at similar times. Please see the Project Outline Card below this section to learn about more details of the tasks in progress.

Teammates & Contributors I’m Looking For

#Developers
Object Oriented Programming – I need an OOP experienced programmer to help me understand how OOP works

#Arduino – experts in WiFi connectivity and making HTTPS Requests **off the ‘Duino’

#LCD – experts in connecting to LCD

#C Programmers

#iOT People will also be extremely helpful for the overall assembly and execution of the Project

Understanding Mixpanel

www.mixpanel.com

Mixpanel is an extremely powerful data analysis tool for tech companies, specifically companies with web based/app based software, like Collaborizm :).

All you really need to know for this project are some basic things:

  • Mixpanel is passed EVENTS from whatever web/app you have – so for example on Collaborizm, one event we track, is “REPLY”.

  • You can track any event you want in your Projects

  • EVENTS are attached to EVENT PROPERTIES – like user city, device, country – eg. a REPLY event might tell us if the user was on an Android, in Mumbai, India when that REPLY event was executed.

For this Project that’s really all you need to understand. I will supply more information on mixpanel, and mixpanels API in Supporting Material Section below.

Github

https://github.com/aharshac/Collaborizm_Mixpanel_IoT

Why I’m Passionate About This Project

I am passionate about this Project because I am obsessed with the Internet of Things, Hardware, and Arduino, as well as data analysis.

Current Code File: Just a draft…to organize the different sections

Sections in Arduino File

Section 1: Import libraries
Section 2: Initialize Wifi Module and Connect to network, Send Proper Request to Mixpanel API
Section 3: Retrieve Request, Process Request, Store properly
Section 4: LCD

Supporting Material & Info

LCD Connection

https://ictronic.wordpress.com/2016/07/02/interfacing-16x2-lcd-with-arduino-without-potentiometer/

http://www.instructables.com/id/Connecting-an-LCD-to-the-Arduino/?ALLSTEPS

Decoding a JSON Response on Arduino

https://github.com/bblanchon/ArduinoJson/wiki/Decoding-JSON

WiFi Connection & HTTPS Requests From Arduino

https://www.arduino.cc/en/Reference/WiFiClientConnect

www.mixpanel.com
https://mixpanel.com/help/


Discuss Hacking The Mixpanel API with Raspberry Pi 3

Start a discussion...
DISCOVER
CHAT
HIRE
ACTIVITY
FEED
278
25
New Post
Help
Start Project
Online Users
Share Link