HoGtec
February 4, 2026, 2:44pm
1
Hallo an die Community,
ich habe mich angemeldet da ich bei einem Problem nicht weiter komme:
Über die http API Mobotix rcontrol - Parameterübersicht
kann man mit der Action Push wohl Pushnachrichten versenden.
Wie sieht ein Paramteraufruf damit genau aus?
ich habe es mit http://192.168.178.5/control/rcontrol?action=push&Profil-ID=Alarm5475AB42-D93B-45B3_genericAlarm_-BD06-76E9B34CCBA5&message=Test
versucht aber da kommt die meldung das er mehr Parameter benötigt.
Hallo HoGtec,
in deinem URL Parameter Aufruf scheint ein kleiner Fehler drin zu sein: Es muss push&profile= lauten und nicht push&Profil-ID
Das wäre der richtige Aufruf: wobei die Passwort Abfrage im Browser noch erscheint!
http://192.168.178.5/control/rcontrol?action=push&profile=Alarm5475AB42-D93B-45B3_genericAlarm_-BD06-76E9B34CCBA5&message=Test
Mit Anmeldedaten schaut es wie folgt aus:
http://admin:PASSWORT@192.168.178.5/control/rcontrol?action=push&profile=Alarm5475AB42-D93B-45B3_genericAlarm_-BD06-76E9B34CCBA5&message=Test
lg Jörg
HoGtec
February 6, 2026, 2:03pm
3
Okay danke schonmal, jetzt sieht es schon besser aus aber es kommen andere Fehler:
INF: set verbose level: info
INF: force generation of current JPEG ...
INF: using push profile 'iPhone for all Events'
INF: Requesting new OAuth token...
INF: * Trying 216.239.38.55...
INF: * TCP_NODELAY set
INF: * Connected to fcm.googleapis.com (216.239.38.55) port 443 (#0)
INF: * libcurl is now using a weak random seed!
INF: * ALPN, offering http/1.1
INF: * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
INF: * SSL connection using unknown / TLS_AES_256_GCM_SHA384
INF: * ALPN, server accepted to use http/1.1
INF: * Server certificate:
INF: * subject: CN=edgecert.googleapis.com
INF: * start date: Jan 12 08:40:44 2026 GMT
INF: * expire date: Apr 6 08:40:43 2026 GMT
INF: * subjectAltName: host "fcm.googleapis.com" matched cert's "fcm.googleapis.com"
INF: * issuer: C=US; O=Google Trust Services; CN=WR2
INF: * SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
INF: > POST /v1/projects/mxbell-c2358/messages:send HTTP/1.1
INF: Host: fcm.googleapis.com
INF: Accept: */*
INF: Content-Type:application/json
INF: Authorization: Bearer ya29...QtI_fu5Y
INF: Content-Length: 466
INF:
INF: * upload completely sent off: 466 out of 466 bytes
INF: < HTTP/1.1 401 Unauthorized
INF: < WWW-Authenticate: Bearer realm="https://accounts.google.com/", error="invalid_token"
INF: < Vary: X-Origin
INF: < Vary: Referer
INF: < Content-Type: application/json; charset=UTF-8
INF: < Date: Fri, 06 Feb 2026 14:00:39 GMT
INF: < Server: scaffolding on HTTPServer2
INF: < X-XSS-Protection: 0
INF: < X-Frame-Options: SAMEORIGIN
INF: < X-Content-Type-Options: nosniff
INF: < Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
INF: < Accept-Ranges: none
INF: < Vary: Origin,Accept-Encoding
INF: < Transfer-Encoding: chunked
INF: <
INF: * Curl_http_done: called premature == 0
INF: * Connection #0 to host fcm.googleapis.com left intact
{"error":{"code":401,"message":"Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.","status":"UNAUTHENTICATED","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"ACCESS_TOKEN_EXPIRED","domain":"googleapis.com","metadata":{"method":"google.firebase.fcm.v1.FcmService.SendMessage","service":"fcm.googleapis.com"}}]}}
INF: Notification failed (401)
ERR: push notification failed (rcode=1)
Fällt dir dazu noch etwas ein?
Hallo HoGtec,
Die Log-Ausgabe zeigt einen 401 UNAUTHENTICATED von Firebase mit
ACCESS_TOKEN_EXPIRED. Das bedeutet, dass das OAuth-Access-Token als ungültig/abgelaufen bewertet wird.
Erster Check: Bitte die Uhrzeit der Kamera prüfen .
Eine korrekt per NTP synchronisierte Systemzeit ist für Token-basierte Anmeldungen zwingend erforderlich. Nutzt die Kamera einen NTP-Server?
Weitere Fragen zur Eingrenzung:
Ist es dasselbe Push-Profil , das auch auf dem iPhone verwendet wird?
Funktionieren Push-Nachrichten bei manueller Auslösung (z. B. UC Event / User Click)?
Die HTTPS-Verbindung zu Firebase ist erfolgreich, der Fehler tritt erst bei der Authentifizierung auf – spricht also klar für ein Zeit-/Token-Problem , nicht für Netzwerk oder Firewall.
Hilfreich wären außerdem Kameramodell und Firmware-Version .
lg Jörg