Closed sandeepbv closed 6 years ago
I did not provide any details for the below one
"openhab" :
{
"server" : "
then I am getting the below
pi@sandeep-pi ~/garage-door-controller $ python controller.py
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "controller.py", line 332, in
I tried changing the port to different ones but none of them are working.
my config files are here are /etc/webiopi/config [GPIO]
7 = OUT 0 8 = OUT 0
[HTTP]
enabled = true port = 8081
/home/pi/garage-door-controller/config.json
"openhab" :
{
"server" : "
What was the fix for the issue from the first post?
My suspicion is that your config file is not valid json. Can you post the raw config file?
Seems to be the result of forgetting quotes in the JSON file.
Three is the config.json file that should be changed to your needs. What is the issue you're having?
When i open the index.html..i am not able to see the anything except "My Garage"..not able to see any icons to select so not sure whether I need to copy the pictures anywhere else along with the folder
Also when i am running the python controller.py..i am getting the below error pi@sandeep-pi ~/garage-door-controller $ python controller.py Traceback (most recent call last): File "controller.py", line 330, in
controller = Controller(json.load(config_file))
File "/usr/lib/python2.7/json/init.py", line 290, in load
kw)
File "/usr/lib/python2.7/json/init**.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting , delimiter: line 28 column 20 (char 459)
pi@sandeep-pi ~/garage-door-controller $
can you please help here ???