Search found 10 matches
- Tuesday 28 April 2020 16:58
- Forum: LUA
- Topic: Reading data from device
- Replies: 15
- Views: 2550
Re: Reading data from device
It stopped again, no idea why? No logentries nothing. Any ideas?
- Friday 17 April 2020 12:57
- Forum: LUA
- Topic: Reading data from device
- Replies: 15
- Views: 2550
Re: Reading data from device
Sorry my fault. It still works. Typo.
- Friday 17 April 2020 12:06
- Forum: LUA
- Topic: Reading data from device
- Replies: 15
- Views: 2550
Re: Reading data from device
Cheering too soon...
It updated but not anymore.
252 2020-04-17 03:23:47 Tuin - Vochtigheid 57 57/0
251 2020-04-17 03:52:17 Tuin - Temperatuur 9.30 0/9.30
236 2020-04-17 12:05:19 Tuindata 13.2;54;1 0/13.2;54;1
Any tips?
It updated but not anymore.
252 2020-04-17 03:23:47 Tuin - Vochtigheid 57 57/0
251 2020-04-17 03:52:17 Tuin - Temperatuur 9.30 0/9.30
236 2020-04-17 12:05:19 Tuindata 13.2;54;1 0/13.2;54;1
Any tips?
- Thursday 16 April 2020 15:26
- Forum: LUA
- Topic: Reading data from device
- Replies: 15
- Views: 2550
Re: Reading data from device
IT WORKS! Thank you very much.
- Thursday 16 April 2020 14:51
- Forum: LUA
- Topic: Reading data from device
- Replies: 15
- Views: 2550
Re: Reading data from device
I Will try thanks so far.
- Thursday 16 April 2020 13:57
- Forum: LUA
- Topic: Reading data from device
- Replies: 15
- Views: 2550
Re: Reading data from device
I created test.lua in /home/pi/domoticz/scripts/lua and ran it with sudo lua test.lua.
Can we move to whatsapp or something, that goes quicker.
Can we move to whatsapp or something, that goes quicker.
- Thursday 16 April 2020 11:49
- Forum: LUA
- Topic: Reading data from device
- Replies: 15
- Views: 2550
Re: Reading data from device
This is the data:

And the message above comes with every variable I try.

And the message above comes with every variable I try.
- Tuesday 14 April 2020 14:38
- Forum: LUA
- Topic: Reading data from device
- Replies: 15
- Views: 2550
Re: Reading data from device
This is what I got.
lua: test.lua:3: attempt to index global 'otherdevices_svalues' (a nil value)
stack traceback:
test.lua:3: in main chunk
[C]: ?
And it's rfxlink by the way.
Device: 236 RFXLink 2301 0 Tuindata Temp + Humidity WTGR800 11.8 C, 50 %
lua: test.lua:3: attempt to index global 'otherdevices_svalues' (a nil value)
stack traceback:
test.lua:3: in main chunk
[C]: ?
And it's rfxlink by the way.
Device: 236 RFXLink 2301 0 Tuindata Temp + Humidity WTGR800 11.8 C, 50 %
- Friday 03 April 2020 12:05
- Forum: LUA
- Topic: Reading data from device
- Replies: 15
- Views: 2550
Reading data from device
Hi everybody, I'm having problems reading the data from my weatherstation, I can see the device and with a json command from the browser it gives my all the data I need but getting it from lua is not working. Can someone please help me? Kind regards, Patrick The error I'm getting is: EventSystem: in ...
Schedule
Hi everybody, I would like to schedule a lamp with two modes. The first during daytime it should be set to normal operation. At night (after 23:00) it should go to nightmode. The the scripts. It does not work. What am I doing wrong... The script goes: if movement on 1st floor and it's am set milight ...