A Docker image for a software defined radio tuned to listen for Current Cost power consumption sensors at 433MHz. This is based off of Marco Verleun's awesome rtl2mqtt image, and chriskacerguis honeywell2mqtt.
To run the container, use the following:
sudo docker run --name rtl_433 -d \
-e MQTT_HOST=<mqtt-broker.example.com> \
-e MQTT_USER=username \
-e MQTT_PASS=password \
-e MQTT_TOPIC=your/topic/name \
--privileged -v /dev/bus/usb:/dev/bus/usb \
--name honeywell2mqtt chriskacerguis/honeywell2mqtt
docker run --name rtl_433 -d -e MQTT_HOST=hassio.local -e MQTT_USER=sensors -e MQTT_PASS=sensorsmqtt123 --privileged -v /dev/bus/usb:/dev/bus/usb hijinx/rtl433test:Use-sysrun_rpi-rtl_433-as-base-image
Data to the MQTT server will look like this
{
"time" : "2017-10-16 20:53:09",
"model" : "CurrentCost TX",
"dev_id" : 3063,
"power0" : 617,
"power1" : 0,
"power2" : 0
}
Its power0 that provides the reading that is desired.
The default topic is: homeassistant/sensor/currentcost
This has been tested and used with the Current Cost EnviR with clamp.
However, it should work just fine with any Honeywell RF sensors transmitting on 345Mhz.
If you see this error:
Kernel driver is active, or device is claimed by second instance of librtlsdr. In the first case, please either detach or blacklist the kernel module (dvb_usb_rtl28xxu), or enable automatic detaching at compile time.
Then run the following command on the host
sudo rmmod dvb_usb_rtl28xxu rtl2832
Content type
Image
Digest
Size
2.7 MB
Last updated
about 9 years ago
docker pull hijinx/rtl433test