chatbots everywhere - how financial engines made their ev charging stations chat with them
TRANSCRIPT
ALEXANDER YAVORSKIY CHIEF TECHNOLOGY OFFICER
FINANCIAL ENGINES
EV ConciergeThe Friendly HipChat EV Bot
DAVID CHOU STAFF SYSTEMS ENGINEER
FINANCIAL ENGINES
• Big cool statistic
• 2,569
• Add-Ons in Marketplace
Do you drive EV to work?
4 chargers 30+ drivers
How do we share and still be friends?
Curtis Foon - 3:24 PMI am next in queue
Jon Burt - 3:34 PMI will go after Curtis
Jun Ni - 4:54 PMOk, I will be third in line
Curtis Foon - 3:24 PMI am done, Jon you can go…
Jon Burt - 4:34 PMAlright, I am coming down…
Jon Burt - 4:35 PMHey, who took my spot? I was next!!! :-(
HipChat saves the day…?
There is got to be a better way!
Queue Mangement Station Monitoring Alerts & Reminders
Meet EV Concierge…
Queue Management
Station Monitoring
Alerts and Reminders
Commands - List, Add/Remove, Suspend/Resume, Help, Register, Subscribe
Joe Smith - 3:24 PMev add
Jun Ni - 4:54 PMev list
EV Concierge - 3:34 PMJoe, you are #3 in the queue. I will call you when your turn is up.
EV Concierge - 3:34 PM1. James Bond2. Jon Burt3. Joe Smith
Joe Smith - 3:24 PMev remove
Queue Management
Station Monitoring
Alerts and RemindersAlerts and Reminders
Status display and queue automation.
EV Concierge - 4:10 PM JoeSmith plugged into charger ‘A’
EV Concierge - 3:46 PM DaveBurt unplugged charger ‘A’
EV Concierge - 3:46 PM@JoeSmith you are next in queue!
EV Concierge - 4:10 PMJoeSmith was removed from the queue.
EV Concierge - 6:00 AM Monitoring started
Queue Management
Station Monitoring
Alerts and Reminders
Maximize utilization, minimize penalties.
EV Concierge - 4:00 PMFriendly reminder, charger ‘A’ is still available.
EV Concierge - 3:46 PM DaveBurt unplugged charger ‘A’
EV Concierge - 3:46 PM@JoeSmith you are next in queue!
EV Concierge - 5:10 PM@MikeSnail time limit for charger ‘D’ is approaching, to avoid a fee be ready to move.
Same EV commands as
HipChat
Bonus Feature: SMS
When I get close to the office
Add me to the queue
Bonus Feature: IFTTT
EV Concierge - Architecture
1. Command Interpreter
2. Event Monitor
3. Queue Services
Command Interpreter
Command Interpreter
Command Interpreter
Command Interpreter
Command Interpreter
Command Interpreter
Command Interpreter
Launch HubotInstall HipChat Adapter
Install HubotFollow Documentation
(npm install -g yo generator-hubot) (yo hubot --adapter hipchat)
HUBOT_HIPCHAT_JIDHUBOT_HIPCHAT_PASSWORDHUBOT_HIPCHAT_ROOMS
Getting Started with Hubot
Variables
Function
API Request
Variables
Function
API Request
Variables
Function
API Request
Variables
Function
API Request
Event Monitor
Event Monitor - ChargePoint API
XMPP/Jabber Publish/Subscribe model for event listening. Implemented via Smack API Java library by Ignite Realtime.
SOAP APIOld-fashioned, but proven. Provides API for publish/subscribe API, charger status information, etc.
API Key Ask your facilities manager. Access level depends on corporate agreement.
Event Monitor - GetStations Request
Event Monitor - Get Stations Response
Event Monitor - Implementation
Queue Services
Queue Services - Data Model
DRIVERS
- hipChatId - chargePointId - phoneNumber - isSmsEnabled
STATIONS
- stationId - alias
QUEUE
- date - queue
Queue Services - Architecture
Queue Service - Driver Discovery
Key Learnings
AWS = no heavy lifting
Public Shaming Works
Best UI is no UIFewer apps to learn and monitor.
Nobody wants to be a pariah.
Quick development cycle, reduced costs and maintenance.
Thank you!
ALEXANDER YAVORSKIY CHIEF TECHNOLOGY OFFICER
FINANCIAL ENGINES @AYAVORSK2000
DAVID CHOU STAFF SYSTEMS ENGINEER
FINANCIAL ENGINES @IAMDAVIDSCHOU