Design, Integration, And Evaluation Of Iot-Based Electrochromic Building Envelopes For Visual Comfort And Energy Efficiency