vishnubob / kinet

Python API to control Color Kinetics lights using kinet
MIT License
39 stars 11 forks source link

Connection Refused. #2

Open Inkozi opened 6 years ago

Inkozi commented 6 years ago

Hey, I'm having some issues with trying to send data to the Phillips Data Enabler Pro with the iColor Cove MX Powercore lights.

First of all I don't know how to find the ip address of the Data enabler pro, so I set up a static ip address to refer to that device in the python script. The Data enabler pro is connected directly to my laptop. So when I initialize PowerSupply("") I initialize it with that ip address. Then send it data. When I do this I get an error: │socket.error: [Errno 111] Connection refused.

I'm guessing I'm setting up the connection incorrectly but I'm finding it confusing. Is there any more detail on where to locate this ip address and make sure the script is talking with the powerSupply?

A little more detail would be of great help. Thanks. also here is the script I'm trying to run.

https://github.com/Diatomo/School/blob/master/Roto/Sound_Vibration/tester.py

Inkozi commented 6 years ago

I solved this. I didn't realize when I was setting the ip for the Ethernet port. I was setting my own ip address and then referenced it in the code. Therefore, the connection was refused. Instead I had to reference the Data enabler pro instead of my own manually set ip address. Hope that makes sense.