Ankündigung

Einklappen
Keine Ankündigung bisher.

Editor-Entwicklung

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Editor-Entwicklung

    Ahoi,

    im SVN ist ein ein erstes Frontend des neuen Editors.
    Design und Aufbau sind nicht final, Feedback hierzu werde ich gerne in Erwägung ziehen.

    Nicht zu früh freuen:
    der Editor hat noch keine Routinen zum Speichern der Konfiguration. Es ist also ein reiner klick-dummy

    Grüße,
    Julian

    #2
    Irgendwas ist da schiefgelaufen, ich weiß aber nicht ob mit dieser rev oder ob da früher schon was war.
    Bei mir mags jedenfall nicht mehr

    Code:
    config visu_config.xml is NOT valid XML
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 277
     274: 	  <address transform="DPT:1.001" mode="read" variant="">1/1/51</address>
     275:       </switch>
     276:       
     277:       <slide min="0" max="100" step="1" align="center">
     278: 	  <layout colspan = "6" />
     279: 
     280: 	  <address transform="DPT:5.001" mode="write" variant="">1/1/53</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 291
     288:       
     289:       <break/>
     290: 	  
     291:       <slide min="0" max="100" step="1" align="center">
     292: 	  <layout colspan = "8" />
     293: 	  <label>Esstisch</label>
     294: 	  <address transform="DPT:5.001" mode="write" variant="">1/1/63</address>
    Error 1871: Element 'label': This element is not expected. on line 314
     311: 
     312:       <text>
     313:       <layout colspan = "2"/>	  
     314:       <label>Szene: </label>
     315:       </text>  
     316:       	        
     317:       <trigger mapping="Szene" value="1">
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 397
     394: 	  <address transform="DPT:1.001" mode="read" variant="">1/1/16</address>
     395:       </switch>
     396:       
     397:       <slide min="0" max="100" step="1" align="center">
     398: 	  <layout colspan = "6" />
     399: 	  <label/>
     400: 	  <address transform="DPT:5.001" mode="write" variant="">1/1/18</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 456
     453: 	  <address transform="DPT:1.001" mode="read" variant="">1/1/31</address>
     454:       </switch>
     455:       
     456:       <slide min="0" max="100" step="1" align="center">
     457: 	  <layout colspan = "6" />
     458: 	  <label/>
     459: 	  <address transform="DPT:5.001" mode="write" variant="">1/1/33</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 477
     474: 	  <address transform="DPT:1.001" mode="read" variant="">1/1/36</address>
     475:       </switch>
     476:       
     477:       <slide min="0" max="100" step="1" align="center">
     478: 	  <layout colspan = "6" />
     479: 	  <label/>
     480: 	  <address transform="DPT:5.001" mode="write" variant="">1/1/38</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 546
     543: 	  <address transform="DPT:1.001" mode="read" variant="">1/1/21</address>
     544:       </switch>
     545:       
     546:       <slide min="0" max="100" step="1" align="center">
     547: 	  <layout colspan = "6" />
     548: 	  <label/>
     549: 	  <address transform="DPT:5.001" mode="write" variant="">1/1/23</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 567
     564: 	  <address transform="DPT:1.001" mode="read" variant="">1/1/41</address>
     565:       </switch>
     566:       
     567:       <slide min="0" max="100" step="1" align="center">
     568: 	  <layout colspan = "6" />
     569: 	  <label/>
     570: 	  <address transform="DPT:5.001" mode="write" variant="">1/1/43</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 625
     622: 	  <address transform="DPT:1.001" mode="read" variant="">1/2/101</address>
     623:       </switch>
     624:       
     625:       <slide min="0" max="100" step="1" align="center">
     626: 	  <layout colspan = "6" />
     627: 	  <label/>
     628: 	  <address transform="DPT:5.001" mode="write" variant="">1/2/103</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 647
     644: 	  <address transform="DPT:1.001" mode="read" variant="">1/2/106</address>
     645:       </switch>
     646:       
     647:       <slide min="0" max="100" step="1" align="center">
     648: 	  <layout colspan = "6" />
     649: 	  <label/>
     650: 	  <address transform="DPT:5.001" mode="write" variant="">1/2/108</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 669
     666: 	  <address transform="DPT:1.001" mode="read" variant="">1/2/111</address>
     667:       </switch>
     668:       
     669:       <slide min="0" max="100" step="1" align="center">
     670: 	  <layout colspan = "6" />
     671: 	  <label/>
     672: 	  <address transform="DPT:5.001" mode="write" variant="">1/2/113</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 691
     688: 	  <address transform="DPT:1.001" mode="read" variant="">1/2/36</address>
     689:       </switch>
     690:       
     691:       <slide min="0" max="100" step="1" align="center">
     692: 	  <layout colspan = "6" />
     693: 	  <label/>
     694: 	  <address transform="DPT:5.001" mode="write" variant="">1/2/38</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 788
     785: 	  <address transform="DPT:1.001" mode="read" variant="">1/2/41</address>
     786:       </switch>
     787:       
     788:       <slide min="0" max="100" step="1" align="center">
     789: 	  <layout colspan = "6" />
     790: 	  <label/>
     791: 	  <address transform="DPT:5.001" mode="write" variant="">1/2/43</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 809
     806: 	  <address transform="DPT:1.001" mode="read" variant="">1/2/46</address>
     807:       </switch>
     808:       
     809:       <slide min="0" max="100" step="1" align="center">
     810: 	  <layout colspan = "6" />
     811: 	  <label/>
     812: 	  <address transform="DPT:5.001" mode="write" variant="">1/2/48</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 877
     874: 	  <address transform="DPT:1.001" mode="write" variant="">1/2/50</address>
     875: 	  <address transform="DPT:1.001" mode="read" variant="">1/2/51</address>
     876:       </switch>
     877:       <slide min="0" max="100" step="1" align="center">
     878: 	  <layout colspan = "4" />
     879: 	  <label/>
     880: 	  <address transform="DPT:5.001" mode="write" variant="">1/2/53</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 943
     940: 	  <address transform="DPT:1.001" mode="write" variant="">1/2/10</address>
     941: 	  <address transform="DPT:1.001" mode="read" variant="">1/2/11</address>
     942:       </switch>
     943:       <slide min="0" max="100" step="1" align="center">
     944: 	  <layout colspan = "4" />
     945: 	  <label/>
     946: 	  <address transform="DPT:5.001" mode="write" variant="">1/2/13</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 1009
    1006: 	  <address transform="DPT:1.001" mode="write" variant="">1/2/60</address>
    1007: 	  <address transform="DPT:1.001" mode="read" variant="">1/2/61</address>
    1008:       </switch>
    1009:       <slide min="0" max="100" step="1" align="center">
    1010: 	  <layout colspan = "4" />
    1011: 	  <label/>
    1012: 	  <address transform="DPT:5.001" mode="write" variant="">1/2/63</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 1076
    1073: 	  <address transform="DPT:1.001" mode="write" variant="">1/2/20</address>
    1074: 	  <address transform="DPT:1.001" mode="read" variant="">1/2/21</address>
    1075:       </switch>
    1076:       <slide min="0" max="100" step="1" align="center">
    1077: 	  <layout colspan = "4" />
    1078: 	  <label/>
    1079: 	  <address transform="DPT:5.001" mode="write" variant="">1/2/23</address>
    Error 1871: Element 'label': This element is not expected. on line 1208
    1205:   
    1206:     <text>
    1207:       <layout colspan = "2"/>	  
    1208:       <label>Heizmodus</label>
    1209:     </text>  
    1210:       	        
    1211:       <trigger mapping="eBus" value="1">
    Error 1871: Element 'label': This element is not expected. on line 1240
    1237:      
    1238:     <text>
    1239:       <layout colspan = "2"/>	  
    1240:       <label>Warmwasser</label>
    1241:     </text>  
    1242:       	        
    1243:       <trigger mapping="eBus" value="1">
    Error 1866: Element 'address', attribute 'mapping': The attribute 'mapping' is not allowed. on line 1433
    1430:   <layout colspan="6" />
    1431:   <label><icon name="zeit_statistik"/>Betriebsart</label>
    1432:   <axis position="right" min="0" max="2" label="Betrieb" unit=" AN/AUS">temp</axis>
    1433:   <address transform="DPT:6.020" variant="" mapping="WP-Betrieb" >0/5/0</address>
    1434:   <rrd yaxis="temp" color="#ff0000" label="Heizen">WP_Heizen</rrd>
    1435:   <rrd yaxis="temp" color="#0000ff" label="Warmwasser">WP_Warmwasser</rrd>
    1436:   </diagram_info>
    Error 1866: Element 'diagram_info', attribute 'colspan': The attribute 'colspan' is not allowed. on line 1599
    1596:  
    1597: <break/>
    1598:   
    1599:   <diagram_info colspan="6"  format="%.0f kWh" series="month" refresh="300" gridcolor="#707070" tooltip="true">
    1600:   <layout colspan="6" />
    1601:   <label><icon name="zeit_statistik"/>Verbrauch WP</label>
    1602:   <axis position="right" min="0" max="15" label="Tagesverbrauch" unit=" kWh">power</axis>
    Error 1866: Element 'address', attribute 'mapping': The attribute 'mapping' is not allowed. on line 1669
    1666:   <layout colspan="6" />
    1667:   <label><icon name="zeit_statistik"/>Betriebsart</label>
    1668:   <axis position="right" min="0" max="1.0" label="Betrieb" unit=" AN/AUS">temp</axis>
    1669:   <address transform="DPT:6.020" variant="" mapping="WP-Betrieb" >0/5/0</address>
    1670:   <rrd yaxis="temp" color="#ff0000" label="Heizen">WP_Heizen</rrd>
    1671:   <rrd yaxis="temp" color="#0000ff" label="Warmwasser">WP_Warmwasser</rrd>
    1672:   </diagram_info>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 1739
    1736: 	<address transform="DPT:1.001" mode="read" variant="">1/1/16</address>
    1737: 	</switch>
    1738: 	
    1739:   	<slide min="0" max="100" step="1" align="center">
    1740: 	<layout colspan = "6"  />
    1741:         <address transform="DPT:5.001" mode="write" variant="">1/1/18</address>
    1742: 	<address transform="DPT:5.001" mode="read" variant="">1/1/18</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 1760
    1757: 	<address transform="DPT:1.001" mode="read" variant="">1/1/31</address>
    1758: 	</switch>
    1759: 
    1760: 	<slide min="0" max="100" step="1" align="center">
    1761: 	<layout colspan = "6"  />
    1762:         <address transform="DPT:5.001" mode="write" variant="">1/1/33</address>
    1763: 	<address transform="DPT:5.001" mode="read" variant="">1/1/33</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 1782
    1779: 	<address transform="DPT:1.001" mode="read" variant="">1/1/36</address>
    1780: 	</switch>
    1781: 	
    1782: 	<slide min="0" max="100" step="1" align="center">
    1783: 	<layout colspan = "6"  />
    1784: 
    1785:         <address transform="DPT:5.001" mode="write" variant="">1/1/38</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 1804
    1801: 	<address transform="DPT:1.001" mode="read" variant="">1/1/41</address>
    1802: 	</switch>
    1803: 
    1804: 	<slide min="0" max="100" step="1" align="center">
    1805: 	<layout colspan = "6"  />
    1806:         <address transform="DPT:5.001" mode="write" variant="">1/1/43</address>
    1807: 	<address transform="DPT:5.001" mode="read" variant="">1/1/43</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 1825
    1822: 	<address transform="DPT:1.001" mode="read" variant="">1/1/21</address>
    1823: 	</switch>
    1824: 	
    1825: 	<slide min="0" max="100" step="1" align="center">
    1826: 	<layout colspan = "6"  />
    1827:         <address transform="DPT:5.001" mode="write" variant="">1/1/23</address>
    1828: 	<address transform="DPT:5.001" mode="read" variant="">1/1/23</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 1846
    1843: 	<address transform="DPT:1.001" mode="read" variant="">1/1/51</address>
    1844: 	</switch>
    1845: 	
    1846: 	<slide min="0" max="100" step="1" align="center">
    1847: 	<layout colspan = "6"  />
    1848:         <address transform="DPT:5.001" mode="write" variant="">1/1/53</address>
    1849: 	<address transform="DPT:5.001" mode="read" variant="">1/1/53</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 1867
    1864: 	<address transform="DPT:1.001" mode="read" variant="">1/1/61</address>
    1865: 	</switch>
    1866: 	
    1867: 	<slide min="0" max="100" step="1" align="center">
    1868: 	<layout colspan = "6"  />
    1869:         <address transform="DPT:5.001" mode="write" variant="">1/1/63</address>
    1870: 	<address transform="DPT:5.001" mode="read" variant="">1/1/63</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 1911
    1908: 	<address transform="DPT:1.001" mode="read" variant="">1/2/21</address>
    1909: 	</switch>	  
    1910: 	  
    1911: 	<slide min="0" max="100" step="1" align="center">
    1912: 	<layout colspan = "6"  />
    1913:         <address transform="DPT:5.001" mode="write" variant="">1/2/23</address>
    1914: 	<address transform="DPT:5.001" mode="read" variant="">1/2/23</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 1932
    1929: 	<address transform="DPT:1.001" mode="read" variant="">1/2/36</address>
    1930: 	</switch>
    1931: 	
    1932:         <slide min="0" max="100" step="1" align="center">
    1933:         <layout colspan = "6"  />
    1934:         <address transform="DPT:5.001" mode="write" variant="">1/2/38</address>
    1935: 	<address transform="DPT:5.001" mode="read" variant="">1/2/38</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 1953
    1950: 	<address transform="DPT:1.001" mode="read" variant="">1/2/101</address>
    1951: 	</switch>
    1952:       
    1953: 	<slide min="0" max="100" step="1" align="center">
    1954: 	<layout colspan = "6"  />
    1955:         <address transform="DPT:5.001" mode="write" variant="">1/2/103</address>
    1956: 	<address transform="DPT:5.001" mode="read" variant="">1/2/104</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 1974
    1971: 	<address transform="DPT:1.001" mode="read" variant="">1/2/106</address>
    1972: 	</switch>
    1973:       
    1974: 	<slide min="0" max="100" step="1" align="center">
    1975: 	<layout colspan = "6"  />
    1976:         <address transform="DPT:5.001" mode="write" variant="">1/2/108</address>
    1977: 	<address transform="DPT:5.001" mode="read" variant="">1/2/109</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 1995
    1992: 	<address transform="DPT:1.001" mode="read" variant="">1/2/111</address>
    1993: 	</switch>
    1994:       	
    1995: 	<slide min="0" max="100" step="1" align="center">
    1996: 	<layout colspan = "6"  />
    1997:         <address transform="DPT:5.001" mode="write" variant="">1/2/113</address>
    1998: 	<address transform="DPT:5.001" mode="read" variant="">1/2/114</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 2016
    2013: 	<address transform="DPT:1.001" mode="read" variant="">1/2/41</address>
    2014: 	</switch>
    2015:       	
    2016: 	<slide min="0" max="100" step="1" align="center">
    2017: 	<layout colspan = "6"  />
    2018:         <address transform="DPT:5.001" mode="write" variant="">1/2/43</address>
    2019: 	<address transform="DPT:5.001" mode="read" variant="">1/2/43</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 2037
    2034: 	<address transform="DPT:1.001" mode="read" variant="">1/2/46</address>
    2035: 	</switch>
    2036:       
    2037: 	<slide min="0" max="100" step="1" align="center">
    2038: 	<layout colspan = "6"  />
    2039:         <address transform="DPT:5.001" mode="write" variant="">1/2/48</address>
    2040: 	<address transform="DPT:5.001" mode="read" variant="">1/2/48</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 2058
    2055: 	<address transform="DPT:1.001" mode="read" variant="">1/2/51</address>
    2056: 	</switch>
    2057:       	
    2058: 	<slide min="0" max="100" step="1" align="center">
    2059: 	<layout colspan = "6"  />
    2060:         <address transform="DPT:5.001" mode="write" variant="">1/2/53</address>
    2061: 	<address transform="DPT:5.001" mode="read" variant="">1/2/53</address>
    Error 1866: Element 'slide', attribute 'align': The attribute 'align' is not allowed. on line 2079
    2076: 	<address transform="DPT:1.001" mode="read" variant="">1/2/61</address>
    2077: 	</switch>
    2078:       
    2079: 	<slide min="0" max="100" step="1" align="center">
    2080: 	<layout colspan = "6"  />
    2081:         <address transform="DPT:5.001" mode="write" variant="">1/2/63</address>
    2082: 	<address transform="DPT:5.001" mode="read" variant="">1/2/63</address>
    Error 1866: Element 'switch', attribute 'colspan': The attribute 'colspan' is not allowed. on line 2096
    2093: 
    2094: <!-- site: Radio -->
    2095: <page name="Radio" visible="false">
    2096:        <switch colspan="4"  on_value="1" off_value="0" mapping="On_Off">
    2097:         <label>AN/AUS</label>
    2098:         <address transform="DPT:1.001" mode="write" variant="">8/1/0</address>
    2099:       </switch>     
    Error 1866: Element 'slide', attribute 'colspan': The attribute 'colspan' is not allowed. on line 2101
    2098:         <address transform="DPT:1.001" mode="write" variant="">8/1/0</address>
    2099:       </switch>     
    2100: 	  
    2101: 	  <slide colspan="4"  min="0" max="100" step="1">
    2102:         <label>Volume</label>
    2103:         <address transform="DPT:5.001" mode="write" variant="">8/1/5</address>
    2104:       </slide>
    Error 1866: Element 'trigger', attribute 'colspan': The attribute 'colspan' is not allowed. on line 2106
    2103:         <address transform="DPT:5.001" mode="write" variant="">8/1/5</address>
    2104:       </slide>
    2105: 
    2106:       <trigger colspan="4"  value="1">
    2107:         <label>Play</label>
    2108:         <address transform="DPT:1.001" mode="write" variant="">8/1/1</address>
    2109:       </trigger>  
    Error 1866: Element 'multitrigger', attribute 'colspan': The attribute 'colspan' is not allowed. on line 2111
    2108:         <address transform="DPT:1.001" mode="write" variant="">8/1/1</address>
    2109:       </trigger>  
    2110: 
    2111:       <multitrigger colspan="4"  button1label="leise" button1value="0" button2label="laut" button2value="1">
    2112:         <label>laut+leise</label>
    2113:         <address transform="DPT:1.001" mode="write" variant="">8/1/3</address>
    2114:       </multitrigger>
    Error 1866: Element 'trigger', attribute 'colspan': The attribute 'colspan' is not allowed. on line 2116
    2113:         <address transform="DPT:1.001" mode="write" variant="">8/1/3</address>
    2114:       </multitrigger>
    2115: 	 
    2116: 	   <trigger colspan="4"  value="1" mapping="On_Off">
    2117:         <label>Pause</label>
    2118:         <address transform="DPT:1.001" mode="write" variant="">8/1/4</address>
    2119:        </trigger>
    Error 1866: Element 'switch', attribute 'colspan': The attribute 'colspan' is not allowed. on line 2121
    2118:         <address transform="DPT:1.001" mode="write" variant="">8/1/4</address>
    2119:        </trigger>
    2120: 	 
    2121: 	 <switch colspan="4"  on_value="1" off_value="0" mapping="On_Off">    
    2122: 	  <label>Mute</label>
    2123:         <address transform="DPT:1.001" mode="write" variant="">8/1/2</address>
    2124:       </switch>
    Error 1866: Element 'trigger', attribute 'colspan': The attribute 'colspan' is not allowed. on line 2126
    2123:         <address transform="DPT:1.001" mode="write" variant="">8/1/2</address>
    2124:       </switch>
    2125: 	  
    2126:       <trigger colspan="4"  value="1">
    2127:         <label>Stop</label>
    2128:         <address transform="DPT:1.001" mode="write" variant="">8/1/6</address>
    2129:       </trigger>
    Error 1866: Element 'trigger', attribute 'colspan': The attribute 'colspan' is not allowed. on line 2139
    2136: 	  
    2137: 	    <break/>
    2138: 		
    2139: 	  	<trigger colspan="2"  value="1" >
    2140:         <label>NDR</label>
    2141:         <address transform="DPT:6.020" mode="write" variant="">8/1/7</address>
    2142:        </trigger>
    Error 1866: Element 'trigger', attribute 'colspan': The attribute 'colspan' is not allowed. on line 2143
    2140:         <label>NDR</label>
    2141:         <address transform="DPT:6.020" mode="write" variant="">8/1/7</address>
    2142:        </trigger>
    2143: 		<trigger colspan="6"  value="5" mapping="On_Off">
    2144:         <label>RadioEins</label>
    2145:         <address transform="DPT:6.020" mode="write" variant="">8/1/7</address>
    2146:        </trigger>
    Error 1866: Element 'trigger', attribute 'colspan': The attribute 'colspan' is not allowed. on line 2147
    2144:         <label>RadioEins</label>
    2145:         <address transform="DPT:6.020" mode="write" variant="">8/1/7</address>
    2146:        </trigger>
    2147: 	   <trigger colspan="2"  value="4" mapping="On_Off">
    2148:         <label>N-Joy</label>
    2149:         <address transform="DPT:6.020" mode="write" variant="">8/1/7</address>
    2150:        </trigger>
    Error 1866: Element 'trigger', attribute 'colspan': The attribute 'colspan' is not allowed. on line 2151
    2148:         <label>N-Joy</label>
    2149:         <address transform="DPT:6.020" mode="write" variant="">8/1/7</address>
    2150:        </trigger>
    2151: 	   <trigger colspan="2"  value="3" mapping="On_Off">
    2152:         <label>Deluxe</label>
    2153:         <address transform="DPT:6.020" mode="write" variant="">8/1/7</address>
    2154:        </trigger>
    Error 1866: Element 'trigger', attribute 'colspan': The attribute 'colspan' is not allowed. on line 2155
    2152:         <label>Deluxe</label>
    2153:         <address transform="DPT:6.020" mode="write" variant="">8/1/7</address>
    2154:        </trigger>
    2155: 	   	<trigger colspan="2"  value="2" mapping="On_Off">
    2156:         <label>Teddy</label>
    2157:         <address transform="DPT:6.020" mode="write" variant="">8/1/7</address>
    2158:        </trigger>
    Umgezogen? Ja! ... Fertig? Nein!
    Baustelle 2.0 !

    Kommentar


      #3
      align ist kein gültiges Attribute für das Element slide, das steht so im XSD - bzw. genauer es steht dort nicht dass es eins wäre (und war nach meinem Wissen schon immer so).
      Ich hab zusätzlich den Code der CometVisu gecheckt welche das slide auswertet, und dort auch keinen Hinweis darauf gefunden, dass align dort ausgewertet würde.
      Das gleiche gilt nach meinem Verständnis für colspan bei trigger, aber den Code hab ich mir nicht wirklich genau angeschaut.

      Die Config wird also zu Recht als invalide bezeichnet

      Sobald die Config wieder händisch in einen validen Zustand versetzt wurde, kann auch der Editor damit umgehen.

      Hintergrund:
      Würde der Editor versuchen mit einer invaliden Konfiguration loszulegen, kann es eigentlich nur zu unerwarteten Zuständen führen, die im schlimmsten Fall den Verlust der kompletten Konfiguration nach sich ziehen können.
      Aus diesem Grund steigt der Editor komplett aus, wenn die Konfiguration nach seiner Meinung nicht gültig ist. Und die Meinung des Editors basiert auf visu_config.xsd, welche das zentrale Regelwerk für die Konfigurationssyntax darstellt.

      Grüße,
      Julian

      Kommentar


        #4
        o.k. ich versuche das mal alles rauszubügeln, bislang hat halt niemand gemeckert.

        Ich schreibs jetzt hier mal rein was unbedingt erhalten werden sollte damit ich es nicht vergesse:
        Code:
        Error 1866: Element 'address', attribute 'mapping': The attribute 'mapping' is not allowed. on line 1675
        1672:   <layout colspan="6" />
        1673:   <label><icon name="zeit_statistik"/>Betriebsart</label>
        1674:   <axis position="right" min="0" max="1.0" label="Betrieb" unit=" AN/AUS">temp</axis>
        1675:   <address transform="DPT:6.020" variant="" mapping="WP-Betrieb" >0/5/0</address>
        1676:   <rrd yaxis="temp" color="#ff0000" label="Heizen">WP_Heizen</rrd>
        1677:   <rrd yaxis="temp" color="#0000ff" label="Warmwasser">WP_Warmwasser</rrd>
        1678:   </diagram_info>
        Umgezogen? Ja! ... Fertig? Nein!
        Baustelle 2.0 !

        Kommentar


          #5
          O.K. ... läuft wieder ... dann bin ich noch hierüber gestolpert ... für alle die länger kein svn up gemacht haben. https://knx-user-forum.de/cometvisu/...su-haengt.html

          Danke und Gruß
          Mirko
          Umgezogen? Ja! ... Fertig? Nein!
          Baustelle 2.0 !

          Kommentar


            #6
            Hallo,

            ich hab meine config aufgeräumt, so dass mir check_config ein valides XML bestätigt. Leider bekomme ich beim Aufruf von http://wiregate/cvisu/editor/?config=moi trotzdem:

            Code:
            The configuration appears to be not valid. Please check with 'check_config.php' for details. Error: '%s'
            Irgendwelche Ideen?

            Danke und Gruß

            Kommentar


              #7
              Nur so als Hinweis, ich musste wieder zurück, weil die Slider nicht mehr funktioniert haben.

              Liegt evtl. am jQuery update?

              Iwan

              Kommentar


                #8
                Zitat von kleinklausi Beitrag anzeigen
                ich hab meine config aufgeräumt, so dass mir check_config ein valides XML bestätigt.
                Lass mir bitte mal deine Config zukommen, wenn das geht. Vermutlich ein Zusammenspiel das meine Testdaten nicht hatten.

                Grüße,
                Julian

                Kommentar


                  #9
                  Hi Iwan,

                  Zitat von iwan Beitrag anzeigen
                  Nur so als Hinweis, ich musste wieder zurück, weil die Slider nicht mehr funktioniert haben.

                  Liegt evtl. am jQuery update?
                  Wäre möglich. Wie stellt sich der Fehler denn dar? Dann checke ich das nochmal.

                  Grüße,
                  Julian

                  Kommentar


                    #10
                    Wow...

                    Ich habe auch gerade mal ein SVN Update gemacht und nun meckert er bei jedem readonly Atribut. Dabei wurde dies ja absichtlich in einer früheren Version eingefügt. Ist das Absicht, dass dieses Atribut nun als Ungültig angesehen wird?


                    Zu dem Problem gleich noch eine allgemeine Zusatzfrage:

                    -> Wird es für einen nächsten Releas einen Konverter geben der die alten Konfigs automatisch "kompatibel" macht? Das wäre in meinen Augen sehr wichtig, da ich denke dass man nicht von einem Releas-Nutzer der seine Konfig im Editor erstellt hat verlangen kann, dass er bei einem neuen Releas nochmals von vorne beginnnen muss. Stichwort: Bestandschutz?

                    Nun mussich erst mal meine Konfig valide bekommen. Habe gut 250 Fehlermeldungen hauptsächlich wegen den "readonly"
                    Gruss Patrik alias swiss

                    Kommentar


                      #11
                      Zitat von swiss Beitrag anzeigen
                      Ich habe auch gerade mal ein SVN Update gemacht und nun meckert er bei jedem readonly Atribut. Dabei wurde dies ja absichtlich in einer früheren Version eingefügt. Ist das Absicht, dass dieses Atribut nun als Ungültig angesehen wird?
                      Ja, ist Absicht, wurde hier in einem Thread thematisiert und in ein paar anderen auch besprochen.

                      Dieser Konfig-Bruch ist einer der stärksten zwischen letztem Release und aktuellem SVN.

                      (readonly / writeonly war gut, aber nicht so universell wie das jetzige read/write - und konnte sich sogar widersprechen )
                      Zitat von swiss Beitrag anzeigen
                      -> Wird es für einen nächsten Releas einen Konverter geben der die alten Konfigs automatisch "kompatibel" macht? Das wäre in meinen Augen sehr wichtig, da ich denke dass man nicht von einem Releas-Nutzer der seine Konfig im Editor erstellt hat verlangen kann, dass er bei einem neuen Releas nochmals von vorne beginnnen muss. Stichwort: Bestandschutz?
                      So einen Konverter halte ich auch für dringend notwendig. Er sollte auch nicht sonderlich schwierig werden (hoffe ich stark...) - muss aber noch geschrieben werden.
                      Dazu sollten wir aber warten, bis die Syntax sich stabilisiert. (Sollte sie eigentlich schon sein, aber wie gerade im neuen Thread thematisiert kann der neue Editor z.B. ein paar Anpassungen erfordern)
                      TS2, B.IQ, DALI, WireGate für 1wire so wie Server für Logik und als KNX Visu die CometVisu auf HomeCockpit Minor. - Bitte keine PNs, Fragen gehören in das Forum, damit jeder was von den Antworten hat!

                      Kommentar


                        #12
                        Zitat von netzkind Beitrag anzeigen
                        Lass mir bitte mal deine Config zukommen, wenn das geht.
                        Hi Julian,
                        gerne, anbei meine Config, die ich grad für die SVN Version aufbaue.

                        Gruß Moritz
                        Angehängte Dateien

                        Kommentar


                          #13
                          So... Meine Konfig läuft wieder.

                          Neben allen read- und writeonly musste ich auch jqclock und gwether aus der Konfig entfernen. Sonst wollte die Visu (ohne Fehlermeldung) nicht laden. Nun funktioniert die Visu wieder. Ich muss nur noch heraus finden wie der Editor aufgerufen wird. Hat sich da die URL geänder?

                          @Moritz: Du hast die beiden Einträge auch noch in deiner Konfig. Das Könnte bei dir das Problem sein
                          Gruss Patrik alias swiss

                          Kommentar


                            #14
                            Hi Moritz,

                            Zitat von kleinklausi Beitrag anzeigen
                            gerne, anbei meine Config, die ich grad für die SVN Version aufbaue.
                            ok, ich sehe das Problem, hab aber spontan keine Lösung dafür. Ursache ist, dass mapping wahlweise 1 oder mehr entry, oder 1 formula erlaubt. Im Editor hab ich das mehrdimensionale bounds genannt, und das bislang nicht implementiert oder mit einer Config getestet, die tatsächlich anstelle des entry ein formula verwendet.

                            Ich schreib mir das hier auf meine todo-Liste, mal sehen wann ich zusammengepuzzelt bekomme ...

                            Grüße,
                            Julian

                            Kommentar


                              #15
                              Hi Iwan,

                              Zitat von iwan Beitrag anzeigen
                              [...]weil die Slider nicht mehr funktioniert haben.

                              Liegt evtl. am jQuery update?
                              da hast du Recht.
                              Ich werde gleich mal schauen, ob ein Update von jQuery UI reicht, oder ob dann weitere Dinge den Bach runtergehen.
                              Sonst muss ich noch mal versuchen, inwiefern der Editor mit der älteren jQuery-Version rennt...

                              Grüße,
                              Julian

                              Kommentar

                              Lädt...
                              X