Search found 4 matches

by juhoroine
Fri Jan 11, 2019 7:00 am
Forum: Hardware
Topic: LUA api call return value
Replies: 0
Views: 4606

LUA api call return value

Hi, a small feature request: The local /api/luca/call?script=myScript&function=myCall does not have means to return data to the requesting client: e.g. function function myCall(args) print("myCall() executed") return "hello" end returns { "status": "success" } instead of "hello". I think it would be...
by juhoroine
Fri Jan 11, 2019 6:46 am
Forum: Hardware
Topic: Sensor recommendations
Replies: 5
Views: 3594

Re: Sensor recommendations

How about any generic leakage sensor with a potential free relay output, connected to some wireless switch transmitter? I have such sensor, but wired directly to PLC that closes the house water mains if leakage is detected (and alarmed through modbus).
by juhoroine
Thu Dec 20, 2018 7:44 am
Forum: Hardware
Topic: Znet lite v2 @433MHz: transmit buffer
Replies: 1
Views: 2724

Znet lite v2 @433MHz: transmit buffer

TL;DR: is there a way to flush or control the 433MHz command transmission buffer? For example, let's say we have a 433MHz switch, that triggers a LUA script that switches on three lights (with separate 433MHZ commands). This is what happens: 1. Switch event is received 2. LUA script fires and calls ...
by juhoroine
Wed Dec 19, 2018 7:59 am
Forum: Hardware
Topic: Local "internet request"
Replies: 2
Views: 4303

Re: Local "internet request"

Hello, I discovered a workaround to locally generate a http-request from Tellstick znet lite V2 LUA script: (works for version 1.1.1 and needs http-server you can create scripts to) Install the "Blink1 Notifications" -plugin and configure it for your local http-server (ip+port) Then create a server-...