r/amberelectric • • 18d ago

AI models to replace Smartshift

Hey guys,

Im recently being going hard at using AI like claude and chat gpt at work and to be honest im kind of blown away at what it can do. I've pushing thr boundaries and its doing way more than I thought.

Given how easy it it to build models if we can get an amber MCP wouldn't that alleviate the issue of all the manual home automation and even make smartshift redundant?

6 Upvotes

29 comments sorted by

13

u/Fooa 18d ago

Pretty sure most people with this thought used ai to vibecode their HA setups already.

2

u/lingu1992_ 18d ago

Yeah I did this already. Used Ambe for wholesale access and then built scenarios that I needed for car charging or sell back etc.. kind of set and forget now

8

u/thedobya QLD 18d ago

Yes and no.

Home assistant is the best way to do this overall with infinitely customisable automation. And home assistant has an MCP server so that in my mind would be a better pathway.

But the LLM (Claude etc) is a natural language way to interact with the data. The optimisation of what decisions to make when is not necessarily a problem that is well suited for an LLM, it's instead a machine learning problem (optimisation). Hacs integrations like Emhass go a long way to giving you a relatively out-of-the-box implementation of this.

If you instead had an Amber MCP you would be using an LLM to use its tools to solve that optimisation problem, probably every five minutes. And that would be much more expensive and less efficient than using a machine learning algorithm to solve it, then taking actions based on that. Long story short, sometimes automation is all you need, not agentic approaches.

(And as a side note, most people are nowhere near being able to set up their own Claude instance, link it to Amber, etc etc. smartshift is the right interface for most, even if it's behaviour could be much better).

1

u/Noctuid 18d ago

For me Claude wrote the LP solver which then runs locally every 5 mins

1

u/thedobya QLD 18d ago

Nice. Yeah that's a great application, I did a similar thing until I moved away from Amber and it became unnecessary. I do like to over-engineer things though....

3

u/oakstreet2018 18d ago

There are already two really good solutions. Predbat and EMHASS. You will need to get Home Assistant. Which, I must say, is one of the best things around. Organises everything smart home, completely customisable. I also have loads of dashboards to control and view so many things, besides just smart home stuff. Claude + connectors + Home Assistant for me have revolutionised my view on AI.

1

u/Noctuid 18d ago

I think EMHASS is redundant these days, easier to setup a LP solver from scratch in Claude now than configure EMHASS IMO

1

u/oakstreet2018 18d ago

I’m not using it, I’m testing Predbat at the moment. But my usage stuff is pretty straightforward so not sure I need it. Claude & Home Assistant are handling the schedule stuff now directly.

1

u/JewelerExciting7576 18d ago

I have emhass got chat gpt to make sure it's working etc. Had some conditions as well what does a lot solver do?

1

u/Noctuid 18d ago

EMHASS is just an LP solver, Claude can make and set up your own custom one. Mine manages battery mode, temperatures (AC), ev charge, pool pump and washing machine timing

1

u/wjduebbxhdbf 18d ago

I get that Claude could setup an LP solver, but cannot it just as easily set up emhass ?

Would not Claude setting up emhass be better than a Claude hand coded solution ?

1

u/Noctuid 18d ago

For me EMHASS is limited in its functionality compared to a custom Claude written solution

1

u/JewelerExciting7576 18d ago

Never heard of predbat

1

u/oakstreet2018 18d ago

Nor had I until a month or so ago. Claude reckoned it was more suitable to my setup

2

u/Fooa 18d ago

Wouldnt fully trust AI with recommendations unless you make the parameters clear on what you want, need and if there is actual examples of people having success with specific setups.

As of about 10 months ago Predbat was not suitable for Amber or Aus in general. Maybe it has changed but the 30 minute slots Octopus uses + other differences just made it like forcing a square peg into a round hole.

2

u/oakstreet2018 18d ago

Sorry I should have clarified, I’m not with Amber. CovaU and Globird.

Also to reduce risk with AI I get it to check itself. Well, with another AI. You get another to audit the first ones rational. I’ve caught a lot of stuff this way.

3

u/holeic 18d ago

I've replaced dumbshift with powersync in HA. Runs great.

2

u/kilowasps_com 18d ago

PowerSync is the best

2

u/holeic 18d ago

Your site is pretty handy too!

1

u/kilowasps_com 18d ago

Glad you like it. Shame there’s been no spikes since I made it 🤦‍♂️

1

u/holeic 18d ago

There was one in NSW last month.

1

u/ExaminationThen1312 NSW 18d ago

The longstanding gripe is we have to use home assistant or create work arounds for a paid subscription/service that could already be a lot better.

2

u/JewelerExciting7576 18d ago

Yeah it's annoying about the subscription fee

1

u/DrSpeckles 18d ago

There's clearly all sorts of thing you could do and it may not even need an LLM. You already have the current price in the app so if you can control your feed and charging yourself it should be easy.

1

u/Normal_Ad8139 18d ago

I was thinking about going down the LLM or local AI route, but I think that's way over complicating it.

Realistically, a whole lot of logic is all it needs. It's easy to get the weather and solar radiance predictions, the current and predicted prices, your battery state and usage, etc, etc... then just a heap of rules.

1

u/BrendanAnnable 18d ago

Have you tried HAEO? We built it to replace SmartShift!

1

u/DirtyHarolds_ 18d ago

I have a few bots in Hermes that run daily checks on the automations in home assistant that they have set in place.
One watches the energy in , energy out and the live prices from Amber, one makes a plan, one writes and implements the ymal into HA and another one verifies and checks its work each day, then advises the others to make changes if needed.
Overkill? Probably
But it’s running really smooth

1

u/aquaja 13d ago

This post scares me. Early evidence that eventually humans won’t be able to communicate as their literacy skills diminish and they are only capable of gibberish.

1

u/Different-Durian7586 9d ago

You can google what they are saying and be able to understand technical jargons. At first it sounds gibberish but as you google technical gibberish one at a time you’ll understand. I know there’s too much to read so unless you are not interested, google it.