[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 - IR commando versturen via RF naar andere nodo - Afdrukweergave
nodo-domotica.nl
http://www.nodo-domotica.nl/forum/

IR commando versturen via RF naar andere nodo
http://www.nodo-domotica.nl/forum/viewtopic.php?f=24&t=70
Pagina 1 van 1
Auteur:  Dave [ 24 okt 2011, 13:53 ]
Titel:  IR commando versturen via RF naar andere nodo

Beste Nodo gebruikers,

Omdat we hier in huis 2 nodo's hebben waarvan Nodo 1 4 relais aanstuurt zou ik deze nodo graag vanaf een andere nodo die in de woonkamer staat middels mijn Harmony remote (IR) willen bedienen.

Echter wil ik dit graag doen zonder tussenkomst van een pc (Eventghost) en zou hiervoor dus graag een macro in de nodo's zelf willen zetten zodat het geheel ook te bedienen is als de pc uit staat.

In feite gaat het dus om het volgende:

1 Commando vanaf de Harmony (die ik heb aangeleerd via de beheertool)
2 Na ontvangst van het signaal (IR) door nodo 2 zal deze hem moeten doorsturen via RF naar nodo 1
3 Nodo 1 maakt na ontvangst Wired 1 hoog

Hoe kan ik dit eenvoudig uitvoeren ?
Auteur:  Paul [ 27 okt 2011, 22:00 ]
Titel:  Re: IR commando versturen via RF naar andere nodo

Dit kan op meerdere manieren. Allereerst is het commando UserEvent speciaal bedoeld voor uitwisselen van informatie tussen NodoĊ›. Ook is het mogelijk om via een Nodo die aan een PC hangt commando's door te sturen naar een andere Nodo (Via RF of IR) Hiervoor kun je het commando Divert gebruiken.

Als je Nodo-1 een relais wil laten schakelen die aan Nodo-2 is verbonden staan je twee mogelijkheden ten dienste. Zorg dat je altijd aan iedere Nodo een uniek nummer toekent m.b.v. het commani 'Unit'.

Methode-1:
Stuur vanuit Nodo-1 met SendUserEvent een Userevent naar de Nodo-2. In de Nodo-2 koppel je in de eventlist het Event 'UserEvent' aan de actie 'WiredOut'.

Methode-2:
Stuur een direct commando naar Nodo-2 via de Nodo-1 door 'Divert 2; WiredOut <poort>,<state>'.
Nodo-1 voert het net zelf uit maar gooit het de lucht in met als bestemming Nodo-2.

Hoewel methode-2 makkelijker is, heb ik zelf de voorkeur voor de flexibelere methode-1.
Auteur:  Dave [ 27 okt 2011, 23:10 ]
Titel:  Re: IR commando versturen via RF naar andere nodo

Bedankt Paul!

Heb gekozen voor de eerste optie en het werkte al na 2 min ;-)
Dacht dat de commando's ingewikkelder waren met toewijzing naar nodo nummer e.d.

Het is eigenlijk dus zo dat je vrij bent een userevent te kiezen b.v.b. 1,11 en de nodo die hiervoor een macro heeft staan voert iets uit, de andere logischerwijs dus niet.

Ben er blij mee dat het nu eindelijk werkt, was al een paar uur bezig geweest maar begreep duidelijk het principe niet.
Auteur:  Paul [ 28 okt 2011, 07:42 ]
Titel:  Re: IR commando versturen via RF naar andere nodo

Pagina 1 van 1 Alle tijden zijn GMT + 1 uur