Giter Club home page Giter Club logo

hass-peaq's People

Contributors

elden1337 avatar jimmystridh avatar joek-makewave avatar lundan avatar wrt54g avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hass-peaq's Issues

Servicecall for needed charge

Since peaq cannot read car's chargelevel.

Set up call, params are

Desired kwh:
Departuretime:

Peaq should then tweak accordingly. As smart as possible. Ie perhaps break peak-energy, perhaps charge more at more expensive hours.

This must all be session-based and return to normal state after next disconnect

if i connect at 4pm and want x kwh to be charged before 7am next morning, let peaq (within the range of the current peaq-level) determine how many hours it needs to utilize and chose the cheapest among those hours.

This is a tricky one, since it cannot know beforehand how much the rest of the house consumes during those hours.

Update Chargerstates

Change the generic chargerstates-object to include a pause/stop-flag. This is needed for Easee to work properly.
Also, after that, alter the charger.py to pause/resume when mid-charging instead of just stopping/starting.

Setup failes with error on energy sensor

I get different errors with different sensors, see log below.
My asumption is that eithere the naming, or attributes on them do not match up.
Or simply that i have miss judge what sensors that should be provided.

image

At setup it accepts my input and configuration steps. But then gives error that it cant be set up.
Full log below with modified entity due to adress (for the Tibber Pulse)
First i thought it was about that i have local production so some sensors goes negative, however tested during over consuption with same error.

Let me know what data i can collect and what assistans i can give/help out with

2022-04-19 10:16:08 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry sensor.total_power_total_mqtt for peaqev
File "/config/custom_components/peaqev/init.py", line 32, in async_setup_entry
File "/config/custom_components/peaqev/peaqservice/hub.py", line 105, in init
File "/config/custom_components/peaqev/peaqservice/hub.py", line 133, in init_hub_values
File "/config/custom_components/peaqev/peaqservice/util/hubmember.py", line 30, in value
2022-04-19 10:20:02 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry sensor.power_XXXadressXXX for peaqev
File "/config/custom_components/peaqev/init.py", line 32, in async_setup_entry
File "/config/custom_components/peaqev/peaqservice/hub.py", line 80, in init
File "/config/custom_components/peaqev/config_flow.py", line 77, in async_step_user
File "/config/custom_components/peaqev/config_flow.py", line 56, in validate_input_user
File "/config/custom_components/peaqev/config_flow.py", line 38, in _check_power_sensor
2022-04-19 10:31:51 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry sensor.power_XXXadressXXX for peaqev
File "/config/custom_components/peaqev/init.py", line 32, in async_setup_entry
File "/config/custom_components/peaqev/peaqservice/hub.py", line 80, in init

Chargepoint ID

I feel really stupid but i cant get it to work, my guess is that i give the wrong Chargepoint ID
Tried all kind of stuff related to device and entitys

Checked out the code to see what it could be related to and tested. Sadly no luck

Easee charger, device is called 42 but i tried with different entitys aswell without luck
I asume that the power sensor should the the full entity name and mesure in W since power. Have a few but so far no luck

image

Cant set up the Peaq in integration, still getting Aborted

closed the last ticket, after clean install, and trying to figure out what could be wrong with my setup.
image

Guessing it got somthing with how to with the additional of the Nordpool, since this started to hapen when the priceaware beta got released.

Not really sure how to debugg or find the logs when it comes to custom integration setup throu gui. Let me know if its just my installation and what i can do.

v0.5.3
core-2022.4.7
supervisor-2022.04.0
Home Assistant OS 7.6

De-couple core

Move core functionality to separate package to be able to use peaqev in other places than HA.

  • Prediction
  • Threshold
  • Controllers

Dynamic caution-hours

if priceaware, create dynamic caution hours.

this will allow peaq to charge up to a certain threshold dynamically and not just based on the set peak.
with this feature, there will be a possibility to charge "a little" when prices are high but not high enough to cause a non-hour

Updatecurrent missbehaving

Updatecurrent must be audited. It seems to be updating only on init charging and when charger is paused.

QA Easee type

Help wanted. Someone with easee needs to qa it since im having a hard time finalizing without the possibility to debug.

Create amp-guard feature

it should be possible to set an amp limiter in setup, based on your house total allowance.
peaq should then adhere to this and not up the amps on the charging, even if tolerance for peakhour would allow it.
this feature should also be able to disable the charger during high load.

Change sensor strategy

The sensors break on HA updates because of various refactorings on the core side.

We need to restructure how peak is storing data in order to work without breakage when new releases of HA are made.

Sensor types that need to be altered are:

Integrationsensors
Utility meters
Sql sensors

Show today's estimated kwh/price

If priceaware, check current peak, and try to calc the max kwh-price for today based on peak vs avg consumption vs el-prices vs caution and nonhours.

Decouple locale

Make template for people wanting to add locale or chargertypes with what's needed.

Refactor hub-init process

  • Better logging on hubmembers and hubdata
  • Ignore typeerror on init, but delay service starts until all is init

Add Belgium

Could you add Belgium in the future?

Peak will be calculated for a period of 15 minutes.

The average of 12 month peaks will be the chargeable peak.

Done state error

Done not triggered correctly by chargecontroller
Done not disabling charging
Done not disabled when starting new chqring session.

  • fix chargecontroller as session bound and reinitialized

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.