[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/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 - Thermostaat functie - Afdrukweergave
nodo-domotica.nl
http://www.nodo-domotica.nl/forum/

Thermostaat functie
http://www.nodo-domotica.nl/forum/viewtopic.php?f=24&t=1477
Pagina 1 van 1
Auteur:  dodge [ 02 maart 2013, 10:01 ]
Titel:  Thermostaat functie

Hallo,

Ik weet dat er over dit onderwerp al meerderen topic zijn.
Maar aangezien dat het volgens mij erg 'ingewikkeld' is om dit alleen via de eventlist te doen dit topic.
Je hebt erg veel regels nodig in de eventlist om er alleen al voor te zorgen dat de temperatuur gecontroleerd wordt en hierop wordt geschakeld.

Dus mijn gedachte was om een klein stukje code te maken in de userplugin.

Wat zou deze code moeten doen:
Eigenlijk erg simpel.
Variable A veranderen in 1 of 0 door een vergelijking te doen tussen 2 variabelen.
Deze 2 variabelen bestaan uit. een opgegeven waarde vanuit de webapp.
en de temperatuur die gemeten wordt.
aan de hand van variable A kan de weer een relais gestuurd worden voor de verwarming.
later zou dit ook nog uitgebreid kunnen worden om de verwarming wat vriendelijker te schakelen.

ik was aan het denken aan een code zoals deze:

if(variable 1 < variable 2) then return 1
elseif variable 1 > variable 2) then return 0
else return 2 "de waardes zijn gelijk"

echter heb ik geen idee hoe waar ik dit in de userplugin kan verwerken. wat dit is niet op de juiste manier opgezet. en hoe ik dit dan kan oproepen.

Kan hier iemand bij helpen?
eventueel met een klein voorbeeldje
Auteur:  manjh [ 02 maart 2013, 10:42 ]
Titel:  Re: Thermostaat functie

Weet je zeker dat je een pure aan/uit verwarming hebt? Veel moderne ketels kennen een gemoduleerde brander. Daarbij hoort een thermostaat die dat aankan, en met zo'n combinatie kun je in principe beter en zuiniger stoken.
Auteur:  dodge [ 02 maart 2013, 18:55 ]
Titel:  Re: Thermostaat functie

yup dat weet ik zeker. wij hebben nog een relatieve oude ketel die nog een pure aan en uit schakeling heeft.
Auteur:  Markie [ 02 maart 2013, 19:41 ]
Titel:  Re: Thermostaat functie

inderdaad kom er dagelijks nog zat tegen kijk kan je er vanaf is altijd beter natuurlijk ik zelf stook hier ook weersafhankelijk das natuurlijk helemaal mooi en dat gaat via opentherm dus ja dan wordt het tijd dat dat protocol in de nodo opgenomen wordt




MArk
Auteur:  manjh [ 02 maart 2013, 22:07 ]
Titel:  Re: Thermostaat functie

Auteur:  ff2000 [ 23 apr 2013, 20:32 ]
Titel:  Re: Thermostaat functie

Al iets verder hiermee?
Auteur:  Sikidim [ 24 apr 2013, 05:52 ]
Titel:  Re: Thermostaat functie

Pagina 1 van 1 Alle tijden zijn GMT + 1 uur