Thank you so much, now i know that this will be achievable and I can manage everything from my SHAC.
next question can i place a variable parameter into a sockend??
as in
value = GetCBusLevel(0, 127, 10) --0-255
value * (65535/255)
value * 257
example
-- send command
sockend('CS 34 value*257 \r')
this is not working, how would i go about implementing this variable number into the "socket send"
next question can i place a variable parameter into a sockend??
as in
value = GetCBusLevel(0, 127, 10) --0-255
value * (65535/255)
value * 257
example
-- send command
sockend('CS 34 value*257 \r')
this is not working, how would i go about implementing this variable number into the "socket send"