ESPHome  2024.5.5
Go to the documentation of this file.
1 #pragma once
3 #include <string>
4 #include "ip_address.h"
6 namespace esphome {
7 namespace network {
10 bool is_connected();
12 bool is_disabled();
14 std::string get_use_address();
17 } // namespace network
18 } // namespace esphome
std::string get_use_address()
Get the active network hostname.
Definition: util.cpp:52
bool is_connected()
Return whether the node is connected to the network (through wifi, eth, ...)
Definition: util.cpp:15
network::IPAddresses get_ip_addresses()
Definition: util.cpp:40
std::array< IPAddress, 5 > IPAddresses
Definition: ip_address.h:139
bool is_disabled()
Return whether the network is disabled (only wifi for now)
Definition: util.cpp:32
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
Definition: a01nyub.cpp:7