I have a running system for home heating automation that was developped by a local company. They stopped supporting the product last year.
This system manage heating of the house, blinds and fresh cooling in summer, thermic solar panels in summer’ wood boiler in winter.
A complete trend allow to record all values and use them for analysis for testing or troubleshooting.
À visu app alors to monitors data , adjust setpoint from web browser trough my iPad locally or remotely.
As I am used to PLC and HMI in my work, I was thinking that codesys could be the right choice for migrating my app.
Up to now I only checked the achieved the communication to IO module reading temperature measurement and sending command to output module using modbus communication.
I need also to replace IO module as they are not using standard network protocol .
The next step will be to reprogram all functions and configure HMI but before to do this I am trying to understand the limits of the RPi.
Home automation does not need to run fast so CPU capacity should not be the problem.. I am more afraid of trends limit, logging capacity, web visu limitsul systems is running every two seconds with some task every 8 second...
In my existing system, Trends data are logged every minutes during one day, every 10 min for 10000 sample, every hour for 10000 samples.
This is an interesting function and I don’t know is SQLite database would allow a kind a compressing the old data to save old data while keeping fast recording .
Thanks for your comments
Talk Topic about project #pruwetbe
I hope I have read your post good enough for my anwsers to be adequate.
A Raspberry Pi 3B should be more then powerful enough for your needs. It can do sub ms cycle times and I doubt your application will need that kind of scan time demands. Also Web visu will not be an issue at all. The built in webserver can easily host large HMI's with many pages.
Trends data are logged every minutes during one day, every 10 min for 10000 sample,
every hour for 10000 samples.
If you like you can build your application in a community effort under "Menu - Projects".
I think there is demand for Home automation projects like yours so people are bound to jump in and help you out with it.
Thanks for your feedback.
Regarding the number of signals to records, the existing system has about 50 IO and 100 variables that are recorded.
Codesys context will give me more possibilities and flexibility for controlling and have a real visualisation.
I begin to investigate the HVAC library that has a lot of nice blocks with related HMI.
I will use mainly CFC programming with page oriented that give a program easier to monitor.
I also plan to simulate the process in separate simulation task in order to validate the new system before migration of the old to the new system.
I hope I can find people to share my discoveries and get help when some tricky situation appear in development
just following this documentation and you will be well under way!
Log in to post a comment.