{"id":2257,"date":"2024-08-18T19:48:38","date_gmt":"2024-08-18T17:48:38","guid":{"rendered":"http:\/\/192.168.1.213:8088\/?p=2257"},"modified":"2024-10-02T08:28:56","modified_gmt":"2024-10-02T06:28:56","slug":"the-home-office-heatwave-is-over","status":"publish","type":"post","link":"http:\/\/192.168.1.213:8088\/the-home-office-heatwave-is-over\/","title":{"rendered":"The home office heatwave is over"},"content":{"rendered":"\t\t
In my previous blog post<\/a>, I mentioned the unexpected failure of my APC unit, which got me thinking about potential causes. Currently, my server rack sits right next to my desk on the upper level of my house\u2014an area that becomes extremely hot during the summer, especially in recent weeks.<\/p> Fortunately, I recently installed an AC unit in my office, which has made working in this heat far more bearable. However, this led me to a new question: How can I automate the cooling of my server rack to ensure it stays cool at all times, even when I’m not at home?<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t In my office, I\u2019ve installed several devices to monitor and control the environment, including:<\/p> The AC unit itself isn\u2019t a smart device and can only be controlled via a remote. After some research, I discovered that the Switchbot Hub, which I was already using, could learn the AC\u2019s IR commands and send them, essentially making my AC smart.<\/p> Here\u2019s how the components are currently integrated:<\/p> The only challenge I\u2019ve encountered is with the SwitchBot, which is integrated with Alexa. While this setup works, the integration with IObroker is not as smooth as I\u2019d like. In the future, I plan to explore the SwitchBot API<\/a> to bypass the Alexa integration and streamline the process.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t To develop an effective automation strategy, I first analyzed the temperature data from June to July. It\u2019s important to note that during this period, the rack was never fully closed. Had it been closed, the internal temperatures would likely have been significantly higher.<\/p>\n From the statistics, it\u2019s clear that the temperature inside the rack consistently runs a few degrees warmer than the room temperature. This is expected given the heat generated by the equipment, but it also highlights the need for proper cooling.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t The goal is to close the rack and fully utilize the rooftop fans to manage the internal temperature more effectively. Based on the temperature data, I\u2019ve outlined the following automation rules:<\/p>\n Trigger Point<\/strong>: When the rack temperature exceeds 33\u00b0C, the automation will:<\/p>\n Warning Threshold<\/strong>: If the temperature inside the rack reaches 35\u00b0C:<\/p>\n Door Sensor Alert<\/strong>: If the door is opened while the AC is running:<\/p>\n Cooling Threshold<\/strong>: The cooling system will remain active until the rack temperature normalizes to 22\u00b0C. Once this threshold is reached:<\/p>\n This approach should ensure that the equipment remains within a safe operating temperature range, even during the hottest days, while also providing peace of mind with real-time notifications and alerts for any potential issues.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t After a few days of letting the automation run, it’s been a real pleasure to walk into my office and feel the cool air, while the rest of the house remains quite hot. The automation has effectively maintained a comfortable working environment in my office, which is clearly reflected in the temperature and humidity graphs.<\/p>\n Here\u2019s what the data shows:<\/p>\n \u00a0<\/p>\n These results affirm that the automation is functioning as intended, ensuring that my equipment remains within safe operating temperatures and that my workspace stays comfortable, even during the hottest days.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\tCurrent Setup: Automating the Cooling Process<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
Analyzing Temperature Data: June to July<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
Automation Strategy<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n
\n
\n
\n
\n
Javascript<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
Results<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n