Coder Social home page Coder Social logo

homeassistant-config's People

Contributors

mfcltd avatar wills106 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

homeassistant-config's Issues

People following my GitHub, please contribute!

If you know of a way to help, simplify or improve something I am doing, then feel free to raise an Issue ticket!

Also if you don't understand something I am doing or need help again raise a ticket.

Thank you

Hi Wills106!

This is not an issue per-se. Just wanted to say a massive thank you for opensourcing your config - especially your solax yaml. I wanted to buy you a ko-fi, but I'm unable to pay through PayPal - please ping me an email if there's anything else I can do to show my appreciation.

Cheers

Jamie

SolaX X1-Hybrid G3 HV-5.0T

Great work,
Nothing happens when I change Work Mode, Charger max current, Discharge max and Min capacity.
Also I cant find the Load/Generator register.
Using solax_x1_hybrid_g3_triplepower.yaml on a X1-Hybrid G3 HV-5.0T

experimental/solax_test.yaml doesn't match X1 Hybrid registers via JSON API

Not an issue really but just a note, since I can't add a comment.

I have an X1 Hybrid with Pocket Wi-Fi and pulling data via the /?optType=ReadRealTimeData endpoint. This returns JSON - 200 parameters.

I was hoping that these would line up with what you've documented here, for the X3, but sadly not the case.

I can't find any documentation yet about most of these values and while I've picked out some key ones (string 1 power, string 2 power, battery SoC), there's many which are very confusing.

I'm also looking for a way to set the % max battery SoC for overnight charging via API as well - this will be key in the summer months.

I'm aware of the following endpoints but no documentation anywhere.

?optType=ReadRealTimeData
?optType=ReadSetData
?optType=BatteryMinEnergy&BatteryMinEnergyValue={{{payload}}}&
?optType=SolarChargerUseMode&SolarChargerUseModeValue={{{payload}}}&
?optType=Password&PasswordValue={{{password}}}
?optType=ActivePowerLimit&PasswordValue={{{password}}}&ActivePowerLimitValue={{{payload}}}

Cheers, and any feedback welcome. Oh, and port 502 isn't open on the Pocket Wi-Fi.

SolaX X1 - modbus platform changes in HomeAssistant 2021.7.0

Hi.

Many thanks for sharing your HA configuration, it is an valuable reference to me in my Home Assistant journey.

There were changes to the modbus platform in 2021.7.0+, which have caused problems with your SolaX X1 configuration working. I have been using this for some time and was the trigger for my Home Assistant usage.

I have modified the modbus config at packages/solax_x1_hybrid_g3_group_read.yaml, using this as my guide. You may have already resolved this in your config and not updated it here yet, but thought I'd add it for others who may draw inspiration from your configs!

modbus:
  name: SolaX
  type: tcp # Comment out for RS485
  host: !secret inverter_ip # Comment out for RS485
  port: 502 # Comment out for RS485
  timeout: 5

  sensors:
    # Holding Registers
    - name: SolaX Group h1
      address: 139
      count: 19
      data_type: custom
      structure: ">19H"
      scan_interval: 2

    - name: SolaX Group h2
      address: 180
      count: 8
      data_type: custom
      structure: ">8H"
      scan_interval: 2

    # Input Registers
    - name: SolaX Group i1
      address: 0
      input_type: input
      count: 30
      data_type: custom
      structure: ">H2h5Hh3Hh7H3hHh5H"

    - name: SolaX Group i2
      address: 70
      input_type: input
      count: 14
      data_type: custom
      structure: ">2h10HI"

sensor:
  - platform: template
    sensors:
      # SolaX Group H1
      solax_charger_use_mode:
        friendly_name: "SolaX Charger Use Mode"
        value_template: "{{ states('sensor.solax_group_h1').split(',')[0] }}"
#and so on#

As the rest of the sensors are derived from the 4 groups, the holding ones (h1 and h2) certainly work, I've not tried the input ones yet as I don't (yet) automate overnight charging of the battery. That's a project for another day.

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.