Posts: 68
Threads: 15
Joined: Mar 2014
Reputation:
0
I have loaded the new Comfort G2 iOS application onto an iPhone 5S running iOS 8.0.2
I have only one comfort profile defined and the config loads into that with no problem.
When I go into Control I have some counters I read which are temperature sensors. However these appear as sliders, meaning I can change the value. That doesn\'t make sense since in this instance the counter should be read only since it\'s a temperature value.
I can see the value in being able to change counter values, but think there should be a way in the cclx file to mark a counter as read only when it is a sensor value, as changing those via the application is not valid.
Posts: 3,493
Threads: 476
Joined: Aug 2006
Reputation:
0
Temperature and sensor values should be saved in Sensors in Comfort
Counters should be for dimming levels, setpoints etc that can be changed
It should be not difficult to read the values into sensors instead of counters
Posts: 68
Threads: 15
Joined: Mar 2014
Reputation:
0
I\'ll try to report on sensor values directly, however I want to have temperature in degrees C in the control menu - not sure if I can use a sensor value and convert to C ?
Also there is another counter which I use to count an event that occurs - again that should be read only from the iOS app, not changeable, since it is an event count, not a value that should be changeable.
Posts: 5,880
Threads: 865
Joined: Apr 2006
Reputation:
0
Yes if yiour value is in F you can convert to C. There is an action Convert F to C (and vice versa)
The slider appears only if there are no actions in the control menu eg On or OFF, so if you add some action keys then the slider should not appear (I think)
Posts: 68
Threads: 15
Joined: Mar 2014
Reputation:
0
10-19-2014, 06:23 PM
(This post was last modified: 10-19-2014, 06:23 PM by cc_uk.)
OK I\'ll try to define a null action to see if that makes the slider go away.
When defining a Feedback I can select counter (which is set by an action to be the temperature sensor value converted from F to C) but if I define the feedback to be a sensor I have no way to convert it to C.
Posts: 68
Threads: 15
Joined: Mar 2014
Reputation:
0
also I have a control menu option that does have an action, that also has a counter as feedback - the actions don\'t work any longer.... unable to access them
Posts: 68
Threads: 15
Joined: Mar 2014
Reputation:
0
10-20-2014, 11:58 PM
(This post was last modified: 10-21-2014, 12:12 AM by cc_uk.)
Thanks I have tried that using a sensor to store the value instead of a counter and that does work as hoped - in that there is a value shown in the iOS application as opposed to a slider.
This seems to have also allowed the Aid conditioner control to work that wasn\'t before.
I do have a further question though - I have a counter that counts the number of times a given event has occurred which I need to display in the iOS app.
That of course displays as a slider and I can therefore change that value, again not as I hoped. I guess I could write the value back to a sensor instead of a counter and use that. However this isn\'t really a sensor. So What is your recommendation for supporting this.
I do still think a check box available in the Control menu in Comfigurator that could mark a counter response as read only in the CCLX file and thus to the iOS app would address this.
Posts: 5,880
Threads: 865
Joined: Apr 2006
Reputation:
0
You can avoid showing the slider if you program actions
eg
Control Key Name = Counting, Feedback Type = Counter
Action Key 0 = xxx
Action key 1 = yyy
The action keys do nothing, the response can be null
In the app, the control page will show
Counting View Actions
It is not the prettiest but it prevents the slider from apearing
We will look at a better solution in the future