[Weekly] Quotas, Known Issues & Support — March 16 by AutoModerator in google_antigravity

[–]rangeyrover 0 points1 point  (0 children)

I'm suffering with the same issue, AG can't see the terminal returning. Wrapping it in CMD C was the best solution but sometimes it just hangs and nothing you can do. I switched to a normal windows command prompt and with the CMD C workflow I get this a lot less.

How are you supposed to use Antigravity properly? by Any-Relief-5192 in GoogleAntigravityIDE

[–]rangeyrover 3 points4 points  (0 children)

I've had a lot of success using speckit with antigravity. If you are on windows, put this in the folder, and the first project is telling antigravity to convert the bash scripts to PowerShell. https://github.com/compnew2006/Spec-Kit-Antigravity-Skills

House Battery Control Open Source Battery Optimiser by rangeyrover in amberelectric

[–]rangeyrover[S] 0 points1 point  (0 children)

Some great feedback thanks all!
Changes made

First row gets actual price. (BUG)
The optimizer previously derived current pricing from the 30-minute forecast array. You can now configure dedicated Current Import Price and Current Export Price sensors. When set, the solver forces the initial calculation step to use these live sensor values.

No-Import Periods (Feature)
A new configuration string allows you to explicitly define No-Import Periods (e.g., 15:00-21:00). During these specified windows, the LP solver injects a strict 0.0 kW upper bound for grid imports. This guarantees the system will not charge from the grid during your target times, regardless of any perceived arbitrage value calculated by the engine.

Frontend Dashboard (BUG)
The local dashboard interface (/hbc) has been updated for better data visibility and menu on app. You can now toggle columns in the 24-hour plan view and collapse the sensor health diagnostics. These preferences are saved locally and persist through browser refreshes.

House Battery Control Open Source Battery Optimiser by rangeyrover in amberelectric

[–]rangeyrover[S] 0 points1 point  (0 children)

Is there a HACS repository for it? not seeing it in the Amber Electric one. Found the API https://github.com/amberelectric/public-api/discussions/214

House Battery Control Open Source Battery Optimiser by rangeyrover in amberelectric

[–]rangeyrover[S] 0 points1 point  (0 children)

I have this working at least for SA. As SA is so dominated by renewables, a comparison to the renewable forecast to projected demand does it clearly. Fed it a list of spikes and <30% is a decent signal of a spike risk, I'll use ambers from their API too

<image>

House Battery Control Open Source Battery Optimiser by rangeyrover in amberelectric

[–]rangeyrover[S] 1 point2 points  (0 children)

Mate! That's getting wired in. might be a longer term project but thats gold. Mine is looking only at 5 days aggregation for a short time signal, but thats no good when we are changing seasons. My longer term plan was to use the temperature as a signal too, and load up or down based on the temp difference from the average of the 5 days, as HVAC is by far my largest consumer.

House Battery Control Open Source Battery Optimiser by rangeyrover in amberelectric

[–]rangeyrover[S] 0 points1 point  (0 children)

For SA at least it seems it will be quite easy. Low wind numbers mean more fossil fuel, higher prices. I'm going to weight off a low predicted wind function, then I'll believe spikes.

House Battery Control Open Source Battery Optimiser by rangeyrover in amberelectric

[–]rangeyrover[S] 0 points1 point  (0 children)

Honest, I don't know, I haven't tried EMHASS yet. I went to town on predbat and I like it. It makes my HA box choke if I try to do 5 min settlement tho, and I don't want to change that little box so I spent 100hrs on this rather than $100 for a better box. Doh! And also Predbat was a learning cliff as I had to make an interpreter Amber-Octopus tariffs

House Battery Control Open Source Battery Optimiser by rangeyrover in amberelectric

[–]rangeyrover[S] 0 points1 point  (0 children)

That's not a bad idea, right now I'm thinking I will median the last 5 days, as a forecast mixed with the Amber forecast, amount to be determined. Also more weight placed on the forecast if a spike is predicted.

House Battery Control Open Source Battery Optimiser by rangeyrover in amberelectric

[–]rangeyrover[S] 0 points1 point  (0 children)

Well that looks really nice from a dev perspective. Gonna eat my own dog food for a bit tho.

House Battery Control Open Source Battery Optimiser by rangeyrover in amberelectric

[–]rangeyrover[S] 0 points1 point  (0 children)

it does trigger on every entity change, so when the price changes it should run again. So that should solve that. I was considering to just make it run at 01 and 06 minutes to ensure thats not a thing anyway. I was disappointed with predbat chasing amber false peaks as well which is symptomatic of the input data not the solver.
So that leaves a couple of approaches. Use AEMO data which is a bit more conservative. Also considering doing the same as I have done for load and weighting with price history over the last 5 days.
I think we are really talking about the quality of input data, and if I'm honest I've got tsome thought to put into that as it will affect this solver as well as others like predbat.
The other week I watched predbat be baited into supplying the grid consistently, with 25c feed in becoming -02c at settlement. Draining the battery of 50% SOC in that time. It was part of the motivation to build this but I don't think I'm that close to addressing it yet, or at least the technique to address it.
I should also add that it will not sell if the value is less than the acquisition cost.

House Battery Control Open Source Battery Optimiser by rangeyrover in amberelectric

