Git Product home page Git Product logo

Comments (10)

BradleyGeldenhuys avatar BradleyGeldenhuys commented on September 24, 2024 1

I just read this comment again #3 (comment)

I added the select component after adding the external_component and compiled correctly.

Thank you

from esphome-pipsolar.

syssi avatar syssi commented on September 24, 2024

Could you provide the select: section of your configuration yaml?

from esphome-pipsolar.

SeByDocKy avatar SeByDocKy commented on September 24, 2024
  - platform: pipsolar
    pipsolar_id: pip8048
    output_source_priority:
      id: pvbrain_axpert_output_source_priority_select 
      name: pvbrain_axpert_output_source_priority_select
      optionsmap:
        "Utility first": "POP00"
        "Solar only": "POP01"
        "Solar Battery Utility": "POP02"
      statusmap:
        "0": "Utility first"
        "1": "Solar only"
        "2": "Solar Battery Utility
``


According to : https://github.com/esphome/esphome/commit/05dc97099a4efe6810ca682939f322106deb0f2d

seems the import line need to be removed.

from esphome-pipsolar.

syssi avatar syssi commented on September 24, 2024

I'm on tour today and will have a looking this evening. Did you try esphome clean pvbrain.yaml?

from esphome-pipsolar.

SeByDocKy avatar SeByDocKy commented on September 24, 2024

Yes I tried to clean, install a former ESPhome dev, etc... :( no success :(

from esphome-pipsolar.

syssi avatar syssi commented on September 24, 2024

Fixed by 5f40093

Please try again!

from esphome-pipsolar.

SeByDocKy avatar SeByDocKy commented on September 24, 2024

Yep it's working again :) thanks :)

from esphome-pipsolar.

BradleyGeldenhuys avatar BradleyGeldenhuys commented on September 24, 2024

I am having the same issue as above when trying to add the "select:" into configuration.

image

from esphome-pipsolar.

syssi avatar syssi commented on September 24, 2024

@BradleyGeldenhuys Could you provide a screenshot/copy of your external_components section? Which branch / component do you use exactly?

from esphome-pipsolar.

BradleyGeldenhuys avatar BradleyGeldenhuys commented on September 24, 2024

Thanks for the quick response.

I am using ESPHome Current version: 2023.2.4 in Home Assistant

I was not using external_components and after reading some more added the following.

external_components:

  • source: github://syssi/esphome-pipsolar@2424mse1
    refresh: 0s

I then did a clean build files.

image

INFO Reading configuration /config/esphome/inverter-1.yaml...
INFO Updating https://github.com/syssi/esphome-pipsolar.git@2424mse1
INFO Deleting /data/inverter-1/.pioenvs
INFO Deleting /data/inverter-1/.piolibdeps
INFO Done!

However when I try install I get the followig error.

In file included from src/esphome/components/pipsolar/output/pipsolar_output.h:3,
from src/esphome/components/pipsolar/output/pipsolar_output.cpp:1:
src/esphome/components/pipsolar/output/../pipsolar.h:7:10: fatal error: esphome/components/pipsolar/select/pipsolar_select.h: No such file or directory
7 | #include "esphome/components/pipsolar/select/pipsolar_select.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [/data/inverter-1/.pioenvs/inverter-1/src/esphome/components/pipsolar/output/pipsolar_output.cpp.o] Error 1

from esphome-pipsolar.

Related Issues (20)

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.