what kind of devices are used to read the state of an input ?
I want to display if a pump is running.
what do i need and how do i connect it to mango.