Disclaimer: I'm not an IT engineer and maybe I made some big mistakes, so be very careful when you try to mod your Hydrosys4 project, this is just a little idea to improve this beautiful software;
that said....
I was wandering reading some posts here when at some point Angelo said something regarding the possibility to read internal CPU temperature with the command "vcgencmd measure_temp", so I tried to add this actual sensor in my Hydrosys4 project. The goal is to monitor raspberry temperature and if increase too much use "automation" tool to activate a little fan in the box where raspberry work. I don't really know if this will be useful, but it's a way to play around software and Hw.
Here my solution:
1) in "HWControl.py" I added an item "Raspberry_temperature" in "HWCONTROLLIST" array, as 28th element
2) in "HWControl.py" i added reference of the 28th item in "execute_task" function
3) in ""HWControl.py" I also added the little function: NOTE that I didn't care about check the sensor, or some additional compatibility issues between PI versions at all... I used an Italian mantra "Andrà tutto bene" (*); Note that we have as result a string with this format "temp=xx.x'C" , that has to be parsed in order to obtain only temperature value.
4) I've uploaded the file, and rebooted raspberry;
5) now it's possible to add a "Raspberry_temperature" in the Hydrosys4 hardware panel;
6) now I can read realtime value of CPU and use this data for all i need...
7) and.. of course, in the main panel now is showing sll termperatures readings aggregate in "temperature" tab :)
My system is fitted in a box very exposed to weather conditions so I expect such a low value (about 33/35°) in winter, but much hotter in summer. This is a very good way to monitor in which environment my little PI has to work;
Thank again to Angelo that created such modular system very easy to understand e to improve!! Maybe in the next version he will add this function in a more "safe" and cross-device way.
Bye!
I added the internal temperature sensor in the new release !
very nice indeed, I'll try to add in the next official update.