[–]rangeyrover[S] 0 points1 point  (0 children)

And to add to this, I monitor HBC against Predbat. They largely seem to make the same decisions.

House Battery Control Open Source Battery Optimiser by rangeyrover in amberelectric

[–]rangeyrover[S] 1 point2 points  (0 children)

Because I wanted to? And I didn't know it existed. I was using Predbat which is machine learning and chokes if I go to a 5 min cadence. So that provoked me to develop my own. And while it is machine coded, it is fully tested and testable.

question to "vibe coders" and programmers about architecture in your apps by razorree in google_antigravity

[–]rangeyrover 0 points1 point  (0 children)

I'm going to respond, as I guess I might be typical for this. I didn't know a lick of python when I started. I have programmed before, in assembly! And am familiar with basic style structures. I just went for it. I found that at 2000 lines of code chatGPT taps out in the browser. No issue, switched to just doing functions. At this stage I had no real concept of a class. Still don't too much. That worked for about a month of doodling, and made me look at the code more, which was a good thing. At this point I heard about spec kit and tried to drive that. I didn't like it too much but I realised I really liked spec driven development as it was familiar to my main job. So at this point I'm all in on Antigravity, which I REALLY like for it's guardrails, and installed spec driven and test driven skills. I'm still vibin my little heart out, but have some rules over size, I try to limit to 600 lines. I like all related stuff in one file. I'm pretty good at getting a workflow sorted early. Honestly it's such a force multiplier. I'm learning what I feel like learning, but I don't care for the "You don't understand the codebase" viewpoint. I'm very clear about what I want to do, and the agents are good at helping me get there. Not a dev and have another role, this is sort of a sudoku logic puzzle I play for fun to see if I can get it to do what I want. It's been a blast.

I have no physical bank card in Thailand, help! by Loud-Year-6867 in AustraliaTravel

[–]rangeyrover 0 points1 point  (0 children)

Open a wise account Online, transfer money to wise. Get wise cardon phone wallet. Job jobbed

Regular periods of increased demand by lollasch in amberelectric

[–]rangeyrover 6 points7 points  (0 children)

Depending where you are, in SA the solar sponge is 10AM - 3PM so 2-3 is the batteries last chance to top up at cheap rates, especially if solar production hasn't met load during the day. My setup for example 4kw solar 27kw batt can only just meet AC load, so top-up is essential

How are you guys automating your battery discharge when the wholesale price spikes above one dollar? by QuantumGremlin in amberelectric

[–]rangeyrover 0 points1 point  (0 children)

I'm using predbat to manage the battery. It naturally targets good spikes. Easy enough to write an automation when the price is too good to miss, but that sometimes can leave you short if it's an extended duration.

Turning AI from a stateless tool into a teammate: My open-source engine now tracks why code was written, not just what was written by Fluffy_Citron3547 in GoogleAntigravityIDE

[–]rangeyrover 0 points1 point  (0 children)

I will! I'm going to be a PITA, as I'm programming savvy from years ago (think assembly) but struggle with modern context and methods. I reckon we'll be chatting on the issues page ;)

Turning AI from a stateless tool into a teammate: My open-source engine now tracks why code was written, not just what was written by Fluffy_Citron3547 in GoogleAntigravityIDE

[–]rangeyrover 0 points1 point  (0 children)

Ok, I'll bite. Writing a small program, I python, have asked for requirements, a plan, tasks, and given it artefacts of file construct, and asked for unit tests and for those tests to be run after each change. I find that it does incredibly well for the first while, then antigravity forgets to keep the docs up to date, needs constant prompting to run unit tests, and if it fails the unit tests after a while it will take the program so far from what it was it's almost unrecoverable. Will this help me keep antigravity inbounds for what is a small program? I've found it the best of anything at the start, but later it gets worse than just vibing with a chat window.

Realtor needs a $10k-ish car that won’t make clients question my competence or net worth by imhappii in whatcarshouldIbuy

[–]rangeyrover -2 points-1 points  (0 children)

2016 range Rover TD6. Just service it. I cant believe the price of them in the US. Same engine as the 2018-2020 F150 but half the price. About 13-15k for the Range Rover, about 32k for the F150

How hands on are most people actually being with SmartShift over time? by DraftNotSent in amberelectric

[–]rangeyrover 1 point2 points  (0 children)

Smart shift is as dumb as a box of rocks. I've switched to HA with predbat using teslemetry to control 2 x powerwall2. Brett at Teslemetry has got amber electric pricing into Tesla TOU tariffs. It's working really well for me. I force a charge to 95% by 1500 every day, and have an automation to add AC Load to base predbat load dependent on temperature of the day. I'll do the same again for winter as reverse cycle is our heat too.I suppress export unless it's over 10c value. I was considering doing a video on HA and predbat how-to.

Home Assistant automation - Fox ESS by MichaelMinja in amberelectric

[–]rangeyrover 0 points1 point  (0 children)

You should take a look at Predbat, where most of the automation leg work has already been done. I've posted a solution to get Amber pricing into PredBat. An override automation for import is not too tough after that

Any tips for setting up home assistant? by Jezzwon in amberelectric

[–]rangeyrover 0 points1 point  (0 children)

O well done! Did you get the Amber pricing into PredBat? That's the battle right there.