Closed schweppy closed 6 years ago
Read README! The have exemple of config
"platforms": [{ "platform": "FoscamCamera", "name": "Foscam", "cameras": [{ "username": "admin", "password": "password", "host": "192.168.1.10", "port": 88, "stay": 13, "away": 15, "night": 14
You need username, password, host, port to work
I did read me. And it says that the username and port are not necessary and they default to admin and port 88. In any case I tried it with both and still has a config.json error.
Please ha a look at the “ you use. In the mail there different type of quotes. Perhaps you cut and paste the json file in word.
Mit freundlichen Grüßen / Kind regards
Andreas Maurer
Von: schweppy [mailto:notifications@github.com] Gesendet: Montag, 6. November 2017 13:53 An: luisiam/homebridge-foscamcamera Cc: Subscribed Betreff: Re: [luisiam/homebridge-foscamcamera] Config.json error?? (#53)
I did read me. And it says that the username and port are not necessary and they default to admin and port 88. In any case I tried it with both and still has a config.json error.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/luisiam/homebridge-foscamcamera/issues/53#issuecomment-342139698, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHTZnMpeQ4YYBJxayeDRB8r14AgDcvsmks5szwEhgaJpZM4QTJIJ.
SoftService GmbH Training & Consulting - Am Gierath 20d - 40885 Ratingen - fon +49 2102 77086-0 - fax +49 2102 77086-27 Geschäftsführer / Managing Director Andreas Maurer - Registergericht Düsseldorf HRB 29778 - UStld / VAT DE-159759811
Past your config in this site and look for erro https://jsonlint.com
One more thing! Always change the password and username of your cameras to not get hacked! And is good to make the port, all different in each camera!
Is better to never use default username and password
Thankyou for the quick replies. I did change the passwords but put fake ones on this thread.
Hmmm i have used " should i be using something else?
My config.json is exactly as above (running on a Mac mini)
Jsonlint gives me errors for every colon??
Error: Parse error on line 1: "platform": "BelkinWeMo","noM ----------^ Expecting 'EOF', '}', ',', ']', got ':'
Hope images are allowed here:
Please compare the doublequotes marked with the arrows. They are different.
[cid:image001.png@01D3570B.0FDC02D0]
Mit freundlichen Grüßen / Kind regards
Andreas Maurer
Von: schweppy [mailto:notifications@github.com] Gesendet: Montag, 6. November 2017 14:21 An: luisiam/homebridge-foscamcamera Cc: Maurer, Andreas; Comment Betreff: Re: [luisiam/homebridge-foscamcamera] Config.json error?? (#53)
Thankyou for the quick replies. I did change the passwords but put fake ones on this thread.
Hmmm i have used " should i be using something else?
My config.json is exactly as above (running on a Mac mini)
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/luisiam/homebridge-foscamcamera/issues/53#issuecomment-342146374, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHTZnIgXiW0h02IRlEkvIrderaa5JpGjks5szwe6gaJpZM4QTJIJ.
SoftService GmbH Training & Consulting - Am Gierath 20d - 40885 Ratingen - fon +49 2102 77086-0 - fax +49 2102 77086-27 Geschäftsführer / Managing Director Andreas Maurer - Registergericht Düsseldorf HRB 29778 - UStld / VAT DE-159759811
Sorry the picture didn't work?
They all look the same quotes on my mac!
☺ Do you have a plain notepad?
Here us the edited part. No idea if this is all
"platforms" : [ { "name" : "WeMo", "platform" : "BelkinWeMo", "noMotionTimer" : 60 }, { "platform": "FoscamCamera", "name": "Foscam", "cameras": [{ "password": "1234", "host": "192.168.0.12" }, { "password": "1234", "host": "192.168.0.13" }, { "password": "1234", "host": "192.168.0.14" }] } ]
Mit freundlichen Grüßen / Kind regards
Andreas Maurer
Von: schweppy [mailto:notifications@github.com] Gesendet: Montag, 6. November 2017 14:27 An: luisiam/homebridge-foscamcamera Cc: Maurer, Andreas; Comment Betreff: Re: [luisiam/homebridge-foscamcamera] Config.json error?? (#53)
Sorry the picture didn't work?
They all look the same quotes on my mac!
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/luisiam/homebridge-foscamcamera/issues/53#issuecomment-342147720, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHTZnMddwhF2W1pifYwHzv-nn9Mfjaplks5szwkMgaJpZM4QTJIJ.
SoftService GmbH Training & Consulting - Am Gierath 20d - 40885 Ratingen - fon +49 2102 77086-0 - fax +49 2102 77086-27 Geschäftsführer / Managing Director Andreas Maurer - Registergericht Düsseldorf HRB 29778 - UStld / VAT DE-159759811
I found it! Thankyou, i was trying to use Text editor but i changed software and the different quotes appeared.
Thankyou everyone for your help!
ALL WORKING 😊
Glad works! Please close this issue
Hi,
I cannot get this to work no matter what I try, can you see what ive done wrong?
Thanks
"platforms" : [ { "name" : "WeMo", "platform" : "BelkinWeMo", "noMotionTimer" : 60 }, { "platform": "FoscamCamera", "name": “Foscam”, "cameras": [{ "password": "1234", "host": “192.168.0.12” }, { "password": "1234", "host": “192.168.0.13” }, { "password": "1234", "host": “192.168.0.14” }] } ]