The Vera Community forums have moved!
General => Remote Control => SQ Remote / Square Connect (iOS) => Topic started by: slajgaj on October 15, 2012, 06:10:17 pm
-
Matt !
I useing the Everspring HSM02 Door contact.
In Sq Remote (Ipad) i'd like to see the battery level value
In SQ Designer i use the "Controls/Temp.Status C "modul"
I saved the config.
In the saved PackageControlPads.xml i wrote in the 23-24 line
Service_name: HaDevice1 and the
Variable:BatteryLevel
Nothing work
What am i doing wrong?
That is the modified xml. :
<SQControlPads xsi:noNamespaceSchemaLocation="SQControlPads.xsd" version="$$1$$" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<control_pad name="Setup" icon="carousel_settings_gold.png" activity_type=""/>
<control_pad icon="default_Carousel_Image.png" name="New" location="">
<control_panel tabNum="0" name="Main" nameOfViewController="SQXMLBasedControlPanelViewController" imageName="" help_image="">
<embedded_subview x="134" y="184" name="1350375673765">
<subview name="" imageName="false" isBackgroundImage="false" width="200" height="30" drawBorder="false" isMCVScene="false" device_category="8" z_position="1">
<label name="Temperature" title="Temp." z_position="2">
<rectangle x="10" y="5" width="120" height="15"/>
<datasource name="MCVDevice" gateway_id="31536">
<datasource_parameter name="deviceNumber" value="47"/>
<datasource_parameter name="property" value="name"/>
</datasource>
<label_model_state state="default" size="13" color="white" title="Temp. (Name)" alignment="left"/>
</label>
<label name="TempStatus" title="Temp" z_position="3">
<rectangle x="130" y="5" width="40" height="15"/>
<datasource name="MCV" gateway_id="31536">
<datasource_parameter name="deviceNumber" value="47"/>
<datasource_parameter name="serviceName" value="HaDevice1"/>
<datasource_parameter name="variableName" value="BatteryLevel"/>
</datasource>
<label_model_state state="default" size="13" color="green" title="- " alignment="right"/>
</label>
<label name="UnitsLabel" title="Set-Points" z_position="4">
<rectangle x="170" y="5" width="20" height="15"/>
<label_model_state state="default" size="13" color="green" title="%" alignment="right"/>
</label>
</subview>
<command_mapping device_key="MCV47-31536" control_state="N/A" gateway_id="31536" learn_date="0" SQKeyCode="0" support_ph="true"/>
</embedded_subview>
</control_panel>
<control_panel tabNum="1" name="" nameOfViewController="SQXMLBasedControlPanelViewController" imageName="" help_image=""/>
<control_panel tabNum="2" name="" nameOfViewController="SQXMLBasedControlPanelViewController" imageName="" help_image=""/>
<control_panel tabNum="3" name="" nameOfViewController="SQXMLBasedControlPanelViewController" imageName="" help_image=""/>
<control_panel tabNum="4" name="" nameOfViewController="SQXMLBasedControlPanelViewController" imageName="" help_image=""/>
<control_panel tabNum="5" name="" nameOfViewController="SQXMLBasedControlPanelViewController" imageName="" help_image=""/>
<control_panel tabNum="6" name="" nameOfViewController="SQXMLBasedControlPanelViewController" imageName="" help_image=""/>
</control_pad>
</SQControlPads>
Att: original device json file