Open Melectro1 opened 2 weeks ago
If you click on the link shown above while on your local network, do you see the image.?
Unfortunately, the log is not showing the section where a snapshot is being fetched so I can't see the error or what is leading up to it.
I have now tested the link (reported by the camera) in my browser and I got this error: http://192.168.0.106/webcapture.jpg?command=snap&channel=0&user=admin&password=tlJwpbo6 "snap no support test user admin, please use other user"
If I manually change the link to contain the information I entered in User Name and Password, I get an image. Unfortunately, I have not observed that the link contained an unspecified name and password before.
This link works, http://192.168.0.106/webcapture.jpg?command=snap&channel=0&user=ekex&password="#########"
Note: "#########", my password is not published
I have therefore inserted the working link in the USER Snapshot URL and now I get the image in Homey!
Thank you.
Hello Adrian
I have tried to get more information from the camera. I see that it has reported a list of features to the Homey App. I have created a simple script where a movement can create a log text with time. Unfortunately I am not successful with this. Is there any control I can perform using your app?
notificationTypes "IMAGINGSERVICE,IMAGINGSERVICE,IMAGINGSERVICE,IMAGINGSERVICE,SIGNALLOSS,MOTIONALARM,PROFILE,VIDEOENCODERCONFIGURATION,MEDIASERVICE,AUDIOENCODERCONFIGURATION,VIDEOANALYTICSCONFIGURATION,PROF ILECHANGED,CONFIGURATIONCHANGED,MOTION,TAMPER,CROSSED,OBJECTSINSIDE,DIGITALINPUT,RELAY"
Have you enabled motion detection in the Homey camera device?
As far as I can understand, my answer is yes. Here are the settings, (I can translate it from Swedish on request):
Some words: Ja = Yes, Nej = No
Inställningar 192.168.0.106 Name 192.168.0.106 Icon
Status Indicator
Any Alarm Zone
Hem Maintenance Sync. Time Set the camera time to Homey's time. Advanced Settings Credentials User Name ekex Password ••••••••• Camera Enabled
Ja Motion Trigger Device Class
Camera Single
Ja Delay (seconds) 0.5 Minimum On Time (seconds) 2 Channel -1 Token Prefer Pull Events
Ja Time Format
Short HH:MM DD-MM Adjust camera timezone
Nej Adjust camera time by 0 Camera Information URN urn:uuid:b3775952-5566-7788-99aa-4c60ba561a78 MAC Address 4c:60:ba:56:1a:78 Manufacturer H264 Model XM530V200_X6C-WEQ_8M Serial Number 5a85b2cdd7243bd4 Firmware Version V5.00.R02.000807DD.10010.346732.S.ONVIF 21.06 IP Address 192.168.0.106 Port 8899 Supports Snapshots
Ja ONVIF Snapshot URL http://192.168.0.106/webcapture.jpg?command=snap&channel=0&user=ekex&password=YOUR_PASSWORD USER Snapshot URL http://192.168.0.106/webcapture.jpg?command=snap&channel=0&user=ekex&password=xxxxxx ONVIF Notification methods Push and Pull supported: Using Pull ONVIF Notification types IMAGINGSERVICE,IMAGINGSERVICE,IMAGINGSERVICE,IMAGINGSERVICE,SIGNALLOSS,MOTIONALARM,PROFILE,VIDEOENCODERCONFIGURATION,MEDIASERVICE,AUDIOENCODERCONFIGURATION,VIDEOANALYTICSCONFIGURATION,PROFILECHANGED,CONFIGURATIONCHANGED,MOTION,TAMPER,CROSSED,OBJECTSINSIDE,DIGITALINPUT,RELAY ONVIF Motion Notification to use
MOTION (IsMotion) Event Object ID Energi Konstant energiförbrukning (Watt) 0 Zonaktivitet Uteslut från zonaktivitet
Nej
SAVE
I see a lot of exclamation marks, which I do not understand why
The button to enable motion detection is on the main pages. I found an old image
Oh, I thought that was an indicator that turned green when the camera detects a motion. After I pressed the button (into green) I loose the connection after about 30 seconds, the app is crashing.
I needed to disable the button to get the app up and running, long enough to get the log file.
Attaching the log file: Onvif logg.txt
The button to enable motion detection is on the main pages. I can't share an image as all my cameras are offline due to my office refit. Strange, I'm not seeing a crash log in my account. Could you turn it back on, and when it crashes, send a Homey Diagnostics report from the app page (not my log) and let me know when you have done it.
I sent it and here is the link: d37dd36f-bcdf-4fd0-8f8a-b34548200536
I can tell that the app crashes when button is pressed and the camera has detected a motion.
A quick look at the log shows the app is being closed due to excessive cpu usage. It appears the camera is hammering homey with events. I will try to examine the log more closely this evening when I get home.
Hi,
Answer is both yes and no. As I got crashes, I tested disable motion detection. The app is still crashing.
Hälsningar Karl Nielsen
(Skickat från min iPhone)
4 juli 2024 kl. 13:33 skrev Adrian Rockall @.***>:
Have you enabled motion detection in the Homey camera device?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
Hi there,
Have you seen anything more detailed in the log? I have tried again with different settings, but get no signal that a movement has been recorded from the camera. It does, however, send out a notification to the phone that this has happened.
Dear Adrian,
I am trying to connect my new camera with your APP, unfortunately I can only get as far as entering it as a device, but I cannot see any snapshot etc. I do get the info that I am (Unauthorized), even though I double checked that the user id and password were entered as they are in the camera APP. The strange thing is that with another APP in my phone (Ip Cam Viewer), the picture came up without entering any login at all. I've tried leaving the login boxes blank, but that doesn't work either.
Please can you, give me an idea on what I should do?
I'm using a Homey 2023 Settings Key Value username "ekex" password "#########" ip "192.168.0.106" port "8899" urn "urn:uuid:6cf6f820-5566-7788-99aa-001300010df9" mac "4c:60:ba:56:1a:78" channel -1 enabled true classType "camera" single true delay 0.5 on_time 2 token "" preferPullEvents false timeFormat "mm_dd" utc_time false offset_time 0 manufacturer "H264" model "XM530V200_X6C-WEQ_8M" serialNumber "##############" firmwareVersion "V5.00.R02.000807DD.10010.346732.S.ONVIF 21.06" hasSnapshot true url "http://192.168.0.106/webcapture.jpg?command=snap&channel=0&user=admin&password=tlJwpbo6 " userSnapUri "" notificationMethods "Push and Pull supported: Using Push" notificationTypes "IMAGINGSERVICE,IMAGINGSERVICE,IMAGINGSERVICE,IMAGINGSERVICE,SIGNALLOSS,MOTIONALARM,PROFILE,VIDEOENCODERCONFIGURATION,MEDIASERVICE,AUDIOENCODERCONFIGURATION,VIDEOANALYTICSCONFIGURATION,PROFILECHANGED,CONFIGURATIONCHANGED,MOTION,TAMPER,CROSSED,OBJECTSINSIDE,DIGITALINPUT,RELAY" notificationToUse "RuleEngine/CellMotionDetector/Motion:IsMotion" objectID "" energy_value_constant 0 zone_activity_disabled false hasMotion true
Capabilities ID Title Type Value Set Value Last Changed alarm_dark_image Image too dark boolean null
alarm_vehicle Vehicle Detected boolean null
alarm_dog_cat Dog or Cat Detected boolean null
alarm_face Face Detected boolean null
alarm_visitor Vistor Detected boolean null
alarm_line_crossed Line crossed boolean null
date_time Camera Time string null
tamper_time Offline / Tamper Time string null
event_time Motion Event Time string null
motion_enabled Motion detection boolean false
1 hour ago button.syncTime Sync. Time boolean null
alarm_tamper Offline / Tamper Alarm boolean false 1 hour ago alarm_motion Rörelselarm boolean false 1 hour ago