Coder Social home page Coder Social logo

polclota / esp32lywsd03mmc Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 10.0 40 KB

Basic Arduino C ESP32 code for Mijia LYWSD03MMC cheap BLE temperature and humidity sensors to MQTT. Self device configuration for Home assitant so that you don't need to configure them manually.

C 51.80% C++ 48.20%

esp32lywsd03mmc's People

Contributors

polclota avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

esp32lywsd03mmc's Issues

error with userconfig.h

Hello,

I have a prblem to complice, I have the following error:
include/userconfig.h:1:74: fatal error: myprivatedate.h: No such file or directory

can you help me with it?

Dov

Thanks for the project

I would like to thank you for this implementation, the LYWSD03MMC integration has been requested many times into OpenMQTTGateway
Your code helped me understand and find a working sequence for the integration.
I will push the modification soon, OpenMQTTGateway is licensed under GPL V3 for info, so let me know if it is an issue for you.

If you have any question do not hesitate.

Nodemcu ESP32 - Constantly rebooting

Hello Pol,
First of all thank you for the esp32lywsd03mmc project ! It was really helpful for me to include these small temp/humidity sensors in my Domoticz Home Automation system.
I first compiled and uploaded your code in ESP32-CAM because it was the only ESP32 I had at the begining. I had nearly no issue to make it work.
But recently I bought some Nodemcu-ESP32S and the AZ-Delivery Nodemcu modules and I had similar issues, the ESP32 was constantly rebooting during WiFi initializing.
I tried with different power supply and USB cables but no way, ESP was rebooting over and over again.
I've checked in your code and just added a delay (300) after wifi.begin command and it solved the problem.

I hope that my comment can help others...

Sebastien

{feature request} LYWSD02

I saw you're planning perhaps to add support for other devices, this one I am interested in: LYWSD02

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.