Using ChatGPT In Your Smart Home for $0.01 a MONTH?!

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

Комментарии • 157

  • @FutureSmartHome
    @FutureSmartHome  6 месяцев назад +9

    If you want to take a look at the code I used in these examples, I've posted them here. Thanks for watching! open.substack.com/pub/futuresmarthome/p/ai-in-your-smart-home?r=3wof2h&showWelcomeOnShare=true

    • @brianwilliams6113
      @brianwilliams6113 5 месяцев назад

      You should really look into wyoming

    • @FutureSmartHome
      @FutureSmartHome  5 месяцев назад

      On my list!

    • @milkogeorge2663
      @milkogeorge2663 4 месяца назад

      Super interesting and gives me some ideas. Two quick questions:
      - What are you using to track your water consumption?
      - Are you considering using a local LLM to do the same job without sharing data with ChatGPT?

    • @FutureSmartHome
      @FutureSmartHome  4 месяца назад

      Using Phyn for water consumption. And yes next video is on how to use local LLMs

  • @alexandrecolautoneto7374
    @alexandrecolautoneto7374 5 месяцев назад +28

    "Chat open the door"
    "I'm sorry Dave, I'm afraid I can't do that"

  • @mikekane9734
    @mikekane9734 6 месяцев назад +8

    Perfect! Love that! Thank you for the video. Now we know how it works in your house, but to repeat it, it is not pretty clear in hardware and steps perspective. It feels like will be very hard to repeat. But I would loe to have something like that at home. So if you could start it from the very beginning and make a playlist of the videos... that would be awesome (tip for content of your new channel).
    P.S. I can see your API key, won't use it. but others can. Make sure you regenerate a new one.

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      Thanks for the tips! Where did you see the API key? I’ll make sure to regenerate! Edit: I found the spot I missed! Thanks for the tip.

  • @szepzoltan
    @szepzoltan 3 месяца назад +4

    It's an awesome video, thank you for that.
    It seems, the cost highly depends on the language. I called the API a few times using Hungarian language. Although the requests were pretty simple, huge amount of context tokens was used.
    Calling API 2 times using Hungarian language costs 0.01 USD.
    I'll send a few Hungarian books for OpenAI to learn my mother tongue a bit better.😂

    • @FutureSmartHome
      @FutureSmartHome  17 дней назад

      This is really interesting to hear thanks for sharing.

  • @gregeezy
    @gregeezy 6 месяцев назад +2

    This really gets me excited, but currently way over my head as I've only really been digging into HAOS for about a month now. Looking forward to more tutorials about OpenAI integrations though.

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      Glad you liked it! It can be a bit intimidating. But you’ll get the hang of it!

  • @bvo004
    @bvo004 5 месяцев назад

    Great video which totally inspired me to build something like this myself. . Thank you so much!! . I experienced that the templating part didn't work so well for me though.. For instance It kept saying it couldn't retrieve weather forecasts from the exposed entities. But when i switched to chatgpt-4o it made everything 10 times easier! The assistant didnt even need any templating nor did i give it information where to look things up. It instantly searched for weather entitties in my HA setup and told me the forecasts for the next couple of days.

    • @henkvanholten3305
      @henkvanholten3305 5 месяцев назад

      He Bas zou je wat kunnen delen hoe je dit voor elkaar heb gekregen ik ben ook zeer geïnspireerd door deze video en ben benieuwd hoe jij dit voor elkaar heb gekregen !

    • @bvo004
      @bvo004 4 месяца назад

      @@henkvanholten3305 Sorry lees dit nu pas.. Eigenlijk is het aanpassen van het model naar gpt-4o, het enige wat ik heb gedaan. Dat zijn de default settings. De reden waarom dat niet in deze video wordt benoemd is volgens mij omdat dit pas zeer recent mogelijk is geworden dankzij de HA update van mei 2024

  • @rickman460
    @rickman460 Месяц назад +1

    Its funny that i just set up a similar notification thing in HA and run into the same little annoying things like the weird output variable name.. Great video man, I just subscribed. keep it up!

  • @TheSlowestZombie
    @TheSlowestZombie 6 месяцев назад +3

    Thanks for this! I just followed the guide, but decided to make a tweak. ChatGPT seems pretty good at parsing Home Assistant data on its own, so to avoid complicated jinja, I just drop the forecast service response blob directly into the OpenAI API without hand feeding it "This is the temperature high" "This is the wind speed", etc. In the configuration for the service, I just told the agent that the weather is from home assistant data. I think there's a little more optimization to be done, but not actually having to use a giant block of text to parse out all the weather details is just as much a selling point as is the ability to have unique and amusing responses.

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад +2

      This is a great point that I never tried! Will be adjusting mine as well for the future!

    • @jpcdn80
      @jpcdn80 6 месяцев назад

      Can you detail a little bit how this was done? I'm only seeing how you would pass text along. Thanks!

    • @TheSlowestZombie
      @TheSlowestZombie 6 месяцев назад

      @@jpcdn80 That's the neat part: It's all just text. From the video at around 12:18, in the Conversation.Process service, you can drop the whole "Current Conditions are below" with all the brackets. Instead, have the text: part just be the response variable from the "get forecasts" service call. Also, in the Integaration settings for Open AI, I have it configured just to deal with the weather. My system prompt is "Parse Home Assistant weather data and describe today's weather forecast using simple English. Don't describe tomorrow's weather or any other future date forecasts. Only use US measurement values. When describing temperatures, only use fahrenheit. Don't use celsius or kilometer measurements. When describing wind speed, round to the nearest whole mile per hour. Be fun, and use occasional jokes or sarcasm to make the response seem more genuine and unique."
      There are a few more tweaks I did that are hard to type out in a comment here but hopefully this gets the gist of it.

    • @welbeschikbaa
      @welbeschikbaa 6 месяцев назад

      @@TheSlowestZombie would you mind copy/pasting what you have in the text block of the conversation.process?

    • @TheSlowestZombie
      @TheSlowestZombie 6 месяцев назад +2

      @@welbeschikbaa Fingers crossed that the formatting works out. Here is my entire script:
      alias: Weather Report
      sequence:
      - service: alexa_media.update_last_called
      data: {}
      - service: weather.get_forecasts
      metadata: {}
      data:
      type: daily
      target:
      entity_id: weather.forecast_neptune
      response_variable: dailyforecast
      - variables:
      weatherparse: |
      {{ dailyforecast['weather.forecast_neptune'].forecast[0] }}
      - service: conversation.process
      data:
      agent_id: conversation.openai_conversation
      text: "{{ weatherparse }}"
      response_variable: openairesponse
      enabled: true
      - variables:
      plainresponse: |
      {{ openairesponse['response'].speech.plain.speech }}
      enabled: true
      - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 500
      - service: notify.alexa_media_last_called
      data:
      message: "{{ plainresponse }}"
      enabled: true
      mode: single
      icon: mdi:weather-sunny-alert

  • @drjasinski
    @drjasinski 6 месяцев назад +2

    Thanks, works great here. Now I can’t wait to hear the latest weather report!

  • @holohane
    @holohane 6 месяцев назад +2

    Nice video. Certainly sets the mind going with possible ideas. Thanks for your work and good luck with your channel. Eddie.

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      Thank you for the kind words!! That’s exactly what I was going for.

  • @SamCastillo
    @SamCastillo 6 месяцев назад

    Have you seen OpenAI extended conversation. It’s got a lot of extra features including the ability to control devices. Apart from having it control all my lights etc I have added other things like adding to a shopping list. What’s really great is that I just need to give it my intent and it figures out what I want to do.
    Telling it I have run out of milk and it adds it or saying that it’s a bit dark downstairs and it turns the lights on is very cool.

    • @cesaralanis4213
      @cesaralanis4213 3 месяца назад

      How you configure it? Can you show or explain?

  • @RealWizardry
    @RealWizardry 3 месяца назад

    Awesome and really exciting opportunities for integrating into my home. Love it.

  • @lmamakos
    @lmamakos 9 дней назад +1

    +1 for the Buckaroo Bonsai musical theme! "When are we having AI in our Home?! -- Real Soon!"

  • @Dmkjr
    @Dmkjr 6 месяцев назад +2

    Very detailed walk through. Love it. Subscribed.

  • @cedfet
    @cedfet Месяц назад +1

    3:00 "reduce your environmental footprint". Thanks for the video. May I add a quick thought here by saying that using a cloud-based AI isn't really going to reduce your environmental footprint. Your bill yes maybe, but the environmental footprint, I am not so sure.

  • @Anarn85
    @Anarn85 4 дня назад

    Thanks for the video! There seems to be an updated way of integrating the API key. I was wondering where you are supposed to choose which gpt model to use? There is no choice for it when configuring the service in the OpenAI integration. Thanks in advance!

  • @ChkChkB00om
    @ChkChkB00om 5 месяцев назад +1

    You sir have got yourself a new subscriber

  • @nielsaxelsson
    @nielsaxelsson 6 месяцев назад +1

    Good examples well explained. I'm now subscribed. 😃
    PS: As a Dane I liked and agree on the en-GB British accent remark 😂

  • @NickBouwhuis
    @NickBouwhuis 5 месяцев назад +2

    You know. All these small expenses add up. That is $0.12 a year! You could buy a year worths of API calls for that!

  • @mrx2672
    @mrx2672 5 месяцев назад

    You can also just use the ollama integration and not have to pay or use the cloud. For a lower end computer, I use stablelm-sephyr model LLM. Works well.

    • @FutureSmartHome
      @FutureSmartHome  5 месяцев назад

      Yes! I’m actually working on a video about this and some of the pros and cons.

  • @saninnsalas
    @saninnsalas 6 месяцев назад

    This is pretty cool.
    That said, since I learn the amount of resources (like water) used for each ChatGPT requests I feel like one have to really, REALLY, think before including ChatGPT or any other cloud based LLM into our automations.
    For things like this use case I would probably try to use some local LLM since rapid response is not an issue.

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      Totally valid thing to be concerned about. Send me some of those stats if you come across them. I’ve heard training one of the models is the equivalent of 6 cars worth of lifetime emissions.

    • @saninnsalas
      @saninnsalas 6 месяцев назад

      @@FutureSmartHome I tried to link some stuff but RUclips deleted my comments, probably because it though it was spam.
      You can just search for "ChatGPT water" and you will find several Articles from reputable sources likes Forbes about the topic.
      Also you can search for Google intent to put a server farm on Chile where the access to water was already a problem.
      The training cost that you says is what server farms can do, nothing even remotely possible on a home environment AFAIK.

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад +1

      I’m exploring ollama for local GPT. Will probably do a video on it.

  • @marcopaolidds
    @marcopaolidds 5 месяцев назад

    this is so much difficoult for me to make it work! i only have a Lumi sensor outside but even changing the sensors you use in the video this is still not working! is it possible to send a message with chatgpt output?

  • @brandonfertig
    @brandonfertig 6 месяцев назад

    Excellent. Privacy concerns seem valid, but this is excellent.

  • @saschare3916
    @saschare3916 6 месяцев назад

    Really great video. I've got many new ideas on what I can do next with my smart home.

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      Awesome to hear. So glad it prompted some ideas!

  • @DreamHeaven
    @DreamHeaven 5 месяцев назад

    Great video , thanks. If you could share any code snippets would be also nice

    • @FutureSmartHome
      @FutureSmartHome  5 месяцев назад

      Thanks for watching! Check out the pinned comment on this video - I link to my substack which has some snipped.

  • @lucasjb
    @lucasjb 6 месяцев назад +1

    Great video, you should change your key, you can see it at 5:42

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад +1

      Good catch, thank you! I even tried to blur it out but must’ve cut the blur one frame too soon 😂

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      And thanks for watching!

  • @inventadoconpablo
    @inventadoconpablo 6 месяцев назад

    Thanks , Everything works fine, but the responses are cut off. Is there a way to remove the character limit per response?

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      Mobile notifications are limited in the amount of text you can send to the device via push. No way to change that.

  • @fatboyslimdusty
    @fatboyslimdusty 5 месяцев назад

    Awesome work, keep it up!

  • @henkvanholten3305
    @henkvanholten3305 5 месяцев назад

    Great work i am very inspired by your video is it possible that the agent_id after a update of HA is not a number now but Plain text ?

    • @FutureSmartHome
      @FutureSmartHome  5 месяцев назад +1

      Thank you so much! Yes the latest update has agent_id in plain text.

  • @hotmonitor
    @hotmonitor 6 месяцев назад +1

    When install API key i have error: Unknown error occurred. How to fix this?

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      I’m not totally sure. You’ll have to check k the home assistant logs to see more. Should be in settings.

  • @PerryEdwards-yr1nz
    @PerryEdwards-yr1nz 5 месяцев назад

    120 gallons a day? What do you do with all of that water?

  • @gabeg.4583
    @gabeg.4583 2 месяца назад

    Hello. Can you tell us how you interact with the Hoogle Home device? Could I use it as a proxy for voice input/output to simplychat with ChatGPT, with HA as the backend server? T

    • @FutureSmartHome
      @FutureSmartHome  17 дней назад

      Google doesn’t make this very straightforward. The back and forth conversational aspect wouldn’t work.

  • @pairos
    @pairos 6 месяцев назад

    Excellent video, can you show how to choose gpt4 or gpt 4o? There's no dropdown menu so Im not sure how to choose those ones. Thanks again!

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад +1

      Thank you! Here is a list of models that are available and the corresponding value that you can type. platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4

    • @pairos
      @pairos 5 месяцев назад +1

      @@FutureSmartHome Thank you so much!

  • @stanleyso-vb7dy
    @stanleyso-vb7dy 6 месяцев назад

    Hi, how do you get the consumption for water and electricity? From provider or sensors?

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      Both sensors. But check to see if your provider has an integration! Phyn (water) and Sense (electricity)

  • @alondinbar6193
    @alondinbar6193 6 месяцев назад +1

    Is it the latest version of chatgpt ? (4), and is it local? I guess also its can do us morning brief of calendar? Or even each time i want?

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад +2

      It could totally do a morning briefing of your calendar. It’s not local. And this was before 4o

  • @speedracer9132
    @speedracer9132 6 месяцев назад +1

    It would be awesome to hijack google home/alexa speakers to access our home assistant gpt

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      There are actually some projects out there that completely swap the boards in Google home mini with a custom system that could indeed do this!

  • @samuraiintellectual
    @samuraiintellectual 6 месяцев назад

    Well done! You got a new sub!

  • @robertdalga128
    @robertdalga128 6 месяцев назад

    Thanks for the video, it was very interesting ! If I recall you said that the Open AI integration could report back on the status of all of your devices and/or entities in HA every morning (if you choose)? Is that right? Could it verbally give you a 'status report' ? Would this be difficult to setup? Lastly, I think it would be great if you could put out more vids on this subject. Thanks again.

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад +1

      Thank you for watching! I’ll definitely do more videos like this in the future. And yes, you could create an automation like this. You can also have a conversation with it about your house and all of the sensors.

    • @robertdalga128
      @robertdalga128 6 месяцев назад +1

      @@FutureSmartHome Thanks. That would be a great tool to have for HA. Not surprisingly I have entities that go offline from time to time and getting a notification right away would be extremely helpful.

  • @Techguru604
    @Techguru604 6 месяцев назад +1

    Why not run Ollama locally on your hassio box? All ran locally without external dependencies.

    • @RichAfroKid
      @RichAfroKid 6 месяцев назад

      That seems neat, but not nearly as approachable as using GPT. The minimum requirement of ~8GB of ram and multiple gigs of storage makes it a little steep for the average person. Once my GPT credit runs out, I'll look at switching to that myself.

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      I will be looking into this!

    • @gabynevada
      @gabynevada 6 месяцев назад

      Also most open source models are not even close to as useful and "smart" as gpt4

    • @Techguru604
      @Techguru604 6 месяцев назад +1

      @@gabynevada Llama 3 is on par with gpt 4. Haven't tested against gpt 4o yet.

    • @gabynevada
      @gabynevada 6 месяцев назад

      @@Techguru604 Think I had only tested until Llama 2, gonna give Llama 3 a try then. Thanks!

  • @Rich33527
    @Rich33527 6 месяцев назад

    Are you using a different API key for each service?

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      Yes. It’s nice to be able to track usage per type. And I can set them up independently with different criteria.

  • @AndrewSpec
    @AndrewSpec 6 месяцев назад

    I was working and watching your video. This is so awesome that I'm replacing my voice notifications with this :D

  • @simonhinger8176
    @simonhinger8176 6 месяцев назад

    I will send my wifi scale data to ChatGPT so it will tell me to go to the gym more often. Awesome Video

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      I might do that too! Thank you!

    • @simonhinger8176
      @simonhinger8176 6 месяцев назад

      @@FutureSmartHome is it also possible to give the OpenAI Integration controll over several entitys to control them?

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      Yes. In the examples I showed, I’m sending data from multiple different systems.

    • @simonhinger8176
      @simonhinger8176 6 месяцев назад +1

      @@FutureSmartHome Ah sorry i just watches the Kids weather forecast. Great, thanks!

  • @sternlb1
    @sternlb1 6 месяцев назад

    Great video and idea, I will try it. Water sensor missing :-) I need it now... Immediately :-D
    Greetings from Germany

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      Hello! So glad you liked the video. There are a few good water sensors out there!

  • @strusic
    @strusic 5 месяцев назад

    Is it possible to use display to get responses from assist chat from ha? I have set pipeline with openAI but I want to get responses as notification. Simple > I say something to wyoming satellite and I want response as notification. Is it possible?

  • @thesecretreviewer8242
    @thesecretreviewer8242 5 месяцев назад

    be nice if you added links

  • @morells09
    @morells09 17 дней назад +1

    How come no uploads in 5 months? 😢

    • @FutureSmartHome
      @FutureSmartHome  17 дней назад +1

      Life got in the way! But, I’m planning to get back at it soon. Appreciate the sentiment!

    • @morells09
      @morells09 16 дней назад

      @ totally understandable! Looking forward to the next video 😀

  • @Whateverrrr863
    @Whateverrrr863 3 месяца назад

    OpenAI weather update automations should really become a script since it has no triggers

  • @pjohnson21211
    @pjohnson21211 6 месяцев назад

    this is great!

  • @billytalentrocks345
    @billytalentrocks345 5 месяцев назад

    How much water does AI require to process your prompt per month? It's estimated to be 500mL per 5-50 prompts. Datacenters use a lot for cooling.

  • @AndyBerman
    @AndyBerman 6 месяцев назад

    Great video. The title should say one cent a day, not a month.

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      Thank you and thanks for watching. The GPT 3.5 model, which is mostly what I was using, was one cent a month for all of my usage in March.

  • @keyboard_zombie
    @keyboard_zombie Месяц назад

    skip 4:46 to the part where he says "lets jump into it"

  •  6 месяцев назад

    I'd prefer Anthropic haiku model as it's cheaper and better in many languages

  • @cakekomo
    @cakekomo 6 месяцев назад

    You might want to edit this video. You didn't hide your openai API key very well.

    • @cakekomo
      @cakekomo 6 месяцев назад

      Can also see where you live for the same reason. I mean it doesn't really matter, and you can redo the API keys, but just FYI. :)

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад +1

      I did regenerate the API key but what do you mean you can see where I live?

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад +1

      Actually, don’t respond i found it thank you!

    • @cakekomo
      @cakekomo 6 месяцев назад

      @@FutureSmartHome NP!

  • @wapphigh5250
    @wapphigh5250 6 месяцев назад +17

    Nice one. But I am concerned about privacy. I'm not sure I'm ready to let open AI enter my life and home.....Isn't Microsoft now involved? Seems you already have to hand over your credit card... so where is this heading? Whats next? A whole bunch of messages saying you've been signed up to xyz streaming service/news/energy company and security monitoring etc?

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад +10

      Thanks for watching! A totally fair (& common) point of view. I feel ok with this because I am choosing to send the data when I want to and it’s not unfettered access. I wrote the code that sends the information so, that gives me some comfort.

    • @wapphigh5250
      @wapphigh5250 6 месяцев назад +4

      @@FutureSmartHome Sure. Its good that you have the skills to write the code. That;s awesome! Have subscribed and will follow the channel. I was just making the point having had smart home tech now well over a decade. I know where this can lead. I started with control4 and hated their "dealer only" model. That's why I love and switched to HA. Whilst I understand everyone needs to make a buck out of us home users, we need to be very wary what goes on behind the scenes and under the hood. HA is not like that (now) but could very well head that way (if we aren't careful). Just like FB.. starting out all groovy and "free" no subscriber model.. then 10 years on they are selling our data. I understand nabu casa has a very small subscriber fee for remote access.. that;s fine.. but will that be enough? Isn't "big data" where "the money is"? Probably out of the scope of this discussion, but doesn't Microsoft have their tentacles directly in the HA pie as well...? Thru an "interest" in github? This company (and their true motives) needs to be on everyone’s home automation "watch". That's all I'm saying 🙂

    • @Edu2pc
      @Edu2pc 6 месяцев назад +3

      In Ollama is free!

    • @udiakuka7889
      @udiakuka7889 6 месяцев назад +2

      That's fair concern. Not to say that I 100% agree, but if that is bothering you, you can always self host the Ai. Know that it might cost you a bit to get a computer that can respond quickly. If it interests you, check for ollama

    • @alexdoan273
      @alexdoan273 6 месяцев назад

      ​@@wapphigh5250nowadays you don't even need the coding skill for this, just ask the AI to write it for you, and tell it to explain what the code does step-by-step. AI doesn't lie willingly

  • @My-noname
    @My-noname 6 месяцев назад +1

    Home assistant is all about NOT letting big tech into your home. There are locally hosted ai alternatives to use.

    • @ChrizzeeB
      @ChrizzeeB 6 месяцев назад +1

      Oh noooo😢😢😢 openAI knows i used 50 gallons of water this week😢😢😢😢

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад +1

      I agree that is the core ethos of HA and I try to follow it. But while we don’t have good, readily accessible, local LLMs, I think this is an avenue for exploration. This isn’t a HACS integration, it’s the official & sanctioned integration with OpenAI.

    • @sierpus
      @sierpus 6 месяцев назад +1

      @@ChrizzeeB send all the internal data from all the sensors to OpenAI… really? Just to read the same notifications in a different way?

    • @thrawnis
      @thrawnis 6 месяцев назад +1

      No, HA is setup for whatever you want it to do. If you choose to share it with OpenAI, that’s your choice. If you choose not to share that info, that’s also your choice.

    • @My-noname
      @My-noname 6 месяцев назад

      @@thrawnis it is, yes, but "local control, local data" is the core value.

  • @IAmMisterD
    @IAmMisterD 5 месяцев назад

    $0/month sounds better to me.

  • @danthetube5707
    @danthetube5707 6 месяцев назад

    When i run the 'text to speech' action in the automation i get the error message 'Error rendering data template: UndefinedError: 'agent' is undefined'. Further more, I have found that I don't get an agent id in a format like yours. I see the following 'agent_id: conversation.openai_conversation'. Can you help?

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      A bit hard to troubleshoot via RUclips comments BUT I’m guessing at the time you are calling the text to speech you haven’t set the response variable of the OpenAI conversation process to value “agent”. Also make sure you are indeed doing the conversation process action.

    • @danthetube5707
      @danthetube5707 6 месяцев назад +1

      @@FutureSmartHome I have followed your video instructions, creating the temporary action in the automation to determine the agent ID. I have noticed that I get an additional tick box to set, labelled 'conversation ID', which you don't seem to get in your setup.

    • @FutureSmartHome
      @FutureSmartHome  6 месяцев назад

      @@danthetube5707 I am a few home assistant versions behind so I’ll have to update and check it out.

    • @MarkSheppard72
      @MarkSheppard72 5 месяцев назад

      @@danthetube5707 Me also I have been trying this for a couple days. I have the response if I use dev tools, but I can seem to find it past there. I don't recive a # agent_id.

    • @MarkSheppard72
      @MarkSheppard72 5 месяцев назад

      @@FutureSmartHome you ever find the issue for no agent_id:#. When I run the conversation.process to get the id it just returns conversation.openai.conversation.
      Also when I use the dev tool I can get the response, but I have no clue where to find that to send thru. I get either the timestamp as a message, agent, or the “Simon says” reply. Any help is appreciated