It’s surprisingly easy for a hacker to take control of the environmental sensors, traffic monitors and other internet-connected devices that power smart cities. With little more than some creative…