June 18, 20233 yr Has anyone experimented with chatgpt inside of HA? Does anyone know if it can see your entities, sensors etc? Wondering if it could help create a few scripts and automations. Would probably be better/smarter than me at creating these.
June 19, 20233 yr I tried using chatgpt to write a couple of jinja2 scripts... sigh, after the 5th attempt and some obvious mistakes I just wrote it myself, it gave me some good ideas It is quite good at writing pseudo code ... but it gets confused mixing other language constructs from other scripting languages into the mix.
June 19, 20233 yr I have been using ChatGPT to help with my ESPHome scripts and YAML code for Automations. It works very well but you need to be specific with the questions you are asking it. If HA comes back with errors, tell it what the errors are and it will usually correct them. Can't see your entities, is best to list the entities and what you want to do with them for the automation.
June 19, 20233 yr Author 8 hours ago, Sc00bs said: I have been using ChatGPT to help with my ESPHome scripts and YAML code for Automations. It works very well but you need to be specific with the questions you are asking it. If HA comes back with errors, tell it what the errors are and it will usually correct them. Can't see your entities, is best to list the entities and what you want to do with them for the automation. Thanks. I was just thinking perhaps using the api would solve a bit of back and forth and also allow one to make use of got 4.0. I could also perhaps have it asses all my entities / sensors and come up with better solutions. I use chatgpt often for advice and brainstorming. It's quite incredible what it comes up with. Literally saves one tens of hours reading the web and pestering friends. From what I remember 4.0 is significantly more accurate than 3.5
June 20, 20233 yr Keep in mind it's a language model, not magic. It frequently "hallucinates" answers and sources so always double and triple check whatever output you're getting from it
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.