Menu

#14 Knxweb2: feedback ineffective for sub-pages

open
nobody
None
7
2014-08-17
2013-02-05
Fraxinas
No

I made a really simple example sub-page which is basically just a toggeling light switch:

 <subpage name="Licht-Taster" width="64" height="64">
  <parameters>
   <parameter id="obj_on_off" label="object % 1.001" type="object"/>
   <parameter id="text" label="text" type="text"/>
  </parameters>
  <controls>
   <control type="button" picture="3d/light_off.png" picture-active="3d/light_on.png" text="_text" size="12" color="#000000" align="center" text-padding="0" feedback-object="_obj_on_off" feedback-compare="eq" feedback-value="on" inactive-goto="" inactive-action="" active-goto="" active-action="" x="1" y="1" width="64" height="64" undefined="64"><actionlist id="inactive-action"><action type="toggle-value" id="_obj_on_off"/></actionlist><actionlist id="active-action"><action type="toggle-value" id="_obj_on_off"/></actionlist></control>
  </controls>
 </subpage>

when instanciating this sub-page in a zone:

<control type="subpage" view_mode="" hidetitledialog="false" picture-dialog="" subpage="Ansichten-Schnellwahl" x="5" y="5" undefined="" name="" desc=""/><control type="subpage" view_mode="" hidetitledialog="false" picture-dialog="" subpage="Licht-Taster" x="335" y="275" obj_on_off="beleuchtung:außenbereich:vorplatz_treppe" text="Vorplatz Treppe"/>

then clicking it does in fact operate the light actor, but the it keeps the "off" picture.
Also, I couldn't get a thermostat widget that I was trying to create, to display a temperature value. Example code can be found at: http://knx-user-forum.de/knx-eib-forum/25119-knxweb2-sub-pages.html#post290328

Discussion


Log in to post a comment.