Published on

Agricultural IOT


My father owns a property in the South West of Western Australia that I am looking to automate. The solution I came up with was a mixture of using a raspberry pi computer connected to esp32 nodes connected by different means.

I setup a raspberry pi base station using the home assistant tool. in order to install home assistant I used a get home package called iot environment which allowed me to easily install home assistant and mosquito server and also on this server I install tailscale myself. home assistant was responsible for the logic of controlling call the parts of the iot system. the mosquito server was used as a messaging platform to be able to send messages to and from home assistant to ESP esp32. finally I use tailscale to enable a secure VPN to be setup easily which would allow control and viewing from anywhere connected to the internet .

to actually control the solenoids and pumps and connect sensors are used esp32 with 12-volt relays. in order to reduce engineering and time spent wasted there was already a platform which allowed me to simply plug in 12 volts and this would both allow a solenoid to be controlled and can and powered a esp32 system full stop on the esp32 is I installed tasmota. I found tasmota a great package as it was very easy to flash on the esp-32s and also used a mesh network as default. this was very important as the solenoids were going to be out of range of the initial Wi-Fi network.

in future I am going to investigate using the tem esp32 with the toy software installed on top. Toy is a great package that allows you to centrally control your esp32 and integrate good devil's practise. in order to use the esp32 beyond the Wi-Fi range I am going to use the bg96 iot narrowband iot package which will enable coverage of anywhere where there is a population in western Australia.

to set up sensors out of the range of Wi-Fi I had initially looked at using the Lora. while Lora is a fantastic system for a dense network of sensors, I am looking to be able to get information about sensors which are diced diet dispersed over kilometres which is beyond the range of Laura. I chose the software combined with narrowband iot as it allowed good software engineering principles to be employed and easier monitoring of harware virtually.

currently I'm at the stage of installing the tasmota solenoids to manage a irrigation network of five different zones beyond Wi-Fi wrench. once this is completed I'll move onto testing Victoria software combined with narrowband id80 with a hologram SIM card inserted. I will continue to update this post as I make more progress.