Skip to main content

Middleware for talking to your Green Mountain Grill

Project description

Green Mountain Grill Middleware

Middleware for talking to your Green Mountain Grill

The intent of this project is to create a plug and play module that can be used in any python application. This will create a standard way for sending and receiving data to and from your grill.

Setup

This package will be published in Test.pypi so to include this into your project just do the following:

pip install gmg

It's not published yet, so this won't work until I feel like its ready

Example

from gmg import GreenMountainGrill
myGrill = GreenMountainGrill('0.0.0.0',8080)
status = myGrill.status
print(status)

Results

{
  temp: 151,
  tempSet: 150,
  probe: [ { temp: 122, tempSet: 145 }, { temp: 35, tempSet: 0 } ],
  state: { power: 'ON', fire: 'RUNNING', warning: 'FAN_OVERLOADED' }
}

Prerequisites

  • A Green Mountain Grill is required

Methods

This is a work in progress so not all methods are available yet.

When initiating your grill, you will need the IP address of your grill, and the port which is most likely 8080.

status();

This method will return the data from the grill and make it available within the callback function.

serial();

This method will return the serial number for your grill

power(on/off) NOT IMPLEMENTED YET;

Hopefully this will be the power control for the grill, accepting one parameter indicating either on or off, and a callback to handle what happens next.

temp(device, temp) NOT IMPLEMENTED YET;

Available devices should be:

  • 'grill' - This would set the temp for the grill
  • 'probe1' - This would set the desired food temp for probe 1
  • 'probe2' - This would set the desired food temp for probe 2

Credit

Most of my work is because of the decoding work found by these developers.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gmg-0.0.4.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

gmg-0.0.4-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page