Hallo Zusammen,
ich brauche euch wieder einmal. Ich habe 1 Kamera mit der Surveillance Station verbunden.
Ich habe eine Kamera mittels SSCAM und auch Telegram "erfolgreich" in FHEM installiert.
Wenn ich bei IPCAM auf der Kamera >>Snap<< klicke gelingt der Versand per Telegram einwandfrei, aber auch NUR so!!
Nur schaffe ich es nicht, ein Foto oder Video irgendwie per Telegram zu versenden.
Was mache ich falsch?
Kann man nicht anhand der Readings bestimmte Bilder oder Videos per Telegram versenden? Wie wäre hier der Befehl?
Internals:
CAMID 4
CAMNAME CamEinfahrt
CFGFN
COMPATIBILITY 9.0.00
CREDENTIALS Set
DEF CamEinfahrt 192.168.1.225 5000 http
FUUID 6482e935-f33f-940c-6601-acb5df83a5d27ac5
FVERSION 49_SSCam.pm:v9.11.0-s27242/2023-02-17
MODEL FOSCAM - FI8608W
NAME SSCam.CamEinfahrt
NR 182399
OPMODE Getptzlistpatrol
PROTOCOL http
SERVERADDR 192.168.1.225
SERVERPORT 5000
STATE on
TYPE SSCam
eventCount 850
HELPER:
ACTIVE off
CREDENTIALS \[WzdY5?bJJ~_ZzlV{H5␏
HLSSTREAM inactive
LOGINRETRIES 0
OLDPTZHOME goPreset home
OLDVALPOLL 210
OLDVALPOLLNOLOGGING 1
PACKAGE FHEM::SSCam
RECTIME_DEF 15
SID Rw9Nj4TJElq_9KDAkZgOVXcSNoIqaKa89fP4WJGHVrcW7_1vIKWikwAvm95Fl2UX0QRSPBrRG0RD6DEvq0ev5s
SNAPLAG 2
SNAPLIMIT 1
SNAPNUMCOUNT 1
STMKEYMJPEGHTTP http://192.168.1.225:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mjpeg&cameraId=4&StmKey="29a9618cecd25919dd6dcc5a784841e6"
STMKEYMXPEGHTTP http://192.168.1.225:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mxpeg&cameraId=4&StmKey="29a9618cecd25919dd6dcc5a784841e6"
STMKEYUNICST rtsp://syno:29a9618cecd25919dd6dcc5a784841e6@192.168.1.225:554/Sms=4.unicast
STMKEYUNICSTOVERHTTP rtsp://192.168.1.225:5000/webman/3rdparty/SurveillanceStation/cgi/rtsp.cgi?Sms=4.unicast&DsId=0&StmKey=29a9618cecd25919dd6dcc5a784841e6
TOTALCNT 40
VERSION 9.11.0
VERSION_API 1.4.0
VERSION_CTZ unused
VERSION_ErrCodes 1.3.7
VERSION_SMUtils 1.26.0
ALLPATROLS:
ALLPRESETS:
home -1
API:
PARSET 1
AUDIOSTM:
MOD no
NAME SYNO.SurveillanceStation.AudioStream
PATH
VER
mk 0
AUTH:
MOD yes
NAME SYNO.API.Auth
PATH auth.cgi
VER 6
mk 1
CAM:
MOD no
NAME SYNO.SurveillanceStation.Camera
PATH entry.cgi
VER 9
mk 1
CAMEVENT:
MOD no
NAME SYNO.SurveillanceStation.Camera.Event
PATH entry.cgi
VER 1
mk 1
EVENT:
MOD no
NAME SYNO.SurveillanceStation.Event
PATH entry.cgi
VER 5
mk 1
EXTEVT:
MOD no
NAME SYNO.SurveillanceStation.ExternalEvent
PATH entry.cgi
VER 1
mk 1
EXTREC:
MOD no
NAME SYNO.SurveillanceStation.ExternalRecording
PATH entry.cgi
VER 3
mk 1
HMODE:
MOD no
NAME SYNO.SurveillanceStation.HomeMode
PATH entry.cgi
VER 1
mk 0
INFO:
MOD no
NAME SYNO.API.Info
PATH query.cgi
VER 1
mk 1
LOG:
MOD no
NAME SYNO.SurveillanceStation.Log
PATH entry.cgi
VER 3
mk 1
PRESET:
MOD no
NAME SYNO.SurveillanceStation.PTZ.Preset
PATH entry.cgi
VER 1
mk 1
PTZ:
MOD no
NAME SYNO.SurveillanceStation.PTZ
PATH entry.cgi
VER 6
mk 1
REC:
MOD no
NAME SYNO.SurveillanceStation.Recording
PATH entry.cgi
VER 6
mk 1
SNAPSHOT:
MOD no
NAME SYNO.SurveillanceStation.SnapShot
PATH entry.cgi
VER 1
mk 1
STM:
MOD no
NAME SYNO.SurveillanceStation.Stream
PATH entry.cgi
VER 1
mk 1
SVSINFO:
MOD no
NAME SYNO.SurveillanceStation.Info
PATH entry.cgi
VER 8
mk 1
VIDEOSTM:
MOD no
NAME SYNO.SurveillanceStation.VideoStreaming
PATH entry.cgi
VER 1
mk 1
VIDEOSTMS:
MOD no
NAME SYNO.SurveillanceStation.VideoStream
PATH
VER
mk 0
SVSVERSION:
BUILD 8728
MAJOR 9
MINOR 1
SMALL 1
READINGS:
2023-06-09 13:52:06 Availability enabled
2023-06-09 13:52:06 CamAudioType Unknown
2023-06-09 13:52:01 CamEventNum 25
2023-06-09 13:52:06 CamExposureControl 60HZ
2023-06-09 13:52:06 CamExposureMode Auto
2023-06-09 13:52:06 CamIP 192.168.1.200
2023-06-09 13:52:01 CamLastRec 20230609PM/CamEinfahrt-20230609-132629-1686309989179-7.mp4
2023-06-09 13:52:01 CamLastRecId 41527
2023-06-09 13:52:01 CamLastRecTime 2023-06-09 / 13:26:29 - 13:52:01
2023-06-09 13:52:06 CamLiveFps 10
2023-06-09 13:52:06 CamLiveMode Liveview from DS
2023-06-09 13:52:06 CamLiveQuality 5
2023-06-09 13:52:06 CamLiveResolution VGA
2023-06-09 13:52:06 CamLiveStreamNo 1
2023-06-09 13:52:06 CamModel FI8608W
2023-06-09 13:52:04 CamMotDetSc disabled
2023-06-09 13:52:06 CamNTPServer
2023-06-09 13:52:06 CamPort 80
2023-06-09 13:52:06 CamPreRecTime 5
2023-06-09 13:52:06 CamPtSpeed 3
2023-06-09 13:52:06 CamRecShare surveillance
2023-06-09 13:52:06 CamRecVolume /volume1
2023-06-09 13:52:06 CamVendor FOSCAM
2023-06-09 13:52:06 CamVideoFlip false
2023-06-09 13:52:06 CamVideoMirror false
2023-06-09 13:52:06 CamVideoRotate false
2023-06-09 13:52:06 CamVideoType H.264
2023-06-09 13:52:06 CamblPresetSpeed false
2023-06-09 13:51:55 CapAudioOut false
2023-06-09 13:51:55 CapChangeSpeed false
2023-06-09 13:52:06 CapPIR false
2023-06-09 13:51:55 CapPTZAbs false
2023-06-09 13:51:55 CapPTZAutoFocus false
2023-06-09 13:51:55 CapPTZDirections 4
2023-06-09 13:51:55 CapPTZFocus false
2023-06-09 13:51:55 CapPTZHome true
2023-06-09 13:51:55 CapPTZIris false
2023-06-09 13:51:55 CapPTZObjTracking false
2023-06-09 13:51:55 CapPTZPan support continuous operation
2023-06-09 13:51:55 CapPTZPresetNumber 8
2023-06-09 13:51:55 CapPTZTilt support continuous operation
2023-06-09 13:51:55 CapPTZZoom false
2023-06-09 13:52:06 DeviceType PTZ
2023-06-09 13:52:10 Error none
2023-06-09 13:52:10 Errorcode none
2023-06-09 13:51:58 LastSnapFilename CamEinfahrt-20230609-1347134731.jpg
2023-06-09 13:51:58 LastSnapId 44
2023-06-09 13:51:58 LastSnapTime 2023-06-09 / 13:47:12
2023-06-09 13:52:06 LastUpdateTime 2023-06-09 / 13:52:06
2023-06-09 13:52:10 Patrols
2023-06-09 13:51:52 PollState Active - next time: 13:55:22
2023-06-09 13:52:08 PresetHome home
2023-06-09 13:52:08 Presets home
2023-06-09 13:52:06 Record Start
2023-06-09 13:51:57 SVScustomPortHttp 9900
2023-06-09 13:51:57 SVScustomPortHttps 9901
2023-06-09 13:51:57 SVSlicenseNumber 2
2023-06-09 13:51:57 SVSuserPriv Admin
2023-06-09 13:51:57 SVSversion 9.1.1-8728
2023-06-09 13:52:07 StmKey "29a9618cecd25919dd6dcc5a784841e6"
2023-06-09 13:52:06 UsedSpaceMB 8.902
2023-06-09 13:52:06 VideoFolder /volume1/surveillance/CamEinfahrt
2023-06-09 13:51:57 compstate true
2023-06-09 13:47:16 sendTeleState Telegram message [0] of transaction "2090" sent to "Günter_Conrad" by "Telegram"
2023-06-09 13:52:06 state on
Attributes:
devStateIcon .*isable.*:set_off .*nap:li_wht_on
httptimeout 20
icon it_camera
pollcaminfoall 210
pollnologging 1
ptzPanel_row00 move upleft:CAMUPLEFTFAST.png,:CAMBLANK.png,move up:CAMUPFAST.png,:CAMBLANK.png,move upright:CAMUPRIGHTFAST.png
ptzPanel_row01 :CAMBLANK.png,move upleft 0.5:CAMUPLEFT.png,move up 0.5:CAMUP.png,move upright 0.5:CAMUPRIGHT.png
ptzPanel_row02 move left:CAMLEFTFAST.png,move left 0.5:CAMLEFT.png,goPreset home:CAMHOME.png,move right 0.5:CAMRIGHT.png,move right:CAMRIGHTFAST.png
ptzPanel_row03 :CAMBLANK.png,move downleft 0.5:CAMDOWNLEFT.png,move down 0.5:CAMDOWN.png,move downright 0.5:CAMDOWNRIGHT.png
ptzPanel_row04 move downleft:CAMDOWNLEFTFAST.png,:CAMBLANK.png,move down:CAMDOWNFAST.png,:CAMBLANK.png,move downright:CAMDOWNRIGHTFAST.png
room IPCam
session DSM
snapTelegramTxt tbot => Telegram, peers => Günter_Conrad, subject => $CAM um $CTIME Uhr
userattr ptzPanel_Home:home ptzPanel_iconPath ptzPanel_iconPrefix ptzPanel_row00 ptzPanel_row01 ptzPanel_row02 ptzPanel_row03 ptzPanel_row04 ptzPanel_row05 ptzPanel_row06 ptzPanel_row07 ptzPanel_row08 ptzPanel_row09 ptzPanel_use:0,1
webCmd on:off:snap:enable:disable:runView:stopView
Gruß GÜnter
Hallo Günter,
schon mal im entsprechenden Thread zur SSCAM gesucht?
https://forum.fhem.de/index.php?topic=45671.0
Viele Grüße
Jürgen
Danke!