AdyRock / com.onvif

Homey app for ONVIF cameras
GNU General Public License v3.0
5 stars 5 forks source link

Onvif camera with two streams #44

Open Barney1977 opened 1 year ago

Barney1977 commented 1 year ago

Hi Adrian, I installed 2 extra Axis devices. both are the same type P3715PLVE. this camera exist of two separated objectives at the same network-connection. When I tried to add one of those as onvif camera I get a failure as soon I choose the channel to connect. first step - searching device next step - add username/password and portsettings next step - choose channel (1 = objective 1, 2 = objective 2, 3 is merge of both pictures )

This step ends what ever choice I make with te same message: invalid string type! See attachment.. Is this something I can solve by my own?

onvif II onvif I

AdyRock commented 1 year ago

Could you send me the log from the Configure App screen so I can hopefully see what is causing the error

Barney1977 commented 1 year ago

I just sent it. Op 1 feb. 2023 om 18:26 heeft Adrian Rockall @.***> het volgende geschreven: Could you send me the log from the Configure App screen so I can hopefully see what is causing the error

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Barney1977 commented 1 year ago

Hi adrian,Since wednesday app stops working frequently again. It has been fine for more then a Month before. I sent a diagnostic report Code: a597624b-3340-44bf-b87b-e81be1ffea2dMet vriendelijke groet, Henk van Barneveld  Op 1 feb. 2023 om 19:05 heeft Henk van Barneveld @.> het volgende geschreven:I just sent it. Op 1 feb. 2023 om 18:26 heeft Adrian Rockall @.> het volgende geschreven: Could you send me the log from the Configure App screen so I can hopefully see what is causing the error

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Barney1977 commented 1 year ago

Hi adrian,I think i know what cause pauze mode of the onvif app. As soon i set Motiondetection active in homey device page ( see attachment) it goes wrong. Activating Motion by flow seems to works well. Met vriendelijke groet, Henk van Barneveld   Op 1 feb. 2023 om 18:26 heeft Adrian Rockall @.***> het volgende geschreven: Could you send me the log from the Configure App screen so I can hopefully see what is causing the error

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

AdyRock commented 1 year ago

Unfortunately GitHub doesn't support attachments via email so you have to login and add them to the post. So I can see what is causing the error, I need to the log from Configure App screen. There is a button there to send the log.

Barney1977 commented 1 year ago

Hi Adrian, please tell me how i can sent logging by email-Github. I only can choose in app for sending log to developer. I already did it.. After installing most recent experimental app sending log caused a crash. I have to restart homey app to get in again. I can share the faults as printscreen. onvif faults

AdyRock commented 1 year ago

I have received several logs today from the same user, but I can't identify users from the log, so not sure if they are yours. Is one of your cameras named "Kantoor Duke"?

When you look at the log in the app, does it show the error you see in red above?

Barney1977 commented 1 year ago

Yes. Thats right. And faults about that camera are Caused by turn off power Supply if somebody is at homeMet vriendelijke groet, Henk van Barneveld  Op 22 feb. 2023 om 15:44 heeft Adrian Rockall @.***> het volgende geschreven: I have received several logs today from the same user, but I can't identify users from the log, so not sure if they are yours. Is one of your cameras named "Kantoor Duke"? When you look at the log in the app, does it show the error you see in red above?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Barney1977 commented 1 year ago

I do not received a part of log with something red in it…Met vriendelijke groet, Henk van Barneveld   Op 22 feb. 2023 om 15:44 heeft Adrian Rockall @.***> het volgende geschreven: I have received several logs today from the same user, but I can't identify users from the log, so not sure if they are yours. Is one of your cameras named "Kantoor Duke"? When you look at the log in the app, does it show the error you see in red above?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

AdyRock commented 1 year ago

In the log page, could you set the level to Basic Information so it reduces the amount of data. Then clear the log and try to add the cameras again. As soon as you see an error, go back to the log page and send it.

Barney1977 commented 1 year ago

Hi adrian,I tried…but since i installed the pre-release .30 the app crashed constantly. I’am not able to add a cameraMet vriendelijke groet, Henk van @.:www.nsecure.nl Op 22 feb. 2023 om 16:44 heeft Adrian Rockall @.> het volgende geschreven: In the log page, could you set the level to Basic Information so it reduces the amount of data. Then clear the log and try to add the cameras again. As soon as you see an error, go back to the log page and send it.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Barney1977 commented 1 year ago

Done,if right you just received the basic log Met vriendelijke groet, Henk van @.:www.nsecure.nl Op 22 feb. 2023 om 16:44 heeft Adrian Rockall @.> het volgende geschreven: In the log page, could you set the level to Basic Information so it reduces the amount of data. Then clear the log and try to add the cameras again. As soon as you see an error, go back to the log page and send it.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Barney1977 commented 1 year ago

Hi adrian,Could you find something? Amy progress?App is still crashing almost every day Kind regards,Henk van Barneveld  Op 22 feb. 2023 om 16:44 heeft Adrian Rockall @.***> het volgende geschreven: In the log page, could you set the level to Basic Information so it reduces the amount of data. Then clear the log and try to add the cameras again. As soon as you see an error, go back to the log page and send it.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

AdyRock commented 1 year ago

There is a new test version that might solve the crashing.

Barney1977 commented 1 year ago

Thx,Installeer it directly.Kind Regards, Henk van Barneveld  Op 31 mrt. 2023 om 12:35 heeft Adrian Rockall @.***> het volgende geschreven: There is a new test version that might solve the crashing.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Barney1977 commented 5 months ago

Hi Adrian, I'am wondering or it's already cleared or it's possible to connect both streams of a dual stream camera to Homey already. For me it seems it's still not possible. when searching for new devices I find all different streams but i'am not able to finish integration.

AdyRock commented 5 months ago

To be honest I can't remember. Could you set the Diagnostics log to Detailed, add the camera and then send the log when you have gone as far as you can.

Barney1977 commented 5 months ago

I really Think I’am going crazy.I choose requested log-level. Tried to install camera and it works…. I only had to adjust setting (camera instead of sensor ) and it works. Sorry, and Thanks. I really do not know what went wrong yesterday.Kind regards,Henk van Barneveld Op 9 jan 2024 om 09:57 heeft Adrian Rockall @.***> het volgende geschreven: To be honest I can't remember. Could you set the Diagnostics log to Detailed, add the camera and then send the log when you have gone as far as you can.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

AdyRock commented 5 months ago

That's great news, thanks for letting me know.

Barney1977 commented 5 months ago

Hi Adrian,May I ask another question about onvif app?Because of high memory use of my homey pro 2023 i checked all apps seperately. I notice That onvif is using a lot all the time. >60mb rss and >50mb pss as minimum. Can i adjust/configure it to reduce it?Kind regards,Henk van barneveldOp 9 jan 2024 om 19:24 heeft Adrian Rockall @.***> het volgende geschreven: That's great news, thanks for letting me know.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

AdyRock commented 5 months ago

The only thing that might make a difference is the logging. Make sure that is set to errors only. Apart from that I have no idea why it would use so much, but I will investigate on my HP2023. On my HP2019 it is only using 5MB of storage and 28MB of memory.