Skip to content

Listens to coffee power consumption messages on MQTT and notifies slack and influxDB when somebody has brewed coffee.

Notifications You must be signed in to change notification settings

webkom/kaffe-listener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KaffeListener

This repo connects to our MQTT server, listening 1) for power measurements from a socket connected to our moccamaster, and 2) for card scannings from a card reader placed next to the moccamaster. Whenever coffee is brewed, the script estimates the volume by checking how long the brew took, and then sends a message to slack with who brewed and how much they brewed. The information about the brew is also broadcast back to MQTT for other consumers, where it is picked up by another script that stores the historical data in influxDB.

About

Listens to coffee power consumption messages on MQTT and notifies slack and influxDB when somebody has brewed coffee.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published