[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/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 - devices worden plugins - Afdrukweergave
nodo-domotica.nl
http://www.nodo-domotica.nl/forum/

devices worden plugins
http://www.nodo-domotica.nl/forum/viewtopic.php?f=32&t=1670
Pagina 1 van 1
Auteur:  manjh [ 16 sep 2013, 16:01 ]
Titel:  devices worden plugins

We waren net gewend aan het woord "device", maar komen er nu toch achter dat dit de lading niet altijd dekt. Een device is meestal een stukje hardware. Maar in de Nodo wereld hoeft dat niet altijd zo te zijn, alhoewel het vaak wel klopt.

Daarom hebben we besloten om het begrip "device" te vervangen door "plugin".
Deze wijziging heeft nogal wat gevolgen, maar het meeste werk is al gedaan. De Wiki is gewijzigd, de code ook, en de subdir waar de plugins in worden afgeleverd heeft ook een nieuwe naam.

Als er al iets is dat je zelf zult moeten doen: kijk je config files even na. Overal waar je defines hebt gebruikt zul je het woord DEVICE even moeten veranderen in PLUGIN.
Auteur:  bunny007 [ 20 sep 2013, 17:52 ]
Titel:  Re: devices worden plugins

Iemand een idee hoe we de devices kunnen aanspreken in de eventlist in R586, voorheen was dit;

EventlistWrite; Timer 1,0; UserPlugin 145,1 ! Uitlezen van de DHT11
EventlistWrite; Timer 2; VariableDevice 3,2 ! Uitlezen van de 1e Dallas DS18B20
EventlistWrite; Timer 3; VariableDevice 4,3 ! Uitlezen van de 2e Dallas DS18B20
EventlistWrite; Timer 4; VariableDevice 5,4 ! Uitlezen van de 3e Dallas DS18B20

Ik begrijp dat ik de Config_01.c moet aanpassen naar;

// TempSensor : Temperatuursensor Dallas DS18B20
#define PLUGIN_005
#define PLUGIN_005_CORE

// TempSensor : Temperatuursensor DHT11
#define PLUGIN_006
#define PLUGIN_006_CORE

Mvg
Auteur:  manjh [ 20 sep 2013, 19:35 ]
Titel:  Re: devices worden plugins

Even lezen, het staat er allemaal.
Auteur:  bunny007 [ 21 sep 2013, 15:58 ]
Titel:  Re: devices worden plugins

Blijkbaar stond het er, dank je wel !! waarschijnlijk er dik omheen gelezen waardoor ik deze pagina o.a. niet zag ;)

Twijfel wel of het onderstaande goed zal zijn maar de sensors werken in elk geval.

EventlistWrite; Boot 1; Sound 1,0
EventlistWrite; WildCard RF,All,0; EventSend HTTP
EventlistWrite; WildCard IR,All,0; EventSend HTTP
EventlistWrite; WildCard Wired,All,0; EventSend HTTP
EventlistWrite; WildCard All,UserEvent,0; EventSend HTTP
EventlistWrite; WildCard All,Variable,0; EventSend HTTP
EventlistWrite; Boot 1; TimerSet 1,15
EventlistWrite; Boot 1; TimerSet 2,20
EventlistWrite; Timer 1; TimerSet 1,300
EventlistWrite; Timer 1; DHT11Read 1,1
EventlistWrite; Timer 2; TimerSet 2,300
EventlistWrite; Timer 2; TempRead 2,3
EventlistWrite; Timer 2; TempRead 3,4
EventlistWrite; Timer 2; TempRead 4,5

Mvg
Pagina 1 van 1 Alle tijden zijn GMT + 1 uur