Grow your YouTube channel like a PRO with a free tool
Get Free YouTube Subscribers, Views and Likes

New Apollo MTR-1 Multi-target Radar For Home Assistant (ld2450)

Follow
Simon Says Home Assistant

I review the soon to be release sensor from Apollo.
https://shop.apolloautomation.cloud/s...


Code for Buzzer Tune: Auld L S:d=4,o=6,b=101:g5,c,8c,c,e,d,8c,d,8e,8d,c,8c,e,g,2a,a,g,8e,e,c,d,8c,d,8e,8d,c,8a5,a5,g5,2c

Code for Graph, please let me know if you get this working:
type: custom:plotlygraph
title: Target Positions
refresh_interval: 1
hours_to_show: current_day
layout:
height: 230
margin:
l: 50
r: 20
t: 20
b: 40
showlegend: true
xaxis:
dtick: 1000
gridcolor: RGBA(200,200,200,0.15)
zerolinecolor: RGBA(200,200,200,0.15)
type: number
fixedrange: true
range:
4000
4000
yaxis:
dtick: 1000
gridcolor: RGBA(200,200,200,0.15)
zerolinecolor: RGBA(200,200,200,0.15)
scaleanchor: x
scaleratio: 1
fixedrange: true
range:
7500
0
entities:
entity: ''
name: Target1
marker:
size: 12
line:
shape: spline
width: 5
x:
$ex hass.states["sensor.apollo_mtr_1_8fd3f8_target_1_x"].state
'y':
$ex hass.states["sensor.apollo_mtr_1_8fd3f8_target_1_y"].state
entity: ''
name: Target2
marker:
size: 12
line:
shape: spline
width: 5
x:
$ex hass.states["sensor.apollo_mtr_1_8fd3f8_target_2_x"].state
'y':
$ex hass.states["sensor.apollo_mtr_1_8fd3f8_target_2_y"].state
entity: ''
name: Target3
marker:
size: 12
line:
shape: spline
width: 5
x:
$ex hass.states["sensor.apollo_mtr_1_8fd3f8_target_3_x"].state
'y':
$ex hass.states["sensor.apollo_mtr_1_8fd3f8_target_3_y"].state
entity: ''
name: Zone1
mode: lines
fill: toself
fillcolor: RGBA(20,200,0,0.06)
line:
color: RGBA(20,200,0,0.2)
shape: line
width: 2
x:
$ex hass.states["number.apollo_mtr_1_8fd3f8_zone_1_x1"].state
$ex hass.states["number.apollo_mtr_1_8fd3f8_zone_1_x1"].state
$ex hass.states["number.apollo_mtr_1_8fd3f8_zone_1_x2"].state
$ex hass.states["number.apollo_mtr_1_8fd3f8_zone_1_x2"].state
$ex hass.states["number.apollo_mtr_1_8fd3f8_zone_1_x1"].state
'y':
$ex hass.states["number.apollo_mtr_1_8fd3f8_zone_1_y1"].state
$ex hass.states["number.apollo_mtr_1_8fd3f8_zone_1_y2"].state
$ex hass.states["number.apollo_mtr_1_8fd3f8_zone_1_y1"].state
$ex hass.states["number.apollo_mtr_1_8fd3f8_zone_1_y1"].state
$ex hass.states["number.apollo_mtr_1_8fd3f8_zone_1_y1"].state
entity: ''
name: Zone2
mode: lines
fill: toself
fillcolor: RGBA(200,0,255,0.06)
line:
color: RGBA(200,0,255,0.2)
shape: line
width: 2
x:
$ex hass.states["number.apollo_mtr_1_8fd3f8_zone_2_x1"].state
$ex hass.states["number.apollo_mtr_1_8fd3f8_zone_2_x1"].state
$ex hass.states["number.apollo_mtr_1_8fd3f8_zone_2_x2"].state
$ex hass.states["number.apollo_mtr_1_8fd3f8_zone_2_x2"].state
... (71 lines left)

posted by drableRahCeabu6