Giter VIP home page Giter VIP logo

Comments (4)

evilbulgarian avatar evilbulgarian commented on August 18, 2024

The variant is:
variant: 800KBPS

I had to do this to get them to show up independently in HA using mqtt:

mqtt:
broker: x.x.x.x
discovery: true
discovery_unique_id_generator: mac

Otherwise i think changing the name and using HA api should work just fine.

from iaq_board.

arjendewolf avatar arjendewolf commented on August 18, 2024

Thank you! I found out where to put the "variant: 800KBPS" line. Now it starts to compile and it makes lots of progress. Then the following error occurs:

In file included from /data/iaq_boardnieuw/.piolibdeps/iaq_boardnieuw/NeoPixelBus/src/internal/DotStarGenericMethod.h:126:0,
from /data/iaq_boardnieuw/.piolibdeps/iaq_boardnieuw/NeoPixelBus/src/NeoPixelBus.h:83,
from /data/iaq_boardnieuw/.piolibdeps/iaq_boardnieuw/NeoPixelBus/src/internal/NeoGamma.cpp:28:
/data/iaq_boardnieuw/.piolibdeps/iaq_boardnieuw/NeoPixelBus/src/internal/TwoWireSpiImple.h:29:17: fatal error: SPI.h: No such file or directory



compilation terminated.
*** [/data/iaq_boardnieuw/.pioenvs/iaq_boardnieuw/lib7e9/NeoPixelBus/internal/NeoGamma.cpp.o] Error 1
In file included from /data/iaq_boardnieuw/.piolibdeps/iaq_boardnieuw/NeoPixelBus/src/internal/DotStarGenericMethod.h:126:0,
from /data/iaq_boardnieuw/.piolibdeps/iaq_boardnieuw/NeoPixelBus/src/NeoPixelBus.h:83,
from /data/iaq_boardnieuw/.piolibdeps/iaq_boardnieuw/NeoPixelBus/src/internal/NeoPixelAnimator.cpp:27:
/data/iaq_boardnieuw/.piolibdeps/iaq_boardnieuw/NeoPixelBus/src/internal/TwoWireSpiImple.h:29:17: fatal error: SPI.h: No such file or directory



compilation terminated.
*** [/data/iaq_boardnieuw/.pioenvs/iaq_boardnieuw/lib7e9/NeoPixelBus/internal/NeoPixelAnimator.cpp.o] Error 1

A bit strange because I am following the precise steps from previous solved issue in this GIT.
Any thoughts?

from iaq_board.

arjendewolf avatar arjendewolf commented on August 18, 2024

Thank you! I found out where to put the "variant: 800KBPS" line. Now it starts to compile and it makes lots of progress. Then the following error occurs:

In file included from /data/iaq_boardnieuw/.piolibdeps/iaq_boardnieuw/NeoPixelBus/src/internal/DotStarGenericMethod.h:126:0, from /data/iaq_boardnieuw/.piolibdeps/iaq_boardnieuw/NeoPixelBus/src/NeoPixelBus.h:83, from /data/iaq_boardnieuw/.piolibdeps/iaq_boardnieuw/NeoPixelBus/src/internal/NeoGamma.cpp:28: /data/iaq_boardnieuw/.piolibdeps/iaq_boardnieuw/NeoPixelBus/src/internal/TwoWireSpiImple.h:29:17: fatal error: SPI.h: No such file or directory

compilation terminated. *** [/data/iaq_boardnieuw/.pioenvs/iaq_boardnieuw/lib7e9/NeoPixelBus/internal/NeoGamma.cpp.o] Error 1 In file included from /data/iaq_boardnieuw/.piolibdeps/iaq_boardnieuw/NeoPixelBus/src/internal/DotStarGenericMethod.h:126:0, from /data/iaq_boardnieuw/.piolibdeps/iaq_boardnieuw/NeoPixelBus/src/NeoPixelBus.h:83, from /data/iaq_boardnieuw/.piolibdeps/iaq_boardnieuw/NeoPixelBus/src/internal/NeoPixelAnimator.cpp:27: /data/iaq_boardnieuw/.piolibdeps/iaq_boardnieuw/NeoPixelBus/src/internal/TwoWireSpiImple.h:29:17: fatal error: SPI.h: No such file or directory

compilation terminated. *** [/data/iaq_boardnieuw/.pioenvs/iaq_boardnieuw/lib7e9/NeoPixelBus/internal/NeoPixelAnimator.cpp.o] Error 1

A bit strange because I am following the precise steps from previous solved issue in this GIT. Any thoughts?

I was able to fix it by removing the entire "platformio options" section.
Now both boards show up in HA as different devices, but some sensors are not available. When I connect them separately, all sensors work. I'll try some changes in the yaml file and see if that works. Otherwise, your mqtt option is perhaps the most viable one.

from iaq_board.

arjendewolf avatar arjendewolf commented on August 18, 2024

I got it working! Changed the names of the sensors, and now the devices are seperated in HA. So happy now, thanks for your help!

from iaq_board.

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.