Cooking-ez.com

963 easy and fully explained recipes, with 20,808 photos and 77 videos

Home Automation and CP290 with Excel

112,7114.0/5

Grade this page :

Last modified on: April 23th 2018

Generalities

If you use a CP 290 interface to do a little home automation and, for example, regulate your heating system, you need to have this pretty thing at home:

cp 290

When I buy mine, it was delivered with a software : "Lighthouse" in DOS and Windows 3.1. Besides this software is English, (with the am/pm system to indicate hours), and that it is not user-friendly, the biggest problem is that it no longer works with systems like after XP.

I did not find any new version or upgrade of Lighthouse on the web. So I developed the idea to use Excel in order to create a page that could drive the interface. Excel imposed itself quite logically. Because, to plan my heating I had already done a spreadsheet on the Gantt model for all the modules during the week. Then, I transcribed the different slot in order for Lighthouse that transmitted them to the interface.

gantt cp 290

Obviously, if the Excel file could itself program the interface according to the areas of the Gantt diagram, that would be very useful, and this is now the case…

How Does It Work?

It's very simple :

  1. In the file, there is a tab name "Paramétrage", write the numbers of your modules in it, as well as the room or the equipment the correspond to (there is also an abbreviated designation, about 3 letters for the forthcoming editions).
  2. Then, click on the tab "Gantt" and colour (you can choose the colour) the areas where you want the module running for the chosen days and modules,
  3. Finally, choose the tab "Lues-Reçues" and click on the "analyse Gantt " button, your diagram is translated into a board of orders for the interface.
  4. Click on the " Programmation CP 290" button and all the orders are programmed in the interface.
  5. Then, you can verify this programming (or another, if you own another software) by clicking on the "Lecture CP 290 " button, that draws a board of orders which are already programmed.

What The File Does

Everything that is explained above, more, with a single click :

a tab of the file (Framework) contains a "rough" version of the information received end sent by the interface.

What It Does Not Do (yet)

Optimizing the orders from the Gantt : It cannot detect that several modules are working at the same time and that it only requires a single order. For the time being, it send as many orders as there are modules to run.

It does not process peculiar commands of graphic downloading.

Its only way of commanding is "on" and "off" (no variation of intensity for the lamps) and it does not deal with the parameters like "yesterday", "tomorrow" and "today".

How To Use It

You just have to download the file cp290.xls (Excel 2000, 220 kb) to get almost everything

Your PC has to be able to use the port Com 1 (or other, see the source code of the file), see how you have to proceed on this excellent page :http://cherbe.free.fr/rs232.html

You can also download the benchmark documentation for programmers concerning CP 290 available on the SmartHome website.

Conclusion

Here it is, you can probably improve the all thing, but it is up to you to decide of what you need. Here is a few trail to follow if you feel like it :

Of course, if you need further information, if you want to make your contribution to the subject or give me your opinion, please send me an e-mail (see the e-mail on top of page).

Back to top of page

visitors have also looked at

Making your own bread
Making your own bread
Nutritional information and ingredients
Nutritional information and ingredients
List of all pages
List of all pages
Soured dough
Soured dough
A bread oven
A bread oven

Post your comment or question

You are welcome, if you wish, to comment on this page: why you like it or not, what you have changed, what results it gave, point out a mistake or omission, etc. You can also ask a question. I answer all questions (in a broken English, sorry) unless someone else does it before me.
Please feel free to say what you think, I'm always very interested in your opinion. Your comment will appear on line with the page, so please write in standard readable English, not SIM or only in CAPITALS, otherwise your comment may be rejected.

Please look at advice for submitting a comment or image (what you should or should not do). By the way, don't type your e-mail address in the comment, otherwise you might be spammed.

I am not a leaving thing

Follow this page

If you are interested in this page, you can "follow" it, by entering your email address here. You will then receive a notification immediately each time the page is modified or a new comment is added. Please note that you will need to confirm this following.
I am not a leaving thing
Note: We'll never share your email with anyone else.
Alternatively: you can subscribe to the mailing list of cooling-ez.com , you will receive a e-mail for each new recipe published on the site.

Back to top of page