#BONUS | External components
Présentation de 3 external components : Memory : https://github.com/ayufansensor/esphome-components/tree/master/components/memory Ping : https://github.com/trombik/esphome-component-ping/tree/main/components/ping Backup : https://github.com/dentra/esphome-components/tree/master/components/backup Code Yaml : --------- web_server: external_components: - source: type: git url: https://github.com/trombik/esphome-component-ping ref: main - source: github://ayufan/esphome-components - source: github://dentra/esphome-components memory: sensor: - platform: ping #IP address of the target ip_address: 192.168.1.254 #number of packets to send num_attempts: 17 #the timeout. however, this is not what you usually expect from `ping` #implementation: the timeout is also the interval to send packets. if you #set this value to 10 sec, and the network is fine (no packet loss), then #the component sends a packet at 10 sec interval, and the total time to #finish would be 10 sec * num_attempts = 10 * 17 = 170 sec. timeout: 1sec loss: #the name to be shown. name: Packet loss latency: #the name to be shown. name: Latency #this should be 3 as the value is float, unit is sec, and the raw #values are in ms. accuracy_decimals: 3 #the interval for checking the sensors. defaults to 60s. update_interval: 15s backup: 0:00 Présentation 1:06 Composant Memory 2:00 Composant Ping 3:05 Composant Backup 3:30 Conclusion
Download
0 formatsNo download links available.