Live data from Hacker News

Using ChatGPT for home automation

atomic14.com

31–40 of 117 posts

Re: Using ChatGPT for home automation

#31
post #20

I have been using chat GPT to control my light colours for about a month now. It's too tedious to properly set the colours and temperatures of our lights manually and too complex to consider all factors like activity, weather, music, time of day and season. Chat GPT is now our personal lighting DJ, giving us dynamic and interesting light combinations that respect our circadian rhythm. Here's my prompt - the output of…

> ...provide a reason in For what it's worth, I've been using something similar with my prompts and felt the completions did a poor job of honoring this, but do a better job when asked to use words instead of characters.

Re: Using ChatGPT for home automation

#32
post #30
post #13

Earlier quoted context omitted.

> If I say "it's too chilly in here" in a house with only lights, it will turn them on as a way of "warming things up". is it bad that I'm on GPT's side on this, i mean if they are incandescent lights they are small electric heaters and what else do you expect it to do

Yeah but I think the idea is that it is a knob that calls to be turned. "It's warm in here" -> "I'll make the light blue so you feel nice and cool". "How fast do sparrows fly?" -> "Making the light brown". Like it might want to do _something_ and tweaking the hue or brightness are all it can do. Good reason to always try to include in a prompt a way-out, a do-nothing or I-don't-understand answer.

[deleted]

Re: Using ChatGPT for home automation

#33

I had been thinking about doing this. I’m getting really tired of talking to Alexa now I’m used to a machine actually understanding me. Lights is just the start. Things like getting the weather, playing a playlist (or coming up with a new one for me) would all be SO much better with an LLM instead of a dumb bot. Edit: if you’re going to downvote. Leave a comment at least. Are there just a lot of Alexa fans in the hou…

Maybe you need to let your LLM manage Alexa

Re: Using ChatGPT for home automation

#34
post #31
post #20

I have been using chat GPT to control my light colours for about a month now. It's too tedious to properly set the colours and temperatures of our lights manually and too complex to consider all factors like activity, weather, music, time of day and season. Chat GPT is now our personal lighting DJ, giving us dynamic and interesting light combinations that respect our circadian rhythm. Here's my prompt - the output of…

> ...provide a reason in For what it's worth, I've been using something similar with my prompts and felt the completions did a poor job of honoring this, but do a better job when asked to use words instead of characters.

Imagine asking a person to give a verbal response in 250 characters or less. They could do it, but it would be a lot of work. Even saying less than 50 words is hard.

If you actually have a hard cap, you’ll have to give feedback. If it’s just you don’t want an essay, it works great to say something like “a few sentences”. And as always, examples help a ton.

Re: Using ChatGPT for home automation

#36
post #31
post #20

I have been using chat GPT to control my light colours for about a month now. It's too tedious to properly set the colours and temperatures of our lights manually and too complex to consider all factors like activity, weather, music, time of day and season. Chat GPT is now our personal lighting DJ, giving us dynamic and interesting light combinations that respect our circadian rhythm. Here's my prompt - the output of…

> ...provide a reason in For what it's worth, I've been using something similar with my prompts and felt the completions did a poor job of honoring this, but do a better job when asked to use words instead of characters.

> For what it's worth, I've been using something similar with my prompts and felt the completions did a poor job of honoring this, but do a better job when asked to use words instead of characters.

Yes, restricting by characters is hard for GPT-style LLMs because they work in tokens, not characters.

Re: Using ChatGPT for home automation

#37
post #31
post #20

I have been using chat GPT to control my light colours for about a month now. It's too tedious to properly set the colours and temperatures of our lights manually and too complex to consider all factors like activity, weather, music, time of day and season. Chat GPT is now our personal lighting DJ, giving us dynamic and interesting light combinations that respect our circadian rhythm. Here's my prompt - the output of…

> ...provide a reason in For what it's worth, I've been using something similar with my prompts and felt the completions did a poor job of honoring this, but do a better job when asked to use words instead of characters.

GPT-4 does a much better job at paying attention to details in prompts

Re: Using ChatGPT for home automation

#38
post #31

Earlier quoted context omitted.

> ...provide a reason in For what it's worth, I've been using something similar with my prompts and felt the completions did a poor job of honoring this, but do a better job when asked to use words instead of characters.

> For what it's worth, I've been using something similar with my prompts and felt the completions did a poor job of honoring this, but do a better job when asked to use words instead of characters. Yes, restricting by characters is hard for GPT-style LLMs because they work in tokens, not characters.

Thanks, that's a good pickup -I'll refine my prompt.

Re: Using ChatGPT for home automation

#39
post #20

I have been using chat GPT to control my light colours for about a month now. It's too tedious to properly set the colours and temperatures of our lights manually and too complex to consider all factors like activity, weather, music, time of day and season. Chat GPT is now our personal lighting DJ, giving us dynamic and interesting light combinations that respect our circadian rhythm. Here's my prompt - the output of…

[flagged]

You've been down voted but I totally agree. Why not us the same amount of effort to trying and make a meaningful difference in the world?

Re: Using ChatGPT for home automation

#40

I had been thinking about doing this. I’m getting really tired of talking to Alexa now I’m used to a machine actually understanding me. Lights is just the start. Things like getting the weather, playing a playlist (or coming up with a new one for me) would all be SO much better with an LLM instead of a dumb bot. Edit: if you’re going to downvote. Leave a comment at least. Are there just a lot of Alexa fans in the hou…

Coming up with a playlist is a fun one, but I've had much more luck with stuff like "generate a description of a playlist" - I have a little side project that talks to the spotify API and dumps song metadata into sqlite, and plugging GPT in as a SQL query generator was super useful vs writing all those queries by hand.

Of course that requires a lot of up-front work other than GPT, but not a ton more than is necessary to talk to the API in the first place, but GPT itself has not impressed me in the ability to rank things, like "select the fifty other songs I've liked that are most like this song" even when given a lot of quantitative metadata.

Post reply on HN