I have designed some panels for my house and i search a solution to integrate the heating control. Heating mode it's easy, it's only an 1bit command. But the setpoint adjustement, i need to read the current setpoint and have a + and - button to increase and decrease this value.
Where do you store the setpoint? Just a slider value which will send the setpoint to a KNX actuator?
This can be done with a KNX command where command will be "temp" and DPT9.001.
If you want plus and minus things become more complecated since you need a rule to incread/decrease a virtual value and the result is sent to the KNX bus.
You also need a sensor to read the actual room temperature. Do you use KNX temp sensors or 1-wire or something else?
Posted by mredeker at Oct 13, 2012 08:52
I have a KNX group address for the current setpoint and one for the setpoint adjustement. It's DPT9.001. I have try to do a slider with the 2 values into the design but i have an error "Make sure you have 1 Range-/Scale-Sensor and 1 command selected.".
Slider value it's a good solution but i want to have the feedback on the slider with the current setpoint ..
Have you a solution ?
Posted by simnet at Oct 13, 2012 09:00
The slider needs a sensor. That sensor can also be used with a label to display the current setpoint temp.
How exactly is your architecture?
One GA to set setpoint which is read/write ?
Another GA to read current room temp which is only read?
Posted by mredeker at Oct 13, 2012 10:44
I have use the labels to show my current setpoint and it's working well. But find no way to adjust it ..
My architecture is like this :
One GA to read current setpoint
One GA to send adjustement on the setpoint
One GA to read current temperature
One GA to read valve status in percent
Posted by simnet at Oct 13, 2012 19:58
Ok, so you need the following objects in OpenRemote:
- Command "ReadCurrentSetpoint" with command 'status' and PDT9.001
- Sensor "CurrentSetpointSensor" for this command (range maybe 10-30)
- Command "WriteCurrentSetpoint" with command 'temp' and DPT9.001
- Slider "SetpointSlider" using "CurrentSetpointSensor" and "WriteSetpointCommand"
- Command "ReadCurrentTemperature" with command 'status' and DPT9.001
- Sensor "CurrentTemperatureSensor" for this command (custom sensor)
- Command "ReadValveStatus" with command 'status' and DPT5.001
- Sensor "CurrentValveStatusSensor" for this command (level sensor)
To see the current setpoint just put a label besides the slider and link the sensor
Posted by mredeker at Oct 14, 2012 20:23
Thanks a lot.
Posted by simnet at Oct 15, 2012 19:57
I'm trying to read KNX temperature but nothing for moment.
In particolar one "ReadCurrentTemperature" command with "status" and DPT 9.001
and one sensor "CurrentTemperatureSensor" for this command (custom sensor).
To see current value I use a text label.
If I read temperature with a REST command from browser is it ok
I've trying to see value with a REST sensor but also does not work
Anyone have an idea ?
Posted by bibi at Oct 22, 2012 17:49
I don't know about polling out REST service with our own HTTP protocol. Interesting idea though.
But the answer from your GET with the browser looks ok.
If you connect the command to a custom sensor it should work.
Did you attacht he custom sensor to the label?
Which version of controller and which console are you using?
Posted by mredeker at Oct 22, 2012 20:48
In your XPATH expression you have the id in single quotes. Have you tried with double quotes?
Posted by pz1 at Oct 22, 2012 22:20
deleted; double post
Posted by pz1 at Oct 22, 2012 22:22
Thanks for reply
my controller is 2.0.0 version ; I've tried also 2.0.1, is it the same.
I'm using 2.1 version Ipad console.
Double quotes it make no difference.
Sensor was attacched to a label.
The strange thing is that I can't read 2bytes value in knx but I can write it (ex. for set setpoint temperature).
For REST command :
For KNX command :
Posted by bibi at Oct 23, 2012 08:28
Looks good to me.
Do you see any erros in the log files of the controller?
Posted by mredeker at Oct 23, 2012 08:32
Do you need other log that I unknow?
Posted by bibi at Oct 23, 2012 08:55
This also seems to be ok, weird.
It seems that your group address 2/3/84 is only returning 0x00 which does not look right.
Do you have an ETS and can check if the address has the 'read' flag set?
Posted by mredeker at Oct 23, 2012 09:02
Yes "read flag is ok
Posted by bibi at Oct 23, 2012 09:15
I've tryed to specified 9.001 Data Type in ETS but nothing
Posted by bibi at Oct 23, 2012 09:26
I am running out of ideas. Since the REST call worked everything should be fine.
Posted by mredeker at Oct 23, 2012 09:28
now works fine !!!!
Why? What is succeded? Mystery
log file is it the same...
Thanks a lot !!
Posted by bibi at Oct 23, 2012 09:51
html/rest command now work fine but only with 2.0.1 controller version
Posted by bibi at Oct 23, 2012 13:28