Bonjour,
Depuis la mise à jour de jeedom en 4.4.5, les commandes d’activation / Désactivation / fonctions sur les caméras, me retournent cette erreur, suis-je le seul impacté ?
core/ajax/cmd.ajax.php : SyntaxError /error: Unexpected non-whitespace character after JSON at position 19 (line 1 column 20) /async:true /type:POST /dataType:json /action:execCmd
[2024-05-01 15:49:21] DEBUG : daemon Array ( [result] => 1 )
[2024-05-01 15:49:21] DEBUG : monitors Array ( [monitors] => Array ( [0] => Array ( [Monitor] => Array ( [Id] => 1 [Name] => Camera Garage [Notes] => [ServerId] => 0 [StorageId] => 0 [Type] => Ffmpeg [Function] => Modect [Enabled] => 1 [DecodingEnabled] => 1 [LinkedMonitors] => [Triggers] => [ONVIF_URL] => [ONVIF_Username] => [ONVIF_Password] => [ONVIF_Options] => [Device] => [Channel] => 0 [Format] => 0 [V4LMultiBuffer] => [V4LCapturesPerFrame] => 1 [Protocol] => [Method] => rtpRtsp [Host] => [Port] => [SubPath] => [Path] => rtsp://admin:xxxx@192.168.x.xxx:554/1 [SecondPath] => [Options] => [User] => [Pass] => [Width] => 1280 [Height] => 720 [Colours] => 4 [Palette] => 0 [Orientation] => ROTATE_0 [Deinterlacing] => 0 [DecoderHWAccelName] => [DecoderHWAccelDevice] => [SaveJPEGs] => 3 [VideoWriter] => 0 [OutputCodec] => [Encoder] => [OutputContainer] => [EncoderParameters] => # Lines beginning with # are a comment # For changing quality, use the crf option # 1 is best, 51 is worst quality #crf=23 [RecordAudio] => 0 [RTSPDescribe] => [Brightness] => -1 [Contrast] => -1 [Hue] => -1 [Colour] => -1 [EventPrefix] => Event- [LabelFormat] => %N - %d/%m/%y %H:%M:%S [LabelX] => 0 [LabelY] => 0 [LabelSize] => 1 [ImageBufferCount] => 3 [MaxImageBufferCount] => 20 [WarmupCount] => 0 [PreEventCount] => 5 [PostEventCount] => 5 [StreamReplayBuffer] => 0 [AlarmFrameCount] => 1 [SectionLength] => 600 [MinSectionLength] => 10 [FrameSkip] => 0 [MotionFrameSkip] => 0 [AnalysisFPSLimit] => [AnalysisUpdateDelay] => 0 [MaxFPS] => [AlarmMaxFPS] => [FPSReportInterval] => 100 [RefBlendPerc] => 6 [AlarmRefBlendPerc] => 6 [Controllable] => 0 [ControlId] => [ControlDevice] => [ControlAddress] => [AutoStopTimeout] => [TrackMotion] => 0 [TrackDelay] => [ReturnLocation] => -1 [ReturnDelay] => [ModectDuringPTZ] => 0 [DefaultRate] => 100 [DefaultScale] => 100 [DefaultCodec] => auto [SignalCheckPoints] => 0 [SignalCheckColour] => #0000BE [WebColour] => #1ac3fb [Exif] => [Sequence] => 1 [ZoneCount] => 1 [Refresh] => [Latitude] => [Longitude] => [RTSPServer] => [RTSPStreamName] => [Importance] => Normal ) [Monitor_Status] => Array ( [MonitorId] => 1 [Status] => Running [CaptureFPS] => 0.00 [AnalysisFPS] => 0.00 [CaptureBandwidth] => 28750 ) [Event_Summary] => Array ( [MonitorId] => 1 [TotalEvents] => 171 [TotalEventDiskSpace] => 1227730945 [HourEvents] => 1 [HourEventDiskSpace] => 9274849 [DayEvents] => 4 [DayEventDiskSpace] => 38780854 [WeekEvents] => 88 [WeekEventDiskSpace] => 621846769 [MonthEvents] => 168 [MonthEventDiskSpace] => 1227730945 [ArchivedEvents] => 0 [ArchivedEventDiskSpace] => 0 ) ) [1] => Array ( [Monitor] => Array ( [Id] => 2 [Name] => Camera Porte Service [Notes] => [ServerId] => 0 [StorageId] => 0 [Type] => Ffmpeg [Function] => Nodect [Enabled] => 1 [DecodingEnabled] => 1 [LinkedMonitors] => [Triggers] => [ONVIF_URL] => [ONVIF_Username] => [ONVIF_Password] => [ONVIF_Options] => [Device] => [Channel] => 0 [Format] => 0 [V4LMultiBuffer] => [V4LCapturesPerFrame] => 1 [Protocol] => [Method] => rtpRtsp [Host] => [Port] => [SubPath] => [Path] => rtsp://admin:*****@192.168.x.x:554/1 [SecondPath] => [Options] => [User] => [Pass] => [Width] => 1280 [Height] => 720 [Colours] => 4 [Palette] => 0 [Orientation] => ROTATE_0 [Deinterlacing] => 0 [DecoderHWAccelName] => [DecoderHWAccelDevice] => [SaveJPEGs] => 3 [VideoWriter] => 0 [OutputCodec] => 0 [Encoder] => auto [OutputContainer] => [EncoderParameters] => # Lines beginning with # are a comment # For changing quality, use the crf option # 1 is best, 51 is worst quality #crf=23 [RecordAudio] => 0 [RTSPDescribe] => [Brightness] => -1 [Contrast] => -1 [Hue] => -1 [Colour] => -1 [EventPrefix] => Event- [LabelFormat] => %N - %d/%m/%y %H:%M:%S [LabelX] => 0 [LabelY] => 0 [LabelSize] => 1 [ImageBufferCount] => 3 [MaxImageBufferCount] => 20 [WarmupCount] => 0 [PreEventCount] => 5 [PostEventCount] => 5 [StreamReplayBuffer] => 0 [AlarmFrameCount] => 1 [SectionLength] => 600 [MinSectionLength] => 10 [FrameSkip] => 0 [MotionFrameSkip] => 0 [AnalysisFPSLimit] => [AnalysisUpdateDelay] => 0 [MaxFPS] => [AlarmMaxFPS] => [FPSReportInterval] => 100 [RefBlendPerc] => 6 [AlarmRefBlendPerc] => 6 [Controllable] => 0 [ControlId] => [ControlDevice] => [ControlAddress] => user:port@ip [AutoStopTimeout] => [TrackMotion] => 0 [TrackDelay] => [ReturnLocation] => -1 [ReturnDelay] => [ModectDuringPTZ] => 0 [DefaultRate] => 100 [DefaultScale] => 100 [DefaultCodec] => auto [SignalCheckPoints] => 0 [SignalCheckColour] => #0000be [WebColour] => #8882fc [Exif] => [Sequence] => 2 [ZoneCount] => 1 [Refresh] => [Latitude] => [Longitude] => [RTSPServer] => [RTSPStreamName] => [Importance] => Normal ) [Monitor_Status] => Array ( [MonitorId] => 2 [Status] => Connected [CaptureFPS] => 12.54 [AnalysisFPS] => 0.00 [CaptureBandwidth] => 122942 ) [Event_Summary] => Array ( [MonitorId] => 2 [TotalEvents] => 197 [TotalEventDiskSpace] => 2272877292 [HourEvents] => 1 [HourEventDiskSpace] => 2179201 [DayEvents] => 4 [DayEventDiskSpace] => 78201962 [WeekEvents] => 92 [WeekEventDiskSpace] => 926758724 [MonthEvents] => 197 [MonthEventDiskSpace] => 2272877292 [ArchivedEvents] => 0 [ArchivedEventDiskSpace] => 0 ) ) [2] => Array ( [Monitor] => Array ( [Id] => 3 [Name] => Camera Portail [Notes] => [ServerId] => 0 [StorageId] => 0 [Type] => Ffmpeg [Function] => Record [Enabled] => 1 [DecodingEnabled] => 1 [LinkedMonitors] => [Triggers] => [ONVIF_URL] => [ONVIF_Username] => [ONVIF_Password] => [ONVIF_Options] => [Device] => [Channel] => 0 [Format] => 0 [V4LMultiBuffer] => [V4LCapturesPerFrame] => 1 [Protocol] => [Method] => rtpRtsp [Host] => [Port] => [SubPath] => [Path] => rtsp://admin:xxxx@192.168.x.x:554/ [SecondPath] => [Options] => [User] => [Pass] => [Width] => 1280 [Height] => 720 [Colours] => 4 [Palette] => 0 [Orientation] => ROTATE_0 [Deinterlacing] => 0 [DecoderHWAccelName] => [DecoderHWAccelDevice] => [SaveJPEGs] => 3 [VideoWriter] => 0 [OutputCodec] => [Encoder] => [OutputContainer] => [EncoderParameters] => # Lines beginning with # are a comment # For changing quality, use the crf option # 1 is best, 51 is worst quality #crf=23 [RecordAudio] => 0 [RTSPDescribe] => [Brightness] => -1 [Contrast] => -1 [Hue] => -1 [Colour] => -1 [EventPrefix] => Event- [LabelFormat] => %N - %d/%m/%y %H:%M:%S [LabelX] => 0 [LabelY] => 0 [LabelSize] => 1 [ImageBufferCount] => 3 [MaxImageBufferCount] => 20 [WarmupCount] => 0 [PreEventCount] => 5 [PostEventCount] => 5 [StreamReplayBuffer] => 0 [AlarmFrameCount] => 1 [SectionLength] => 600 [MinSectionLength] => 10 [FrameSkip] => 0 [MotionFrameSkip] => 0 [AnalysisFPSLimit] => [AnalysisUpdateDelay] => 0 [MaxFPS] => [AlarmMaxFPS] => [FPSReportInterval] => 100 [RefBlendPerc] => 6 [AlarmRefBlendPerc] => 6 [Controllable] => 0 [ControlId] => [ControlDevice] => [ControlAddress] => [AutoStopTimeout] => [TrackMotion] => 0 [TrackDelay] => [ReturnLocation] => -1 [ReturnDelay] => [ModectDuringPTZ] => 0 [DefaultRate] => 100 [DefaultScale] => 100 [DefaultCodec] => auto [SignalCheckPoints] => 0 [SignalCheckColour] => #0000BE [WebColour] => #8b1ec6 [Exif] => [Sequence] => 3 [ZoneCount] => 1 [Refresh] => [Latitude] => [Longitude] => [RTSPServer] => [RTSPStreamName] => [Importance] => Normal ) [Monitor_Status] => Array ( [MonitorId] => 3 [Status] => Connected [CaptureFPS] => 14.98 [AnalysisFPS] => 0.00 [CaptureBandwidth] => 185187 ) [Event_Summary] => Array ( [MonitorId] => 3 [TotalEvents] => 60 [TotalEventDiskSpace] => 740405201 [HourEvents] => 1 [HourEventDiskSpace] => 0 [DayEvents] => 2 [DayEventDiskSpace] => 15041675 [WeekEvents] => 20 [WeekEventDiskSpace] => 263831953 [MonthEvents] => 60 [MonthEventDiskSpace] => 740405201 [ArchivedEvents] => 0 [ArchivedEventDiskSpace] => 0 ) ) [3] => Array ( [Monitor] => Array ( [Id] => 4 [Name] => Camera Cabanon [Notes] => [ServerId] => 0 [StorageId] => 0 [Type] => Ffmpeg [Function] => Modect [Enabled] => 0 [DecodingEnabled] => 1 [LinkedMonitors] => [Triggers] => [ONVIF_URL] => [ONVIF_Username] => [ONVIF_Password] => [ONVIF_Options] => [Device] => [Channel] => 0 [Format] => 0 [V4LMultiBuffer] => [V4LCapturesPerFrame] => 1 [Protocol] => [Method] => rtpRtsp [Host] => [Port] => [SubPath] => [Path] => rtsp://admin:xxxxx@192.168.x.xxx:554/Streaming/channels/101 [SecondPath] => [Options] => [User] => [Pass] => [Width] => 1280 [Height] => 720 [Colours] => 4 [Palette] => 0 [Orientation] => ROTATE_0 [Deinterlacing] => 0 [DecoderHWAccelName] => [DecoderHWAccelDevice] => [SaveJPEGs] => 3 [VideoWriter] => 0 [OutputCodec] => [Encoder] => [OutputContainer] => [EncoderParameters] => # Lines beginning with # are a comment # For changing quality, use the crf option # 1 is best, 51 is worst quality #crf=23 [RecordAudio] => 0 [RTSPDescribe] => [Brightness] => -1 [Contrast] => -1 [Hue] => -1 [Colour] => -1 [EventPrefix] => Event- [LabelFormat] => %N - %d/%m/%y %H:%M:%S [LabelX] => 0 [LabelY] => 0 [LabelSize] => 1 [ImageBufferCount] => 3 [MaxImageBufferCount] => 20 [WarmupCount] => 0 [PreEventCount] => 5 [PostEventCount] => 5 [StreamReplayBuffer] => 0 [AlarmFrameCount] => 1 [SectionLength] => 600 [MinSectionLength] => 10 [FrameSkip] => 0 [MotionFrameSkip] => 0 [AnalysisFPSLimit] => [AnalysisUpdateDelay] => 0 [MaxFPS] => [AlarmMaxFPS] => [FPSReportInterval] => 100 [RefBlendPerc] => 6 [AlarmRefBlendPerc] => 6 [Controllable] => 0 [ControlId] => [ControlDevice] => [ControlAddress] => [AutoStopTimeout] => [TrackMotion] => 0 [TrackDelay] => [ReturnLocation] => -1 [ReturnDelay] => [ModectDuringPTZ] => 0 [DefaultRate] => 100 [DefaultScale] => 100 [DefaultCodec] => auto [SignalCheckPoints] => 0 [SignalCheckColour] => #0000BE [WebColour] => #296f8f [Exif] => [Sequence] => 4 [ZoneCount] => 1 [Refresh] => [Latitude] => [Longitude] => [RTSPServer] => [RTSPStreamName] => [Importance] => Normal ) [Monitor_Status] => Array ( [MonitorId] => 4 [Status] => Connected [CaptureFPS] => 15.03 [AnalysisFPS] => 0.00 [CaptureBandwidth] => 34556 ) [Event_Summary] => Array ( [MonitorId] => 4 [TotalEvents] => 2721 [TotalEventDiskSpace] => 32153677417 [HourEvents] => 1 [HourEventDiskSpace] => 74719416 [DayEvents] => 21 [DayEventDiskSpace] => 330689861 [WeekEvents] => 907 [WeekEventDiskSpace] => 6180978752 [MonthEvents] => 2710 [MonthEventDiskSpace] => 32153677417 [ArchivedEvents] => 0 [ArchivedEventDiskSpace] => 0 ) ) [4] => Array ( [Monitor] => Array ( [Id] => 5 [Name] => Camera Salon [Notes] => [ServerId] => 0 [StorageId] => 0 [Type] => Ffmpeg [Function] => Monitor [Enabled] => 0 [DecodingEnabled] => 1 [LinkedMonitors] => [Triggers] => [ONVIF_URL] => [ONVIF_Username] => [ONVIF_Password] => [ONVIF_Options] => [Device] => [Channel] => 0 [Format] => 0 [V4LMultiBuffer] => [V4LCapturesPerFrame] => 1 [Protocol] => [Method] => rtpRtsp [Host] => [Port] => [SubPath] => [Path] => rtsp://admin:xxxxx@192.168.x.x:554/Streaming/channels/101 [SecondPath] => [Options] => [User] => [Pass] => [Width] => 1280 [Height] => 720 [Colours] => 4 [Palette] => 0 [Orientation] => ROTATE_0 [Deinterlacing] => 0 [DecoderHWAccelName] => [DecoderHWAccelDevice] => [SaveJPEGs] => 3 [VideoWriter] => 0 [OutputCodec] => 0 [Encoder] => auto [OutputContainer] => [EncoderParameters] => # Lines beginning with # are a comment # For changing quality, use the crf option # 1 is best, 51 is worst quality #crf=23 [RecordAudio] => 0 [RTSPDescribe] => [Brightness] => -1 [Contrast] => -1 [Hue] => -1 [Colour] => -1 [EventPrefix] => Event- [LabelFormat] => %N - %d/%m/%y %H:%M:%S [LabelX] => 0 [LabelY] => 0 [LabelSize] => 1 [ImageBufferCount] => 3 [MaxImageBufferCount] => 20 [WarmupCount] => 0 [PreEventCount] => 5 [PostEventCount] => 5 [StreamReplayBuffer] => 0 [AlarmFrameCount] => 1 [SectionLength] => 600 [MinSectionLength] => 10 [FrameSkip] => 0 [MotionFrameSkip] => 0 [AnalysisFPSLimit] => [AnalysisUpdateDelay] => 0 [MaxFPS] => [AlarmMaxFPS] => [FPSReportInterval] => 100 [RefBlendPerc] => 6 [AlarmRefBlendPerc] => 6 [Controllable] => 0 [ControlId] => [ControlDevice] => [ControlAddress] => user:port@ip [AutoStopTimeout] => [TrackMotion] => 0 [TrackDelay] => [ReturnLocation] => -1 [ReturnDelay] => [ModectDuringPTZ] => 0 [DefaultRate] => 100 [DefaultScale] => 100 [DefaultCodec] => auto [SignalCheckPoints] => 0 [SignalCheckColour] => #0000be [WebColour] => #296f8f [Exif] => [Sequence] => 5 [ZoneCount] => 1 [Refresh] => [Latitude] => [Longitude] => [RTSPServer] => [RTSPStreamName] => [Importance] => Normal ) [Monitor_Status] => Array ( [MonitorId] => 5 [Status] => Connected [CaptureFPS] => 12.25 [AnalysisFPS] => 0.00 [CaptureBandwidth] => 49162 ) [Event_Summary] => Array ( [MonitorId] => 5 [TotalEvents] => 2483 [TotalEventDiskSpace] => 31434089800 [HourEvents] => 0 [HourEventDiskSpace] => 0 [DayEvents] => 146 [DayEventDiskSpace] => 2140166136 [WeekEvents] => 1180 [WeekEventDiskSpace] => 16012667844 [MonthEvents] => 2481 [MonthEventDiskSpace] => 31434089800 [ArchivedEvents] => [ArchivedEventDiskSpace] => ) ) ) )
PS : visiblement ça n’empêche pas le fonctionnement de la commande par la suite. ça doit juste être le retour de l’API de ZoneMinder qui déclenche cette erreur.