mirror of https://github.com/merbanan/rtl_433.git
28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
# Decoder for Salus RT300RF thermostat
|
|
# listen on 868.286Mhz
|
|
# rtl_433 -Y classic -R 0 -X "name=SalusRT300RF, m=FSK_PCM, s=833, l=833, r=16000, preamble={24}0xaaaaaa,get=@0:{16}:Thermostat ID, get=@28:{4}:heat:[1:ON 2:OFF]" -f 868.286Mhz -F "mqtt://192.168.1.150,retain=1,devices=sensors/rtl_433/P[protocol]/C[channel]"
|
|
# Run with:
|
|
#rtl_433 -Y classic -R 0 -c /home/russ/.config/rtl_433/SalusRT300RF.conf -f 868.286M
|
|
|
|
# Report iso time:
|
|
report_meta time:iso
|
|
|
|
# Including the 'report_meta level' switch (commented out immediately below) means information on the signal quality and strength are added to the output.
|
|
#report_meta level
|
|
|
|
# specify MQTT output and formatting - replace the IP address (192.168.1.150) with your mosquitto broker's IP address and port number (I didn't need the port number)
|
|
output mqtt://192.168.1.150,retain=1,devices=rtl_433/Salus[/id]
|
|
|
|
|
|
decoder {
|
|
name = SalusRT300RF,
|
|
m = FSK_PCM,
|
|
s = 833,
|
|
l = 833,
|
|
r = 16000,
|
|
unique,
|
|
preamble = {24}0xaaaaaa,
|
|
get = @0:{8}:id,
|
|
get = @28:{4}:Heat:[1:ON 2:OFF]
|
|
}
|