n0ciple / pykefcontrol Goto Github PK
View Code? Open in Web Editor NEWPython library for controling KEF speakers
License: MIT License
Python library for controling KEF speakers
License: MIT License
Maybe it is a KEF bug, but if I query the MAC address it is different from what I get when reaching over the network.
The last 2 bytes differ.
Python
from pykefcontrol.kef_connector import KefConnector
my_speaker = KefConnector("192.168.2.190")
my_speaker.mac_address
'84:17:15:15:YY:ZZ'
Or browser
http://192.168.2.190/api/getData?path=settings:/system/primaryMacAddress&roles=value
[
{
"type": "string_",
"string_": "84:17:15:15:YY:ZZ"
}
]
But from the terminal
ping 192.168.2.190
<...>
arp -a
(192.168.2.190) at 84:17:15:15:WW:XX [ether] on eno1
This is also reported by the fing app on my smartphone
Anyone else experiencing this?
Lines 7 & 8 are duplicated:
7 class KefConnector:
8 class KefConnector:
Resulting in indentation error. Removing one solves it.
Please paste the content of the Sum Up section (or any error that you got while running the testing script) in this issue !
Example
-----------------------------Sum Up------------------------------
Speaker version:
LS50 Wireless 2
Working features:
✓ speaker_info
✓ power_off
✓ power_on
✓ select wifi
✓ select bluetooth
✓ select tv
✓ select optical
✓ select coaxial
✓ select analog
✓ set volume
✓ mute
✓ unmute
✓ get song info
✓ next track
✓ previous track
✓ pause
✓ play
Non working features:
--------------------------End of tests---------------------------
Thank you for your help 👍
I wasn't sure where to post this, feel free to close it. Just wanted to say thank you for building this. I am using the speakers a lot connected to my PC and I hate the volume control of the remote control.
I've used this library to build a simple web app that allows me to select the source, turn them on/off and control the volume (with precision).
Thank you so much.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.