So I’m having some grand plans for my Greenhouse this summer
So far I’m running ESP-Easy with a DHT22 sensor to monitor temp and humidity but once you get started with automotation it’s hard to stop… the plan so far is to connect
4x relays to control irrigation to the beds
1x servo to open and close a window based on temp.
automating it through HASS
So, seems simple (please say yes…)!?
Found a guide to connect the relays (https://goo.gl/AmH8fz) and it wants the commands to be like this to turn them on and off:
http:///control?cmd=GPIO,,0
http:///control?cmd=GPIO,,1
The relay uses this formatting:
http:///control?cmd=Servo,,,
Can I add functions in HASS to controll these? Is it enough if I add them as regular MQTT entities as I’ve done with the sensors? Guessing that could work with the relays that’s just simple on or off but how to controll the servo that I want different degrees of opened based on temperature?
So, throw in your thoughts, ideas and comments please!
Thanks for the help @Ste, that looks really interesting! I’ve got it working with the http command now atleast but I’m unsure about the ESPEasy config you are showing. It looks like I have to add one switch for each gpio relay but I’ll try it and see how it works