ioBroker & INSTAR Kameras - CGI Befehle, MQTT & Alarmserver

Wir haben für unseren INSTAR MQTT Broker eine Anleitung online gestellt, wie man die Steuerung einer INSTAR Full HD Kamera über das MQTT Protokoll einrichten kann:

Für HD Kameras ist dies auch über die INSTAR CGI Befehle möglich - wie, haben wir hier am Beispiel des Anfahrens von gespeicherten Positionen beschrieben:

Egal ob man die Kamera über die MQTT oder HTTP (CGI) Schnittstelle eingebunden hat, man kann diese Einbindung anschließend mit dem INSTAR Alarmserver koppeln. Als Beispiel haben wir das Koppeln zweier Kameras in diesem Tutorial beschrieben:

Ergänzung:

Wenn man anstatt der Bewegungserkenung auf der Kamera die Erkennung in MotionEye verwendet, kann man auch dort eine Alarmserver Funktion nutzen, um Zustände in ioBroker zu schalten. Eine Anleitung hierfür findet ihr hier:

https://wiki.instar.de/Frequently_Asked_Question/ioBroker_and_MotionEye_Webhook

​​​​​​​

Hallo,

ich freue mich wirklich über die MQTT Einführung!
Auch habe ich schon testweiße eine Kamera in den IObroker übernommen. Als Broker/Server verwende ich den IOBroker.
Datenpunkte werden auch angezeigt:

Verändere zum Beispiel den Wert im Bereich I in den Kameraeinstellungen, wird der Wert nicht im IObroker angezeigt bzw. angepasst.
Verändere ich einen Datenpunk im IObroker wird dieser auch nicht an die Kamera übertragen.

Ziel ist es Abends die Sensitivität anzupassen.

Was mache ich falsch? Liegt es evlt. daran, dass ich einen externen Broker verwende?

Viele Grüße
Johannes

Ps.: Wenn ich MQTT in der Kamera deaktive und wieder aktivere werden alle Werte wieder einmalig übertragen. Danach findet keine KOmmunikation mehr statt

Pss.: Jetzt klappt das Login nicht mehr - Das Adminpasswort wurde verändert…

Hallo @allgrind ,

die Topic, die der Broker beim Verbinden überträgt sind STATUS Topics. D.h. sie zeigen den aktuellen Zustand auf der Kamera an und diese von Hand zu aktualisieren ändert nichts. Dafür werden die BEFEHL Topics benötigt. Wenn man ein Befehl Topic aktualisiert, schaltet die Broker den entsprechenden Wert auf der Kamera um und sendet danach ein Status Update raus.

Normalerweise ist das so gedacht, dass man einen Schalter im Smarthome hat, dessen Position anhand des STATUS Topics bestimmt wird. Wenn man ihn dann von Hand umlegt, wird ein BEFEHL Topic rausgesendet und kurz darauf trifft das STATUS Update ein um den Schalter in die andere Position zu bringen. Das geht z.B. mit OpenHAB, Node-RED, Home Assistant. Nur bei ioBroker habe ich noch keinen Weg gefunden einen Schalter beide Topics zuzuweisen.

D.h. man muß hier dem Schalter nur das BEFEHL Topic (in seiner „raw“ Ausführung) zuweisen und kann darüber die Kamera steuern. Wenn man jedoch einen Wert über die WebUI der Kamera ändert, bekommt man dies leider über das STATUS Topic nicht mit. Was etwas ungünstig ist, aber leider mit der Implementierung im ioBroker zusammenhängt.

Wie man die Befehlstopics in den Objektbaum des ioBrokers bekommt haben wir hier in unserem Wiki Artikel beschrieben:

https://wiki.instar.de/Erweitert/INSTAR_MQTT_Broker/ioBroker/#mqtt-adapter

Und auch hier im ioBroker Forum besprochen:

https://forum.iobroker.net/topic/28387/mqtt-full-hd-kamera-für-iobroker/19

Sobald diese Topics vorhanden sind, sollte die Steuerung der Kamera kein Problem mehr darstellen.

Zu dem Passwort Problem:

Ist auf der Kamera schon das letzte Update installiert? In der Beta-Version der MQTT Firmware gab es noch ein Problem mit Sonderzeichen im Login. Wenn man diese noch installiert hat sollte man in der Kamera über das System/Update Menü das neue Update aufspielen.

Hallo,
Es war die aktuelle Firmware und ich hatte kein Sonderzeichen im Passwort.
Leider klappt auch kein Hardware Reset.
Was kann ich jetzt machen?
Vg

Wo wurde das Kennwort denn angepasst? Beim Admin Login oder beim MQTT Dienst? Bei ersterem sollten „verbotenen“ Zeichen eigentlich direkt in der Eingabemaske abgefangen werden.

Also kommt man noch auf die Weboberfläche der Kamera ?

Hallo,

weder das Admin noch das mqtt-Passwort hatte ein Sonderzeichen.

