A Fuzzy System to reduce Power Consumption in Wireless Sensor Networks: a comparison between WirelessHART and IEEE 802.15.4