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.

Scripting
#17
Hi

If I understood you correctly, each time when will be new temperature value,
then this value will be subtracted by 1, and sent to another group address.
Then just create an event script for temperature object '12/0/1'

Code:
local value_temp = event.getvalue()
local fake_temp_addr = '32/1/68'

grp.write(fake_temp_addr, value_temp - 1)
Reply


Messages In This Thread
Scripting - by mariosp - 16.01.2025, 09:17
RE: Scripting - by RomansP - 16.01.2025, 10:05
RE: Scripting - by mariosp - 16.01.2025, 10:57
RE: Scripting - by Daniel - 16.01.2025, 11:02
RE: Scripting - by mariosp - 16.01.2025, 11:22
RE: Scripting - by Daniel - 16.01.2025, 11:29
RE: Scripting - by mariosp - 16.01.2025, 11:37
RE: Scripting - by Daniel - 16.01.2025, 11:43
RE: Scripting - by mariosp - 16.01.2025, 11:54
RE: Scripting - by RomansP - 16.01.2025, 11:59
RE: Scripting - by mariosp - 16.01.2025, 12:04
RE: Scripting - by RomansP - 16.01.2025, 12:09
RE: Scripting - by mariosp - 16.01.2025, 12:11
RE: Scripting - by Daniel - 16.01.2025, 12:23
RE: Scripting - by RomansP - 16.01.2025, 12:26
RE: Scripting - by mariosp - 17.01.2025, 12:15
RE: Scripting - by RomansP - 17.01.2025, 12:37
RE: Scripting - by mariosp - 18.01.2025, 08:14
RE: Scripting - by baggins - 18.01.2025, 10:11
RE: Scripting - by mariosp - 18.01.2025, 11:11
RE: Scripting - by admin - 18.01.2025, 11:12
RE: Scripting - by mariosp - 20.01.2025, 09:10
RE: Scripting - by RomansP - 20.01.2025, 10:07
RE: Scripting - by mariosp - 20.01.2025, 12:08
RE: Scripting - by admin - 20.01.2025, 12:24
RE: Scripting - by mariosp - 20.01.2025, 13:55
RE: Scripting - by admin - 20.01.2025, 13:57
RE: Scripting - by Erwin van der Zwart - 20.01.2025, 15:10
RE: Scripting - by mariosp - 20.01.2025, 15:25
RE: Scripting - by mariosp - 21.01.2025, 11:19
RE: Scripting - by admin - 21.01.2025, 11:31

Forum Jump: