Code Monkey home page Code Monkey logo

Comments (5)

BuxtonCalvin avatar BuxtonCalvin commented on May 30, 2024 1

I think I figured out what was going wrong. There are two BLE devices that are picked up by the tasmota device. One BLE device reports data every 60 seconds, while a second device reports every five minutes. The "MI32Period" on the tasmota device was set to 300 seconds as a default. So I believe data was coming in too fast to cache and as a result, there was some sort of buffer overflow that nuked the IP address of the mqtt broker. At least that's my theory (and I'm sticking to it). I have not seen any martians for about two hours since changing the MI32Period to 60 seconds to match the fastest BLE device. I'll close this PR out tomorrow if I don't see any martian packets overnight....

from install.

Jason2866 avatar Jason2866 commented on May 30, 2024

The only thing Tasmota needs is reaching a NTP server. Tbh i cant explain what you see nor i can reproduce.

from install.

BuxtonCalvin avatar BuxtonCalvin commented on May 30, 2024

I captured the 0.0.0.0 packets and it is all MQTT info. Can I send you a sample pcap file that I took from my router? I don't want to post it publicly.

I have about ten tasmota devices on my network, all with variations of 12.1 firmware, and none are sending martians. However, this is the only device with unofficial release firmware as it is 32c3-bluetooth device and there is no official binary for this flavor.

I pointed the NTP on the device to my router (which has the service--all of my other tasmotas are similarly pointed). I also set my logs to debug+, and that didn't show anything useful. What's odd is that I am getting good mqtt data through my mqtt broker, so most of the packets are going where they are supposed to go.....

from install.

Jason2866 avatar Jason2866 commented on May 30, 2024

Ahh, okay. Thx but the framework used here is a intermediate build until core 2.0.5 is out. It is needed since the c3 did not reconnect to the AP when BLE is activated.
In a few days there will be release version 2.0.5. If this still exists it is neccessary to open a issue in espressif github. The BLE and wifi is closed source.

from install.

BuxtonCalvin avatar BuxtonCalvin commented on May 30, 2024

Changing the MI32Period to 60 seconds fixed the problem.

from install.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.