WSNs as enabling tool for next generation smart systems