set temperature

157 views
Skip to first unread message

fabio....@gmail.com

unread,
Nov 29, 2020, 2:46:16 PM11/29/20
to knxd
Hi, how can I set a temperature with knxtool? with the ETS software I can set temperature in degree and that will be written to the device. 
thanks
Fabio

trun...@bluewin.ch

unread,
Nov 30, 2020, 1:51:57 AM11/30/20
to knxd
Hi, you can use knxtool groupswrite and set the temperature as hex value. First you need to convert your temperature value into the correct datatype value.
Othmar

fabio....@gmail.com

unread,
Dec 2, 2020, 1:23:46 AM12/2/20
to knxd
Hi Othmar, thanks for your answer. Could you please give more details about how to convert temp into hex value ?
thanks again
Fabio

trun...@bluewin.ch

unread,
Dec 2, 2020, 7:49:30 AM12/2/20
to knxd
You need to convert the value into the right DPT format, 9.001 I guess. Long ago I had some code ready to do this but cannot find it anymore. The hex value is stored along this formula (from KNX datapoint definition)
DPT 9.001.PNG

fabio....@gmail.com

unread,
Dec 4, 2020, 3:43:54 PM12/4/20
to knxd
Hi,
I have a function that convert the temp into Hex and have it tested reading temp from address. However when I attempt to write to the address it does not work. I used knxtool write ip: 3/1/28 0EA9 and tried also with knxtool groupswrite ip: 3/1/28 0CE2
any idea what I doing wrong?
thanks

Matthias Urlichs

unread,
Dec 5, 2020, 3:40:00 AM12/5/20
to kn...@googlegroups.com
On 04.12.20 21:43, fabio....@gmail.com wrote:
> any idea what I doing wrong?

Use "groupwrite". You're not writing a small value here.

Separate bytes with spaces.

--

-- Matthias Urlichs


OpenPGP_signature

fabio....@gmail.com

unread,
Dec 6, 2020, 2:13:12 AM12/6/20
to knxd
thanks a lot. It works!
Reply all
Reply to author
Forward
0 new messages