Giter VIP home page Giter VIP logo

Comments (3)

mmiller7 avatar mmiller7 commented on August 23, 2024 1

Workaround figured out -- it seems the library is installed inside the addon container under /usrl/local/lib64 but the runtime system is not looking in the usual library locations, I don't know why.

In HomeAssistant via your favorite method (samba, ftp, ssh), edit the rtl433 startup script:
/config/rtl4332mqtt/rtl2mqtt.sh

Find where it calls rtl_433 and add this to a new line before the rtl_433 executable:
/usr/local/bin/rtl_433 -F json -R $PROTOCOL -f $FREQUENCY -g $GAIN -p $OFFSET | while read line

Add a new line BEFORE the rtl_433 line:
export LD_LIBRARY_PATH="/usr/local/lib64"

Now re-start (not rebuild) the addon, and it should fire up correctly.

IMPORTANT -- the new rtl_433 also changed the sensor type names so you probably need to modify all of your mqtt sensor entities to point at the new paths. For example, mine changed from sensors like "homeassistant/sensor/rtl433/Acurite_tower_sensor/1234" now the MQTT path is "homeassistant/sensor/rtl433/Acurite-Tower/1234". Also beware some of the JSON changed, for example "battery_low" (which was a 1 for low and 0 for good) is now "battery_ok" (where 1 is good and 0 is low).

from hassio-addons.

mmiller7 avatar mmiller7 commented on August 23, 2024

I just fell over this trying to rebuild a working install to get updated decoders...now I have NOTHING working and no way to roll back that I can see. Help?!?!?!

from hassio-addons.

sischnei avatar sischnei commented on August 23, 2024

I can confirm that your solution with exporting LD_LIBRARY_PATH works great! Thanks 👍

from hassio-addons.

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.