Skip to content

biemster/espmqttnow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

espmqttnow

Bridge between ESPNOW and MQTT.

Basically combining the following two projects:

trying to get it running on the QCA9533 found in those $5 repeaters:

image

It's made for the OpenWrt build here: https://github.com/biemster/QCA953X_OpenWrt, but it should compile/run basically on any Linux if you replace the toolchain in the Makefile.

If you go with the repeater you should extract the toolchain that is built by the QCA953x_OpenWrt repo code, and more importantly disable BPF JIT in the resulting firmware:

  1. Login to the shell of the repeater
  2. echo 0 > /proc/sys/net/core/bpf_jit_enable This is due to this bug in the kernel: openwrt/openwrt#7044

There are some (micro)python scripts present as well to help with debugging:

  • The micropython folder contains 2 MicroPython scripts that should be run on an ESP32 with a very recent version of MicroPython on it (v1.20 which is the latest as of this writing does not include the espnow package, so take a nightly build).
  • The mqtt_test.py script simply connects to the MQTT broker you specify and subscribes to the espnow topic.

About

Bridge between ESPNOW and MQTT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published