rtlamr improvements

This commit is contained in:
Bogdan Vlaicu
2020-05-06 19:43:14 -04:00
parent ece8576037
commit bd83d3e267
4 changed files with 42 additions and 55 deletions
-11
View File
@@ -11,8 +11,6 @@ FROM $BUILD_FROM
ENV LANG C.UTF-8
MAINTAINER bvlaicu
LABEL Description="This image is used to start a script that will monitor for RF events on 433Mhz (configurable) and send the data to an MQTT server"
#
@@ -40,15 +38,6 @@ RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin
RUN go get github.com/bemasher/rtlamr
#
# Define an environment variable
#
# Use this variable when creating a container to specify the MQTT broker host.
ENV MQTT_HOST="hassio.local"
ENV MQTT_USER="guest"
ENV MQTT_PASS="guest"
ENV MQTT_TOPIC="homeassistant/sensor/rtl433"
ADD ./run.sh /run.sh
CMD cd / && chmod +x /run.sh && /run.sh