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
catto:/config/rtl_433/rtl_433.conf.templateWhen using
cpthe 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.21io.hass.base.arch: amd64io.hass.base.version: 2025.05.0Alternatives Considered
I haven't dug into bashio scripts to root cause. It's a weird issue as executing the
catsection ofrun.shwith purebashworks fine.Reproduction Steps of Original Issue
/config/(ie. nortl_433/)rtl_433add-on (ie. at 037c802 "0.6.0")rtl_433binary starts without any config;/config/rtl_433/rtl_433.conf.templatedirectory and file is created but file is empty.Testing Steps
/config/(ie. nortl_433/)rtl_433add-on/config/rtl_433/rtl_433.conf.templatepopulated andrtl_433binary immediately consumes config and logs[rtl_433] MQTT: Publishing MQTT data ...