[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
nodo-domotica.nl • Toon onderwerp - Variable setten na bedienen device via webapp - Afdrukweergave
nodo-domotica.nl
http://www.nodo-domotica.nl/forum/

Variable setten na bedienen device via webapp
http://www.nodo-domotica.nl/forum/viewtopic.php?f=36&t=1018
Pagina 1 van 1
Auteur:  Teunissm [ 22 nov 2012, 21:17 ]
Titel:  Variable setten na bedienen device via webapp

Is het mogelijk zodra ik via de webapp een device aan schakel (buiten lamp aan waarbij newkaku 1 wordt verzonden) ook een variabele te setten (variabeleset 4,1) ?

Marcel
Auteur:  proza [ 22 nov 2012, 22:47 ]
Titel:  Re: Variable setten na bedienen device via webapp

Bedoel je zoiets

EventlistWrite; NewKAKU 111,On; TimerSetMin 5,30
EventlistWrite; NewKAKU 111,On; VariableSet 4,1.00


!Of via een userevent
EventlistWrite; UserEvent 10,1; SendKAKU 111,On
EventlistWrite; UserEvent 10,2; VariableSet 4,1.00
EventlistWrite; UserEvent 10,3; SendNewKAKU 99,5
Auteur:  Teunissm [ 23 nov 2012, 06:55 ]
Titel:  Re: Variable setten na bedienen device via webapp

Inderdaad de bovenste optie met newkaku. Deze regel heb ik in mijn eventlist staan maar hij wordt helaas niet uitgevoerd op het moment dat ik het bij behorende device in de webapp bedien? Als ik in de command line van de webapp dit kaku event in toets word de regel in de eventlist wel uitgevoerd?
Auteur:  mdegraaf [ 24 nov 2012, 10:43 ]
Titel:  Re: Variable setten na bedienen device via webapp

Hoi,

Alle zaken welke je uitzend... Dus SendKAKU, SendNewKaku, SendUserEvent,... enz worden via RF/IR verzonden en niet meer door de eventlist van de verzendende Nodo afgehandeld.

Wat je zou kunnen doen is een 'Userevent' device aanmaken met ter illustratie 100,0 als UserEvent on: en 99,0 als UserEvent off:.

In je eventlist kun je dan onderstaand toevoegen.

EventlistWrite; UserEvent 99; SendKAKU A1,Off
EventlistWrite; UserEvent 99; VariableSet 1,0
EventlistWrite; UserEvent 100; SendKAKU A1,On
EventlistWrite; UserEvent 100; VariableSet 1,1

Groeten,

Martin
Auteur:  Teunissm [ 25 nov 2012, 19:28 ]
Titel:  Re: Variable setten na bedienen device via webapp

Beste Martin,

Helaas gaat voor mij het door jouw geschetste verhaal niet op, wat ik zou willen is dat als ik via de webapp een nieuwkaku comando verstuur (sendnewkaku 1,6) er een variabele geset wordt. Naar mijn idee gaat dit niet met de userevents zonder dat ik voor iedere dim stand van een lamp een device aan te maken in de webapp?
Of heb je hier nog een andere oplossing voor?

Groet,
Marcel
Auteur:  mdegraaf [ 28 nov 2012, 00:04 ]
Titel:  Re: Variable setten na bedienen device via webapp

Hoi Marcel,

Dan gaat het idd niet werken. Ik heb zo even geen oplossing.

Wat wil je precies bereiken wie weet is er een andere weg.

Groeten,

Martin
Auteur:  manjh [ 28 nov 2012, 00:25 ]
Titel:  Re: Variable setten na bedienen device via webapp

Pagina 1 van 1 Alle tijden zijn GMT + 1 uur