andrewshilliday/garage-door-controller

Not seeing web view

Closed this issue · 0 comments

Hello.
I am not sure what is wrong, but I am unable to see the UI when I go to "raspberrypiip:8080" (note I also have tried port 8081.

I have tried running the controller.py file in my python IDE on the pi and I get the following error
"Traceback (most recent call last)
File "/home/pi/garage-door-controller/controller.py", line 7, in
import httplib
ImportError: No module named 'httplib'

I have also run the following command in the terminal, and get the following error, please see below:
pi@raspberrypi:~ $ sudo python /home/pi/garage-door-controller/controller.py
Traceback (most recent call last):
File "/home/pi/garage-door-controller/controller.py", line 385, in
config_file = open('config.json')
IOError: [Errno 2] No such file or directory: 'config.json'

Any ideas what the problem may be? Thank you