Wireless GPIO controll - Raspberry Pi Forums


hello, i'm new forum , raspberry developing. opened topic ask project.
i'm making aquarium controller using raspberry pi 2 model b. first part of project making automated fertilizer dosing peristaltic pumps. placed under aquarium stand.

second part controls lights, heater , fans. want part separated in own box, can have better access under stand. placed next stand, max 1m away. need 3 output ports , 1 input onewire temperature sensor. need data temperature sent first part pi, , need pi control 3 outputs. need sort of duplex wireless connection. have wifi on pi, connected router internet access. thinking next solutions:
solution 1:
looking @ esp8266-12, couldnt find if supports duplex. if correct can connect 1 pi , put other 1 in second box, , communicate between eachother? can't connect second box wifi because it's connected router, , dont idea of second box being connected router, because system can't work if router crashes.
solution 2:
bluetooth. 1 connected pi, second 1 arduino micro (or else) in second box.

think them? maybe have other ideas me?
thank , answers.

i don't know if best way achieve i'd try , this:

heater, lights , pump switched wifi connected relays, receiving , acknowledging instructions via mqtt.

raspberry pi both temperature , light sensors, maybe sensor fertiliser concentration if such thing possible.
pi runs mqtt broker , issues messages relays turn things on , off necessary.
pi checks error conditions: high/low temperature, lights not turning on, ... when detects 1 notifies you, maybe email, maybe pushbullet or other messaging app.

successful working of whole system - including wifi router - matter of life , death, aquarium inhabitants anyway. pi sends frequent status reports mqtt broker somewhere outside of home network. broker raspberry pi. if not receive status reports can notify you.

tie sensors, mqtt messaging, error detection etc nodered on pi.

use 2 different sorts of wifi connected relays nodered:
1 orvibo wiwo smartsocket $20 https://www.banggood.com/wiwo-s20-wi-fi ... 53743.html
2 sonoff wifi wireless smart switch $5 https://www.itead.cc/smart-home/sonoff- ... witch.html

prefer sonoff. have reprogram esp8266 though first project used simpler orvibo.
itead selling sonoff version temperature sensor. don't know how easy 1 reprogram mqtt.


raspberrypi



Comments