Copy (not cat) initial rtl_433.conf.template #226
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
An empty file was being written by
cat
to:/config/rtl_433/rtl_433.conf.template
When using
cp
the contents is present.Hopefully more multi-arch/futureproof.
Observed in latest add-on image running on HA OS "Generic x86_64":
io.hass.base.image: alpine:3.21
io.hass.base.arch: amd64
io.hass.base.version: 2025.05.0
Alternatives Considered
I haven't dug into bashio scripts to root cause. It's a weird issue as executing the
cat
section ofrun.sh
with purebash
works fine.Reproduction Steps of Original Issue
/config/
(ie. nortl_433/
)rtl_433
add-on (ie. at 037c802 "0.6.0")rtl_433
binary starts without any config;/config/rtl_433/rtl_433.conf.template
directory and file is created but file is empty.Testing Steps
/config/
(ie. nortl_433/
)rtl_433
add-on/config/rtl_433/rtl_433.conf.template
populated andrtl_433
binary immediately consumes config and logs[rtl_433] MQTT: Publishing MQTT data ...