16.10.2018, 11:53
Hi.
I use this small script on a 1bit group address:
require('user.sms')
sendsms('12345678', 'test sms')
I then get a text message every time the group address value changes between 1 and 0.
What do i have to change in this script to only get a sms when the value is either 1 or 0?
if value = 0, then:
require('user.sms')
sendsms('12345678', 'test sms')
BR
Kai-Roger
I use this small script on a 1bit group address:
require('user.sms')
sendsms('12345678', 'test sms')
I then get a text message every time the group address value changes between 1 and 0.
What do i have to change in this script to only get a sms when the value is either 1 or 0?
if value = 0, then:
require('user.sms')
sendsms('12345678', 'test sms')
BR
Kai-Roger