vejvik

ultrasonic esp

Jul 7th, 2022
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. esphome:
  2. name: studna
  3. platform: ESP8266
  4. board: d1_mini_pro
  5.  
  6.  
  7. wifi:
  8. ssid: 'Domaci_2.4G'
  9. password: 'Aronek2731'
  10.  
  11. # manual_ip:
  12. # static_ip: 192.168.1.36
  13. # gateway: 192.168.1.1
  14. # subnet: 255.255.255.0
  15.  
  16. # Enable fallback hotspot (captive portal) in case wifi connection fails
  17. ap:
  18. ssid: "studna Fallback Hotspot"
  19. password: "Zaloha1234"
  20.  
  21. captive_portal:
  22.  
  23. # Enable logging
  24. logger:
  25.  
  26. sensor:
  27.  
  28. - platform: wifi_signal
  29. name: "WiFi Signal studna"
  30. update_interval: 10s
  31.  
  32.  
  33. - platform: ultrasonic
  34. trigger_pin: D1
  35. echo_pin: D2
  36. name: "Ultrasonic Sensor"
  37. update_interval: 5s
  38. accuracy_decimals: 4
  39.  
  40.  
  41.  
  42.  
  43. api:
  44.  
  45. ota:
  46.  
Advertisement
Add Comment
Please, Sign In to add comment