09.01.2017, 08:56
Hi,
With LM5L, I would like to creat a gateway beteween Bacnet Device and KNX.
For that , i read your tuto, and i try to creat a cyclical script to read bacanet object value and write this value on an Group KNX.
But I have an error.(Ligne 3: attempt to index global 'bacnet'(a function value)
My script
1: require('bacnet')
2:
3: value = bacnet.readvalue(1170,'analog value',0)
4: grp.write('11/1/1', value)
Thank for your help
With LM5L, I would like to creat a gateway beteween Bacnet Device and KNX.
For that , i read your tuto, and i try to creat a cyclical script to read bacanet object value and write this value on an Group KNX.
But I have an error.(Ligne 3: attempt to index global 'bacnet'(a function value)
My script
1: require('bacnet')
2:
3: value = bacnet.readvalue(1170,'analog value',0)
4: grp.write('11/1/1', value)
Thank for your help