Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Idea on a PH Thermostat Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
krommetje
Super User
Super User
Avatar

Joined: December 29 2004
Location: Netherlands
Online Status: Offline
Posts: 695
Posted: June 11 2006 at 11:00 | IP Logged Quote krommetje

Hey Guys?

any Ideas on how to perfect this?

Code:

insert into macroheader values ('TEST','TEST',0,0,1);
insert into macrodetail values ('TEST',1,27,'',NULL,'if({SENSOR1} > 2500,"OK","NEXT")',0,'');
insert into macrodetail values ('TEST',2,26,'',NULL,'OK',0,'');
insert into macrodetail values ('TEST',3,36,'',NULL,'"Temperature Measures {S1}"',0,'');
insert into macrodetail values ('TEST',4,36,'',NULL,'"Shutting down Thermostat"',0,'');
insert into macrodetail values ('TEST',5,12,'K',6,'',0,'X10-1');
insert into macrodetail values ('TEST',6,12,'K',103,'',0,'X10-1');
insert into macrodetail values ('TEST',7,39,'',NULL,'',0,'');
insert into macrodetail values ('TEST',8,26,'',NULL,'NEXT',0,'');
insert into macrodetail values ('TEST',9,36,'',NULL,'"Temperature Measures {S1}"',0,'');
insert into macrodetail values ('TEST',10,12,'K',6,'',0,'X10-1');
insert into macrodetail values ('TEST',11,12,'K',102,'',0,'X10-1');
insert into macrodetail values ('TEST',12,36,'',NULL,'"Switching ON thermostat"',0,'');
insert into macrodetail values ('TEST',13,39,'',NULL,'',0,'');


the Idea is to have PH to have control over the Central heating Thermostat... PH would have the function of controler so that the Thermostat stays in its normal programming... So the Temperature in the living room can't get any higher then 25 degrees celcius with the Central Heating in the example code. What I am looking for is e.g. a time-checking...a low-value checking or something else...

do you have any ideas?

Peter
Back to Top View krommetje's Profile Search for other posts by krommetje Visit krommetje's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: June 11 2006 at 22:58 | IP Logged Quote dhoward

Peter,

I imported the macro and checked it out. It seems like it would do what you want. All you would really need to do is call it from a timed event that ran probably every 5 minutes.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
krommetje
Super User
Super User
Avatar

Joined: December 29 2004
Location: Netherlands
Online Status: Offline
Posts: 695
Posted: June 12 2006 at 15:53 | IP Logged Quote krommetje

Dave I am going to put this on hold until i've got this incoming cueue problem solved...

Peter
Back to Top View krommetje's Profile Search for other posts by krommetje Visit krommetje's Homepage
 
krommetje
Super User
Super User
Avatar

Joined: December 29 2004
Location: Netherlands
Online Status: Offline
Posts: 695
Posted: July 29 2006 at 03:18 | IP Logged Quote krommetje

Any Ideas on checking time/date/season etc? Would be nice to have more interaction...
Back to Top View krommetje's Profile Search for other posts by krommetje Visit krommetje's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum