A peak-load shaving application is implemented for a Building Energy Management System (BEMS). The IEEE1888 open protocol is adopted to facilitate interoperability capability through the TCP/IP network. The data structure is determined by the Facility Information Access Protocol (FIAP). The operation of equipped Battery Energy Storage System (BESS) is optimized from the analytical load-forecast model and also takes the power and energy ratings of the battery into consideration. The peak-load-shaving application is developed with 15-minute on-line processing. The real-world BEMS is demonstrated by a test-bed building at university. Thanks to the IEEE1888 open protocol, the common interface for the gateway, data storage, and peak-shaving application can be achieved. Experimental results are gathered from 2-week testing and the feasibility of IEEE1888-based interoperable BEMS is validated. The optimized control of a 5.76 kW/11.52 kWh BESS is examined accordingly, and up to 6.99% of peak demand is successfully deducted. Parameters c 1 , c 2 , c 3 , c 4 , c 5 Members of set C. f 1 , f 2 , f 3 , f 4 , f 5 Members of set F. p 1 , p 2 , p 3 Members of set P. m Order of Auto-Regressive (AR) model.