My friend and I are in a university and we have been asked by the agriculture professor to create automated watering systems for plants. We want to have control over the grow lights so are there any commercial product that has an API that I can turn on/off/query power consumption through a request HTTP request, etc.

We just need to control 300w-1200w equivalent LED grow lights.

  • please describe end devices you need to control – Guy . D Sep 25 at 13:17
  • We just need to control 300w-1200w equivalent LED grow lights. – Trevin Corkery Sep 26 at 5:03
up vote 3 down vote accepted

A couple of options off the top of my head.

  1. Sonoff kit, can be flashed with open source firmware that allows control via MQTT/HTTP. While not sockets directly adding it into the cable is not hard. The Sonoff Pow does control and power monitoring.
  2. Belkin's WeMo sockets use SOAP messages and uPnP which is self describing (you can see my notes on working out the messages here. The Wemo Insight does control and power monitoring.

Those are mainly consumer grade kit, there is a huge amount of industrial kit using protocols like modbus that will do the same sort of thing.

You can make your own device for your requirement using NodeMCU and Solid State Relay. This can link with Google Assistant or Amazon Alexa too. For more information visit: OR

For switching a 1200W devices you can use ESP8266 incl relay.

You can upload a generic Arduino code to control it, or even more- use Home Assistant for controlling and scheduling.

  • @SeanHoulihane - link fixed. please explain what are you worried about – Guy . D Sep 26 at 17:40
  • Clearance between the NO track and Vdd is about 0.2mm - which means the Vdd must be well grounded and an ELCB used. University is potentially classed as'at work', so there is scope for legal liability if you don't take 'adequate'safety precautions. – Sean Houlihane Sep 26 at 18:42
  • PCB standardize those gaps. Be sure what are your real limitations – Guy . D Sep 28 at 9:56

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.