Search found 73 matches

by marcolino7
Fri Sep 25, 2015 4:30 pm
Forum: ZoneMinder 1.28.x
Topic: tinyCam Monitor stop to work after update to 1.28.106
Replies: 15
Views: 4993

Re: tinyCam Monitor stop to work after update to 1.28.106

Yes sure,
I'm waiting for a reply. I would like to partecipate at beta testing if it possible.
Regards
by marcolino7
Fri Sep 25, 2015 4:18 pm
Forum: ZoneMinder 1.28.x
Topic: tinyCam Monitor stop to work after update to 1.28.106
Replies: 15
Views: 4993

Re: tinyCam Monitor stop to work after update to 1.28.106

Hi asker,
thanks for hel. I'll contact tinyCam.
Meanwhile I'll wait for zmNinja
by marcolino7
Fri Sep 25, 2015 9:15 am
Forum: ZoneMinder 1.28.x
Topic: tinyCam Monitor stop to work after update to 1.28.106
Replies: 15
Views: 4993

tinyCam Monitor stop to work after update to 1.28.106

Hi,
I just updated to 1.28.106, and tinyCam Monitor stop to work.
Error shown when tring to connect is "Socket is closed."

Thanks for any help.

Regards
by marcolino7
Thu Sep 24, 2015 4:20 pm
Forum: ZoneMinder 1.28.x
Topic: Set function from API does not work
Replies: 50
Views: 23486

Re: Set function from API does not work

Hi asker, all working fine now. I have last version of ZM and API, authentication works, and I can control my ZM from OpenHab. Now I'm back on original issue, the funcion does not work due a bug in MonitorsController.php. Here is my version of the file, can you help me to add daemon controller? <?ph...
by marcolino7
Wed Sep 23, 2015 1:57 pm
Forum: ZoneMinder 1.28.x
Topic: Set function from API does not work
Replies: 50
Views: 23486

Re: Set function from API does not work

Hi asker,
sorry for less information provided, but meanwhile I did some other test, and rebooted all server, Zoneminder and Openhab.
After reboot, seems API working from both, browser and curl.
I did more test this evening, and I'll keep you updated.

Regards

Marco
by marcolino7
Wed Sep 23, 2015 12:52 pm
Forum: ZoneMinder 1.28.x
Topic: Set function from API does not work
Replies: 50
Views: 23486

Re: Set function from API does not work

Hi,
in browser now works, after authenticating with ZM, cake PHP is working and I can get API version.

I still have issue runnin API's call from curl

Marco
by marcolino7
Wed Sep 23, 2015 12:06 pm
Forum: ZoneMinder 1.28.x
Topic: Set function from API does not work
Replies: 50
Views: 23486

Re: Set function from API does not work

Hi asker,
I just tried, but result is the same.

Marco
by marcolino7
Wed Sep 23, 2015 9:44 am
Forum: ZoneMinder 1.28.x
Topic: Set function from API does not work
Replies: 50
Views: 23486

Re: Set function from API does not work

Hi asker, I fixed recaptha upgrading the database, but now api is not working. I did test with curl, coockies.txt is created but when i try to get version i got this: { "success": false, "data": { "name": "Not Authenticated", "message": "Not Aut...
by marcolino7
Wed Sep 23, 2015 9:05 am
Forum: ZoneMinder 1.28.x
Topic: Set function from API does not work
Replies: 50
Views: 23486

Re: Set function from API does not work

Hi asker,
today I did an apt-get upgrade on my ubuntu, and this updated my zoneminder installation.
Now zoneminder ask me for a recapta, but the API key is invali and I cannot login.

Can you help me?

Regards
by marcolino7
Tue Sep 22, 2015 7:57 pm
Forum: ZoneMinder 1.28.x
Topic: Set function from API does not work
Replies: 50
Views: 23486

Re: Set function from API does not work

HI asker,
thanks for help, now coockies' generation is working.
wihtin next hours I'll finish the configuration and integration with OpenHab.

Regards

Marco

PS I would like to give a try to znNinja, where can I download the beta?

M.
by marcolino7
Tue Sep 22, 2015 7:07 pm
Forum: ZoneMinder 1.28.x
Topic: Set function from API does not work
Replies: 50
Views: 23486

Re: Set function from API does not work

HI asker,
path where script is executed is writable. I'll try to add an explicit path to file.

Marco
by marcolino7
Tue Sep 22, 2015 4:33 pm
Forum: ZoneMinder 1.28.x
Topic: Set function from API does not work
Replies: 50
Views: 23486

Re: Set function from API does not work

Hi Asker,
I tried to create a cron job executed every 5 minutes, but cookies.txt was not created.
Do you have any suggestion?

Regards
by marcolino7
Tue Sep 22, 2015 12:15 pm
Forum: ZoneMinder 1.28.x
Topic: Set function from API does not work
Replies: 50
Views: 23486

Re: Set function from API does not work

Hi asker,
thanks for help.
Now I still need your help, to configure my Home Automation software to access the API with Authentication.
I use curl to access the ZM API, now i need to add authentication.
How can I perform this? which curl command I should use?

Thanks
by marcolino7
Tue Sep 22, 2015 11:05 am
Forum: ZoneMinder 1.28.x
Topic: Set function from API does not work
Replies: 50
Views: 23486

Re: Set function from API does not work

Hi Asker,
1st of your command created coockies.txt and second command produced this output:

Code: Select all

{
    "version": "1.28.102",
    "apiversion": "1.28.102.1"
}
by marcolino7
Tue Sep 22, 2015 8:00 am
Forum: ZoneMinder 1.28.x
Topic: Set function from API does not work
Replies: 50
Views: 23486

Re: Set function from API does not work

Hi, restarting ZM i got this from API: { "success": false, "data": { "name": "Not Authenticated", "message": "Not Authenticated", "url": "\/zm\/api\/host\/getVersion.json", "exception": { "class": &qu...