Green Mountain Grill

Not a problem at all :slight_smile: glad I can help.
Iā€™ll probably do a bit more work on it over next few weeks to set up HA sensors for fire/warning states and general tidy up.

I also set up some automation within node red too if youā€™re interested I can share it. In short I scan an NFC chip which I labelled pork then it triggers a node red flow which sets the temp and uses food probe in GMG to monitor internal temp then sends notifications to my phone when done/time to wrap. It still needs some adjusting though

1 Like

Also using node red for my automations so if you can share it would be appreciated! Thanks.

Very excited about this! Got the costum component installed and added the yaml. I donā€™t see any entities yet. I see you have requirement of making sure udp 8080 is open between home assistant and gmg. How do you go about checking this? Is it in the router? Or within home assistant? Sorry Iā€™m a newbie with this stuff.

@Eoin - not a problem I need to clean up few things but will share it in next couple of days

@Derek_Di_Camillo_RN - it depends on your setup at home. It will most likely be that home assistant & gmg need to be on the same network for the auto discovery to work. Easy to way to do is check IP of home assistant & gmg (this can be a pain to find but check dhcp for it) they should be on similar IPā€™s e.g. 10.0.1.x

In coming releases I will try to get home assistant config flow to work so when you do setup you can choose auto discovery or put in IP of gmg if in different subnets but that will be awhile away

@jwhitby It might just be me not being used to using the climate sensor, but it doesnā€™t seem overly easy to display the current temperature of the GMG or probes. At least not as easy as having a simple temperature sensor. Iā€™m struggling to work out how to add the temperature to a graph as an example.

Would it make sense to others for the integration to also create standalone temperature sensors for, gmg + each probe as well as the climate sensor? If yes could this be considered as an enhancement request?

Funny you mention it 2 weeks ago I started to work on just that - adding in sensors for few values from GMG for example fire state, fire state percentage & warning state but work has been crazy for me lately so havenā€™t had much time to progress it.

When I get that working I did plan on making sensors for the food probes instead and probably can do one for temperature too when I work it out. With that said there should already be a graph there for the climate entity (screen shot of mine which I havenā€™t had on today). Would that do what youā€™re after?

image

If this is implemented as a climate entity, then the current temperature and set temperature are available as attributes.

Yes, it is setup as a climate entity. I had thought about attributes before, but on checking, the climate more info doesnā€™t have the attributes drop down. I presumed that means there were none. But given what you said I checked in dev tools and your correct, they are all there!

Ignore my request @jwhitby :slight_smile: But I do like your idea of adding the other sensors.

1 Like

I just picked up a well-loved GMG DB today, and am looking to integrate it into HA, so this is perfect timing! Do you have a ā€˜buy me a beer/coffeeā€™ link you can share? Happy to fuel development.

1 Like

Thatā€™s awesome I hope you enjoy your GMG!
I donā€™t have one at the moment but if there is interest in it iā€™ll look into setting it up.

At the moment work is taking over my life so I havenā€™t had time to do anything and I have to go overseas for 5 weeks~ so there may be delays in more work on this though I may do some in hotel. Just wanted to let you guys know not forgotten about this just finding the time at the moment :slight_smile:

1 Like

Safe trip and I know the feeling. I installed the code via HACS and made the change to config.yaml, but donā€™t have any new climate entities. I do have the ā€œGMG up to dateā€ entity, but thatā€™s it. The first thing I did was update my GMG to firmware 7.0, not sure what everyone else is running. The grill is on the same subnet as HA, but Iā€™m running a HA Blue, so not sure if docker networking is affecting autodiscovery?

Thanks! Still bit jet lagged but getting there.

I am running HASS image which works fine. Are you running it in your own docker environment? Because thatā€™s a possibility

Have you set your Gmg to wifi mode? It has few different wifi options so that may other issue

Iā€™ll be looking to add config set up so you can manually enter IP when I can as well to avoid stuff like this.

I too am very appreciative! It worked seamlessly and is a huge, especially considering their flakey app.

This might be a uniquely canadian problem, but we use Celsius for our home thermostats, and Fahrenheit when cooking our food. I tried to use a template to convert the GMG, but I think the templates only work with sensors. Is there another way to integrate the temperature right into the integration?

Thanks jwhitby!

Question, when the main grill is off, the probe target temperature gets set to -17.8C is that deliberate? Anyway, it can save the last set temperature?

In addition, I notice you cannot save the target temperatures for the Probes when the grill is off, again is that deliberate or am I just doing something silly :slight_smile:

@Simran_Gill

Funny you mention that. I use Celsius back home but I like to cook in Fahrenheit due to most recipes being American and I did start to look at this but it seems to be a limitation of home assistant. I will look further into it when back home (after 10th July) as itā€™s something I am after too

@Eoin

That is temp displayed is a weird one. When the probe is disconnected it displays a set value I have it on the to-do list to find out if I can find a value that tells when a probe is in or not and change the temp.
Not sure about last set temp iā€™ll take a look at that too.

The last part with Grill being off and not being able to set probes I think will always be the case as when the grill turns on it already has a value which is what it reads.

Sorry for the delay in making progress on this still away for work and doing long hours so havenā€™t had much spare time

If Iā€™m reading the 22.7 release notes correctly it looks like HA can now take care of converting F to C by itself, with the ability for each entity to be set individually. However, I notice the GMG sensors are not letting you chance. Does that mean something needs changed at a code level to allow this?

I just got home yesterday but still bit jet lagged but once settled back into home life again iā€™ll be taking a look at all of the above.

I read the release notes for 22.7 and itā€™s awesome theyā€™re starting to do it it looks like it is only available for number & weather entities at the moment not climate entities which the grill is. Iā€™ll take closer look to see if can find more info but fingers crossed that even if it doesnā€™t climate entity is up next

Welcome back! I still havenā€™t had success finding my grill via HA, if I had to guess, I have several IoT networks at home, so I am assuming that autodiscovery doesnā€™t work. I was going to dig into your code to try to just find the variable for the IP address and hardcode my GMG. Do yā€™all have everything working with the latest firmware update? My grill is running ā€œv7.0 DB API v6ā€ and I have tried it both in Server Mode and not.

Do you have multiple network interfaces for home assistant? How it currently works the code will broadcast on the main adapter to that subnet looking for the grill.

If you have multiple interfaces if you go into gmg.py above line 22 just set the variable for the binding IP to the one which your GMG belongs to. That may do the trick or if not if itā€™s possible just move the grill onto the same network as home assistant to test

e.g.

ip_bind_address = 10.10.5.50

My grill is running v2.1 NDB API v6 so looks like different grill but still same API version. Iā€™ll work on doing a config flow version in home assistant where you can put in IP of the grill manually.

Iā€™m running on Home Assistant Blue hardware, so I donā€™t have much access to the host OS. I did move the grill onto the same /24 as HA, but autodiscovery still cannot pick it up. I changed the bind address to the ethernet interface too in gmg.py. I confirmed overall reachability of the grill and that UDP:8080 is up and running with the web app mentioned at the beginning of the thread installed on a different box.

Unless I am missing an extremely basic step?.. I pulled down the custom components via HACS, added the climate string to my config, and restarted. I only have a single ā€˜updateā€™ entity that exists - [update.green_mountain_grill_update], and no new climate entities.