upgrade auf logocontrol 0.5

Willkommen Foren LogoControl upgrade auf logocontrol 0.5

15 Beiträge anzeigen - 1 bis 15 (von insgesamt 15)
  • Autor
    Beiträge
  • #2728
    spacewalker
    Teilnehmer

    Hallo!

    Ist es notwendig logocontrol komplett neu zu installieren, oder genügt es die „LogoControl.exe“
    auf die neue 0.5 auszutauschen.

    #2735
    admin
    Administrator

    Hi, momentan gibt es LogoControl 0.5 noch nicht zum download, ist aber für dieses Wochenende geplant. Außerdem muss ich die Dokumentation noch auf den neuesten Stand bringen, da sie sonst nicht mit der 0.5er Version konsistent ist. Fürs Update reicht es aber aus das Zip/Tar-Archiv komplett zu entpacken und die Dateien im Zielordner damit zu überschreiben (keine Sorge, deine config.xml wird dabei nicht überschrieben, ist im Archiv nicht enthalten). Also direkt in deinem Home-Verzeichnis wie schon bei der ersten Installation:

    tar -zxvf logocontrol-pi-x.x.x.tgz

    Anschließend beginnt aber der kritischere Teil: du musst deine config.xml fit für die 0.5er Version machen, da sonst LogoControl nicht mehr startet. Wenn das abgeschlossen ist einfach LogoControl neu starten (killall mono) oder deinen Pi neu booten (sudo reboot).

    #2738
    spacewalker
    Teilnehmer

    OK, alles klar DANKE!

    #2785
    virility
    Teilnehmer

    Moin,

    habe versucht das Upgrade zu machen.

    Die Config ist nach Anleitung angepasst worden, jedoch startet LogoControl nicht.
    Versuche ich es manuell per SSH, bekomme ich folgenden Fehler:

    Das Log sagt folgendes:
    pi@/home/pi/LogoControl/start.sh
    Fehler beim Laden der config.xml: Invalid start element: :valueText

    Für weitere Details prüfen Sie bitte das Logofile unter /tmp/LogoControl.log
    2016-04-05 18:55:14 Service crashed with exit code 255. Restarting…

    05.04.2016 18:44:29: Fehler beim Laden der config.xml: Invalid start element: :valueText
    System.Xml.Schema.XmlSchemaValidationException: Invalid start element: :valueText
    at System.Xml.XmlReaderSettings.OnValidationError (System.Object o, System.Xml.Schema.ValidationEventArgs e) [0x00000] in <filename unknown>:0
    at Mono.Xml.Schema.XmlSchemaValidatingReader+<XmlSchemaValidatingReader>c__AnonStorey0.<>m__1 (System.Object o, System.Xml.Schema.ValidationEventArgs e) [0x00000] in <filename unknown>:0
    at System.Xml.Schema.XmlSchemaValidator.HandleError (System.Xml.Schema.XmlSchemaValidationException exception, Boolean isWarning) [0x00000] in <filename unknown>:0
    at System.Xml.Schema.XmlSchemaValidator.HandleError (System.String message, System.Exception innerException, Boolean isWarning) [0x00000] in <filename unknown>:0
    at System.Xml.Schema.XmlSchemaValidator.HandleError (System.String message) [0x00000] in <filename unknown>:0
    at System.Xml.Schema.XmlSchemaValidator.ValidateStartElementParticle (System.String localName, System.String ns) [0x00000] in <filename unknown>:0
    at System.Xml.Schema.XmlSchemaValidator.AssessOpenStartElementSchemaValidity (System.String localName, System.String ns) [0x00000] in <filename unknown>:0
    at System.Xml.Schema.XmlSchemaValidator.ValidateElement (System.String localName, System.String namespaceUri, System.Xml.Schema.XmlSchemaInfo schemaInfo, System.String xsiType, System.String xsiNil, System.String xsiSchemaLocation, System.String xsiNoNamespaceSchemaLocation) [0x00000] in <filename unknown>:0
    at Mono.Xml.Schema.XmlSchemaValidatingReader.Read () [0x00000] in <filename unknown>:0
    at System.Xml.XmlDocument.Validate (System.Xml.Schema.ValidationEventHandler handler, System.Xml.XmlNode node, XmlSchemaValidationFlags flags) [0x00000] in <filename unknown>:0
    at System.Xml.XmlDocument.Validate (System.Xml.Schema.ValidationEventHandler validationEventHandler) [0x00000] in <filename unknown>:0
    at LogoControl.DataModel.Configuration.ValidateXml (System.Xml.XmlDocument xdoc) [0x00000] in <filename unknown>:0
    at LogoControl.DataModel.Configuration.LoadFromXmlString (System.String xmlString) [0x00000] in <filename unknown>:0
    at LogoControl.Controller.Start () [0x00000] in <filename unknown>:0
    (no inner exception)

    Kann damit nichts anfangen…..ab die XML jetzt mehrfach überprüft und mit verschiedenen Programmen erstellt…?!
    Hast du eine Ahnung?

    #2786
    admin
    Administrator

    Kannst du bitte deine config.xml mal hier posten? Ansonsten, wenn du etwas mit XML-Validierung mit XML-Schema anfangen kannst, hier ist die XSD zur config.xml: config.xsd

    #2791
    spacewalker
    Teilnehmer

    Hallo!
    Bei mir startete die logocontrol anfangs auch nicht.
    Ich erstetzte wie Admin es beschreibt diese Zeilen
    <attribute id=“1″ name=“state“ address=“106″ datatype=“dword“>
    <valuetext value=“0″ text=“geschlossen“ />
    <valuetext value=“1″ text=“mittel“ />
    <valuetext value=“2″ text=“offen“ />
    </attribute>
    gegen diese Eine
    <attribute id=“1″ name=“state“ address=“106″ datatype=“dword“ valueTextConverter=“rollo“ />
    Ebenso das Setting in angepasster Form
    <settings>
    <plc id=“1″ type=“Logo7″ ip=“0.0.0.0″ />
    <httpWebservice port=“8088″ />
    <httpsWebservice port=“8080″ username=““ passwordHash=““ hashSalt=““ />
    <valueTextConverter>
    <!– Verschiedene Konverter zur Überführung von Value (ganzzahliger Rohwert aus der Logo) in ValueText (Anzeigewert für den Benutzer) –>
    <textMapping id=“an_aus“>
    <!– Einfaches Text-Mapping für aus (0) und an (1) –>
    <valueText value=“0″ text=“aus“ />
    <valueText value=“1″ text=“an“ />
    </textMapping>
    <textMapping id=“rollo“>
    <!– Einfaches Text-Mapping für Rolläden –>
    <valueText value=“0″ text=“geschlossen“ />
    <valueText value=“1″ text=“mittel“ />
    <valueText value=“2″ text=“offen“ />
    </textMapping>
    <textMapping id=“auf_zu“>
    <valueText value=“0″ text=“zu“ />
    <valueText value=“1″ text=“auf“ />
    </textMapping>
    <calculation id=“minsec“>
    <!– Analogwert zu/von Zeitwert (Bsp: 4873 zu 81:13) –>
    <valueToText calculation=“{Floor([value]/60)}:{if([value]%60>9,“,’0′)}{[value]%60}“ />
    <textToValue valueParseRegex=“(\d+):(\d+)“ calculation=“{[value1]*60+[value2]}“ />
    </calculation>
    <calculation id=“time“>
    <!– Analogwert zu/von Uhrzeit (4873 zu 13:09) –>
    <valueToText calculation=“{Floor(LogoDec2Hex([value])/100)}:{if(LogoDec2Hex([value])%100>9,“,’0′)}{LogoDec2Hex([value])%100}“ />
    <textToValue valueParseRegex=“(\d+):(\d+)“ calculation=“{LogoHex2Dec([value1]*100+[value2])}“ />
    </calculation>
    </valueTextConverter>
    </settings>

    Danach lief alles bestens

    #2792
    virility
    Teilnehmer

    Meine Valuetexte sind etwas länger, da ich über die Laufzeit der Rollläden die aktuelle Position bestimme (4 verschieden lange Rollläden = 4 unterschiedlich zu bestimmende Laufzeiten). In der alten Version funktionierte das wunderbar.

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <settings>
        <plc id="1" type="Logo7" ip="192.168.178.100" />
        <httpWebservice port="8088" />
        <valueTextConverter>
          <textMapping id="TT">
            <valueText value="0" text="0%" />
            <valueText value="1" text="0%" />
            <valueText value="2" text="4%" />
            <valueText value="3" text="8%" />
            <valueText value="4" text="11%" />
            <valueText value="5" text="13%" />
            <valueText value="6" text="16%" />
            <valueText value="7" text="19%" />
            <valueText value="8" text="22%" />
            <valueText value="9" text="24%" />
            <valueText value="10" text="27%" />
            <valueText value="11" text="30%" />
            <valueText value="12" text="32%" />
            <valueText value="13" text="35%" />
            <valueText value="14" text="38%" />
            <valueText value="15" text="40%" />
            <valueText value="16" text="43%" />
            <valueText value="17" text="46%" />
            <valueText value="18" text="48%" />
            <valueText value="19" text="51%" />
            <valueText value="20" text="54%" />
            <valueText value="21" text="57%" />
            <valueText value="22" text="60%" />
            <valueText value="23" text="62%" />
            <valueText value="24" text="65%" />
            <valueText value="25" text="67%" />
            <valueText value="26" text="70%" />
            <valueText value="27" text="73%" />
            <valueText value="28" text="75%" />
            <valueText value="29" text="78%" />
            <valueText value="30" text="81%" />
            <valueText value="31" text="84%" />
            <valueText value="32" text="86%" />
            <valueText value="33" text="89%" />
            <valueText value="34" text="92%" />
            <valueText value="35" text="94%" />
            <valueText value="36" text="97%" />
            <valueText value="37" text="100%" />
          </textMapping>
          <textMapping id="SF">
            <valueText value="0" text="0%" />
            <valueText value="1" text="5%" />
            <valueText value="2" text="9%" />
            <valueText value="3" text="14%" />
            <valueText value="4" text="18%" />
            <valueText value="5" text="23%" />
            <valueText value="6" text="27%" />
            <valueText value="7" text="32%" />
            <valueText value="8" text="36%" />
            <valueText value="9" text="41%" />
            <valueText value="10" text="45%" />
            <valueText value="11" text="50%" />
            <valueText value="12" text="55%" />
            <valueText value="13" text="59%" />
            <valueText value="14" text="64%" />
            <valueText value="15" text="68%" />
            <valueText value="16" text="73%" />
            <valueText value="17" text="77%" />
            <valueText value="18" text="82%" />
            <valueText value="19" text="86%" />
            <valueText value="20" text="91%" />
            <valueText value="21" text="95%" />
            <valueText value="22" text="100%" />
          </textMapping>
          <textMapping id="KF">
            <valueText value="0" text="0%" />
            <valueText value="1" text="5%" />
            <valueText value="2" text="10%" />
            <valueText value="3" text="15%" />
            <valueText value="4" text="20%" />
            <valueText value="5" text="25%" />
            <valueText value="6" text="30%" />
            <valueText value="7" text="35%" />
            <valueText value="8" text="40%" />
            <valueText value="9" text="45%" />
            <valueText value="10" text="50%" />
            <valueText value="11" text="55%" />
            <valueText value="12" text="60%" />
            <valueText value="13" text="65%" />
            <valueText value="14" text="70%" />
            <valueText value="15" text="75%" />
            <valueText value="16" text="80%" />
            <valueText value="17" text="85%" />
            <valueText value="18" text="90%" />
            <valueText value="19" text="95%" />
            <valueText value="20" text="100%" />
          </textMapping>
          <textMapping id="WcF">
            <valueText value="0" text="0%" />
            <valueText value="1" text="6%" />
            <valueText value="2" text="11%" />
            <valueText value="3" text="17%" />
            <valueText value="4" text="22%" />
            <valueText value="5" text="28%" />
            <valueText value="6" text="33%" />
            <valueText value="7" text="39%" />
            <valueText value="8" text="44%" />
            <valueText value="9" text="50%" />
            <valueText value="10" text="56%" />
            <valueText value="11" text="61%" />
            <valueText value="12" text="67%" />
            <valueText value="13" text="72%" />
            <valueText value="14" text="78%" />
            <valueText value="15" text="83%" />
            <valueText value="16" text="89%" />
            <valueText value="17" text="94%" />
            <valueText value="18" text="100%" />
          </textMapping>
          <calculation id="time">
            <!-- Analogwert zu/von Uhrzeit (4873 zu 13:09) -->
            <valueToText calculation="{Floor(LogoDec2Hex([value])/100)}:{if(LogoDec2Hex([value])%100>9,'','0')}{LogoDec2Hex([value])%100}" />
            <textToValue valueParseRegex="(\d+):(\d+)" calculation="{LogoHex2Dec([value1]*100+[value2])}" />
          </calculation>
        </valueTextConverter>
      </settings>
      <infrastructure>
        <group name="Steuerung">
          <group name="Rollläden">
            <device id="1" name="Terrassentür Links" type="shutter">
              <attribute id="1" name="Terrassentür Links" address="10" datatype="dword" valueTextConverter="TT"></attribute>
              <method id="1" name="open" address="1.1" />
              <method id="2" name="close" address="1.0" />
            </device>
            <device id="2" name="Terrassentür Rechts" type="shutter">
              <attribute id="1" name="Terrassentür Rechts" address="20" datatype="dword" valueTextConverter="TT"></attribute>
              <method id="1" name="open" address="2.1" />
              <method id="2" name="close" address="2.0" />
            </device>
            <device id="3" name="Essbereich" type="shutter">
              <attribute id="1" name="Essbereich" address="30" datatype="dword" valueTextConverter="SF"></attribute>
              <method id="1" name="open" address="3.1" />
              <method id="2" name="close" address="3.0" />
            </device>
            <device id="4" name="Küche" type="shutter">
              <attribute id="1" name="Küche" address="40" datatype="dword" valueTextConverter="KF"></attribute>
              <method id="1" name="open" address="4.1" />
              <method id="2" name="close" address="4.0" />
            </device>
            <device id="5" name="Gäste WC" type="shutter">
              <attribute id="1" name="Gäste WC" address="50" datatype="dword" valueTextConverter="WcF"></attribute>
              <method id="1" name="open" address="5.1" />
              <method id="2" name="close" address="5.0" />
            </device>
            <device id="6" name="Arbeitszimmer" type="shutter">
              <attribute id="1" name="Arbeitszimmer" address="60" datatype="dword" valueTextConverter="SF"></attribute>
              <method id="1" name="open" address="6.1" />
              <method id="2" name="close" address="6.0" />
            </device>
            <device id="7" name="Schlafzimmer" type="shutter">
              <attribute id="1" name="Schlafzimmer" address="70" datatype="dword" valueTextConverter="SF"></attribute>
              <method id="1" name="open" address="7.1" />
              <method id="2" name="close" address="7.0" />
            </device>
            <device id="8" name="Studio" type="shutter">
              <attribute id="1" name="Studio" address="80" datatype="dword" valueTextConverter="SF"></attribute>
              <method id="1" name="open" address="8.1" />
              <method id="2" name="close" address="8.0" />
            </device>
            <device id="9" name="Zentralsteuerung" type="shutter">
              <attribute id="1" name="ALLE" address="0" datatype="dword"></attribute>
              <method id="1" name="open" address="134.1" />
              <method id="2" name="close" address="134.0" />
            </device>
          </group>
          <group name="Automatik">
            <device id="10" name="Schlafzimmer" type="shutter">
              <attribute id="1" name="Schlafzimmer" address="700" datatype="dword">
                <valueText value="0" text="0" />
                <valueText value="1" text="1" />
              </attribute>
              <method id="1" name="An/Aus" address="7.2" />
            </device>
            <device id="11" name="Arbeitszimmer" type="shutter">
              <attribute id="1" name="Arbeitszimmer" address="600" datatype="dword">
                <valueText value="0" text="0" />
                <valueText value="1" text="1" />
              </attribute>
              <method id="1" name="An/Aus" address="6.2" />
            </device>
            <device id="12" name="Zeitschaltuhr" type="shutter">
              <attribute id="1" name="Zeitschaltuhr" address="847" datatype="dword">
                <valueText value="0" text="0" />
                <valueText value="1" text="1" />
              </attribute>
              <method id="1" name="An/Aus" address="9.1" />
            </device>
          </group>
        </group>
      </infrastructure>
    </configuration>
    • Diese Antwort wurde vor vor 8 Jahren, 1 Monat von virility bearbeitet.
    #2794
    virility
    Teilnehmer

    Da waren doch noch Fehler drin…

    Es darf nicht

    
    <attribute id="1" name="Terrassentür Rechts" address="20" datatype="dword" valueTextConverter="TT"></attribute>

    heißen, sondern:

    <attribute id="1" name="Terrassentür Rechts" address="20" datatype="dword" valueTextConverter="TT" />

    Zudem waren ganz unten die ValueTexts nicht richtig definiert….mit der XSD konnte ich die Fehler ausmerzen! DANKE

    #2795
    admin
    Administrator

    Du hast unten im „infrastructure“ Bereich noch valueText Elemente stehen. Im „infrastructure“ Block sind diese aber nicht mehr erlaubt, sprich du musst für diese oben im „settings“ Block entsprechende textMappings anlegen und unten bei deinen „attribute“ Elementen auf diese verweisen. Bzw. diese valueText Elemente sind doch eigentlich eh überflüssig, da sie nur 0 in 0 und 1 in 1 konvertieren?!

    #2796
    spacewalker
    Teilnehmer

    Bin mir jetzt nicht sicher, aber das </attribute>
    <attribute id=“1″ name=“Essbereich“ address=“30″ datatype=“dword“ valueTextConverter=“SF“></attribute>
    am Ende deiner Zeilen hab ich nicht stehen.
    Bin auch keine Programmierer, kupfere mir auch alles zusammen.

    #2798
    admin
    Administrator

    @virility
    Ah hab gerade gesehen, dass du kurz vor meiner Antwort selber schon drauf gekommen bist. Vielleicht verlinke ich das XSD doch noch in der Migrationsanleitung. Die meisten können zwar damit nichts anfangen, aber dir scheints ja geholfen zu haben 🙂


    @spacewalker

    In XML gibt es 2 Möglichkeiten ein Element zu schließen:

    Entweder öffnendes und schließendes Tag als Paar:
    <Element bla="test" bla2="test"></Element>

    oder beides in einem mit dem Slash am Ende:
    <Element bla="test" bla2="test" />

    Beide Varianten sind korrekt. Da das <attribute> Tag bei LogoControl eh keinen Content haben darf, bietet sich hier die kurze Schreibweise an. Bei der ausführlichen Variante mit öffnendem und schließenden <attribute> muss man nur darauf achten, dass nichts dazwischen steht (auch kein Zeilenumbruch oder Leerzeichen), da es sonst als Content gewertet wird, welcher ja beim <attribute> in LogoControl nicht zulässig ist.

    #2813
    virility
    Teilnehmer

    @Admin:
    Ich hatte erstmal auch keine Ahnung was ich mit der XSD machen soll, nach 2-3 min lesen hab ich es dann aber verstanden. Ein gewisses Grundwissen war zumindest schon da.

    Die neue Logocontrol funktioniert astrein!

    Ich benutzte Sie für meine Außenrollläden und kann jetzt alle Späße machen, die ich haben wollte:
    – alle RL einzeln ansteuern
    – alle RL gemeinsam ansteuern
    – Zeitschaltuhr de-/aktivieren und die Nocken via App bearbeiten
    – partielle Abschaltung der Zeitschaltuhr für das Schlaf- und Gästezimmer

    Wie immer: EIN RIESENGROSSES DANKE für deine Mühen!

    • Diese Antwort wurde vor vor 8 Jahren, 1 Monat von virility bearbeitet.
    #2834
    magcon
    Teilnehmer

    Hallo

    Erstmals Danke für deine geniale Idee und dein Engagement!!!
    Habe nun von V0.4.x auf V0.5.1 upgradet. Nun will logocontrol nicht mehr starten. In der Log-Datei steht folgendes:

    19/04/2016 16:41:45: Fehler beim Laden der config.xml: Failed to read typed value. Related schema item SourceUri: , Line 80, Position 7.
    System.Xml.Schema.XmlSchemaValidationException: Failed to read typed value. Related schema item SourceUri: , Line 80, Position 7. —> System.Xml.Schema.XmlSchemaValidationException: Two or more identical field was found. Related schema item SourceUri: , Line 80, Position 7.
    at Mono.Xml.Schema.XsdKeyEntryField.FillAttributeFieldValue (System.Object sender, System.Xml.XmlNameTable nameTable, System.String sourceUri, System.Object schemaType, IXmlNamespaceResolver nsResolver, System.Object identity, IXmlLineInfo lineInfo, Int32 depth) [0x00000] in <filename unknown>:0
    — End of inner exception stack trace —
    at Mono.Xml.Schema.XsdKeyEntryField.FillAttributeFieldValue (System.Object sender, System.Xml.XmlNameTable nameTable, System.String sourceUri, System.Object schemaType, IXmlNamespaceResolver nsResolver, System.Object identity, IXmlLineInfo lineInfo, Int32 depth) [0x00000] in <filename unknown>:0
    at Mono.Xml.Schema.XsdKeyEntryField.Matches (Boolean matchesAttr, System.Object sender, System.Xml.XmlNameTable nameTable, System.Collections.ArrayList qnameStack, System.String sourceUri, System.Object schemaType, IXmlNamespaceResolver nsResolver, IXmlLineInfo lineInfo, Int32 depth, System.String attrName, System.String attrNS, System.Object attrValue) [0x00000] in <filename unknown>:0
    at Mono.Xml.Schema.XsdKeyEntry.ProcessMatch (Boolean isAttribute, System.Collections.ArrayList qnameStack, System.Object sender, System.Xml.XmlNameTable nameTable, System.String sourceUri, System.Object schemaType, IXmlNamespaceResolver nsResolver, IXmlLineInfo li, Int32 depth, System.String attrName, System.String attrNS, System.Object attrValue, Boolean isXsiNil, System.Collections.ArrayList currentKeyFieldConsumers) [0x00000] in <filename unknown>:0
    at System.Xml.Schema.XmlSchemaValidator.ValidateKeyFields (Boolean isAttr, Boolean isNil, System.Object schemaType, System.String attrName, System.String attrNs, System.Object value) [0x00000] in <filename unknown>:0
    System.Xml.Schema.XmlSchemaValidationException: Two or more identical field was found. Related schema item SourceUri: , Line 80, Position 7.
    at Mono.Xml.Schema.XsdKeyEntryField.FillAttributeFieldValue (System.Object sender, System.Xml.XmlNameTable nameTable, System.String sourceUri, System.Object schemaType, IXmlNamespaceResolver nsResolver, System.Object identity, IXmlLineInfo lineInfo, Int32 depth) [0x00000] in <filename unknown>:0

    Meine config.xml sieht wie folgt aus:

    <?xml version=“1.0″ encoding=“utf-8″?>
    <configuration>
    <settings>
    <plc id=“UG“ type=“Logo8″ ip=“192.168.10.150″ />
    <plc id=“EG“ type=“Logo8″ ip=“192.168.10.151″ />
    <plc id=“OG“ type=“Logo8″ ip=“192.168.10.152″ />
    <tcpService port=“55000″ />
    <httpWebservice port=“8088″ />
    <httpsWebservice port=“8080″ username=““ passwordHash=““ hashSalt=““ />
    <valueTextConverter>
    <textMapping id=“homestatus“>
    <valueText value=“0″ text=“anwesend“ />
    <valueText value=“1″ text=“abwesend“ />
    </textMapping>
    <textMapping id=“OnOff“>
    <valueText value=“0″ text=“aus“ />
    <valueText value=“1″ text=“ein“ />
    </textMapping>
    <textMapping id=“wpstatus“>
    <valueText value=“0″ text=“n.a.“ />
    <valueText value=“1″ text=“heizen“ />
    <valueText value=“2″ text=“reduziert“ />
    <valueText value=“3″ text=“standby“ />
    <valueText value=“4″ text=“Automatik WP“ />
    </textMapping>
    <textMapping id=“jal“>
    <valueText value=“0″ text=“n.a.“ />
    <valueText value=“1″ text=“offen“ />
    <valueText value=“2″ text=“geschlossen“ />
    <valueText value=“3″ text=“Beschattung“ />
    <valueText value=“4″ text=“undefiniert“ />
    </textMapping>
    </valueTextConverter>
    </settings>
    <infrastructure>
    <group name=“Allgemein“>
    <group name=“Zentral“>
    <device id=“1″ name=“Anwesenheit“ type=“light“>
    <attribute id=“1″ name=“Status“ plc=“EG“ address=“NI1″ datatype=“bit“ valueTextConverter=“homestatus“ />
    <method id=“1″ name=“AnAbwesend“ plc=“EG“ address=“NI1″ />
    </device>
    <device id=“2″ name=“Betriebsart Wärmepumpe“ >
    <attribute id=“1″ name=“Status“ plc=“OG“ address=“NAQ5″ datatype=“word“ valueTextConverter=“wpstatus“ />
    </device>
    </group>
    <group name=“Wetterstation“>
    <device id=“3″ name=“Helligkeit Ost“ >
    <attribute id=“1″ name=“LUXost“ plc=“EG“ address=“NAI1″ datatype=“word“ gain=“1.0″ />
    </device>
    <device id=“4″ name=“Helligkeit Süd“ >
    <attribute id=“1″ name=“LUXsued“ plc=“EG“ address=“NAI2″ datatype=“word“ gain=“1.0″ />
    </device>
    <device id=“5″ name=“Helligkeit West“ >
    <attribute id=“1″ name=“LUXwest“ plc=“EG“ address=“NAI3″ datatype=“word“ gain=“1.0″ />
    </device>
    <device id=“6″ name=“Dämmerung“ >
    <attribute id=“1″ name=“Daemm“ plc=“EG“ address=“NI3″ datatype=“bit“ />
    </device>
    <device id=“7″ name=“Windgeschwindigkeit“ >
    <attribute id=“1″ name=“windspeed“ plc=“EG“ address=“NAI5″ datatype=“word“ gain=“1.0″ />
    </device>
    <device id=“8″ name=“Aussentemperatur“ >
    <attribute id=“1″ name=“TOa“ plc=“EG“ address=“NAI6″ datatype=“word“ gain=“1.0″ />
    </device>
    </group>
    <group name=“Jalousielogik“>
    <device id=“9″ name=“Auto AB Ost“ >
    <attribute id=“1″ name=“ABOst“ plc=“EG“ address=“NQ4″ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    <device id=“10″ name=“Auto AB Süd“ >
    <attribute id=“1″ name=“ABSued“ plc=“EG“ address=“NQ5″ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    <device id=“11″ name=“Auto AB West“ >
    <attribute id=“1″ name=“ABWest“ plc=“EG“ address=“NQ6″ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    <device id=“12″ name=“Reset man. Betrieb“ >
    <attribute id=“1″ name=“Status“ plc=“EG“ address=“NI2″ datatype=“bit“ valueTextConverter=“OnOff“ />
    <method id=“1″ name=“Freigabe“ plc=“EG“ address=“NI2″ />
    </device>
    </group>
    </group>
    <group name=“EG“>
    <group name=“Entree“>
    <device id=“13″ name=“Licht“ type=“light“>
    <attribute id=“1″ name=“Status“ plc=“EG“ address=“Q1″ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    </group>
    <group name=“Büro“>
    <device id=“14″ name=“Raumtemperatur“>
    <attribute id=“1″ name=“TR“ plc=“UG“ address=“AI1″ datatype=“word“ gain=“0.25″ offset=“-50″ />
    </device>
    <device id=“15″ name=“Sollwert Nacht/Abwes.“>
    <attribute id=“1″ name=“SpV2″ plc=“UG“ address=“42″ datatype=“word“ gain=“0.1″ offset=“0″ />
    </device>
    <device id=“16″ name=“Sollwert Tag“>
    <attribute id=“1″ name=“SpV3″ plc=“UG“ address=“44″ datatype=“word“ gain=“0.1″ offset=“0″ />
    </device>
    <device id=“17″ name=“Wirkender Sollwert“>
    <attribute id=“1″ name=“SpEff“ plc=“UG“ address=“8″ datatype=“word“ gain=“0.1″ />
    </device>
    <device id=“18″ name=“Ventilstellung“>
    <attribute id=“1″ name=“YCtrl“ plc=“UG“ address=“10″ datatype=“word“ gain=“0.1″ />
    </device>
    <device id=“19″ name=“Jalousie“>
    <attribute id=“1″ name=“Status“ plc=“EG“ address=“NAQ6″ datatype=“word“ valueTextConverter=“jal“ />
    </device>
    </group>
    <group name=“Küche“>
    <device id=“20″ name=“Licht“ type=“light“>
    <attribute id=“1″ name=“Status“ plc=“EG“ address=“Q2″ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    <device id=“21″ name=“Jalousie“>
    <attribute id=“1″ name=“Status“ plc=“EG“ address=“NAQ1″ datatype=“word“ valueTextConverter=“jal“ />
    </device>
    </group>
    <group name=“Wohnen“>
    <device id=“22″ name=“Licht Esstisch“ type=“light“>
    <attribute id=“1″ name=“Status“ plc=“EG“ address=“Q3″ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    <device id=“23″ name=“Licht Wohnen“ type=“light“>
    <attribute id=“1″ name=“Status“ plc=“EG“ address=“Q4″ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    <device id=“24″ name=“Licht Wohnen Wand“ type=“light“>
    <attribute id=“1″ name=“Status“ plc=“EG“ address=“Q5″ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    <device id=“25″ name=“Raumtemperatur“>
    <attribute id=“1″ name=“TR“ plc=“UG“ address=“AI2″ datatype=“word“ gain=“0.25″ offset=“-50″ />
    </device>
    <device id=“26″ name=“Sollwert Nacht/Abwes.“>
    <attribute id=“1″ name=“SpV2″ plc=“UG“ address=“48″ datatype=“word“ gain=“0.1″ offset=“0″ />
    </device>
    <device id=“27″ name=“Sollwert Tag“>
    <attribute id=“1″ name=“SpV3″ plc=“UG“ address=“50″ datatype=“word“ gain=“0.1″ offset=“0″ />
    </device>
    <device id=“28″ name=“Wirkender Sollwert“>
    <attribute id=“1″ name=“SpEff“ plc=“UG“ address=“16″ datatype=“word“ gain=“0.1″ />
    </device>
    <device id=“29″ name=“Ventilstellung“>
    <attribute id=“1″ name=“YCtrl“ plc=“UG“ address=“18″ datatype=“word“ gain=“0.1″ />
    </device>
    <device id=“30″ name=“Jalousie süd links“>
    <attribute id=“1″ name=“Status“ plc=“EG“ address=“NAQ3″ datatype=“word“ valueTextConverter=“jal“ />
    </device>
    <device id=“31″ name=“Jalousie süd Mitte“>
    <attribute id=“1″ name=“Status“ plc=“EG“ address=“NAQ4″ datatype=“word“ valueTextConverter=“jal“ />
    </device>
    <device id=“32″ name=“Jalousie süd rechts“>
    <attribute id=“1″ name=“Status“ plc=“EG“ address=“NAQ5″ datatype=“word“ valueTextConverter=“jal“ />
    </device>
    <device id=“33″ name=“Jalousie west“>
    <attribute id=“1″ name=“Status“ plc=“EG“ address=“NAQ2″ datatype=“word“ valueTextConverter=“jal“ />
    </device>
    </group>
    <group name=“Aussen“>
    <device id=“34″ name=“Licht Wand süd“ type=“light“>
    <attribute id=“1″ name=“Status“ plc=“EG“ address=“Q6″ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    <device id=“35″ name=“Licht Spot süd“ type=“light“>
    <attribute id=“1″ name=“Status“ plc=“EG“ address=“Q8″ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    <device id=“36″ name=“Licht Carport“ type=“light“>
    <attribute id=“1″ name=“Status“ plc=“EG“ address=“Q7″ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    </group>
    </group>
    <group name=“OG“>
    <group name=“Kinderbad“>
    <device id=“37″ name=“Raumtemperatur“>
    <attribute id=“1″ name=“TR“ plc=“UG“ address=“AI3″ datatype=“word“ gain=“0.25″ offset=“-50″ />
    </device>
    <device id=“38″ name=“Sollwert Nacht/Abwes.“>
    <attribute id=“1″ name=“SpV2″ plc=“UG“ address=“54″ datatype=“word“ gain=“0.1″ offset=“0″ />
    </device>
    <device id=“39″ name=“Sollwert Tag“>
    <attribute id=“1″ name=“SpV3″ plc=“UG“ address=“56″ datatype=“word“ gain=“0.1″ offset=“0″ />
    </device>
    <device id=“40″ name=“Wirkender Sollwert“>
    <attribute id=“1″ name=“SpEff“ plc=“UG“ address=“24″ datatype=“word“ gain=“0.1″ />
    </device>
    <device id=“41″ name=“Ventilstellung“>
    <attribute id=“1″ name=“YCtrl“ plc=“UG“ address=“26″ datatype=“word“ gain=“0.1″ />
    </device>
    </group>
    <group name=“Gästezimmer Zi.1″>
    <device id=“42″ name=“Raumtemperatur“>
    <attribute id=“1″ name=“TR“ plc=“UG“ address=“AI4″ datatype=“word“ gain=“0.25″ offset=“-50″ />
    </device>
    <device id=“43″ name=“Sollwert Nacht/Abwes.“>
    <attribute id=“1″ name=“SpV2″ plc=“UG“ address=“60″ datatype=“word“ gain=“0.1″ offset=“0″ />
    </device>
    <device id=“44″ name=“Sollwert Tag“>
    <attribute id=“1″ name=“SpV3″ plc=“UG“ address=“62″ datatype=“word“ gain=“0.1″ offset=“0″ />
    </device>
    <device id=“45″ name=“Wirkender Sollwert“>
    <attribute id=“1″ name=“SpEff“ plc=“UG“ address=“32″ datatype=“word“ gain=“0.1″ />
    </device>
    <device id=“46″ name=“Ventilstellung“>
    <attribute id=“1″ name=“YCtrl“ plc=“UG“ address=“34″ datatype=“word“ gain=“0.1″ />
    </device>
    <device id=“47″ name=“Jalousie“>
    <attribute id=“1″ name=“Status“ plc=“OG“ address=“NAQ1″ datatype=“word“ valueTextConverter=“jal“ />
    </device>
    </group>
    <group name=“Kinderzimmer Mario Zi.2″>
    <device id=“48″ name=“Raumtemperatur“>
    <attribute id=“1″ name=“TR“ plc=“UG“ address=“AI5″ datatype=“word“ gain=“0.25″ offset=“-50″ />
    </device>
    <device id=“49″ name=“Sollwert Nacht/Abwes.“>
    <attribute id=“1″ name=“SpV2″ plc=“UG“ address=“66″ datatype=“word“ gain=“0.1″ offset=“0″ />
    </device>
    <device id=“50″ name=“Sollwert Tag“>
    <attribute id=“1″ name=“SpV3″ plc=“UG“ address=“68″ datatype=“word“ gain=“0.1″ offset=“0″ />
    </device>
    <device id=“51″ name=“Wirkender Sollwert“>
    <attribute id=“1″ name=“SpEff“ plc=“UG“ address=“12″ datatype=“word“ gain=“0.1″ />
    </device>
    <device id=“52″ name=“Ventilstellung“>
    <attribute id=“1″ name=“YCtrl“ plc=“OG“ address=“14″ datatype=“word“ gain=“0.1″ />
    </device>
    <device id=“53″ name=“Jalousie“>
    <attribute id=“1″ name=“Status“ plc=“OG“ address=“NAQ2″ datatype=“word“ valueTextConverter=“jal“ />
    </device>
    </group>
    <group name=“Kinderzimmer Laura Zi.3″>
    <device id=“54″ name=“Raumtemperatur“>
    <attribute id=“1″ name=“TR“ plc=“UG“ address=“AI6″ datatype=“word“ gain=“0.25″ offset=“-50″ />
    </device>
    <device id=“55″ name=“Sollwert Nacht/Abwes.“>
    <attribute id=“1″ name=“SpV2″ plc=“UG“ address=“72″ datatype=“word“ gain=“0.1″ offset=“0″ />
    </device>
    <device id=“56″ name=“Sollwert Tag“>
    <attribute id=“1″ name=“SpV3″ plc=“UG“ address=“74″ datatype=“word“ gain=“0.1″ offset=“0″ />
    </device>
    <device id=“57″ name=“Wirkender Sollwert“>
    <attribute id=“1″ name=“SpEff“ plc=“UG“ address=“20″ datatype=“word“ gain=“0.1″ />
    </device>
    <device id=“58″ name=“Ventilstellung“>
    <attribute id=“1″ name=“YCtrl“ plc=“UG“ address=“22″ datatype=“word“ gain=“0.1″ />
    </device>
    <device id=“59″ name=“Jalousie“>
    <attribute id=“1″ name=“Status“ plc=“OG“ address=“NAQ3″ datatype=“word“ valueTextConverter=“jal“ />
    </device>
    </group>
    <group name=“Eltern“>
    <device id=“60″ name=“Licht“ type=“light“>
    <attribute id=“1″ name=“Status“ plc=“OG“ address=“Q1″ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    <device id=“61″ name=“Raumtemperatur“>
    <attribute id=“1″ name=“TR“ plc=“UG“ address=“AI7″ datatype=“word“ gain=“0.25″ offset=“-50″ />
    </device>
    <device id=“62″ name=“Sollwert Nacht/Abwes.“>
    <attribute id=“1″ name=“SpV2″ plc=“UG“ address=“78″ datatype=“word“ gain=“0.1″ offset=“0″ />
    </device>
    <device id=“62″ name=“Sollwert Tag“>
    <attribute id=“1″ name=“SpV3″ plc=“UG“ address=“80″ datatype=“word“ gain=“0.1″ offset=“0″ />
    </device>
    <device id=“63″ name=“Wirkender Sollwert“>
    <attribute id=“1″ name=“SpEff“ plc=“UG“ address=“28″ datatype=“word“ gain=“0.1″ />
    </device>
    <device id=“64″ name=“Ventilstellung“>
    <attribute id=“1″ name=“YCtrl“ plc=“UG“ address=“30″ datatype=“word“ gain=“0.1″ />
    </device>
    <device id=“65″ name=“Jalousie“>
    <attribute id=“1″ name=“Status“ plc=“OG“ address=“NAQ4″ datatype=“word“ valueTextConverter=“jal“ />
    </device>
    </group>
    <group name=“Eltern Bad“>
    <device id=“66″ name=“Raumtemperatur“>
    <attribute id=“1″ name=“TR“ plc=“UG“ address=“AI8″ datatype=“word“ gain=“0.25″ offset=“-50″ />
    </device>
    <device id=“67″ name=“Sollwert Nacht/Abwes.“>
    <attribute id=“1″ name=“SpV2″ plc=“UG“ address=“84″ datatype=“word“ gain=“0.1″ offset=“0″ />
    </device>
    <device id=“68″ name=“Sollwert Tag“>
    <attribute id=“1″ name=“SpV3″ plc=“UG“ address=“86″ datatype=“word“ gain=“0.1″ offset=“0″ />
    </device>
    <device id=“69″ name=“Wirkender Sollwert“>
    <attribute id=“1″ name=“SpEff“ plc=“UG“ address=“36″ datatype=“word“ gain=“0.1″ />
    </device>
    <device id=“70″ name=“Ventilstellung“>
    <attribute id=“1″ name=“YCtrl“ plc=“UG“ address=“38″ datatype=“word“ gain=“0.1″ />
    </device>
    </group>
    <group name=“Korridor“>
    <device id=“71″ name=“Licht“ type=“light“>
    <attribute id=“1″ name=“Status“ plc=“OG“ address=“Q2″ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    </group>
    </group>
    </infrastructure>
    </configuration>


    Kannst du mir helfen? Komme leider nicht mehr weiter…
    Grüsse

    Fehler gefunden. Doppelte Device-ID…

    • Diese Antwort wurde vor vor 8 Jahren, 1 Monat von magcon bearbeitet. Grund: Fehler gefunden...!
    #3025
    Kujaku80
    Teilnehmer

    Hallo, auch ich habe leider Probleme nach dem update und finde den Fehler nicht , kann mir evtl jemand helfen?

    13.08.2016 21:33:49: Fehler beim Laden der config.xml: ‚“‚ or “‘ is expected. Line 109, position 17.
    System.Xml.XmlException: ‚“‚ or “‘ is expected. Line 109, position 17.
    at Mono.Xml2.XmlTextReader.ParseAttributeFromString (System.String src, System.Int32& idx, System.String& name, System.String& value) [0x00000] in <filename unknown>:0
    at Mono.Xml2.XmlTextReader.VerifyXmlDeclaration () [0x00000] in <filename unknown>:0
    at Mono.Xml2.XmlTextReader.ReadProcessingInstruction () [0x00000] in <filename unknown>:0
    at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] in <filename unknown>:0
    at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0
    at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0
    at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
    at System.Xml.XmlDocument.ReadNode (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
    at System.Xml.XmlDocument.Load (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
    at System.Xml.XmlDocument.LoadXml (System.String xml) [0x00000] in <filename unknown>:0
    at LogoControl.DataModel.Configuration.LoadFromXmlString (System.String xmlString) [0x00000] in <filename unknown>:0
    at LogoControl.Controller.Start () [0x00000] in <filename unknown>:0
    (no inner exception)

    anbei die Config

    <?xml version=“1.0″ encoding=“utf-8“? >
    <configuration>
    <settings>
    <plc id=“ug“ type=“Logo8“ ip=“192.168.1.25“ />
    <plc id=“EG“ type=“Logo8“ ip=“192.168.1.27“ />

    <tcpService port=“55000“ />
    <httpWebservice port=“8088“ />
    <httpsWebservice port=“8080“ username=““ passwordHash=““ hashSalt=““ />

    <valueTextConverter>
    <textMapping id=“homestatus“>
    <valueText value=“0″ text=“anwesend“ />
    <valueText value=“1″ text=“abwesend“ />
    </textMapping>

    <textMapping id=“OnOff“>
    <valueText value=“0″ text=“aus“ />
    <valueText value=“1″ text=“ein“ />
    </textMapping>

    <textMapping id=“wpstatus“>
    <valueText value=“0″ text=“n.a.“ />
    <valueText value=“1″ text=“heizen“ />
    </textMapping>

    <textMapping id=“jal“>
    <valueText value=“0“ text=“n.a.“ />
    <valueText value=“1“ text=“offen“ />
    <valueText value=“2“ text=“geschlossen“ />
    <valueText value=“3“ text=“Beschattung“ />
    <valueText value=“4“ text=“undefiniert“ />
    </textMapping>

    </valueTextConverter>
    </settings>

    <infrastructure>
    <group name=“Allgemein“>
    <group name=“Zentral“>
    <device id=“1“ name=“Anwesenheit“ type=“light“>
    <attribute id=“1“ name=“Status“ plc=“EG“ address=“NI1“ datatype=“bit“ valueTextConverter=“Home status“ />
    <method id=“1“ name=“AnAbwesend“ plc=“EG“ address=“NI1“ />
    </device>
    <device id=“2“ name=“Betriebsart Wp“ >
    <attribute id=“1“ name=“Status“ plc=“uG“ address=“NAQ5“ datatype=“word“ valueTextConverter=“wp status“ />
    </device>
    </group>

    <group name=“Wetterstation“>
    <device id=“3“ name=“Helligkeit 1“ >
    <attribute id=“1“ name=“LUXost“ plc=“EG“ address=“NAI1“ datatype=“word“ gain=“1.0“ />
    </device>
    <device id=“4″ name=“Helligkeit 2“ >
    <attribute id=“1“ name=“LUXsued“ plc=“EG“ address=“NAI2“ datatype=“word“ gain=“1.0“ />
    </device>
    <device id=“5″ name=“Helligkeit 3“ >
    <attribute id=“1“ name=“LUXwest“ plc=“EG“ address=“NAI3“ datatype=“word“ gain=“1.0“ />
    </device>
    <device id=“6″ name=“Dämmerung 1“ >
    <attribute id=“1“ name=“Daemm“ plc=“EG“ address=“NI3“ datatype=“bit“ />
    </device>
    <device id=“7″ name=“Windspeed“ >
    <attribute id=“1“ name=“windspeed“ plc=“EG“ address=“NAI5“ datatype=“word“ gain=“1.0“ />
    </device>
    <device id=“8″ name=“Aussentemperatur 1“ >
    <attribute id=“1“ name=“Tor“ plc=“EG“ address=“NAI6″ datatype=“word“ gain=“1.0“ />
    </device>
    </group>

    <group name=“Jalousie“>
    </group>
    <group name=“EG“>
    <group name=“Entree“>
    <device id=“9“ name=“Licht“ type=“light“>
    <attribute id=“1“ name=“Status“ plc=“EG“ address=“Q1″ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    </group>

    <group name=“Büro Oben“>
    <device id=“10“ name=“Raumtemperatur 2“>
    <attribute id=“1“ name=“Tuer R“ plc=“ug“ address=“AI1″ datatype=“word“ gain=“0.25″ offset=“0″ />
    </device>
    <device id=“11“ name=“Sollwert Nacht“>
    <attribute id=“1“ name=“SLV“ plc=“ug“ address=“42“ datatype=“word“ gain=“0.1“ offset=“0“ />
    </device>
    </group>

    <group name=“Wohnen“>
    <device id=“12“ name=“Licht Wohnen 1“ type=“light“>
    <attribute id=“1“ name=“Status“ plc=“EG“ address=“Q3“ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    <device id=“13″ name=“Licht Wohnen 2“ type=“light“>
    <attribute id=“1″ name=“Status“ plc=“EG“ address=“Q4“ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    </group>

    <group name=“Aussen“>
    <device id=“14“ name=“Licht 2“ type=“light“>
    <attribute id=“1“ name=“Status“ plc=“EG“ address=“Q6″ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    <device id=“15“ name=“Licht 3“ type=“light“>
    <attribute id=“1“ name=“Status“ plc=“ug“ address=“Q8“ datatype=“bit“ valueTextConverter=“OnOff“ />
    </device>
    </group>
    </infrastructure>
    </configuration>

    danke + Gruß, Markus

    • Diese Antwort wurde vor vor 7 Jahren, 9 Monaten von Kujaku80 bearbeitet.
    #3028
    Kujaku80
    Teilnehmer

    Hallo, hat sich erledigt, habe es nochmals deisntalliert und neu aufgespielt und siehe da, funktioniert

    ich frage mich nur, warum im ordner /tmp keine LOGDATEI mehr vorhanden ist? Weiß das jemand?

    • Diese Antwort wurde vor vor 7 Jahren, 9 Monaten von Kujaku80 bearbeitet.
15 Beiträge anzeigen - 1 bis 15 (von insgesamt 15)
  • Du musst angemeldet sein, um zu diesem Thema eine Antwort verfassen zu können.