SkyNet allows you to query devices such as drones, hue light bulbs, weemos, arduinos, and server nodes that meet your criteria and send IM messages to 1 or all devices. You can also subscribe to messages being sent to/from devices and their sensor activities.
(Full Story: SkyNet – Machine-to-machine instant messaging (M2M IM) open communications platform & API for the internet of things.)