Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tapo.0 TypeError: callback.call is not a function #18

Open
born-to-be-root opened this issue Oct 20, 2023 · 17 comments
Open

tapo.0 TypeError: callback.call is not a function #18

born-to-be-root opened this issue Oct 20, 2023 · 17 comments

Comments

@born-to-be-root
Copy link

Da ich das gleiche Problem hatte wie Michaelnorge habe ich auch die Git Version installiert aber leider ohne Erfolg.

Log:
2023-10-20 08:01:38.447 - info: tapo.0 (671384) 802120E85F462887E08BA37F63F201CA2191F555 Received device info {"manufacturer":"tp-link","model":"Tapo C520WS","firmwareVersion":"1.0.11 Build 230621 Rel.72773n","serialNumber":"e374c4ae","hardwareId":1}
2023-10-20 08:01:38.448 - debug: tapo.0 (671384) {"manufacturer":"tp-link","model":"Tapo C520WS","firmwareVersion":"1.0.11 Build 230621 Rel.72773n","serialNumber":"e374c4ae","hardwareId":1}
2023-10-20 08:01:38.448 - debug: tapo.0 (671384) [C520WS 1.0]
2023-10-20 08:01:38.457 - info: tapo.0 (671384) Initialized 802120E85F462887E08BA37F63F201CA2191F555
2023-10-20 08:01:38.457 - debug: tapo.0 (671384) initResult 802120E85F462887E08BA37F63F201CA2191F555 undefined
2023-10-20 08:01:38.557 - info: tapo.0 (671384) Wait for connections
2023-10-20 08:01:48.559 - debug: tapo.0 (671384) Receive camera status
2023-10-20 08:01:48.561 - debug: tapo.0 (671384) [C520WS 1.0]
2023-10-20 08:01:48.562 - debug: tapo.0 (671384) [C520WS 1.0]
2023-10-20 08:01:48.563 - debug: tapo.0 (671384) [C520WS 1.0]
2023-10-20 08:01:48.735 - debug: tapo.0 (671384) makeTAPOAPIRequest url: https://192.168.10.156/stok=hF3!)OCq!0(yFWX)))(X8hJT4J..NN../ds, json: {"result":{"responses":[{"method":"getAlertConfig","result":{"msg_alarm":{"chn1_msg_alarm_info":{"enabled":"off","light_alarm_enabled":"on","alarm_mode":["sound","light"],"alarm_type":"0","light_type":"1","sound_alarm_enabled":"on","alarm_volume":"high","alarm_duration":"0"}}},"error_code":0},{"method":"getLensMaskConfig","result":{"lens_mask":{"lens_mask_info":{"enabled":"off"}}},"error_code":0},{"method":"getForceWhitelampState","result":{},"error_code":-40210}]},"error_code":0}
2023-10-20 08:01:48.735 - debug: tapo.0 (671384) {"alert":false,"lensMask":false,"forceWhiteLamp":false}
2023-10-20 08:01:48.885 - error: tapo.0 (671384) uncaught exception: callback.call is not a function
2023-10-20 08:01:48.885 - error: tapo.0 (671384) TypeError: callback.call is not a function
at Cam. (/opt/iobroker/node_modules/onvif/lib/events.js:309:14)
at parseSOAPString (/opt/iobroker/node_modules/onvif/lib/utils.js:108:3)
at IncomingMessage. (/opt/iobroker/node_modules/onvif/lib/cam.js:297:4)
at IncomingMessage.emit (node:events:526:35)
at IncomingMessage.emit (node:domain:489:12)
at endReadableNT (node:internal/streams/readable:1359:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
2023-10-20 08:01:48.885 - error: tapo.0 (671384) callback.call is not a function
2023-10-20 08:01:48.908 - info: tapo.0 (671384) terminating
2023-10-20 08:01:48.909 - debug: tapo.0 (671384) Plugin sentry destroyed
2023-10-20 08:01:48.909 - warn: tapo.0 (671384) Terminated (UNCAUGHT_EXCEPTION): Without reason

@TA2k
Copy link
Owner

TA2k commented Oct 20, 2023

das ist die GitHub version von gestern?

@born-to-be-root
Copy link
Author

Ja heute morgen frisch installiert

@TA2k
Copy link
Owner

TA2k commented Oct 20, 2023

Installiere bitte erneut und nochmal testen

@born-to-be-root
Copy link
Author

Ok habe ich aber leider ohne erfolg

@born-to-be-root
Copy link
Author

born-to-be-root commented Oct 20, 2023

Adapter deinstalliert und neu installiert
Log:
2023-10-20 09:57:57.964 - debug: tapo.0 (677892) Getting device information for {"_events":{},"_eventsCount":1,"_maxListeners":100,"useSecure":false,"secureOpts":{},"hostname":"192.168.10.156","username":"iobroker","password":"******","port":2020,"path":"/onvif/device_service","timeout":120000,"agent":false,"preserveAddress":false,"events":{},"timeShift":1697788675121.5144,"services":[{"namespace":"http://www.onvif.org/ver10/device/wsdl","XAddr":"http://192.168.10.156:2020/onvif/service","capabilities":{"capabilities":{"network":{"$":{"DHCPv6":false,"NTP":1,"HostnameFromDHCP":false,"Dot1XConfigurations":0,"Dot11Configuration":true,"DynDNS":false,"IPVersion6":false,"ZeroConfiguration":false,"IPFilter":false}},"security":{"$":{"RELToken":false,"HttpDigest":false,"UsernameToken":true,"KerberosToken":false,"SAMLToken":false,"X.509Token":false,"RemoteUserHandling":false,"Dot1X":false,"DefaultAccessPolicy":false,"AccessPolicyConfig":false,"OnboardKeyGeneration":false,"TLS1.2":false,"TLS1.1":false,"TLS1.0":false}},"system":{"$":{"HttpSupportInformation":false,"HttpSystemLogging":false,"HttpSystemBackup":false,"HttpFirmwareUpgrade":false,"FirmwareUpgrade":false,"SystemLogging":false,"SystemBackup":false,"RemoteDiscovery":false,"DiscoveryBye":true,"DiscoveryResolve":false}}}},"version":{"major":2,"minor":20}},{"namespace":"http://www.onvif.org/ver10/media/wsdl","XAddr":"http://192.168.10.156:2020/onvif/service","capabilities":{"capabilities":{"$":{"OSD":false,"VideoSourceMode":true,"Rotation":false,"SnapshotUri":false},"profileCapabilities":{"$":{"MaximumNumberOfProfiles":10}},"streamingCapabilities":{"$":{"NoRTSPStreaming":true,"NonAggregateControl":true,"RTP_RTSP_TCP":true,"RTP_TCP":true,"RTPMulticast":false}}}},"version":{"major":2,"minor":20}},{"namespace":"http://www.onvif.org/ver10/events/wsdl","XAddr":"http://192.168.10.156:2020/onvif/service","capabilities":{"capabilities":{"$":{"PersistentNotificationStorage":false,"MaxPullPoints":10,"MaxNotificationProducers":10,"WSPausableSubscriptionManagerInterfaceSupport":false,"WSPullPointSupport":true,"WSSubscriptionPolicySupport":true}}},"version":{"major":2,"minor":20}},{"namespace":"http://www.onvif.org/ver20/analytics/wsdl","XAddr":"http://192.168.10.156:2020/onvif/service","capabilities":{"capabilities":{"$":{"CellBasedSceneDescriptionSupported":true,"AnalyticsModuleSupport":true,"RuleSupport":true}}},"version":{"major":2,"minor":20}},{"namespace":"http://www.onvif.org/ver20/imaging/wsdl","XAddr":"http://192.168.10.156:2020/onvif/service","capabilities":{"capabilities":""},"version":{"major":2,"minor":20}},{"namespace":"http://www.onvif.org/ver20/ptz/wsdl","XAddr":"http://192.168.10.156:2020/onvif/service","capabilities":{"capabilities":{"$":{"GetCompatibleConfigurations":false,"Reverse":true,"EFlip":true}}},"version":{"major":2,"minor":20}},{"namespace":"http://www.onvif.org/ver10/deviceIO/wsdl","XAddr":"http://192.168.10.156:2020/onvif/service","capabilities":{"capabilities":{"$":{"VideoSources":1,"VideoOutputs":0,"AudioSources":1,"AudioOutputs":1,"RelayOutputs":0,"SerialPorts":0,"DigitalInputs":0,"DigitalInputOptions":false}}},"version":{"major":2,"minor":20}}],"uri":{"device":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.10.156:2020","port":"2020","hostname":"192.168.10.156","hash":null,"search":null,"query":null,"pathname":"/onvif/service","path":"/onvif/service","href":"http://192.168.10.156:2020/onvif/service"},"media":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.10.156:2020","port":"2020","hostname":"192.168.10.156","hash":null,"search":null,"query":null,"pathname":"/onvif/service","path":"/onvif/service","href":"http://192.168.10.156:2020/onvif/service"},"events":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.10.156:2020","port":"2020","hostname":"192.168.10.156","hash":null,"search":null,"query":null,"pathname":"/onvif/service","path":"/onvif/service","href":"http://192.168.10.156:2020/onvif/service"},"analytics":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.10.156:2020","port":"2020","hostname":"192.168.10.156","hash":null,"search":null,"query":null,"pathname":"/onvif/service","path":"/onvif/service","href":"http://192.168.10.156:2020/onvif/service"},"imaging":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.10.156:2020","port":"2020","hostname":"192.168.10.156","hash":null,"search":null,"query":null,"pathname":"/onvif/service","path":"/onvif/service","href":"http://192.168.10.156:2020/onvif/service"},"ptz":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.10.156:2020","port":"2020","hostname":"192.168.10.156","hash":null,"search":null,"query":null,"pathname":"/onvif/service","path":"/onvif/service","href":"http://192.168.10.156:2020/onvif/service"},"deviceIO":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.10.156:2020","port":"2020","hostname":"192.168.10.156","hash":null,"search":null,"query":null,"pathname":"/onvif/service","path":"/onvif/service","href":"http://192.168.10.156:2020/onvif/service"}},"media2Support":false,"profiles":[{"$":{"fixed":true,"token":"profile_1"},"name":"mainStream","videoSourceConfiguration":{"$":{"token":"vsconf"},"name":"VideoSourceConfig","useCount":2,"sourceToken":"raw_vs1","bounds":{"$":{"height":720,"width":1280,"y":0,"x":0}}},"audioSourceConfiguration":{"$":{"token":"asconf"},"name":"AudioSourceConfig","useCount":2,"sourceToken":"raw_as1"},"videoEncoderConfiguration":{"$":{"token":"main"},"name":"VideoEncoder_1","useCount":1,"encoding":"H264","resolution":{"width":2560,"height":1440},"quality":3,"rateControl":{"frameRateLimit":15,"encodingInterval":1,"bitrateLimit":2560},"H264":{"govLength":25,"H264Profile":"Main"},"multicast":{"address":{"type":"IPv4","IPv4Address":"0.0.0.0"},"port":0,"TTL":0,"autoStart":false},"sessionTimeout":"PT0H1M5S"},"audioEncoderConfiguration":{"$":{"token":"microphone"},"name":"AudioEncoder_1","useCount":2,"encoding":"G711","bitrate":65536,"sampleRate":8000,"multicast":{"address":{"type":"IPv4","IPv4Address":"0.0.0.0"},"port":0,"TTL":0,"autoStart":false},"sessionTimeout":"PT0H1M5S"},"videoAnalyticsConfiguration":{"$":{"token":"VideoAnalyticsToken"},"name":"VideoAnalyticsName","useCount":2,"analyticsEngineConfiguration":{"analyticsModule":[{"$":{"Name":"MyCellMotionModule","Type":"tt:CellMotionEngine"},"parameters":{"simpleItem":[{"$":{"Value":"medium","Name":"Sensitivity"}},{"$":{"Value":"on","Name":"Enabled"}}],"elementItem":{"$":{"Name":"Layout"},"cellLayout":{"$":{"Rows":18,"Columns":22},"transformation":{"translate":{"$":{"y":-1,"x":-1}},"scale":{"$":{"y":0.109999999,"x":0.0900000036}}}}}}},{"$":{"Name":"MyTamperDetecModule","Type":"tt:TamperEngine"},"parameters":{"simpleItem":[{"$":{"Value":"medium","Name":"Sensitivity"}},{"$":{"Value":"off","Name":"Enabled"}}]}}]},"ruleEngineConfiguration":{"rule":[{"$":{"Name":"MyMotionDetectorRule","Type":"tt:CellMotionDetector"},"parameters":{"simpleItem":[{"$":{"Value":"0P8A8A==","Name":"ActiveCells"}},{"$":{"Value":5,"Name":"MinCount"}},{"$":{"Value":1000,"Name":"AlarmOnDelay"}},{"$":{"Value":1000,"Name":"AlarmOffDelay"}}]}},{"$":{"Name":"MyTamperDetectorRule","Type":"tt:TamperDetector"},"parameters":""}]}},"PTZConfiguration":{"$":{"token":"PTZTOKEN"},"name":"PTZ","useCount":2,"nodeToken":"PTZNODETOKEN","defaultAbsolutePantTiltPositionSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","defaultRelativePanTiltTranslationSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace","defaultContinuousPanTiltVelocitySpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace","defaultAbsoluteZoomPositionSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","defaultRelativeZoomTranslationSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace","defaultContinuousZoomVelocitySpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace","defaultPTZSpeed":{"panTilt":{"$":{"space":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace","x":1,"y":0.89}},"zoom":{"$":{"space":"http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace","x":0.67}}},"defaultPTZTimeout":"PT180S","panTiltLimits":{"range":{"URI":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","XRange":{"min":-1,"max":1},"YRange":{"min":-1,"max":1}}},"zoomLimits":{"range":{"URI":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","XRange":{"min":0,"max":0}}},"extension":{"PTControlDirection":{"EFlip":{"mode":"OFF"},"reverse":{"mode":"OFF"}}}}},{"$":{"fixed":true,"token":"profile_2"},"name":"minorStream","videoSourceConfiguration":{"$":{"token":"vsconf"},"name":"VideoSourceConfig","useCount":2,"sourceToken":"raw_vs1","bounds":{"$":{"height":720,"width":1280,"y":0,"x":0}}},"audioSourceConfiguration":{"$":{"token":"asconf"},"name":"AudioSourceConfig","useCount":2,"sourceToken":"raw_as1"},"videoEncoderConfiguration":{"$":{"token":"minor"},"name":"VideoEncoder_2","useCount":1,"encoding":"H264","resolution":{"width":640,"height":360},"quality":3,"rateControl":{"frameRateLimit":15,"encodingInterval":1,"bitrateLimit":256},"H264":{"govLength":25,"H264Profile":"Main"},"multicast":{"address":{"type":"IPv4","IPv4Address":"0.0.0.0"},"port":0,"TTL":0,"autoStart":false},"sessionTimeout":"PT0H1M5S"},"audioEncoderConfiguration":{"$":{"token":"microphone"},"name":"AudioEncoder_1","useCount":2,"encoding":"G711","bitrate":65536,"sampleRate":8000,"multicast":{"address":{"type":"IPv4","IPv4Address":"0.0.0.0"},"port":0,"TTL":0,"autoStart":false},"sessionTimeout":"PT0H1M5S"},"videoAnalyticsConfiguration":{"$":{"token":"VideoAnalyticsToken"},"name":"VideoAnalyticsName","useCount":2,"analyticsEngineConfiguration":{"analyticsModule":[{"$":{"Name":"MyCellMotionModule","Type":"tt:CellMotionEngine"},"parameters":{"simpleItem":[{"$":{"Value":"medium","Name":"Sensitivity"}},{"$":{"Value":"on","Name":"Enabled"}}],"elementItem":{"$":{"Name":"Layout"},"cellLayout":{"$":{"Rows":18,"Columns":22},"transformation":{"translate":{"$":{"y":-1,"x":-1}},"scale":{"$":{"y":0.109999999,"x":0.0900000036}}}}}}},{"$":{"Name":"MyTamperDetecModule","Type":"tt:TamperEngine"},"parameters":{"simpleItem":[{"$":{"Value":"medium","Name":"Sensitivity"}},{"$":{"Value":"off","Name":"Enabled"}}]}}]},"ruleEngineConfiguration":{"rule":[{"$":{"Name":"MyMotionDetectorRule","Type":"tt:CellMotionDetector"},"parameters":{"simpleItem":[{"$":{"Value":"0P8A8A==","Name":"ActiveCells"}},{"$":{"Value":5,"Name":"MinCount"}},{"$":{"Value":1000,"Name":"AlarmOnDelay"}},{"$":{"Value":1000,"Name":"AlarmOffDelay"}}]}},{"$":{"Name":"MyTamperDetectorRule","Type":"tt:TamperDetector"},"parameters":""}]}},"PTZConfiguration":{"$":{"token":"PTZTOKEN"},"name":"PTZ","useCount":2,"nodeToken":"PTZNODETOKEN","defaultAbsolutePantTiltPositionSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","defaultRelativePanTiltTranslationSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace","defaultContinuousPanTiltVelocitySpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace","defaultAbsoluteZoomPositionSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","defaultRelativeZoomTranslationSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace","defaultContinuousZoomVelocitySpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace","defaultPTZSpeed":{"panTilt":{"$":{"space":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace","x":1,"y":0.89}},"zoom":{"$":{"space":"http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace","x":0.67}}},"defaultPTZTimeout":"PT180S","panTiltLimits":{"range":{"URI":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","XRange":{"min":-1,"max":1},"YRange":{"min":-1,"max":1}}},"zoomLimits":{"range":{"URI":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","XRange":{"min":0,"max":0}}},"extension":{"PTControlDirection":{"EFlip":{"mode":"OFF"},"reverse":{"mode":"OFF"}}}}}],"videoSources":[{"$":{"token":"raw_vs1"},"framerate":25,"resolution":{"width":2560,"height":1440},"imaging":{"brightness":50,"colorSaturation":50,"contrast":50,"sharpness":50}}],"defaultProfiles":[{"$":{"fixed":true,"token":"profile_1"},"name":"mainStream","videoSourceConfiguration":{"$":{"token":"vsconf"},"name":"VideoSourceConfig","useCount":2,"sourceToken":"raw_vs1","bounds":{"$":{"height":720,"width":1280,"y":0,"x":0}}},"audioSourceConfiguration":{"$":{"token":"asconf"},"name":"AudioSourceConfig","useCount":2,"sourceToken":"raw_as1"},"videoEncoderConfiguration":{"$":{"token":"main"},"name":"VideoEncoder_1","useCount":1,"encoding":"H264","resolution":{"width":2560,"height":1440},"quality":3,"rateControl":{"frameRateLimit":15,"encodingInterval":1,"bitrateLimit":2560},"H264":{"govLength":25,"H264Profile":"Main"},"multicast":{"address":{"type":"IPv4","IPv4Address":"0.0.0.0"},"port":0,"TTL":0,"autoStart":false},"sessionTimeout":"PT0H1M5S"},"audioEncoderConfiguration":{"$":{"token":"microphone"},"name":"AudioEncoder_1","useCount":2,"encoding":"G711","bitrate":65536,"sampleRate":8000,"multicast":{"address":{"type":"IPv4","IPv4Address":"0.0.0.0"},"port":0,"TTL":0,"autoStart":false},"sessionTimeout":"PT0H1M5S"},"videoAnalyticsConfiguration":{"$":{"token":"VideoAnalyticsToken"},"name":"VideoAnalyticsName","useCount":2,"analyticsEngineConfiguration":{"analyticsModule":[{"$":{"Name":"MyCellMotionModule","Type":"tt:CellMotionEngine"},"parameters":{"simpleItem":[{"$":{"Value":"medium","Name":"Sensitivity"}},{"$":{"Value":"on","Name":"Enabled"}}],"elementItem":{"$":{"Name":"Layout"},"cellLayout":{"$":{"Rows":18,"Columns":22},"transformation":{"translate":{"$":{"y":-1,"x":-1}},"scale":{"$":{"y":0.109999999,"x":0.0900000036}}}}}}},{"$":{"Name":"MyTamperDetecModule","Type":"tt:TamperEngine"},"parameters":{"simpleItem":[{"$":{"Value":"medium","Name":"Sensitivity"}},{"$":{"Value":"off","Name":"Enabled"}}]}}]},"ruleEngineConfiguration":{"rule":[{"$":{"Name":"MyMotionDetectorRule","Type":"tt:CellMotionDetector"},"parameters":{"simpleItem":[{"$":{"Value":"0P8A8A==","Name":"ActiveCells"}},{"$":{"Value":5,"Name":"MinCount"}},{"$":{"Value":1000,"Name":"AlarmOnDelay"}},{"$":{"Value":1000,"Name":"AlarmOffDelay"}}]}},{"$":{"Name":"MyTamperDetectorRule","Type":"tt:TamperDetector"},"parameters":""}]}},"PTZConfiguration":{"$":{"token":"PTZTOKEN"},"name":"PTZ","useCount":2,"nodeToken":"PTZNODETOKEN","defaultAbsolutePantTiltPositionSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","defaultRelativePanTiltTranslationSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace","defaultContinuousPanTiltVelocitySpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace","defaultAbsoluteZoomPositionSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","defaultRelativeZoomTranslationSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace","defaultContinuousZoomVelocitySpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace","defaultPTZSpeed":{"panTilt":{"$":{"space":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace","x":1,"y":0.89}},"zoom":{"$":{"space":"http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace","x":0.67}}},"defaultPTZTimeout":"PT180S","panTiltLimits":{"range":{"URI":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","XRange":{"min":-1,"max":1},"YRange":{"min":-1,"max":1}}},"zoomLimits":{"range":{"URI":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","XRange":{"min":0,"max":0}}},"extension":{"PTControlDirection":{"EFlip":{"mode":"OFF"},"reverse":{"mode":"OFF"}}}}}],"activeSources":[{"sourceToken":"raw_vs1","profileToken":"profile_1","videoSourceConfigurationToken":"vsconf","encoding":"H264","width":2560,"height":1440,"fps":15,"bitrate":2560,"ptz":{"name":"PTZ","token":"PTZTOKEN"}}],"defaultProfile":{"$":{"fixed":true,"token":"profile_1"},"name":"mainStream","videoSourceConfiguration":{"$":{"token":"vsconf"},"name":"VideoSourceConfig","useCount":2,"sourceToken":"raw_vs1","bounds":{"$":{"height":720,"width":1280,"y":0,"x":0}}},"audioSourceConfiguration":{"$":{"token":"asconf"},"name":"AudioSourceConfig","useCount":2,"sourceToken":"raw_as1"},"videoEncoderConfiguration":{"$":{"token":"main"},"name":"VideoEncoder_1","useCount":1,"encoding":"H264","resolution":{"width":2560,"height":1440},"quality":3,"rateControl":{"frameRateLimit":15,"encodingInterval":1,"bitrateLimit":2560},"H264":{"govLength":25,"H264Profile":"Main"},"multicast":{"address":{"type":"IPv4","IPv4Address":"0.0.0.0"},"port":0,"TTL":0,"autoStart":false},"sessionTimeout":"PT0H1M5S"},"audioEncoderConfiguration":{"$":{"token":"microphone"},"name":"AudioEncoder_1","useCount":2,"encoding":"G711","bitrate":65536,"sampleRate":8000,"multicast":{"address":{"type":"IPv4","IPv4Address":"0.0.0.0"},"port":0,"TTL":0,"autoStart":false},"sessionTimeout":"PT0H1M5S"},"videoAnalyticsConfiguration":{"$":{"token":"VideoAnalyticsToken"},"name":"VideoAnalyticsName","useCount":2,"analyticsEngineConfiguration":{"analyticsModule":[{"$":{"Name":"MyCellMotionModule","Type":"tt:CellMotionEngine"},"parameters":{"simpleItem":[{"$":{"Value":"medium","Name":"Sensitivity"}},{"$":{"Value":"on","Name":"Enabled"}}],"elementItem":{"$":{"Name":"Layout"},"cellLayout":{"$":{"Rows":18,"Columns":22},"transformation":{"translate":{"$":{"y":-1,"x":-1}},"scale":{"$":{"y":0.109999999,"x":0.0900000036}}}}}}},{"$":{"Name":"MyTamperDetecModule","Type":"tt:TamperEngine"},"parameters":{"simpleItem":[{"$":{"Value":"medium","Name":"Sensitivity"}},{"$":{"Value":"off","Name":"Enabled"}}]}}]},"ruleEngineConfiguration":{"rule":[{"$":{"Name":"MyMotionDetectorRule","Type":"tt:CellMotionDetector"},"parameters":{"simpleItem":[{"$":{"Value":"0P8A8A==","Name":"ActiveCells"}},{"$":{"Value":5,"Name":"MinCount"}},{"$":{"Value":1000,"Name":"AlarmOnDelay"}},{"$":{"Value":1000,"Name":"AlarmOffDelay"}}]}},{"$":{"Name":"MyTamperDetectorRule","Type":"tt:TamperDetector"},"parameters":""}]}},"PTZConfiguration":{"$":{"token":"PTZTOKEN"},"name":"PTZ","useCount":2,"nodeToken":"PTZNODETOKEN","defaultAbsolutePantTiltPositionSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","defaultRelativePanTiltTranslationSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace","defaultContinuousPanTiltVelocitySpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace","defaultAbsoluteZoomPositionSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","defaultRelativeZoomTranslationSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace","defaultContinuousZoomVelocitySpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace","defaultPTZSpeed":{"panTilt":{"$":{"space":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace","x":1,"y":0.89}},"zoom":{"$":{"space":"http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace","x":0.67}}},"defaultPTZTimeout":"PT180S","panTiltLimits":{"range":{"URI":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","XRange":{"min":-1,"max":1},"YRange":{"min":-1,"max":1}}},"zoomLimits":{"range":{"URI":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","XRange":{"min":0,"max":0}}},"extension":{"PTControlDirection":{"EFlip":{"mode":"OFF"},"reverse":{"mode":"OFF"}}}}},"activeSource":{"sourceToken":"raw_vs1","profileToken":"profile_1","videoSourceConfigurationToken":"vsconf","encoding":"H264","width":2560,"height":1440,"fps":15,"bitrate":2560,"ptz":{"name":"PTZ","token":"PTZTOKEN"}}}
2023-10-20 09:57:57.981 - info: tapo.0 (677892) 802120E85F462887E08BA37F63F201CA2191F555 Received device info {"manufacturer":"tp-link","model":"Tapo C520WS","firmwareVersion":"1.0.11 Build 230621 Rel.72773n","serialNumber":"e374c4ae","hardwareId":1}
2023-10-20 09:57:57.981 - debug: tapo.0 (677892) {"manufacturer":"tp-link","model":"Tapo C520WS","firmwareVersion":"1.0.11 Build 230621 Rel.72773n","serialNumber":"e374c4ae","hardwareId":1}
2023-10-20 09:57:57.982 - debug: tapo.0 (677892) Init event emitter for 802120E85F462887E08BA37F63F201CA2191F555
2023-10-20 09:57:57.982 - debug: tapo.0 (677892) Getting device for event emiiter
2023-10-20 09:57:57.982 - debug: tapo.0 (677892) [C520WS 1.0]
2023-10-20 09:57:57.991 - debug: tapo.0 (677892) Init event listener for "motion"
2023-10-20 09:57:57.991 - info: tapo.0 (677892) Initialized 802120E85F462887E08BA37F63F201CA2191F555
2023-10-20 09:57:57.991 - debug: tapo.0 (677892) initResult 802120E85F462887E08BA37F63F201CA2191F555 undefined
2023-10-20 09:57:58.061 - info: tapo.0 (677892) Wait for connections
2023-10-20 09:58:08.063 - debug: tapo.0 (677892) Receive camera status
2023-10-20 09:58:08.065 - debug: tapo.0 (677892) [C520WS 1.0]
2023-10-20 09:58:08.065 - debug: tapo.0 (677892) [C520WS 1.0]
2023-10-20 09:58:08.066 - debug: tapo.0 (677892) [C520WS 1.0]
2023-10-20 09:58:08.274 - debug: tapo.0 (677892) makeTAPOAPIRequest url: https://192.168.10.156/stok=N0AAiJzcJA0DsQyrINFArADc8tw4Dwt0/ds, json: {"result":{"responses":[{"method":"getAlertConfig","result":{"msg_alarm":{"chn1_msg_alarm_info":{"enabled":"off","light_alarm_enabled":"on","alarm_mode":["sound","light"],"alarm_type":"0","light_type":"1","sound_alarm_enabled":"on","alarm_volume":"high","alarm_duration":"0"}}},"error_code":0},{"method":"getLensMaskConfig","result":{"lens_mask":{"lens_mask_info":{"enabled":"off"}}},"error_code":0},{"method":"getForceWhitelampState","result":{},"error_code":-40210}]},"error_code":0}
2023-10-20 09:58:08.275 - debug: tapo.0 (677892) {"alert":false,"lensMask":false,"forceWhiteLamp":false}
2023-10-20 09:58:08.890 - error: tapo.0 (677892) uncaught exception: callback.call is not a function
2023-10-20 09:58:08.891 - error: tapo.0 (677892) TypeError: callback.call is not a function
at Cam. (/opt/iobroker/node_modules/onvif/lib/events.js:309:14)
at parseSOAPString (/opt/iobroker/node_modules/onvif/lib/utils.js:108:3)
at IncomingMessage. (/opt/iobroker/node_modules/onvif/lib/cam.js:297:4)
at IncomingMessage.emit (node:events:526:35)
at IncomingMessage.emit (node:domain:489:12)
at endReadableNT (node:internal/streams/readable:1359:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
2023-10-20 09:58:08.891 - error: tapo.0 (677892) callback.call is not a function
2023-10-20 09:58:08.914 - info: tapo.0 (677892) terminating
2023-10-20 09:58:08.915 - debug: tapo.0 (677892) Plugin sentry destroyed
2023-10-20 09:58:08.915 - warn: tapo.0 (677892) Terminated (UNCAUGHT_EXCEPTION): Without reason

@TA2k
Copy link
Owner

TA2k commented Oct 20, 2023

bitte nochmal via GitHub installieren

@born-to-be-root
Copy link
Author

Leider unverändert

@born-to-be-root
Copy link
Author

2023-10-20 11:04:40.741 - debug: tapo.0 (681712) Creating event emitter
2023-10-20 11:04:40.741 - debug: tapo.0 (681712) [C520WS 1.0]
2023-10-20 11:04:40.752 - debug: tapo.0 (681712) Init event listener for "motion"
2023-10-20 11:04:40.753 - info: tapo.0 (681712) Initialized 802120E85F462887E08BA37F63F201CA2191F555
2023-10-20 11:04:40.753 - debug: tapo.0 (681712) initResult 802120E85F462887E08BA37F63F201CA2191F555 undefined
2023-10-20 11:04:40.905 - info: tapo.0 (681712) Wait for connections
2023-10-20 11:04:50.893 - error: tapo.0 (681712) uncaught exception: callback.call is not a function
2023-10-20 11:04:50.894 - error: tapo.0 (681712) TypeError: callback.call is not a function
at Cam. (/opt/iobroker/node_modules/onvif/lib/events.js:309:14)
at parseSOAPString (/opt/iobroker/node_modules/onvif/lib/utils.js:108:3)
at IncomingMessage. (/opt/iobroker/node_modules/onvif/lib/cam.js:297:4)
at IncomingMessage.emit (node:events:526:35)
at IncomingMessage.emit (node:domain:489:12)
at endReadableNT (node:internal/streams/readable:1359:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
2023-10-20 11:04:50.894 - error: tapo.0 (681712) callback.call is not a function
2023-10-20 11:04:50.914 - debug: tapo.0 (681712) Receive camera status
2023-10-20 11:04:50.915 - debug: tapo.0 (681712) [C520WS 1.0]
2023-10-20 11:04:50.915 - debug: tapo.0 (681712) [C520WS 1.0]
2023-10-20 11:04:50.916 - debug: tapo.0 (681712) [C520WS 1.0]
2023-10-20 11:04:50.925 - info: tapo.0 (681712) terminating
2023-10-20 11:04:50.926 - debug: tapo.0 (681712) Plugin sentry destroyed
2023-10-20 11:04:50.926 - warn: tapo.0 (681712) Terminated (UNCAUGHT_EXCEPTION): Without reason
2023-10-20 11:04:51.077 - error: host.iobroker Caught by controller[0]: TypeError: callback.call is not a function
2023-10-20 11:04:51.077 - error: host.iobroker Caught by controller[0]: at Cam. (/opt/iobroker/node_modules/onvif/lib/events.js:309:14)
2023-10-20 11:04:51.077 - error: host.iobroker Caught by controller[0]: at parseSOAPString (/opt/iobroker/node_modules/onvif/lib/utils.js:108:3)
2023-10-20 11:04:51.077 - error: host.iobroker Caught by controller[0]: at IncomingMessage. (/opt/iobroker/node_modules/onvif/lib/cam.js:297:4)
2023-10-20 11:04:51.077 - error: host.iobroker Caught by controller[0]: at IncomingMessage.emit (node:events:526:35)
2023-10-20 11:04:51.077 - error: host.iobroker Caught by controller[0]: at IncomingMessage.emit (node:domain:489:12)
2023-10-20 11:04:51.077 - error: host.iobroker Caught by controller[0]: at endReadableNT (node:internal/streams/readable:1359:12)
2023-10-20 11:04:51.077 - error: host.iobroker Caught by controller[0]: at processTicksAndRejections (node:internal/process/task_queues:82:21)
2023-10-20 11:04:51.077 - error: host.iobroker instance system.adapter.tapo.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
2023-10-20 11:04:51.077 - info: host.iobroker Restart adapter system.adapter.tapo.0 because enabled

@TA2k
Copy link
Owner

TA2k commented Oct 22, 2023

bitte mal GitHub version testen

@born-to-be-root
Copy link
Author

Moin, sieht gut aus.
Ich teste das mal noch ein bisschen weiter.

@born-to-be-root
Copy link
Author

Funktioniert bestens ohne weitere Abstürze

@TA2k
Copy link
Owner

TA2k commented Oct 26, 2023

Kommen denn auch Daten events usw?

@born-to-be-root
Copy link
Author

Ich hab es gerade noch mal getestet, alert true/false geht motionEvent kommt nicht

@born-to-be-root
Copy link
Author

Moin gibt es hier schon etwas neues ?

@TA2k
Copy link
Owner

TA2k commented Oct 31, 2023

bräuchte ich ein debug log via mail mit der version mit der kein Fehler kommt und eine Bewegung ausgelöst wurde

@born-to-be-root
Copy link
Author

2023-10-31 17:40:24.942 - info: host.iobroker "system.adapter.tapo.0" enabled
2023-10-31 17:40:25.135 - info: host.iobroker instance system.adapter.tapo.0 started with pid 12857
2023-10-31 17:40:25.670 - debug: tapo.0 (12857) Redis Objects: Use Redis connection: 127.0.0.1:9001
2023-10-31 17:40:25.711 - debug: tapo.0 (12857) Objects client ready ... initialize now
2023-10-31 17:40:25.712 - debug: tapo.0 (12857) Objects create System PubSub Client
2023-10-31 17:40:25.712 - debug: tapo.0 (12857) Objects create User PubSub Client
2023-10-31 17:40:25.779 - debug: tapo.0 (12857) Objects client initialize lua scripts
2023-10-31 17:40:25.782 - debug: tapo.0 (12857) Objects connected to redis: 127.0.0.1:9001
2023-10-31 17:40:25.820 - debug: tapo.0 (12857) Redis States: Use Redis connection: 127.0.0.1:9000
2023-10-31 17:40:25.837 - debug: tapo.0 (12857) States create System PubSub Client
2023-10-31 17:40:25.837 - debug: tapo.0 (12857) States create User PubSub Client
2023-10-31 17:40:25.915 - debug: tapo.0 (12857) States connected to redis: 127.0.0.1:9000
2023-10-31 17:40:25.951 - debug: tapo.0 (12857) Plugin sentry Initialize Plugin (enabled=true)
2023-10-31 17:40:26.130 - info: tapo.0 (12857) starting. Version 0.1.0 (non-npm: TA2k/ioBroker.tapo#993dca9ee20231c3b15617203c13622f6fc6eebc) in /opt/iobroker/node_modules/iobroker.tapo, node: v18.17.1, js-controller: 5.0.13
2023-10-31 17:40:26.219 - info: tapo.0 (12857) Login tp TAPO App
2023-10-31 17:40:26.223 - debug: tapo.0 (12857) vTNGRb49cg4CtmFvlqQdcQ==
2023-10-31 17:40:26.665 - debug: tapo.0 (12857) {"error_code":0,"result":{"accountId":"71772259","regionCode":"DE","regTime":"2022-12-29 12:11:33","appServerUrl":"https://n-euw1-wap-gw.tplinkcloud.com","riskDetected":0,"nickname":"xxxxxx","errorCode":"0","email":"xxxxx@gmail.com","token":"0f56aa9e-BTgH1o2UqOIikriy3LwFu33","refreshToken":"c130d3261799467db964760579c571fd"}}
2023-10-31 17:40:26.666 - info: tapo.0 (12857) Login succesfull
2023-10-31 17:40:26.667 - debug: tapo.0 (12857) yfoQzXVQIYQWjRDZuXyppQ==
2023-10-31 17:40:26.824 - debug: tapo.0 (12857) {"error_code":0,"result":{"totalNum":1,"deviceList":[{"deviceType":"SMART.IPCAMERA","role":0,"fwVer":"1.0.11 Build 230621 Rel.72773n","appServerUrl":"https://n-euw1-wap-gw.tplinkcloud.com","deviceRegion":"eu-west-1","roleType":"owner","deviceId":"802120E85F462887E08BA37F63F201CA2191F555","deviceName":"C520WS 1.0","deviceHwVer":"1.0","alias":"Haustür","deviceMac":"5091E374C4AE","oemId":"E8FEA9BA6819C38AC33B5E4ABA8F592B","deviceModel":"C520WS","hwId":"69DCA23B0900A3B5524562A53D305CE1","fwId":"7534F6CD0CA15DEDC7E11A363200D312","isSameRegion":true,"status":0}],"currentIndex":0}}
2023-10-31 17:40:26.825 - info: tapo.0 (12857) Found 1 devices
2023-10-31 17:40:27.063 - debug: tapo.0 (12857) {"hwVer":"1.0","category":"camera","model":"C520WS 1.0","ssid":"link","mac":"5091E374C4AE","hwId":"69DCA23B0900A3B5524562A53D305CE1","fwId":"7534F6CD0CA15DEDC7E11A363200D312","oemId":"E8FEA9BA6819C38AC33B5E4ABA8F592B","fwVer":"1.0.11 Build 230621 Rel.72773n","ip":"192.168.10.156","onboardingTime":1697722394,"role":0,"deviceType":"SMART.IPCAMERA","pcSameRegion":false,"pcAppServerUrl":"https://n-euw1-wap.tplinkcloud.com"}
2023-10-31 17:40:27.064 - info: tapo.0 (12857) Init device 802120E85F462887E08BA37F63F201CA2191F555 type C520WS 1.0 with ip 192.168.10.156
2023-10-31 17:40:27.065 - debug: tapo.0 (12857) Constructing Camera on host: 192.168.10.156
2023-10-31 17:40:27.066 - debug: tapo.0 (12857) Connecting to ONVIF device{"name":"C520WS 1.0","ipAddress":"192.168.10.156","password":"xxxxxxx","streamUser":"iobroker","streamPassword":"xxxxxx","disableStreaming":true} on port 2020
2023-10-31 17:40:27.199 - debug: tapo.0 (12857) Getting device information
2023-10-31 17:40:27.213 - debug: tapo.0 (12857) Got device information for {"manufacturer":"tp-link","model":"Tapo C520WS","firmwareVersion":"1.0.11 Build 230621 Rel.72773n","serialNumber":"e374c4ae","hardwareId":1}
2023-10-31 17:40:27.214 - info: tapo.0 (12857) 802120E85F462887E08BA37F63F201CA2191F555 Received device info {"manufacturer":"tp-link","model":"Tapo C520WS","firmwareVersion":"1.0.11 Build 230621 Rel.72773n","serialNumber":"e374c4ae","hardwareId":1}
2023-10-31 17:40:27.214 - debug: tapo.0 (12857) {"manufacturer":"tp-link","model":"Tapo C520WS","firmwareVersion":"1.0.11 Build 230621 Rel.72773n","serialNumber":"e374c4ae","hardwareId":1}
2023-10-31 17:40:27.214 - debug: tapo.0 (12857) Init event emitter for 802120E85F462887E08BA37F63F201CA2191F555
2023-10-31 17:40:27.215 - debug: tapo.0 (12857) Getting device for event emiiter
2023-10-31 17:40:27.215 - debug: tapo.0 (12857) Got device for event emiiter{"_events":{},"_eventsCount":1,"_maxListeners":100,"useSecure":false,"secureOpts":{},"hostname":"192.168.10.156","username":"iobroker","password":"xxxxx","port":2020,"path":"/onvif/device_service","timeout":120000,"agent":false,"preserveAddress":false,"events":{},"timeShift":1698770424044.2637,"services":[{"namespace":"http://www.onvif.org/ver10/device/wsdl","XAddr":"http://192.168.10.156:2020/onvif/service","capabilities":{"capabilities":{"network":{"$":{"DHCPv6":false,"NTP":1,"HostnameFromDHCP":false,"Dot1XConfigurations":0,"Dot11Configuration":true,"DynDNS":false,"IPVersion6":false,"ZeroConfiguration":false,"IPFilter":false}},"security":{"$":{"RELToken":false,"HttpDigest":false,"UsernameToken":true,"KerberosToken":false,"SAMLToken":false,"X.509Token":false,"RemoteUserHandling":false,"Dot1X":false,"DefaultAccessPolicy":false,"AccessPolicyConfig":false,"OnboardKeyGeneration":false,"TLS1.2":false,"TLS1.1":false,"TLS1.0":false}},"system":{"$":{"HttpSupportInformation":false,"HttpSystemLogging":false,"HttpSystemBackup":false,"HttpFirmwareUpgrade":false,"FirmwareUpgrade":false,"SystemLogging":false,"SystemBackup":false,"RemoteDiscovery":false,"DiscoveryBye":true,"DiscoveryResolve":false}}}},"version":{"major":2,"minor":20}},{"namespace":"http://www.onvif.org/ver10/media/wsdl","XAddr":"http://192.168.10.156:2020/onvif/service","capabilities":{"capabilities":{"$":{"OSD":false,"VideoSourceMode":true,"Rotation":false,"SnapshotUri":false},"profileCapabilities":{"$":{"MaximumNumberOfProfiles":10}},"streamingCapabilities":{"$":{"NoRTSPStreaming":true,"NonAggregateControl":true,"RTP_RTSP_TCP":true,"RTP_TCP":true,"RTPMulticast":false}}}},"version":{"major":2,"minor":20}},{"namespace":"http://www.onvif.org/ver10/events/wsdl","XAddr":"http://192.168.10.156:2020/onvif/service","capabilities":{"capabilities":{"$":{"PersistentNotificationStorage":false,"MaxPullPoints":10,"MaxNotificationProducers":10,"WSPausableSubscriptionManagerInterfaceSupport":false,"WSPullPointSupport":true,"WSSubscriptionPolicySupport":true}}},"version":{"major":2,"minor":20}},{"namespace":"http://www.onvif.org/ver20/analytics/wsdl","XAddr":"http://192.168.10.156:2020/onvif/service","capabilities":{"capabilities":{"$":{"CellBasedSceneDescriptionSupported":true,"AnalyticsModuleSupport":true,"RuleSupport":true}}},"version":{"major":2,"minor":20}},{"namespace":"http://www.onvif.org/ver20/imaging/wsdl","XAddr":"http://192.168.10.156:2020/onvif/service","capabilities":{"capabilities":""},"version":{"major":2,"minor":20}},{"namespace":"http://www.onvif.org/ver20/ptz/wsdl","XAddr":"http://192.168.10.156:2020/onvif/service","capabilities":{"capabilities":{"$":{"GetCompatibleConfigurations":false,"Reverse":true,"EFlip":true}}},"version":{"major":2,"minor":20}},{"namespace":"http://www.onvif.org/ver10/deviceIO/wsdl","XAddr":"http://192.168.10.156:2020/onvif/service","capabilities":{"capabilities":{"$":{"VideoSources":1,"VideoOutputs":0,"AudioSources":1,"AudioOutputs":1,"RelayOutputs":0,"SerialPorts":0,"DigitalInputs":0,"DigitalInputOptions":false}}},"version":{"major":2,"minor":20}}],"uri":{"device":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.10.156:2020","port":"2020","hostname":"192.168.10.156","hash":null,"search":null,"query":null,"pathname":"/onvif/service","path":"/onvif/service","href":"http://192.168.10.156:2020/onvif/service"},"media":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.10.156:2020","port":"2020","hostname":"192.168.10.156","hash":null,"search":null,"query":null,"pathname":"/onvif/service","path":"/onvif/service","href":"http://192.168.10.156:2020/onvif/service"},"events":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.10.156:2020","port":"2020","hostname":"192.168.10.156","hash":null,"search":null,"query":null,"pathname":"/onvif/service","path":"/onvif/service","href":"http://192.168.10.156:2020/onvif/service"},"analytics":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.10.156:2020","port":"2020","hostname":"192.168.10.156","hash":null,"search":null,"query":null,"pathname":"/onvif/service","path":"/onvif/service","href":"http://192.168.10.156:2020/onvif/service"},"imaging":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.10.156:2020","port":"2020","hostname":"192.168.10.156","hash":null,"search":null,"query":null,"pathname":"/onvif/service","path":"/onvif/service","href":"http://192.168.10.156:2020/onvif/service"},"ptz":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.10.156:2020","port":"2020","hostname":"192.168.10.156","hash":null,"search":null,"query":null,"pathname":"/onvif/service","path":"/onvif/service","href":"http://192.168.10.156:2020/onvif/service"},"deviceIO":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.10.156:2020","port":"2020","hostname":"192.168.10.156","hash":null,"search":null,"query":null,"pathname":"/onvif/service","path":"/onvif/service","href":"http://192.168.10.156:2020/onvif/service"}},"media2Support":false,"profiles":[{"$":{"fixed":true,"token":"profile_1"},"name":"mainStream","videoSourceConfiguration":{"$":{"token":"vsconf"},"name":"VideoSourceConfig","useCount":2,"sourceToken":"raw_vs1","bounds":{"$":{"height":720,"width":1280,"y":0,"x":0}}},"audioSourceConfiguration":{"$":{"token":"asconf"},"name":"AudioSourceConfig","useCount":2,"sourceToken":"raw_as1"},"videoEncoderConfiguration":{"$":{"token":"main"},"name":"VideoEncoder_1","useCount":1,"encoding":"H264","resolution":{"width":2560,"height":1440},"quality":3,"rateControl":{"frameRateLimit":15,"encodingInterval":1,"bitrateLimit":2560},"H264":{"govLength":25,"H264Profile":"Main"},"multicast":{"address":{"type":"IPv4","IPv4Address":"0.0.0.0"},"port":0,"TTL":0,"autoStart":false},"sessionTimeout":"PT0H1M5S"},"audioEncoderConfiguration":{"$":{"token":"microphone"},"name":"AudioEncoder_1","useCount":2,"encoding":"G711","bitrate":65536,"sampleRate":8000,"multicast":{"address":{"type":"IPv4","IPv4Address":"0.0.0.0"},"port":0,"TTL":0,"autoStart":false},"sessionTimeout":"PT0H1M5S"},"videoAnalyticsConfiguration":{"$":{"token":"VideoAnalyticsToken"},"name":"VideoAnalyticsName","useCount":2,"analyticsEngineConfiguration":{"analyticsModule":[{"$":{"Name":"MyCellMotionModule","Type":"tt:CellMotionEngine"},"parameters":{"simpleItem":[{"$":{"Value":"medium","Name":"Sensitivity"}},{"$":{"Value":"on","Name":"Enabled"}}],"elementItem":{"$":{"Name":"Layout"},"cellLayout":{"$":{"Rows":18,"Columns":22},"transformation":{"translate":{"$":{"y":-1,"x":-1}},"scale":{"$":{"y":0.109999999,"x":0.0900000036}}}}}}},{"$":{"Name":"MyTamperDetecModule","Type":"tt:TamperEngine"},"parameters":{"simpleItem":[{"$":{"Value":"medium","Name":"Sensitivity"}},{"$":{"Value":"off","Name":"Enabled"}}]}}]},"ruleEngineConfiguration":{"rule":[{"$":{"Name":"MyMotionDetectorRule","Type":"tt:CellMotionDetector"},"parameters":{"simpleItem":[{"$":{"Value":"0P8A8A==","Name":"ActiveCells"}},{"$":{"Value":5,"Name":"MinCount"}},{"$":{"Value":1000,"Name":"AlarmOnDelay"}},{"$":{"Value":1000,"Name":"AlarmOffDelay"}}]}},{"$":{"Name":"MyTamperDetectorRule","Type":"tt:TamperDetector"},"parameters":""}]}},"PTZConfiguration":{"$":{"token":"PTZTOKEN"},"name":"PTZ","useCount":2,"nodeToken":"PTZNODETOKEN","defaultAbsolutePantTiltPositionSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","defaultRelativePanTiltTranslationSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace","defaultContinuousPanTiltVelocitySpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace","defaultAbsoluteZoomPositionSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","defaultRelativeZoomTranslationSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace","defaultContinuousZoomVelocitySpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace","defaultPTZSpeed":{"panTilt":{"$":{"space":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace","x":1,"y":0.89}},"zoom":{"$":{"space":"http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace","x":0.67}}},"defaultPTZTimeout":"PT180S","panTiltLimits":{"range":{"URI":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","XRange":{"min":-1,"max":1},"YRange":{"min":-1,"max":1}}},"zoomLimits":{"range":{"URI":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","XRange":{"min":0,"max":0}}},"extension":{"PTControlDirection":{"EFlip":{"mode":"OFF"},"reverse":{"mode":"OFF"}}}}},{"$":{"fixed":true,"token":"profile_2"},"name":"minorStream","videoSourceConfiguration":{"$":{"token":"vsconf"},"name":"VideoSourceConfig","useCount":2,"sourceToken":"raw_vs1","bounds":{"$":{"height":720,"width":1280,"y":0,"x":0}}},"audioSourceConfiguration":{"$":{"token":"asconf"},"name":"AudioSourceConfig","useCount":2,"sourceToken":"raw_as1"},"videoEncoderConfiguration":{"$":{"token":"minor"},"name":"VideoEncoder_2","useCount":1,"encoding":"H264","resolution":{"width":640,"height":360},"quality":3,"rateControl":{"frameRateLimit":15,"encodingInterval":1,"bitrateLimit":256},"H264":{"govLength":25,"H264Profile":"Main"},"multicast":{"address":{"type":"IPv4","IPv4Address":"0.0.0.0"},"port":0,"TTL":0,"autoStart":false},"sessionTimeout":"PT0H1M5S"},"audioEncoderConfiguration":{"$":{"token":"microphone"},"name":"AudioEncoder_1","useCount":2,"encoding":"G711","bitrate":65536,"sampleRate":8000,"multicast":{"address":{"type":"IPv4","IPv4Address":"0.0.0.0"},"port":0,"TTL":0,"autoStart":false},"sessionTimeout":"PT0H1M5S"},"videoAnalyticsConfiguration":{"$":{"token":"VideoAnalyticsToken"},"name":"VideoAnalyticsName","useCount":2,"analyticsEngineConfiguration":{"analyticsModule":[{"$":{"Name":"MyCellMotionModule","Type":"tt:CellMotionEngine"},"parameters":{"simpleItem":[{"$":{"Value":"medium","Name":"Sensitivity"}},{"$":{"Value":"on","Name":"Enabled"}}],"elementItem":{"$":{"Name":"Layout"},"cellLayout":{"$":{"Rows":18,"Columns":22},"transformation":{"translate":{"$":{"y":-1,"x":-1}},"scale":{"$":{"y":0.109999999,"x":0.0900000036}}}}}}},{"$":{"Name":"MyTamperDetecModule","Type":"tt:TamperEngine"},"parameters":{"simpleItem":[{"$":{"Value":"medium","Name":"Sensitivity"}},{"$":{"Value":"off","Name":"Enabled"}}]}}]},"ruleEngineConfiguration":{"rule":[{"$":{"Name":"MyMotionDetectorRule","Type":"tt:CellMotionDetector"},"parameters":{"simpleItem":[{"$":{"Value":"0P8A8A==","Name":"ActiveCells"}},{"$":{"Value":5,"Name":"MinCount"}},{"$":{"Value":1000,"Name":"AlarmOnDelay"}},{"$":{"Value":1000,"Name":"AlarmOffDelay"}}]}},{"$":{"Name":"MyTamperDetectorRule","Type":"tt:TamperDetector"},"parameters":""}]}},"PTZConfiguration":{"$":{"token":"PTZTOKEN"},"name":"PTZ","useCount":2,"nodeToken":"PTZNODETOKEN","defaultAbsolutePantTiltPositionSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","defaultRelativePanTiltTranslationSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace","defaultContinuousPanTiltVelocitySpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace","defaultAbsoluteZoomPositionSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","defaultRelativeZoomTranslationSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace","defaultContinuousZoomVelocitySpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace","defaultPTZSpeed":{"panTilt":{"$":{"space":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace","x":1,"y":0.89}},"zoom":{"$":{"space":"http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace","x":0.67}}},"defaultPTZTimeout":"PT180S","panTiltLimits":{"range":{"URI":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","XRange":{"min":-1,"max":1},"YRange":{"min":-1,"max":1}}},"zoomLimits":{"range":{"URI":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","XRange":{"min":0,"max":0}}},"extension":{"PTControlDirection":{"EFlip":{"mode":"OFF"},"reverse":{"mode":"OFF"}}}}}],"videoSources":[{"$":{"token":"raw_vs1"},"framerate":25,"resolution":{"width":2560,"height":1440},"imaging":{"brightness":50,"colorSaturation":50,"contrast":50,"sharpness":50}}],"defaultProfiles":[{"$":{"fixed":true,"token":"profile_1"},"name":"mainStream","videoSourceConfiguration":{"$":{"token":"vsconf"},"name":"VideoSourceConfig","useCount":2,"sourceToken":"raw_vs1","bounds":{"$":{"height":720,"width":1280,"y":0,"x":0}}},"audioSourceConfiguration":{"$":{"token":"asconf"},"name":"AudioSourceConfig","useCount":2,"sourceToken":"raw_as1"},"videoEncoderConfiguration":{"$":{"token":"main"},"name":"VideoEncoder_1","useCount":1,"encoding":"H264","resolution":{"width":2560,"height":1440},"quality":3,"rateControl":{"frameRateLimit":15,"encodingInterval":1,"bitrateLimit":2560},"H264":{"govLength":25,"H264Profile":"Main"},"multicast":{"address":{"type":"IPv4","IPv4Address":"0.0.0.0"},"port":0,"TTL":0,"autoStart":false},"sessionTimeout":"PT0H1M5S"},"audioEncoderConfiguration":{"$":{"token":"microphone"},"name":"AudioEncoder_1","useCount":2,"encoding":"G711","bitrate":65536,"sampleRate":8000,"multicast":{"address":{"type":"IPv4","IPv4Address":"0.0.0.0"},"port":0,"TTL":0,"autoStart":false},"sessionTimeout":"PT0H1M5S"},"videoAnalyticsConfiguration":{"$":{"token":"VideoAnalyticsToken"},"name":"VideoAnalyticsName","useCount":2,"analyticsEngineConfiguration":{"analyticsModule":[{"$":{"Name":"MyCellMotionModule","Type":"tt:CellMotionEngine"},"parameters":{"simpleItem":[{"$":{"Value":"medium","Name":"Sensitivity"}},{"$":{"Value":"on","Name":"Enabled"}}],"elementItem":{"$":{"Name":"Layout"},"cellLayout":{"$":{"Rows":18,"Columns":22},"transformation":{"translate":{"$":{"y":-1,"x":-1}},"scale":{"$":{"y":0.109999999,"x":0.0900000036}}}}}}},{"$":{"Name":"MyTamperDetecModule","Type":"tt:TamperEngine"},"parameters":{"simpleItem":[{"$":{"Value":"medium","Name":"Sensitivity"}},{"$":{"Value":"off","Name":"Enabled"}}]}}]},"ruleEngineConfiguration":{"rule":[{"$":{"Name":"MyMotionDetectorRule","Type":"tt:CellMotionDetector"},"parameters":{"simpleItem":[{"$":{"Value":"0P8A8A==","Name":"ActiveCells"}},{"$":{"Value":5,"Name":"MinCount"}},{"$":{"Value":1000,"Name":"AlarmOnDelay"}},{"$":{"Value":1000,"Name":"AlarmOffDelay"}}]}},{"$":{"Name":"MyTamperDetectorRule","Type":"tt:TamperDetector"},"parameters":""}]}},"PTZConfiguration":{"$":{"token":"PTZTOKEN"},"name":"PTZ","useCount":2,"nodeToken":"PTZNODETOKEN","defaultAbsolutePantTiltPositionSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","defaultRelativePanTiltTranslationSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace","defaultContinuousPanTiltVelocitySpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace","defaultAbsoluteZoomPositionSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","defaultRelativeZoomTranslationSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace","defaultContinuousZoomVelocitySpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace","defaultPTZSpeed":{"panTilt":{"$":{"space":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace","x":1,"y":0.89}},"zoom":{"$":{"space":"http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace","x":0.67}}},"defaultPTZTimeout":"PT180S","panTiltLimits":{"range":{"URI":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","XRange":{"min":-1,"max":1},"YRange":{"min":-1,"max":1}}},"zoomLimits":{"range":{"URI":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","XRange":{"min":0,"max":0}}},"extension":{"PTControlDirection":{"EFlip":{"mode":"OFF"},"reverse":{"mode":"OFF"}}}}}],"activeSources":[{"sourceToken":"raw_vs1","profileToken":"profile_1","videoSourceConfigurationToken":"vsconf","encoding":"H264","width":2560,"height":1440,"fps":15,"bitrate":2560,"ptz":{"name":"PTZ","token":"PTZTOKEN"}}],"defaultProfile":{"$":{"fixed":true,"token":"profile_1"},"name":"mainStream","videoSourceConfiguration":{"$":{"token":"vsconf"},"name":"VideoSourceConfig","useCount":2,"sourceToken":"raw_vs1","bounds":{"$":{"height":720,"width":1280,"y":0,"x":0}}},"audioSourceConfiguration":{"$":{"token":"asconf"},"name":"AudioSourceConfig","useCount":2,"sourceToken":"raw_as1"},"videoEncoderConfiguration":{"$":{"token":"main"},"name":"VideoEncoder_1","useCount":1,"encoding":"H264","resolution":{"width":2560,"height":1440},"quality":3,"rateControl":{"frameRateLimit":15,"encodingInterval":1,"bitrateLimit":2560},"H264":{"govLength":25,"H264Profile":"Main"},"multicast":{"address":{"type":"IPv4","IPv4Address":"0.0.0.0"},"port":0,"TTL":0,"autoStart":false},"sessionTimeout":"PT0H1M5S"},"audioEncoderConfiguration":{"$":{"token":"microphone"},"name":"AudioEncoder_1","useCount":2,"encoding":"G711","bitrate":65536,"sampleRate":8000,"multicast":{"address":{"type":"IPv4","IPv4Address":"0.0.0.0"},"port":0,"TTL":0,"autoStart":false},"sessionTimeout":"PT0H1M5S"},"videoAnalyticsConfiguration":{"$":{"token":"VideoAnalyticsToken"},"name":"VideoAnalyticsName","useCount":2,"analyticsEngineConfiguration":{"analyticsModule":[{"$":{"Name":"MyCellMotionModule","Type":"tt:CellMotionEngine"},"parameters":{"simpleItem":[{"$":{"Value":"medium","Name":"Sensitivity"}},{"$":{"Value":"on","Name":"Enabled"}}],"elementItem":{"$":{"Name":"Layout"},"cellLayout":{"$":{"Rows":18,"Columns":22},"transformation":{"translate":{"$":{"y":-1,"x":-1}},"scale":{"$":{"y":0.109999999,"x":0.0900000036}}}}}}},{"$":{"Name":"MyTamperDetecModule","Type":"tt:TamperEngine"},"parameters":{"simpleItem":[{"$":{"Value":"medium","Name":"Sensitivity"}},{"$":{"Value":"off","Name":"Enabled"}}]}}]},"ruleEngineConfiguration":{"rule":[{"$":{"Name":"MyMotionDetectorRule","Type":"tt:CellMotionDetector"},"parameters":{"simpleItem":[{"$":{"Value":"0P8A8A==","Name":"ActiveCells"}},{"$":{"Value":5,"Name":"MinCount"}},{"$":{"Value":1000,"Name":"AlarmOnDelay"}},{"$":{"Value":1000,"Name":"AlarmOffDelay"}}]}},{"$":{"Name":"MyTamperDetectorRule","Type":"tt:TamperDetector"},"parameters":""}]}},"PTZConfiguration":{"$":{"token":"PTZTOKEN"},"name":"PTZ","useCount":2,"nodeToken":"PTZNODETOKEN","defaultAbsolutePantTiltPositionSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","defaultRelativePanTiltTranslationSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace","defaultContinuousPanTiltVelocitySpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace","defaultAbsoluteZoomPositionSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","defaultRelativeZoomTranslationSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace","defaultContinuousZoomVelocitySpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace","defaultPTZSpeed":{"panTilt":{"$":{"space":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace","x":1,"y":0.89}},"zoom":{"$":{"space":"http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace","x":0.67}}},"defaultPTZTimeout":"PT180S","panTiltLimits":{"range":{"URI":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","XRange":{"min":-1,"max":1},"YRange":{"min":-1,"max":1}}},"zoomLimits":{"range":{"URI":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","XRange":{"min":0,"max":0}}},"extension":{"PTControlDirection":{"EFlip":{"mode":"OFF"},"reverse":{"mode":"OFF"}}}}},"activeSource":{"sourceToken":"raw_vs1","profileToken":"profile_1","videoSourceConfigurationToken":"vsconf","encoding":"H264","width":2560,"height":1440,"fps":15,"bitrate":2560,"ptz":{"name":"PTZ","token":"PTZTOKEN"}},"deviceInformation":{"manufacturer":"tp-link","model":"Tapo C520WS","firmwareVersion":"1.0.11 Build 230621 Rel.72773n","serialNumber":"e374c4ae","hardwareId":1}}
2023-10-31 17:40:27.216 - debug: tapo.0 (12857) Creating event emitter
2023-10-31 17:40:27.216 - debug: tapo.0 (12857) [C520WS 1.0]
2023-10-31 17:40:27.225 - debug: tapo.0 (12857) Init event listener for "motion"
2023-10-31 17:40:27.225 - info: tapo.0 (12857) Initialized 802120E85F462887E08BA37F63F201CA2191F555
2023-10-31 17:40:27.225 - debug: tapo.0 (12857) initResult 802120E85F462887E08BA37F63F201CA2191F555 undefined
2023-10-31 17:40:27.369 - info: tapo.0 (12857) Wait for connections
2023-10-31 17:40:37.370 - debug: tapo.0 (12857) Receive camera status
2023-10-31 17:40:37.372 - debug: tapo.0 (12857) [C520WS 1.0]
2023-10-31 17:40:37.372 - debug: tapo.0 (12857) [C520WS 1.0]
2023-10-31 17:40:37.373 - debug: tapo.0 (12857) [C520WS 1.0]
2023-10-31 17:40:37.566 - debug: tapo.0 (12857) makeTAPOAPIRequest url: https://192.168.10.156/stok=Z8ypqoX!i!T3V6OVy*JOd8h68oVQWfW8/ds, json: {"result":{"responses":[{"method":"getAlertConfig","result":{"msg_alarm":{"chn1_msg_alarm_info":{"enabled":"off","light_alarm_enabled":"on","alarm_mode":["sound","light"],"alarm_type":"0","light_type":"1","sound_alarm_enabled":"on","alarm_volume":"high","alarm_duration":"0"}}},"error_code":0},{"method":"getLensMaskConfig","result":{"lens_mask":{"lens_mask_info":{"enabled":"off"}}},"error_code":0},{"method":"getForceWhitelampState","result":{},"error_code":-40210}]},"error_code":0}
2023-10-31 17:40:37.567 - debug: tapo.0 (12857) {"alert":false,"lensMask":false,"forceWhiteLamp":false}
2023-10-31 17:40:47.567 - debug: tapo.0 (12857) Receive camera status
2023-10-31 17:40:47.568 - debug: tapo.0 (12857) [C520WS 1.0]
2023-10-31 17:40:47.674 - debug: tapo.0 (12857) makeTAPOAPIRequest url: https://192.168.10.156/stok=Z8ypqoX!i!T3V6OVy*JOd8h68oVQWfW8/ds, json: {"result":{"responses":[{"method":"getAlertConfig","result":{"msg_alarm":{"chn1_msg_alarm_info":{"enabled":"off","light_alarm_enabled":"on","alarm_mode":["sound","light"],"alarm_type":"0","light_type":"1","sound_alarm_enabled":"on","alarm_volume":"high","alarm_duration":"0"}}},"error_code":0},{"method":"getLensMaskConfig","result":{"lens_mask":{"lens_mask_info":{"enabled":"off"}}},"error_code":0},{"method":"getForceWhitelampState","result":{},"error_code":-40210}]},"error_code":0}
2023-10-31 17:40:47.675 - debug: tapo.0 (12857) {"alert":false,"lensMask":false,"forceWhiteLamp":false}
2023-10-31 17:40:57.568 - debug: tapo.0 (12857) Receive camera status
2023-10-31 17:40:57.568 - debug: tapo.0 (12857) [C520WS 1.0]
2023-10-31 17:40:57.675 - debug: tapo.0 (12857) makeTAPOAPIRequest url: https://192.168.10.156/stok=Z8ypqoX!i!T3V6OVy*JOd8h68oVQWfW8/ds, json: {"result":{"responses":[{"method":"getAlertConfig","result":{"msg_alarm":{"chn1_msg_alarm_info":{"enabled":"off","light_alarm_enabled":"on","alarm_mode":["sound","light"],"alarm_type":"0","light_type":"1","sound_alarm_enabled":"on","alarm_volume":"high","alarm_duration":"0"}}},"error_code":0},{"method":"getLensMaskConfig","result":{"lens_mask":{"lens_mask_info":{"enabled":"off"}}},"error_code":0},{"method":"getForceWhitelampState","result":{},"error_code":-40210}]},"error_code":0}
2023-10-31 17:40:57.675 - debug: tapo.0 (12857) {"alert":false,"lensMask":false,"forceWhiteLamp":false}
2023-10-31 17:41:07.569 - debug: tapo.0 (12857) Receive camera status
2023-10-31 17:41:07.569 - debug: tapo.0 (12857) [C520WS 1.0]
2023-10-31 17:41:07.677 - debug: tapo.0 (12857) makeTAPOAPIRequest url: https://192.168.10.156/stok=Z8ypqoX!i!T3V6OVy*JOd8h68oVQWfW8/ds, json: {"result":{"responses":[{"method":"getAlertConfig","result":{"msg_alarm":{"chn1_msg_alarm_info":{"enabled":"off","light_alarm_enabled":"on","alarm_mode":["sound","light"],"alarm_type":"0","light_type":"1","sound_alarm_enabled":"on","alarm_volume":"high","alarm_duration":"0"}}},"error_code":0},{"method":"getLensMaskConfig","result":{"lens_mask":{"lens_mask_info":{"enabled":"off"}}},"error_code":0},{"method":"getForceWhitelampState","result":{},"error_code":-40210}]},"error_code":0}
2023-10-31 17:41:07.678 - debug: tapo.0 (12857) {"alert":false,"lensMask":false,"forceWhiteLamp":false}

@born-to-be-root
Copy link
Author

Event wurde ausgelöst und auch in der App signalisiert aber im Debug Log kommt nichts an.
Gruß Holger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants