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.
- @Aenima4six2 : Aenima4six2/gmg
- @FeatherKind : FeatherKing/grillsrv
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gmg-0.0.4.tar.gz
.
File metadata
- Download URL: gmg-0.0.4.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbbbb9ce72d0b8cbd28b41780646209a805a20c7ee419daa975e5644bdabc819 |
|
MD5 | 9b5d42141943172a7181b592eff17aa0 |
|
BLAKE2b-256 | e81ad09f8843d19f65561298e0992f5751d5a99f6c2cabe052ac7dcf3bcb4872 |
File details
Details for the file gmg-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: gmg-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a0dcbc9a6daa6d9e59c4e3966f2b926b1a4a0ab7865e7ea487d42a5aacfb84d |
|
MD5 | 60a59311ac60ec505f260e267e7f568c |
|
BLAKE2b-256 | 9f901f6c0480318f12e8c9486722c4bbb61b0c9bfd3d28c6701ba218417d9902 |