[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)
Toon onderwerp - devices worden plugins • nodo-domotica.nl

nodo-domotica.nl

devices worden plugins

We zitten zoals bekend in de ontwikkelfase. Van diverse gebruikers heb ik al goede suggesties gekregen. Hier discussiëren we over de functionaliteiten van de nieuwe release.

devices worden plugins

Berichtdoor manjh » 16 sep 2013, 16:01

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.
Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Re: devices worden plugins

Berichtdoor bunny007 » 20 sep 2013, 17:52

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
R744, Mega, LAN, Nodoshield v1.2, 1xDHT22, 5xDS18B20, 5x8ch relay, 40/8p PCF8574, 5xKAKU, 4x2262, RFID
R744, Mega, LAN, 2xDS18B20, 2x8ch relay, 16/8p PCF8574, 2xHC-SR501
R818, MiniPro, 433RF, 2xMG995 Servo
Orange PI PC (€15) - Lubuntu 14.04 - Domoticz
bunny007
 
Berichten: 129
Geregistreerd: 09 dec 2011, 08:46

Re: devices worden plugins

Berichtdoor manjh » 20 sep 2013, 19:35

Even lezen, het staat er allemaal.
Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Re: devices worden plugins

Berichtdoor bunny007 » 21 sep 2013, 15:58

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
R744, Mega, LAN, Nodoshield v1.2, 1xDHT22, 5xDS18B20, 5x8ch relay, 40/8p PCF8574, 5xKAKU, 4x2262, RFID
R744, Mega, LAN, 2xDS18B20, 2x8ch relay, 16/8p PCF8574, 2xHC-SR501
R818, MiniPro, 433RF, 2xMG995 Servo
Orange PI PC (€15) - Lubuntu 14.04 - Domoticz
bunny007
 
Berichten: 129
Geregistreerd: 09 dec 2011, 08:46


Keer terug naar De nieuwe release

Wie is er online?

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

cron