Python library for use in clients

122 views
Skip to first unread message

gudd...@gmail.com

unread,
Oct 5, 2014, 6:02:51 PM10/5/14
to bobl...@googlegroups.com
Hi all,

since all the clients I have found covered only partly my needs, I wrote a short library in Python. There are still missing some validation checks and a reconnect feature, but the main part works.

Feel free to use it :-)

https://github.com/guddimon-/boblib

Bye,
guddimon

richa...@gmail.com

unread,
Oct 9, 2014, 5:58:03 AM10/9/14
to bobl...@googlegroups.com
Thanks i look into it.

you use telnet to connect to boblight i see.

should it be possible then to use the windows telnet to connect manualy (as a test)
i tried telnet 192.168.2.4 19333
but no connection (i have boblight on a remote local pc.)

I wanted to controll boblight from delphi (i made an delphi server to recieve http commands and send it to my arduino who is controlling my led stripes as main light, also is xbmc controlling via the same commands send when movie is playing or pausing or stopping to dim the lighta accordingly.

TODO:
i like to use this to make an Boblightd VU meter when playing music
IE: i have 19 leds on each side of tv, i want to use the side leds to show a LED BAR green/red to make a stereo (or mono) VU meter.

So anny help controlling Boblight is welcom.

i use bobdroid also

guddimon

unread,
Oct 9, 2014, 8:31:02 AM10/9/14
to bobl...@googlegroups.com, richa...@gmail.com
Yes, it is possible.
But take care to allow connections from all IPs with your boblightd. If I remember correctly it allows only local connections per default.

Regarding the VU meter:
I have this in mind, too. But I don't have any idea how to fetch the audio signals :-/ What I'm looking for is something like a visualizer plugin for XBMC that changes audio signals into boblight commands. But this is no high priority to me, therefore I did not ask for it ;-)

Michael Gutmann

unread,
Oct 10, 2014, 6:11:05 PM10/10/14
to Richard, bobl...@googlegroups.com

So the connection with telnet is working now?

Would you mind to share your delphi code? I hope that it helps me at least a bit to get the idea of how to grab the audio output.

The audio signals i get thru a delphi program and that can send the commands to boblight (even when no xbmc is running but a music player or somthing)
 
i have the settings correct for boblight.
 
Bobdroid is working also correct.

richa...@gmail.com

unread,
Oct 11, 2014, 6:09:53 AM10/11/14
to bobl...@googlegroups.com, richa...@gmail.com
Op zaterdag 11 oktober 2014 00:11:05 UTC+2 schreef guddimon:
UPDATE:

Telnet from another pc is working now (disconected the firewall)
Now i begin trying a delphi program
it was the firewall al the time :-)

Thanks so far.

guddimon

unread,
Jan 9, 2015, 6:15:36 AM1/9/15
to bobl...@googlegroups.com, richa...@gmail.com

UPDATE:

Telnet from another pc is working now (disconected the firewall)
Now i begin trying a delphi program
it was the firewall al the time :-)

Thanks so far.

Hi,

did you make any progress on grabbing audio signals? It would be great to see how you process the data, since I don't have any idea about that.

Best regards,
guddimon
Reply all
Reply to author
Forward
0 new messages