News for hackers. Stuff that matters.
Re:Show HN: GPT Home, A Home Assistant Built on the Raspberr... by judahpaul16 on Saturday May 04, 2024 @12:38PM (#40258746)
ChatGPT at home! Basically a better Google Nest Hub or Amazon Alexa home assistant. Built on the Raspberry Pi using the OpenAI API. Fully customizable with a React frontend accessible from either the Pi's local IP address or gpt-home.local if your network supports mDNS.
Re:Show HN: GPT Home, A Home Assistant Built on the Raspberr... by nirav72 on Saturday May 04, 2024 @09:56PM (#40261730)
Neat. Any estimation on the API usage cost?
Re:Show HN: GPT Home, A Home Assistant Built on the Raspberr... by judahpaul16 on Monday May 06, 2024 @11:11PM (#40281977)
Basically nothing especially if you use cheaper models and set the max token limit in `settings.json`. GPT-4 is $30.00 / 1M tokens for input and $60.00 / 1M tokens for output. For English text, 1 token is approximately 4 characters or 0.75 words. As a point of reference, the collected works of Shakespeare are about 900,000 words or 1.2M tokens. See https://openai.com/api/pricing and https://platform.openai.com/settings/organization/limits for limits.
Re:Show HN: GPT Home, A Home Assistant Built on the Raspberr... by bschmidt1 on Sunday May 05, 2024 @12:26AM (#40262234)
Awesome work! Would love to see a video demo, mainly to see how the speech sounds, delays, and general answers.

This is the perfect project for HN - great readme/setup tutorial too.

Re:Show HN: GPT Home, A Home Assistant Built on the Raspberr... by judahpaul16 on Monday May 06, 2024 @11:06PM (#40281947)
Re:Show HN: GPT Home, A Home Assistant Built on the Raspberr... by bschmidt1 on Wednesday May 08, 2024 @01:39AM (#40294708)
Haha cool :) Thanks for sharing
Re:Show HN: GPT Home, A Home Assistant Built on the Raspberr... by DevEric on Sunday May 05, 2024 @08:45AM (#40264456)
Can this Assistant actually do something? Or just answer questions? I personally don’t use home assistants for answering questions but for switching on lights or outlets.
Re:Show HN: GPT Home, A Home Assistant Built on the Raspberr... by judahpaul16 on Monday May 06, 2024 @11:06PM (#40281942)
Yeah It integrates with Philips Hue, Spotify, and OpenWeatherMap at the moment. The loop parses the recognized text with regex to see what sort of action is being requested and if it is not a predefined action it queries openai and speaks the response.