Zur Information: Das Adminpasswort habe ich nicht verändert. Ich konnte mich einfach nicht mehr an der Webgui anmelden. Das ging ein paar Minuten vorher noch.

Mittlerweile konnte ich ein reset durchführen.

Viele Grüße
Johannes

Hallo,

da ich die Kommentarfunktion nicht finde:
Ja es klappt wieder alles :wink: Danke für die Hilfe!

Ich verstehe nur noch nicht den Vorteil den internen mqtt-Broker der Kamera zu verwenden?

Mein Mqtt-Adapter im iobroker läuft als „Server/Broker“, dies erlaubt mir meine Shellies sowie unzählige ESP8266 zu steuern.

Viele Grüße
Johannes

Das Problem mit MQTT ist, dass viele keinen Broker im Netzwerk haben. Das Protokoll ist im IoT Bereich HTTP weit überlegen. Aber die komplizierte Einrichtung schreckt sehr viele davon ab es einmal auszuprobieren. Deshalb haben wir uns entschlossen beides in der Firmware bereitzustellen. Damit ist es dann wesentlich einfacher sich MQTT anzusehen. Wir haben dafür den Broker auch extra offen gehalten - man kann ihn also auch verwenden, um Drittanbieter Geräte damit zu steuern.

Für den dauerhaften Einsatz macht ein zentraler Broker - wie z.B. der MQTT Client/Broker Adapter in ioBroker - natürlich mehr Sinn.

