ESP8266 12E without radio
-
I've been looking for a definitive answer on the forums and the site but cannot find anything that mentions it.
I'm trying to set up a simple single door sensor with an ESP8266 12E. I will use the ESP as a WiFi/Ethernet gateway. Do I need to connect a radio too? What purpose would the radio serve in that case (seems to be a serial bridge for other 'nodes' in the system, right?). If I don't need one, can I simple not #define MY_RADIO_XX? Will the sketch work as normal?
-
Welcome to the MySensors community @asward2 !
Radio is not required. See https://forum.mysensors.org/topic/4066/ethernet-gateway-working-as-sensor-node-it-s-possible/ for more information.
-
@mfalkvidd said:
No radio is required.
whoot? Can one not have just an ESP GW with locally attached sensors and no radio module??
It should be as simple as just comenting out the radio define to my knowledge (have not tried this though).
//define MY_RADIO_NRF24 //define MY_RADIO_RFM69
-
@korttoma yes that's what I meant. I've edited my post to clarify.
-
amazing how the order of the words can make a difference in how it can be interpreted.
-
To be clear (as there is already some confusion in the short thread) -
Commenting out the radios on my sketch is all that is required to have locally attached sensors working, correct?
The first response have a bit of a rabbit hole of data which delt with v1.5. Just want to make sure 2.0 fixes all of that.
-
Yes,
But you have to use the development branch until 2.0.1 has been released (as presentation of attached sensors not work as intended in 2.0.0).