Advertisement
Milfeldt

mmWave radar

May 17th, 2024 (edited)
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.71 KB | None | 0 0
  1. esphome:
  2. name: s3-microradar
  3. friendly_name: S3 MicroRadar
  4.  
  5. esp32:
  6. board: esp32-s3-devkitc-1
  7. framework:
  8. type: arduino
  9. version: 2.0.7
  10.  
  11. logger:
  12.  
  13. api:
  14. encryption:
  15. key:
  16.  
  17. ota:
  18. password:
  19.  
  20. wifi:
  21. # power_save_mode: none
  22. # enable_on_boot: True
  23. # fast_connect: On
  24. output_power: 8.5
  25. ssid: !secret wifi_ssid
  26. password: !secret wifi_password
  27.  
  28. ap:
  29. ssid: "S3-Microradar Fallback Hotspot"
  30. password:
  31.  
  32. captive_portal:
  33.  
  34. uart:
  35. id: uart_modbus
  36. tx_pin: GPIO11
  37. rx_pin: GPIO10
  38. baud_rate: 256000
  39. parity: NONE
  40. stop_bits: 1
  41.  
  42. ld2410:
  43.  
  44. binary_sensor:
  45. - platform: ld2410
  46. has_target:
  47. name: Presence
  48. has_moving_target:
  49. name: Moving Target
  50. has_still_target:
  51. name: Still Target
  52. out_pin_presence_status:
  53. name: out pin presence status
  54.  
  55. - platform: gpio
  56. pin: 12
  57. name: gpio out pin presence
  58. device_class: presence
  59.  
  60. sensor:
  61. - platform: ld2410
  62. light:
  63. name: light
  64. moving_distance:
  65. name : Moving Distance
  66. still_distance:
  67. name: Still Distance
  68. moving_energy:
  69. name: Move Energy
  70. still_energy:
  71. name: Still Energy
  72. detection_distance:
  73. name: Detection Distance
  74. g0:
  75. move_energy:
  76. name: g0 move energy
  77. still_energy:
  78. name: g0 still energy
  79. g1:
  80. move_energy:
  81. name: g1 move energy
  82. still_energy:
  83. name: g1 still energy
  84. g2:
  85. move_energy:
  86. name: g2 move energy
  87. still_energy:
  88. name: g2 still energy
  89. g3:
  90. move_energy:
  91. name: g3 move energy
  92. still_energy:
  93. name: g3 still energy
  94. g4:
  95. move_energy:
  96. name: g4 move energy
  97. still_energy:
  98. name: g4 still energy
  99. g5:
  100. move_energy:
  101. name: g5 move energy
  102. still_energy:
  103. name: g5 still energy
  104. g6:
  105. move_energy:
  106. name: g6 move energy
  107. still_energy:
  108. name: g6 still energy
  109. g7:
  110. move_energy:
  111. name: g7 move energy
  112. still_energy:
  113. name: g7 still energy
  114. g8:
  115. move_energy:
  116. name: g8 move energy
  117. still_energy:
  118. name: g8 still energy
  119. - platform: internal_temperature
  120. name: ESP Temperature
  121. unit_of_measurement: °C
  122. device_class: TEMPERATURE
  123. update_interval: 30s
  124. entity_category: "diagnostic"
  125. - platform: uptime
  126. name: Uptime
  127. id: sys_uptime
  128. update_interval: 10s
  129. - platform: wifi_signal
  130. name: WiFi RSSI
  131. id: wifi_signal_db
  132. update_interval: 30s
  133. entity_category: "diagnostic"
  134.  
  135. switch:
  136. - platform: ld2410
  137. engineering_mode:
  138. name: "Radar engineering mode"
  139. bluetooth:
  140. name: "Radar bluetooth"
  141.  
  142. number:
  143. - platform: ld2410
  144. timeout:
  145. name: timeout
  146. light_threshold:
  147. name: light threshold
  148. max_move_distance_gate:
  149. name: max move distance gate
  150. max_still_distance_gate:
  151. name: max still distance gate
  152. g0:
  153. move_threshold:
  154. name: g0 move threshold
  155. still_threshold:
  156. name: g0 still threshold
  157. g1:
  158. move_threshold:
  159. name: g1 move threshold
  160. still_threshold:
  161. name: g1 still threshold
  162. g2:
  163. move_threshold:
  164. name: g2 move threshold
  165. still_threshold:
  166. name: g2 still threshold
  167. g3:
  168. move_threshold:
  169. name: g3 move threshold
  170. still_threshold:
  171. name: g3 still threshold
  172. g4:
  173. move_threshold:
  174. name: g4 move threshold
  175. still_threshold:
  176. name: g4 still threshold
  177. g5:
  178. move_threshold:
  179. name: g5 move threshold
  180. still_threshold:
  181. name: g5 still threshold
  182. g6:
  183. move_threshold:
  184. name: g6 move threshold
  185. still_threshold:
  186. name: g6 still threshold
  187. g7:
  188. move_threshold:
  189. name: g7 move threshold
  190. still_threshold:
  191. name: g7 still threshold
  192. g8:
  193. move_threshold:
  194. name: g8 move threshold
  195. still_threshold:
  196. name: g8 still threshold
  197.  
  198. button:
  199. - platform: ld2410
  200. factory_reset:
  201. name: "Radar factory reset"
  202. restart:
  203. name: "Radar restart"
  204. query_params:
  205. name: "Radar query params"
  206. - platform: restart
  207. icon: mdi:power-cycle
  208. name: "ESP Reboot"
  209.  
  210. text_sensor:
  211. - platform: ld2410
  212. version:
  213. name: "Radar firmware version"
  214. mac_address:
  215. name: "Radar MAC address"
  216.  
  217. select:
  218. - platform: ld2410
  219. distance_resolution:
  220. name: "Distance resolution"
  221. baud_rate:
  222. name: "Baud rate"
  223. light_function:
  224. name: "Light function"
  225. out_pin_level:
  226. name: "Out pin level"
  227.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement