Controlling (enable/disable) IP WEbCAMS (Foscam) w/ AD2PI

General Discussion

Re: Controlling (enable/disable) IP WEbCAMS (Foscam) w/ AD2

Postby kevin » Mon Jul 27, 2015 9:17 pm

Odd, should be 10 commits behind master ... OK can you go to /opt/alarmdecoder-webapp and do a "git remote -v" ?
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: Controlling (enable/disable) IP WEbCAMS (Foscam) w/ AD2

Postby wilsonb » Mon Jul 27, 2015 9:19 pm

pi@alarmdecoder /opt/alarmdecoder-webapp $ git remote -v
origin http://github.com/nutechsoftware/alarmd ... webapp.git (fetch)
origin http://github.com/nutechsoftware/alarmd ... webapp.git (push)
wilsonb
Senior Nut
Senior Nut
 
Posts: 77
Joined: Sun Jul 26, 2015 4:14 pm

Re: Controlling (enable/disable) IP WEbCAMS (Foscam) w/ AD2

Postby kevin » Mon Jul 27, 2015 9:20 pm

ok, what happens when you do a "git pull origin dev" ?
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: Controlling (enable/disable) IP WEbCAMS (Foscam) w/ AD2

Postby wilsonb » Mon Jul 27, 2015 9:22 pm

pi@alarmdecoder /opt/alarmdecoder-webapp $ git remote -v
origin http://github.com/nutechsoftware/alarmd ... webapp.git (fetch)
origin http://github.com/nutechsoftware/alarmd ... webapp.git (push)
pi@alarmdecoder /opt/alarmdecoder-webapp $ git pull origin dev
(flashing cursor)
wilsonb
Senior Nut
Senior Nut
 
Posts: 77
Joined: Sun Jul 26, 2015 4:14 pm

Re: Controlling (enable/disable) IP WEbCAMS (Foscam) w/ AD2

Postby kevin » Mon Jul 27, 2015 9:24 pm

Well I don't really have an explanation for that ... if you can figure out how to pull the dev branch, that should fix your issues with POSTing.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: Controlling (enable/disable) IP WEbCAMS (Foscam) w/ AD2

Postby wilsonb » Mon Jul 27, 2015 9:24 pm

pi@alarmdecoder /opt/alarmdecoder-webapp $ git pull origin dev
From http://github.com/nutechsoftware/alarmdecoder-webapp
* branch dev -> FETCH_HEAD
Already up-to-date.
wilsonb
Senior Nut
Senior Nut
 
Posts: 77
Joined: Sun Jul 26, 2015 4:14 pm

Re: Controlling (enable/disable) IP WEbCAMS (Foscam) w/ AD2

Postby kevin » Mon Jul 27, 2015 9:26 pm

Well, you can verify by comparing /opt/alarmdecoder-webapp/ad2web/notifications/types.py to https://github.com/nutechsoftware/alarm ... s/types.py

Specifically around line 489 - if they're different, then it's not updating for some reason.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: Controlling (enable/disable) IP WEbCAMS (Foscam) w/ AD2

Postby wilsonb » Mon Jul 27, 2015 9:43 pm

They look the same..

So your saying the Dev version , there isn't a 255 character limitation?
wilsonb
Senior Nut
Senior Nut
 
Posts: 77
Joined: Sun Jul 26, 2015 4:14 pm

Re: Controlling (enable/disable) IP WEbCAMS (Foscam) w/ AD2

Postby kevin » Mon Jul 27, 2015 9:51 pm

No, what I'm saying it will parse the custom key and value pairs better - you will structure it like in the photo you posted to this thread

Make sure to restart gunicorn for the new code changes to take effect.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: Controlling (enable/disable) IP WEbCAMS (Foscam) w/ AD2

Postby wilsonb » Mon Jul 27, 2015 10:09 pm

Well, that didn't work (not 100% certain I am using the dev version)I did compare the types.py file from mine vs. dev and they look the same from 489 and down.

It seems the Post Path would work if it allowed more characters. It enables / disables , but all the other nessesary options are not enabled, including the schedule when to be active and the trigger spot area.
The reason I need to have all that in there is , when CGI is sent to camera for that section, it needs all that info or if the cgi command doesn't have it , takes default for those other selections which is null.
wilsonb
Senior Nut
Senior Nut
 
Posts: 77
Joined: Sun Jul 26, 2015 4:14 pm

PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 12 guests

cron