Irgendwie sieht das Log nicht so gut aus…wodran kann es liegen?
Die Kamera hat schon wieder das Admin-Passwort verändert…

 
 [Info] Translations loaded: 266 [Info] Initalize Mqtt [Info] Authenticate with Mqtt-Broker [Info] Connect to Mqtt-Broker 192.168.178.34 on port 1883... [Info] Initialize Fifo-Watcher [Warning] A file at the fifo filepath already exists, delete file and retry! [Info] Start Fifo-Watcher-Thread [Info] Start listening... [Info] Open fifo [Info] Synchronize Cgi-Server with Mqtt-Broker [Error] Translator failed to parse json format of the mqtt pipe:  [Warning] Failed to translate fifo_cgi wf_key ${val} [Error] Translator failed to parse json format of the mqtt pipe:  [Warning] Failed to translate fifo_cgi wf_key ${val} [Error] Translator failed to parse json format of the mqtt pipe:  [Warning] Failed to translate fifo_cgi wf_key ${val} [Error] Translator failed to parse json format of the mqtt pipe:  [Warning] Failed to translate fifo_cgi wf_key ${val} [Error] Translator failed to parse json format of the mqtt pipe:  [Warning] Failed to translate fifo_cgi wf_key  [Error] Translator failed to parse json format of the mqtt pipe:  [Warning] Failed to translate fifo_cgi wf_key  [Error] Translator failed to parse json format of the mqtt pipe:  [Warning] Failed to translate fifo_cgi wf_key  [Error] Translator failed to parse json format of the mqtt pipe:  [Warning] Failed to translate fifo_cgi wf_key  [Error] Translator doesn't fit to passed values, index != value [Warning] Failed to translate fifo_cgi index 32 [Error] Translator doesn't fit to passed values, index != value [Warning] Failed to translate fifo_cgi index 32 [Error] Translator doesn't fit to passed values, index != value [Warning] Failed to translate fifo_cgi index 32 [Error] Translator doesn't fit to passed values, index != value [Warning] Failed to translate fifo_cgi index 32 [Error] Translator doesn't fit to passed values, index != value [Warning] Failed to translate fifo_cgi index 32 [Error] Translator doesn't fit to passed values, index != value [Warning] Failed to translate fifo_cgi index 32 [Error] Translator doesn't fit to passed values, index != value [Warning] Failed to translate fifo_cgi index 32 [Error] Translator doesn't fit to passed values, index != value [Warning] Failed to translate fifo_cgi index 32 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != aeswitch [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != bps [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != imagegrade [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != brmode [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != fps [Warning] Failed to translate fifo_cgi chn 13 [Error] Translator doesn't fit to passed values, chn != gop [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != gop [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != gop [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != gop [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != gop [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != gop [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != gop [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != gop [Warning] Failed to translate fifo_cgi chn 11 [Error] Translator doesn't fit to passed values, chn != gop [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != gop [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != gop [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != gop [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != gop [Warning] Failed to translate fifo_cgi chn 12 [Error] Translator doesn't fit to passed values, chn != gop [Warning] Failed to translate fifo_cgi chn 12  

Irgendwie scheint da Update noch nicht rundzulaufen… habe jetzt an zwei Kameras immer das gleiche Phänomen.
Sobald ich die MQTT-Funktionalität aktiviere und das Popup-Fenster schließe und wieder öffne ist der Dienst deaktiviert.
Aktiviere ich den Dienst wieder… führt dies dazu das die Kamera das Admin-Passwort verändert.

Könnte es eventuell ein Problem mit nicht unterstützten Sonderzeichen sein? Das sind alle erlaubten Sonderzeichen:

!#()*-./<?@[]^_{|}

Und dieser Zeichensalat funktioniert auch so als Kennwort.

Ich habe wirklich keine Sonderzeichen weder beim Adminpasswort an der Webgui sowie im mqtt.
Gerne würde ich weiter testen - aber jedes mal die Kamera wieder zu demontieren ist wirklich nervig. Gibt es keine BetaFirmware die man via Netzwerk reseten kann?
Anscheinend wird nicht nur das Passwort der Admin verändert - Es klappt auch der Cloud-Upload nicht mehr

Das Problem ist ja das die Kamera scheinbar nicht mehr über Netzwerk erreichbar ist, sonst könnte man ja noch den Reset Befehl senden.

Kann es sein, das im ioBroker das „Bekanntgeben des eigenen States beim Verbinden“ aktiv ist ? Wenn die Kamera als Broker läuft könnte sie dann mit Status updates zu-gespammed werden und deshalb nicht erreichbar sein. Oder läuft die Kamera jetzt als Client ?

Ich würde probieren einmal ein Debug Tool wie MQTT.fx am Broker anzubinden und zu schauen was genau passiert, wenn die Kamera sich verbindet:

https://wiki.instar.de/Erweitert/INS…nd_LINUX_Apps/

Das Tool zeigt einem alle Topics an die aktualisiert werden. Eventuell überschreibt der ioBroker die Einstellungen auf der Kamera, weil er noch einen alten Zustand gespeichert hat?

Wie lautet denn der Netzwerk Reset-Befehl? Denn die Webgui zeigt mir super schnell an, dass das Passwort nicht korrekt ist. Auch via Ping ist die Kamera erreichbar.

Die Kamera lief immer als Client - Aber der Iobroker überschreibt ja nicht das Passwort?

Wenn die Kamera nicht mehr erreichbar ist nachdem man Sie mit dem Broker verbindet, muß man schauen was der Broker beim Verbinden genau macht. MQTT.fx zeigt einem welche Topics ausgetauscht/aktualisiert werden. Irgendwo muß das „falsche“ Admin Kennwort ja herkommen. Ohne Debug Tool ist man da blind.

@allgrind - Hi, ich hatte das gleiche Problem, dass das admin Passwort geändert wurde.- Dachte ich zumindest - in Wirklichkeit wurde der aber der username „admin“ nach dem Spielen an den MQTT Einstellungen und IOBroker als MQTT Broker geändert! Versuche es doch mal mit User: „${val}“ und dem PW, das du vorher für den „admin“ user benutzt hast! Bei mir hat das funktioniert… (sogar mehrfach…) Woher kommt dieser kryptische Username? Keine Ahnung, mir war nur aufgefallen, dass bei mir der Name der Kamera ebenfalls auf diesen Wert geändert worden war - nach Idee des Supports, dieses doch auch mal beim PW zu testen, habe ich ein wenig weiter rumprobiert - und fand so die Lösung. (Bei mir wäre der Hardwarebutton an der Kamera nämlich ohne Gerüstbauer auch keine Option gewesen… ;-))

@INSTAR
Hi, ich hätte da noch ein Anliegen im Bezug zu MQTT.
Einer der grossen Vorteile von MQTT gegenüber anderen Technologien ist ja die Geschwindigkeit. Dieses ist zwar sicherlich super für die UI-basierten Dinge, hier war die Lösung über die CGI Befehle für meine Zwecke zumindest aber eigentlich schon performant genug.
Ich würde es mir an einer anderen Stelle noch viel mehr wünschen - und das wäre bei der Alarmauslösung selber.
Die Möglichkeit über die Alarmserver Funktionalität auf einen Alarm hinzuweisen nutze ich schon seit längerem in meiner Smarthomesteuerung als Bewegungsmelderfunktionalität - leider ist dieses sehr träge…(Bis zu 6s(!) nach dem eigentlichen event wird der webhook (LAN intern!) ausgelöst…)
Ich würde mir ein MQTT Topic für die Alarmauslösung wünschen, sodass ich bei Subscribierung auf dieses Topic extrem schnell und einfach auf das Auslösen der konfigurierten Alarmbedingung reagieren könnte.
Wäre das nicht mal eine gute Idee…? :wink:
Gruss,

Arne

+1 :smiley_emoticons_br

Ich habe auch gerade MQTT ausprobiert.
Was ich bislang gesehen habe, macht richtig Spass.
Wenn jetzt noch die Alarmerkennungkommt, das wäre super!

Gruß
Blockmove

Noch ein paar allgemeine Informationen zu ioBroker <-> INSTAR MQTT

ioBroker MQTT überschreibt Kameraeinstellungen

ioBroker als MQTT Broker der MQTT Kamera

Befehl, Status und RAW MQTT Topics