The Internet of Things (IoT) is a future-generation networking environment in which distributed smart objects can communicate directly and create a connection between different types of heterogeneous networks. Knowing the accurate localization of IoT-based devices is one of the most challenging issues in expanding the IoT network performance. This paper was done to propose a new fuzzy type2-based scheme to enhance the position accurateness of sensors deployed in the Internet of Things environments. Our proposed scheme is based on the weighted centralized localization strategy, in which the location of unknown nodes calculates using the fuzzy type-2 system. The flow measurement via the wireless channel to calculate the separation distance between the sensor/anchor nodes is employed as the fuzzy system input. Also, the fuzzy membership functions to better adaptivity of our scheme with lossy IoT environments via learning automata algorithm are tuned. Then, in the proposed method, the fuzzy type-2 calculations are restricted by comparing the received signal strength with a predefined threshold value to extend the network lifetime. The effectiveness of the proposed scheme has been proven through extensive simulation. Based on the simulation results, our scheme, on average, reduced the localization error by 35.9% and 9.5% decreased the energy consumption by 13% and 7.2%, and reduced the convergence rate by 33.1% and 12.37 % compared to the HSPPSO and IMRL methods, respectively.