This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Modify a small sms script
#1
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
Reply


Messages In This Thread
Modify a small sms script - by Kai-Roger - 16.10.2018, 11:53
RE: Modify a small sms script - by admin - 16.10.2018, 12:04
RE: Modify a small sms script - by Kai-Roger - 16.10.2018, 12:12
RE: Modify a small sms script - by Kai-Roger - 16.10.2018, 22:12
RE: Modify a small sms script - by Kai-Roger - 17.10.2018, 07:18

Forum Jump: