Duplicate Switch Errors #991
|
I had this setup before and it worked pretty well. I rebuilt my control system and reinstalled from scratch. Now when I try to use the duplicate switch script I'm getting connection refused errors. I did modify the script according to directions. I entered the relay ID, username and password. The relay works properly from webpage. The relay is not used anywhere in any enclosures or areas. Help appreciated. `pi@RPi:~/TerrariumPI/scripts $ python3 duplicate_switch.py 100 During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Replies: 2 comments 1 reply
|
In order to run the script Secondly, did you change the bind address in the settings page? Because if you did, than I would advise to clear it. It should be 0.0.0.0. The error is that there is no server running in ip 127.0.0.1 on port 8090. |
|
Thanks! TPi service is running. I had changed the IP to match the IP of the server. I changed it back and rebooted. Now it works. |
Thanks! TPi service is running. I had changed the IP to match the IP of the server. I changed it back and rebooted. Now it works.