Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Anti

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 10
    • Best 2
    • Groups 1

    Anti

    @Anti

    Starter

    2
    Reputation
    6
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Anti Follow
    Starter

    Best posts made by Anti

    • RE: PH-Messung

      @marc-r I'm not so deep in the MQTT/Tasmota Topic. So not sure what you can do with Tasmota, here in this use case we want to put a serial Input somewhere. When Tasmota can do that, you should be okay with that. I was thinking about a little Programm on ESP putting the serial e.g. on a Webpage. This is probably a few minutes programming Job. I think i prefare this, because my Pool also will be controlled by an ESP. If a Server is in the middle is one more thing that can fail.

      But anyway i can wait if the other guys here find the "LAN Protocol" Solution. If i can use that from another ESP, i will probably make like this.

      Well i just thought i can connect the 803W serial connect directly my control ESP ... this is also a good failsafe alternative.

      posted in ioBroker Allgemein
      A
      Anti
    • RE: PH-Messung

      @marc-r Thats nice Marc-r. So the ESP just bring the Serial kommunikation to the Network. What I allready suspected but didn't checked. I think, like you, is the most simple way to flash the original ESP (or put a second one if you want to keep the original).

      for the completness: 9600 8N1

      I think I will make that, to don't have the MQTT in the middle.

      posted in ioBroker Allgemein
      A
      Anti

    Latest posts made by Anti

    • RE: PH-Messung

      Haste mal Lange den Wifi Knopf gedrückt, meiner war auch irgendwie weg und damit hab ich den quasi resettet. Blöd war aber das mqtt Thema war neu. Naja.

      Btw Dank @apollon77 hab ich jetzt mal das connect prozedere erfolgreich auf nem ESP 8266 implementiert. PH und Redox auslesen klappt schon mal. Hab ich richtig gelesen das mittlerweile auch die Steckdosen ansteuern könnt? Das wäre noch interessant. Hatte im Github deine Protokoll erklärung benutzt. Da steht da aber noch nichts von.

      posted in ioBroker Allgemein
      A
      Anti
    • RE: PH-Messung

      @vowchr said in PH-Messung:

      Hallo zusammen
      Ich scheitere leider daran, den PH-803W in mein WLAN zu bringen. Habe nur iOS und kein Android - hat jemand von euch auch iOS und hat es geschafft?

      Hatte ich doch schon ganz am Anfang geschrieben:

      IOS Prozedur:
      App Gizwits - das ist wohl mehr so allgemein für IOT Sachen, das Ding scheint aber damit erstellt worden zu sein
      Add Device per Softap Config
      nun die WLan Daten
      Bei Prefix: XPG-GAgent
      Typ ESP
      Iphone zu dem XPG... Netz verbinden ... PW: 123456789

      Ab jetzt verbindet sich das Ding mit eurem Netz, wird in der App aber nicht angezeigt.

      posted in ioBroker Allgemein
      A
      Anti
    • RE: PH-Messung

      Wo bleibt denn da der Spaß? 😛

      Nein ist natürlich auch ein weg. Hab sowas sogar hier liegen war irgendwie nie dazu gekommen das weiterzuverfolgen 😕

      posted in ioBroker Allgemein
      A
      Anti
    • RE: PH-Messung

      @marc-r I'm not so deep in the MQTT/Tasmota Topic. So not sure what you can do with Tasmota, here in this use case we want to put a serial Input somewhere. When Tasmota can do that, you should be okay with that. I was thinking about a little Programm on ESP putting the serial e.g. on a Webpage. This is probably a few minutes programming Job. I think i prefare this, because my Pool also will be controlled by an ESP. If a Server is in the middle is one more thing that can fail.

      But anyway i can wait if the other guys here find the "LAN Protocol" Solution. If i can use that from another ESP, i will probably make like this.

      Well i just thought i can connect the 803W serial connect directly my control ESP ... this is also a good failsafe alternative.

      posted in ioBroker Allgemein
      A
      Anti
    • RE: PH-Messung

      @marc-r Thats nice Marc-r. So the ESP just bring the Serial kommunikation to the Network. What I allready suspected but didn't checked. I think, like you, is the most simple way to flash the original ESP (or put a second one if you want to keep the original).

      for the completness: 9600 8N1

      I think I will make that, to don't have the MQTT in the middle.

      posted in ioBroker Allgemein
      A
      Anti
    • RE: PH-Messung

      Hmm hab gerade festgestellt ich hab wohl die falsche IP angegeben. 119.29.42.117 wärs wohl.

      posted in ioBroker Allgemein
      A
      Anti
    • RE: PH-Messung

      Ok sorry. Also umbiegen =
      Du musst deinem Router beibringen, wenn ein Gerät deines Netzwerks auf jene besagte IP zugreifen will, das nicht ins Internet gesendet wird sondern zu deinem MQTT Server umgeleitet wird (und retour wenn der antwortet). Nur wie man das macht hängt halt vom Router ab (wenn der das überhaupt kann). Bei PFSense kann man eine virtuelle IP erstellen und dazu dann ein 1:1 NAT. Ist jetzt vereinfacht ich hab da auch ne weile dran geschraubt bis er das so gemacht hat wie ich mir das vorstelle. Wenn jmd ne PFsense hab helf ich da gerne weiter bei allen anderen Routern ist wohl Dr Google gefragt.

      Dann die Sache mit der direkten Datenübertragung ... klingt doch eigentlich interessant, man müsste dem Ding vermutlich nur signalisieren, das der MQTT Server die App ist und er Daten senden soll. Wobei die Diagramme da sind jetzt zumindest nicht direkt intuitiv.

      posted in ioBroker Allgemein
      A
      Anti
    • RE: PH-Messung

      Naja ich hab iobroker nicht. Hab hier nurgeschrieben, weil es das einzige Thema zu dem 803W war das ich finden konnte. Bei mir ist die MQTT in meiner Hausautomation eingebaut (IP-Symcon). Ich bin da auch nicht tief im Thema MQTT.

      Ja im 803W ist ein ESP drin. Aber den auszulesen und reverseengeneering ... naja also das mach ich nicht. Man könnte wenn man Lust hat noch mal schauen, ob das was der ESP am seriellen Anschluss bekommt quasi identisch ist mit dem was nacher im MQTT String steht, dann wär es ja recht simpel ein eigenes Programm auf das Ding zu flashen, das das eben dahin schickt, wo man es habrn will.

      Für mich ist die aktuelle Lösung gangbar. Allerdings wäre ich definitiv interessiert wenn jmd. das weiter analysiert.

      Gruß,
      Jan

      posted in ioBroker Allgemein
      A
      Anti
    • RE: PH-Messung

      Ok ich habs hinbekommen. Folgendes Vorgehen:

      1. Das Teil ins Netz einbuchen siehe oben.
      2. Die IP 10.0.73.16 "umbiegen" das Sie auf euren MQTT Server zeigt
      3. Bei mir hat er das Thema: dev2app/GveJm1SDYBZDwYb2MRaraO angelegt
      4. Der Inhalt ist BIN.

      Die Interessanten Werte:
      Stelle 20/21 HighByte PH 22/23 Low Byte PH das Ergebniss durch 100
      Stelle 24/25 HighByte Redox 26/27 Low Byte Redox das Ergebniss minus 2000

      Das einzige was sich noch änderte war Stelle 18/19 vielleicht der Relay Status.

      Hier mein PHP Code zur Auswertung (GetValue / SetValue gehört zu meiner Hausautzomation)

      $a = GetValue (48525);
      $v = bin2hex ( $a );
      
      //$b = GetValue (39583);
      //SetValue (39583,$b .PHP_EOL. $v);
      
      $redox =  (hexdec (substr ($v, 24,2)) *256 + hexdec (substr ($v, 26,2)) ) - 2000;
      $ph    =  (hexdec (substr ($v, 20,2)) *256 + hexdec (substr ($v, 22,2)) ) / 100;
      
      SetValue (15804, $ph);
      SetValue (47325, $redox);
      
      posted in ioBroker Allgemein
      A
      Anti
    • RE: PH-Messung

      @dala Thx for your research. Well I tried as well, but stuck at the moment. Came to the same conclusion. Something serial seems to going on inside. And the traffic from device, well i tried to redirect but at the moment unsuccessfull. It seems the device talk to that IP not to dns (what is with my router more easy to redirect). Well somehow i captured one connection try:

      12.03.2021, 22:16:44 | RECEIVED [10.0.73.16:15872] | <DLE>H<NUL><ACK>MQIsdp<ETX>�<NUL>x<NUL><SYN>GveJm1SDYBZDwYb2MRaraO<NUL><SYN>GveJm1SDYBZDwYb2MRaraO<NUL><LF>SUYJJGWHGV

      12.03.2021, 22:16:44 | RECEIVED [10.0.73.16:15872] | 10 48 00 06 4D 51 49 73 64 70 03 C2 00 78 00 16 47 76 65 4A 6D 31 53 44 59 42 5A 44 77 59 62 32 4D 52 61 72 61 4F 00 16 47 76 65 4A 6D 31 53 44 59 42 5A 44 77 59 62 32 4D 52 61 72 61 4F 00 0A 53 55 59 4A 4A 47 57 48 47 56
      

      My goal is only to get the Values out of the device (without Cloud).

      Ok I switch to german for the other guys, here is a connection procedure for IOS:

      App Gizwits - das ist wohl mehr so allgemein für IOT Sachen, das Ding scheint aber damit erstellt worden zu sein
      Add Device per Softap Config
      nun die WLan Daten
      Bei Prefix: XPG-GAgent
      Typ ESP
      Iphone zu dem XPG... Netz verbinden ... PW: 123456789

      Ab jetzt verbindet sich das Ding mit eurem Netz, wird in der App aber nicht angezeigt.

      Gruß,
      Jan

      posted in ioBroker Allgemein
      A
      Anti
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo