- This topic has 1 reply, 2 voices, and was last updated 7 years, 6 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Max2Play Home › Forums › Max2Play on Raspberry PI › Call functions from python
Tagged: bluetooth, Call functions, Python
Hello there
Im playing around with max2play for a momth now and im building a speaker with a raspi and hifiberry amp+. Most of the time streaming music over bluetooth.
In addition to control everything i want to use an encoder and a lcd. The encoder works to control volume and navigate through a menu ive created on the lcd.
Now my problem is:
How can i call the function „Pair new device“ without the browser? I need something to execute in Python. (alternatively it would be enough to be able to connect a new phone without the webUI. Like if max2play isnt connected it appears in discovery mode)
Also i would love to start internet radio on a similar way. it doesnt have to be all the channels. Its enogh if there are my favourit 3 radio stations or just one.
Would be very nice to hear from you.
Greetings from Switzerland
Hi paeber
Here is some resources regarding pairing Bluetooth devices using Python, I hope it would help !!
https://people.csail.mit.edu/albert/bluez-intro/c212.html
and please next time, you can post these kind of questions regarding development on the section of Max2Play Development (Ideas, Wishes)
Best Regards,
Mohammad Mbydeen
You must be logged in to reply to this topic.
Max2Play free download
Download now