Comments (3)
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.
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.
I can confirm that your solution with exporting LD_LIBRARY_PATH works great! Thanks 👍
from hassio-addons.
Related Issues (20)
- rtl4332mqtt : Named pipe instead of reconnects? HOT 1
- plugin stops- unable to connect HOT 11
- `frequency` , `gain`, `frequency_offset` not detailed in readme - how to calculate? HOT 9
- Async read stalled, exiting! HOT 28
- Malformed json sent to the mqtt broker ? HOT 2
- Starting up fails HOT 4
- Can not add repo to Supervisor
- USB Claim interface error -6 HOT 1
- Request: Ability to set additional MQTT parameters (RETAIN, QOS, etc)
- unable to get RTL_433 to MQTT Bridge to work with HAssio HOT 1
- Can't get HA to discover mqtt
- New protocols HOT 2
- Latest Supervisor Update - 2021.02.5 - keeps this add-on from starting HOT 19
- Can't install?
- After Upgrading HA, addon stopped working HOT 4
- usb_open error -1 HOT 3
- s6-overlay-suexec: fatal: can only run as pid 1 HOT 2
- How to - rtl_433 update 23.11
- Wrong project url in ink2mqtt json file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hassio-addons.