have not mysensors team any plans for add esp8266 ?
-
It's not possible, there is no wifi direct functionality in ESP8266 so all ESP8266 have to connect to your wifi router.
From there it makes no sense to implement node to node communication as all nodes need to connect to the router. So just use your ESP8266 as gateways and it will do what you want. -
It's not possible, there is no wifi direct functionality in ESP8266 so all ESP8266 have to connect to your wifi router.
From there it makes no sense to implement node to node communication as all nodes need to connect to the router. So just use your ESP8266 as gateways and it will do what you want.@Nca78 i know all devices get ip and connect to router . so router connect to controller and domoticz. a star network. if there was some sketch for use esp in my sensors so we can connect a sensor with nrf and for example a relay with esp.for example a motion sensor trigger with nrf and send to domoticz so domoticz can send a message to domoticz and turn on buzzer (for example)
this site is IOT+DIY , not IOT + DIY + JUST NRF ! i think every idea about iot share this site , this is better. wire and wireless. nrf , rfm , esp and other module for other frequency
sorry for my english but i means IOT+DIY must support each things that is can smart.i think this is not bad if part of site allocate to esp ... -
What you are asking for, is already working with mysensors! A gateway can have local sensors / actuators, and it doesn't need to have an NRF/RFM radio attached for working.
So basically:
- Create a ESP8266 gateway without defining a radio (nrf / rfm)
- Add sensor / actuator of some kind, to the sketch, and voila..
-
What you are asking for, is already working with mysensors! A gateway can have local sensors / actuators, and it doesn't need to have an NRF/RFM radio attached for working.
So basically:
- Create a ESP8266 gateway without defining a radio (nrf / rfm)
- Add sensor / actuator of some kind, to the sketch, and voila..
-
@tbowmo
really ?! so we can control relay and sensor with a esp8266 gateway ?
can you a simple example for relay and sensor?
thank youUsing an esp8266 as a sensor node with nrf24 is possible.
An example sketch for relay is available at https://www.mysensors.org/build/relay
D1 on the esp8266 is unused by the nrf24 so you can use that for the relay.#define RELAY_1 D1Wiring instructions for the nrf and esp8266 is available at https://www.mysensors.org/build/connect_radio#nrf24l01+-&-esp8266
-
Using an esp8266 as a sensor node with nrf24 is possible.
An example sketch for relay is available at https://www.mysensors.org/build/relay
D1 on the esp8266 is unused by the nrf24 so you can use that for the relay.#define RELAY_1 D1Wiring instructions for the nrf and esp8266 is available at https://www.mysensors.org/build/connect_radio#nrf24l01+-&-esp8266
@mfalkvidd
please explain more . so i can use Dx for control relay ? with wifi ?
can you share a complete sketch for a one channel relay?
i want build a 8 channel relay with key. nodemcu have not 16 pinout that is true ? -
@mfalkvidd
please explain more . so i can use Dx for control relay ? with wifi ?
can you share a complete sketch for a one channel relay?
i want build a 8 channel relay with key. nodemcu have not 16 pinout that is true ? -
@mfalkvidd in espeasy added a plugin for support a arduino promini for extender gpio .and can use arduino's gpio for increase device. arduino promini is connect to nodemcu with a I2C, can we build this ? espeasy have some problem for example we can not use arduino's gpio for input switch. just we can use for sensors. every delay time send state of gpio and we can not change code and put a IF for input switch
-
Has anyone thought of using serial over ethernet? I would think that you could do that similar to having a straight serial connection. I do believe that ESPEasy supports serial over ethernet. I can check when I get home since that is what I am running on all of my Sonoffs. I am using a custom plugin on my Vera to run them, but I do have a couple spare Sonoffs that I could try a serial connection with. The only thing would be what GPIO pins are available on a Sonoff or other ESP8266 device to act as the serial side of the gateway.