Not a problem at all 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
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?
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 But I do like your idea of adding the other sensors.
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.
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
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?
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?
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
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
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.