[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)
Toon onderwerp - IR commando versturen via RF naar andere nodo • nodo-domotica.nl

nodo-domotica.nl

IR commando versturen via RF naar andere nodo

Met de Nodo commando's en dee Eventlist kun je vrijwel elke domotica wens realiseren. De Nodo beschikt hiervoor over een eigen script-taal waarmee u uw domotica wensen kunt realiseren. Plaats hier uw vragen en tips die hier op betrekking hebben.

IR commando versturen via RF naar andere nodo

Berichtdoor Dave » 24 okt 2011, 13:53

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 ?
Dave
 
Berichten: 71
Geregistreerd: 18 sep 2011, 12:20

Re: IR commando versturen via RF naar andere nodo

Berichtdoor Paul » 27 okt 2011, 22:00

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.
Groeten Paul
Paul
 
Berichten: 1152
Geregistreerd: 31 aug 2011, 20:33

Re: IR commando versturen via RF naar andere nodo

Berichtdoor Dave » 27 okt 2011, 23:10

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.
Dave
 
Berichten: 71
Geregistreerd: 18 sep 2011, 12:20

Re: IR commando versturen via RF naar andere nodo

Berichtdoor Paul » 28 okt 2011, 07:42

Groeten Paul
Paul
 
Berichten: 1152
Geregistreerd: 31 aug 2011, 20:33


Keer terug naar Nodo scripts

Wie is er online?

Gebruikers in dit forum: Geen geregistreerde gebruikers. en 5 gasten