Adam Bien's Weblog
Glassfish (Java EE 5), RMI, Groovy, Java FX, Sun Spots contribute to C02 reduction - approval of project "greenfire"
Since about 2 years the heating is controlled and optimized by a relatively simple Java EE 5 application. It gathers every 5 minutes the weatherdata, house temparature, heating sensor data and decides what to do. Beyond the optimization I have now the ability to access the weather data from the last 2 years and compare the results. Internet access via RSS is possible as well. With simple optimizations like prioritization of heating sources (solar panels, main heating etc.), cooling the solar panels in summer with the basement heating etc. I was able to reduce the amount of energy about 10-30% (actually much more, but I still cannot believe it :-)). After realizing this, I decided to opensource the whole software.
[thanks to Kinga Bien for the logo]
I checked-in yesterday the heating integration modules. Several modules are still waiting for check in. Of course use the project greenfire to try out some patterns and approaches as well (why not having fun with saving the evironment? :-)). My next leisure activity will be to integrate the Sun Spots and build a Java FX frontend. The project is really mission critical as well: we have winter in bavaria now - it means minus degrees....
Some project goals:
The main goal is obvious: the highest possible energy saving and so CO2 reduction. However to achieve the goal following technologies/APIs are used:
- Glassfish V2 and Java SE 6, however GreenFire is fully Java EE 5 compatible and can be ported to other application servers
- JSR-223 (Scripting Integration) in Java EE 6 / 6 environment for the implementation of flexible rule systems
- EJB 3 timer service
- Java EE compatible hardware integration
- SunSPOT and sensor network integration
- Java FX together with Swing and EJB 3
- Speech synthesizer integration (FreeTTS)
- Management and monitoring over the internet
- Mobile device integration
- Integration of Multi Media Center Systems
At the oop conference in munich I will introduce the project greenfire and delving into the implementation. Project greefire was initially built as a sample application for the Enterprise Architekturen book, however it is in "production" now.
NEW workshop: Java EE 7 and Java 8, January 27th, 2015, Airport Munich