Currently, the device obtains its IP address through WiFi using the get_ip function in src/devices/ethernet.py. This prevents proper operation when WiFi is unavailable, disabled, or when the device is connected using a direct Ethernet (CAT6) connection.
This issue proposes adding a new method to obtain the device’s IP address via Ethernet, allowing the system to support two workable IP retrieval options: Ethernet or WiFi.