Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register
Comfort Automation/ Security System Forums > Products > Comfort Webserver Module (OBSOLETE) > Easiest way to display scs tem on web page (deg celcius)

Easiest way to display scs tem on web page (deg celcius)
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Wednesday Jun 15th, 2011 08:32 pm
   PM  Quote  Reply 
1st Post
wexfordman
UCM Pi Users
 

Joined: Monday Jan 1st, 2007
Location: Cork, Ireland
Posts: 546
Status: 
Offline

  back to top

Hi,

I have managed to get readings from one of my scs's tem sensor to display in my cwm web page. Only very basic at the moment, but I am trying to figure out how to display it in deg celius (currently it is in farenheight). Here is what I have done so far

Comfort
Sensor 8 response activates a response "kitchen temp"
Kitehcen temp gets scs value and loads it into counter 27

CWM
I have greated a cntr with the following properties
cntr 27
divisor 1
display value quotient
values:- now this is where I need help


I think the above settings are correct, my difficulty is getting the readings from the scs to display in celcius, and to figure out a reasonalbe way to be able to display a temp range from -10 to 37 deg WITHOUT having create 47 different values and 47 different images of the numbers -10 to 38 ?

Appreciate any advice, and if I do have to source 48 different jpegs of the numbers -10 to +37, anyone have any decent ones I could use.

Thanks,
Eamon



 Posted: Wednesday Jun 15th, 2011 09:34 pm
   PM  Quote  Reply 
2nd Post
wexfordman
UCM Pi Users
 

Joined: Monday Jan 1st, 2007
Location: Cork, Ireland
Posts: 546
Status: 
Offline

  back to top

Actually, I have figured out some of this, sorry. Saw the misc actions convert faren to celsius, so have at least got that far.

I have created jpeg files to represent the celsuis range -10 to 37, but while I know my counter is readying 21 deg, for some reason cwm is reporting back 2 deg !!

my cwm files are located here if anyone can help

http://www.4shared.com/folder/9C0c6IuT/_online.html

cntr2 is the one thats giving the problem.

Regards,
Eamon

Last edited on Wednesday Jun 15th, 2011 11:41 pm by wexfordman



 Posted: Friday Jun 17th, 2011 10:29 am
   PM  Quote  Reply 
3rd Post
wexfordman
UCM Pi Users
 

Joined: Monday Jan 1st, 2007
Location: Cork, Ireland
Posts: 546
Status: 
Offline

  back to top

Still havnt figured this one out. Cant see for the life of me, why the coutner is reporting the correct value, yet my cwm is displaying a different figure altogether. Can anyone help ?



 Posted: Saturday Jun 18th, 2011 02:40 am
   PM  Quote  Reply 
4th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

I cannot access that web page. It takes a long time trying to connect and comes up blank



 Posted: Saturday Jun 18th, 2011 09:40 am
   PM  Quote  Reply 
5th Post
wexfordman
UCM Pi Users
 

Joined: Monday Jan 1st, 2007
Location: Cork, Ireland
Posts: 546
Status: 
Offline

  back to top

Hi ident,

Sorry, will try again or maybe email the files to you



 Posted: Saturday Jun 18th, 2011 09:43 am
   PM  Quote  Reply 
6th Post
wexfordman
UCM Pi Users
 

Joined: Monday Jan 1st, 2007
Location: Cork, Ireland
Posts: 546
Status: 
Offline

  back to top

Or I could enable FTP access to cwm and you could access it via the details I gave earlier?

 

Edit:- Actually, while the above can be done (and i've enabled it on my router), it means using comfigurator first to do the keypad entry of f0 (comfigurator using port 10002) and then ftp. Its prob a bit too cumbersome to do it that way, so I will email the files to you next time I am home instead.

 

Thanks

Eamon

Last edited on Saturday Jun 18th, 2011 10:03 am by wexfordman



 Posted: Sunday Jun 19th, 2011 10:19 am
   PM  Quote  Reply 
7th Post
wexfordman
UCM Pi Users
 

Joined: Monday Jan 1st, 2007
Location: Cork, Ireland
Posts: 546
Status: 
Offline

  back to top

Hi ident, I have emailed all the files to support,

Regards
Eamon



 Posted: Sunday Jun 19th, 2011 10:01 pm
   PM  Quote  Reply 
8th Post
wexfordman
UCM Pi Users
 

Joined: Monday Jan 1st, 2007
Location: Cork, Ireland
Posts: 546
Status: 
Offline

  back to top

Stop the Press, I think I have it sorted :-)

The final problem I think was the way I had the cntr display propoerties in cwm. I had it set to display remainder, instead of quotient, and the divisor was 10 instead of 100.

For info, I will post up how I actually configured an scs temp reading to display on cwm in a new thread, might be usefull to others.



 Posted: Tuesday Jun 28th, 2011 09:16 am
   PM  Quote  Reply 
9th Post
wexfordman
UCM Pi Users
 

Joined: Monday Jan 1st, 2007
Location: Cork, Ireland
Posts: 546
Status: 
Offline

  back to top

As mentioned, I posted up how I did this, so if anyone is interested, you can find it here http://www.comfortforums.com/forum83/2324.html

regards,
Eamon



 Current time is 08:00 am
Comfort Automation/ Security System Forums > Products > Comfort Webserver Module (OBSOLETE) > Easiest way to display scs tem on web page (deg celcius)
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems