Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection Refused. #2

Open
Inkozi opened this issue Feb 15, 2018 · 1 comment
Open

Connection Refused. #2

Inkozi opened this issue Feb 15, 2018 · 1 comment

Comments

@Inkozi
Copy link

Inkozi commented Feb 15, 2018

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
Copy link
Author

Inkozi commented Feb 15, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant