Comments (6)
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.
Arpreq is used only with discovery. you can completely skip discovery by using --hostname
:
$ xled --hostname 192.168.1.4 on
from xled.
xled will no longer install via pip due to the issue with arpreq. Do I then install it via some other method?
from xled.
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.
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.
Hi @samstreak ,
As scrool mentioned, you need to clone the project, then you should just modify 2 things:
- in setup.py under requirements change "arpreq" to "getmac"
- 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)
- Trick to update app with new mapping? HOT 6
- Xled_plus - use xled to produce various effects HOT 3
- Documentation is rendered incorrectly (inconsistently) on read the docs HOT 2
- xled on not working HOT 4
- xled sometimes hangs, probably when network is flaky HOT 8
- cli --hostname argument does nothing (broadcast ping gets used regardless)
- music dongle support? HOT 1
- How to send messages in `rt` mode? HOT 32
- Turn device on doesn't work after factory reset HOT 3
- Discovery when multiple interfaces are present HOT 3
- Add support for new WiFi configuration encryption HOT 1
- Error: Only one usage of each socket address HOT 4
- Validation error HOT 2
- What should I put in octet-stream in uploading movie? HOT 22
- `python setup.py install`/`develop` need manual intervention to install dependencies
- Move this repository to xled organization HOT 4
- "get" Commands Not Functioning As Expected HOT 12
- Example of movie file/stream? HOT 4
- What about adding a Discussion forum for xled in github? HOT 7
- AttributeError: module 'xled' has no attribute 'security' HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xled.