Code Monkey home page Code Monkey logo

Comments (6)

samstreak avatar samstreak commented on August 16, 2024

After further investigation, arpreq apparently isn't supported under Windows, so any way you can use some other method to get the host up-state before trying to connect?

from xled.

scrool avatar scrool commented on August 16, 2024

Arpreq is used only with discovery. you can completely skip discovery by using --hostname:

$ xled --hostname 192.168.1.4 on

from xled.

samstreak avatar samstreak commented on August 16, 2024

xled will no longer install via pip due to the issue with arpreq. Do I then install it via some other method?

from xled.

scrool avatar scrool commented on August 16, 2024

I'm not really using Windows but I guess you could git clone/download sources, manually remove arpreq from setup.py and run python setup.py install.

from xled.

scrool avatar scrool commented on August 16, 2024

I have tried to do so - remove arpreq dependency on Windows and it turned out discovery imported all over the place so the change won't be so easy.

I have thought about this and I'm afraid I can only support Linux as that's where I develop and run this project. I'm sorry but unless somebody will be able to support Windows platform I won't support it.

from xled.

githubprince avatar githubprince commented on August 16, 2024

Hi @samstreak ,

As scrool mentioned, you need to clone the project, then you should just modify 2 things:

  1. in setup.py under requirements change "arpreq" to "getmac"
  2. in discover.py replace 'from arpreq import arpreq' with 'from getmac import get_mac_address' and 'hw_address = arpreq(ip_address)' with 'hw_address = get_mac_address(ip_address)'

Then install the project from you local clone.
cd your-local-repo
pip install -e .

I hope it helps

from xled.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.