AprilBrother / esp-soil-moisture-sensor

Apache License 2.0
53 stars 17 forks source link

Is there mqtt support? #5

Closed cputoaster closed 6 years ago

volca commented 6 years ago

Yes. ESP8266 has some great MQTT libraries. You can modify our exists code with the pubsubclient library.

I used this library with other ESP8266 project and it works fine.

MoJo2600 commented 6 years ago

I will try to flash homie https://github.com/marvinroger/homie-esp8266 on the device. I can share my code when it works. I have it running on a few temperature sensors.

cputoaster commented 6 years ago

I guess I will start with ordering one :-). And then I somehow have to make it outdoor capable.

volca commented 6 years ago

@MoJo2600 Wait for your good news!

@cputoaster Don't forget to buy one ESP Flasher Rev4 to programing the sensor easier

cputoaster commented 6 years ago

Yes, I already programmed lots of Sonoff devices, I guess I can use the same flasher, no? (Mini USB UART FTDI Programmer 3.3/5V USB Serial)

volca commented 6 years ago

@cputoaster Yes. you can use that flasher directly.

volca commented 6 years ago

I closed the issue.

MoJo2600 commented 5 years ago

It took a long time, but I'm in the progress of finishing my MQTT code for the soil moisture sensor. Currently I'm testing if everything is working properly but two of my sensors are sending values. You can find my code here: https://github.com/MoJo2600/esp-soil-moisture-sensor