Skip to content

Connect to your Green Mountain Grill and visualize grill temp, prob temp, and more! UI component here: https://github.com/facultymatt/gmg-webapp

Notifications You must be signed in to change notification settings

facultymatt/gmg-js

Repository files navigation

Status logged to console

This is a javascript application designed to connect to your GMG and record it's status to a database so informative charts can be generated and cooks can be saved for learning purposes (ex: how long did my last 12lb brisket cook take and when was the stall complete?)

This project is still work in progress (WIP) and while it's stable enough that I use it every time I run my GMG, there are still some limitations and bugs that need to be resolved.

Remember you are controlling an appliance that makes heat and fire 🔥🔥🔥 - be safe!

NOTE on setting pizza mode - this commands adjusts your settings, its reccomended to make sure you settings are correct after sending this command by using the GMG app.

Dev getting started

Dependencies

React UI

Configure

  • Find your grill IP. This can be done by looking at your network / router connected devices interface (google wifi has a great interface for this). The grill is called something like "unnamed devide".
  • Open config.js and enter your Grill IP.
  • Enter a database name. Currently the way to save different cooks is the manually change this value.

Run and confirm it's working

  • start CouchDB in a separate command window - couchdb
  • install project dependencies npm install
  • run npm start
  • confirm you see a grill status printed to console. IF YOU HAVE THE CORRECT IP you will see status. If no status displays, check your IP and try again.
  • open the webapp project directory and get that running.

Database UI

Running on Raspberry Pi

There is a simple script to facilitate dev / testing on raspberry pi. On each startup / reboot the following steps are prefermed. This makes it easy to run the latest by just power cycling the Pi.

  1. pull latest source code from current branch (stay on master)
  2. run yarn to get latest dependencies
  3. run yarn start to start in dev mode. (Eventually there will a way to run a built or dist version.)

How to setup backend

  • sudo vi /etc/systemd/system/backend.service
  • paste in contents from backend.service
  • sudo systemctl daemon-reload
  • test starting with sudo systemctl start backend.service
  • test stopping with sudo systemctl stop backend.service
  • enable at startup sudo systemctl enable backend.service
  • test it out with a reboot sudo reboot

How to setup couchdb

  • sudo vi /etc/systemd/system/couchdb.service
  • paste in contents from couchdb.service
  • sudo systemctl daemon-reload
  • test starting with sudo systemctl start couchdb.service
  • test stopping with sudo systemctl stop couchdb.service
  • enable at startup sudo systemctl enable couchdb.service
  • test it out with a reboot sudo reboot

About

Connect to your Green Mountain Grill and visualize grill temp, prob temp, and more! UI component here: https://github.com/facultymatt/gmg-webapp

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published