Git Product home page Git Product logo

Comments (8)

1technophile avatar 1technophile commented on May 25, 2024

Hello,

Thanks for your support.

Did you setup the different android permission like this:
https://app.theengs.io/use/use.html#android

Also, could you try with a username and password

from app.

Davasny avatar Davasny commented on May 25, 2024

Yes, I did everything about permissions and batery saving.

I've also tried with setting username and password to:

  • username: theengs, password: theengs
  • username: test, password: test

But always I can see only app version in topics

Here are logs from my mosquitto container

docker logs -n 1000 mqtt | grep c5d58debb1e44d64bb25046
1670830753: New client connected from 89.70.167.125:46850 as c5d58debb1e44d64bb25046 (p2, c1, k60, u'theengs').
1670830753: Sending CONNACK to c5d58debb1e44d64bb25046 (0, 0)
1670830753: Received PUBLISH from c5d58debb1e44d64bb25046 (d0, q0, r0, m0, 'home/TheengsApp/version', ... (4 bytes))
1670830812: Received PINGREQ from c5d58debb1e44d64bb25046
1670830812: Sending PINGRESP to c5d58debb1e44d64bb25046
1670830872: Received PINGREQ from c5d58debb1e44d64bb25046
1670830872: Sending PINGRESP to c5d58debb1e44d64bb25046
1670830932: Received PINGREQ from c5d58debb1e44d64bb25046
1670830932: Sending PINGRESP to c5d58debb1e44d64bb25046
cat mosquitto.conf
listener 1883
log_type all
allow_anonymous true
password_file /mosquitto/config/password.txt
cat mosquitto_pass.conf
theengs:$7$101$Mp5ajTOLXTx3Z89n$5wAgVNTTmkdZGEJo6adLH7TZISlzabBcChRnzRVvQfhHd50FCbQzbR8BIghiTgWBZZoffhg5ZqvaH6x6KbcT+w==

from app.

Davasny avatar Davasny commented on May 25, 2024

I've noticed now there could be some problem with data sync, thermometer had status "synced 35min ago" and I had to tap "update data" to get latest data but it didn't cause sending data to mqtt.

Screen is always on and phone is charging, I have enabled background updates, allowed permisions for location and set interval to 5min

from app.

emericg avatar emericg commented on May 25, 2024

Hi Davasny,
The LYWSD03MMC sensor is only supported if it has a custom firmware installed. Otherwise, it's not sending updates over Bluetooth.

https://app.theengs.io/prerequisites/devices.html

from app.

Davasny avatar Davasny commented on May 25, 2024

Sorry, I missed that fact :/

But if doesn't send data over BT how is it possible that application shows measurement?

from app.

emericg avatar emericg commented on May 25, 2024

The app connects to the thermometer and manually pulls data, as opposed to "simply" receiving continuously broadcasted data over BLE.
At the moment, no MQTT messages are generated when connecting to a sensor.

from app.

Davasny avatar Davasny commented on May 25, 2024

I see, thank you for that informations.
I think information about not sending messages on manual refresh should be written somewhere in app (in mqtt integration)

from app.

Davasny avatar Davasny commented on May 25, 2024

For the future: I can confirm that reflashing sensor to this FW works and I can see data on my mqtt broker

https://github.com/pvvx/ATC_MiThermometer

Thank you very much for your help @emericg and @1technophile

from app.

Related Issues (20)

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.