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).
Suggested Topics
-
Over the air updates
General Discussion • 23 Mar 2014, 21:38 • ToSa 1 Mar 2015, 11:21 -
hlk-pm01 are to noisy for rfm69?
Hardware • 5 Aug 2023, 21:16 • Tmaster 9 Aug 2023, 16:28 -
Does MySensors require Arduino Timer 2?
Hardware • 6 Jan 2024, 19:39 • OldSurferDude 11 Jan 2024, 04:39 -
Sleep mode for bmp280
Hardware • 20 Feb 2018, 13:24 • fishermans 5 Feb 2024, 18:30 -
New user has questions
Hardware • 21 Mar 2023, 19:15 • Doggie 24 Apr 2023, 06:56 -
Which one should i choose? PIR or microwave sensor
Hardware • 2 May 2023, 10:58 • h01 11 May 2023, 13:56