eengamerjens wrote: ↑
Wed Oct 31, 2018 4:23 pm
I have a project with a esp8266, raspberry pi zero w and a relay
And I want to send a command from the esp8266 to the raspberry pi to open the relay.
The relay is connect to a raspberry pi zero w who is connect via wifi to the same AP.
Can anybody help me?
There are a number of ways this could be implemented. And an equally large number of sequences of design steps you could take to reach a viable outcome.
Since you appear to have decided to use MQTT, my first design decision would be to determine where the MQTT Broker function is to be implemented: on the esp8266, on the RPi, or on some other independent system?