Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let is work without WiFi and via Ethernet #57

Open
To0wnn opened this issue Nov 22, 2024 · 0 comments
Open

Let is work without WiFi and via Ethernet #57

To0wnn opened this issue Nov 22, 2024 · 0 comments

Comments

@To0wnn
Copy link

To0wnn commented Nov 22, 2024

Hi,

I wanted to make it work for an RPi2b I had laying around and its only having a ethernet port.
So a changed the following code to bypass the WiFi Check in Bjorn.py:

#    def is_wifi_connected(self):
#        """Checks for Wi-Fi connectivity using the nmcli command."""
#        result = subprocess.Popen(['nmcli', '-t', '-f', 'active', 'dev', 'wifi'], stdout=subprocess.PIPE, text=True).c>#        self.wifi_connected = 'yes' in result
#        return self.wifi_connected

    def is_wifi_connected(self):
        """Always returns True for Wi-Fi connectivity."""
        self.wifi_connected = True
        return self.wifi_connected
@To0wnn To0wnn changed the title Let is work without WiFi and Via Ethernet Let is work without WiFi and via Ethernet Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant