My ESP-NOW integration library - enable direct communication between your esphome devices even without wifi router

Here is a link to a more recent integration of esp-now for esphome

There is also a pending pr to include this into esphome

4 Likes

The user @motwok doesnā€™t exist here
Maybe @jesserockz can take a peak at this? It seems to be pretty far along

you can reach him on the esphome discord user @mo2000

@orange-assistant where do you run this command? HA instance command line?

Iā€™m thinking of creating some esp-now based sensors.
To my understanding, ESP-now would allow these ESP-now sensors to communicate between themselves, but not with HA. For that, you need to use one extra ESP node as the ā€œbridgeā€ to receive ESP-now messages and then publish them to HA (via MQTT for example)
Is this correct?

This would require both protocols to be able to work alongside in this ā€œbridgeā€ node.

  • can someone confirm that esp-now works alongside wifi?
  • @iphong Iā€™m sorry but Iā€™m a bit confused by your github repoā€¦ are we importing esp_now_connect.h or EspRC.h

Could someone give me an example: there are two switches, you need to synchronize them via esp now

For the latest and greatest pull request that brings esp-now into esphome a documentation is available :point_up_2:

Hope to see it released soon!

Doesnā€™t look to good actually if you follow the PR/feature-request. Mainly do tue insufficient people checking/trying the code and giving a review/feedback about the PR it might even never get merged as with every day the code bases are drifting apart :frowning:

It appears to me that one of the reason there is not much feedback, is because the instructions on how to implement the component is not clear on how you do this. I am not a coder and would appreciate some simple but precise instructions, I would love to help out with testing etc. I think this component is important for battery powered devices.

1 Like

Is it possible that somebody can share the configuration and details of how to set this up and have it working , Iā€™v look in forums and discussions but this ,still have no success on actually getting this working from what I can gather thereā€™s two or maybe more projects that is actually doing this but I canā€™t seem to get any of them working more help please :crossed_fingers:t5:

Is this what you are after? WiFi Now Component ā€” ESPHome

Yes but Iā€™m looking for instructions that makes sense to somebody who is not a coder, Iā€™ve read through the links canā€™t seem to get to grips with it. :confused:

In these instructions it doesnā€™t state any way that you have to use an external component.

external_components:
  # replace 1234 with the number of the Pull Request
  - source: github://pr#1234
    components:
      # list all components modified by this Pull Request here
      - ccs811

I just need the correct details to fill in the relevant spaces. :thinking:
A little help please :pray:t4:

Look I am just trying to help by pointing you to the docs I can find. But the PR is 1290 so my (un)educated guess is

external_components:
  - source: github://pr#1290
    components: [ wifi_now ]

But you can see from the PR that at least one person had a failure with that.

Thanks for your time the documents ,arenā€™t sufficient and doesnā€™t do anything for me thank you anyway.

Well this component isnā€™t in esphome now and testing will obviously require some playing around. Did the external_component setup I quoted fix it for you?

Well that got rid of the error in the editor, Iā€™m sure I tried this combination before, anyway I shall continue messing around with it and see where I get to thanks.

Iā€™m trying to experiment with this feature too. Did you ever get it working?

That was me. PR1290 is based on an esphome fork of some months ago. I tried early Jan this year. I just looked at the pr and there has been development since then. I will try again.

1 Like

I have also started to work on an implementation for esp-now in esphome. It is mainly focussed on lights.
Check it out at GitHub

2 Likes