emericg / WatchFlower

A plant monitoring application that reads and plots data from compatible Bluetooth sensors and thermometers like Xiaomi 'Flower Care' or Parrot 'Flower Power'
https://emeric.io/WatchFlower
GNU General Public License v3.0
192 stars 27 forks source link

Grow Care Garden(Flora Care MAX) issue #57

Closed garudaonekh closed 1 year ago

garudaonekh commented 2 years ago

Hi, There're several glitches with my Grow Care Garden sensor.( VegTrug "Grow Care Garden" (GCLS002). Firmware: 3.6.6

  1. Fertility and Moisture disappeared. I kill the app and restart again and it appeared.(in the image) photo_2022-01-12 23 52 45

  2. Blink LED function not work. It worked with Mi Flora(Indoor version)

  3. History data is wrong. The temperature displayed is 31.6 but in history it showed 9.6 celcius. Our country is hot and never go below 20. Fertility also the same issue, it showed 0

emericg commented 2 years ago

Hi, I don't have a Grow Care Garden, so the support is only theoretical. If you are willing to help test a few things, we can probably improve the situation. Also can you provide a new screenshot, and an update of the situation?

garudaonekh commented 2 years ago

Sure, please guide me how to test

emericg commented 2 years ago

Sorry to get back to you this late. If you build (in debug mode) the latest version from here and update a flower care (or flower garden ^^) you should have a trace like this one :

* DeviceFlowerCare update: "C4:7C:8D:62:D4:BE"
- m_firmware: "2.7.0"
- m_battery: 100
- m_soil_moisture: 8
- m_soil_conductivity: 1
- m_temperature: 17
- m_luminosity: 5810

You can also go to the DeviceFlowerCare::bleReadDone() function and uncomment the first two qDebug() lines, that should print the raw data sent by the sensor, like that :

DeviceFlowerCare::bleReadDone( "C4:7C:8D:62:D4:BE" ) on ""  / uuid "{00001a01-0000-1000-8000-00805f9b34fb}" 16
DATA: 0x "ae000086180000080100023c00fb349b"

That should already give me more infos about what's going on.

garudaonekh commented 2 years ago

Ok, I will try that next week

h3rm commented 2 years ago

@emericg sorry for offtopic here but how can i build the new versions by myself from the source code files on windows (sorry for the noob question)?

I just read "You will need a C++17 compiler and Qt 6.3+ (with Qt Charts)" - which compiler do you use on which OS? Can you recommend one for windows (maybe visual studio?)? :)

Is there a compiled version of 6.3 (https://download.qt.io/development_releases/qt/6.3/) available somehow and shall i install the alpha or the beta? https://www.qt.io/download-qt-installer show 6.2. in the installer?_ -> if you select "custom installation" -> voila - 6.3. beta :)

garudaonekh commented 2 years ago

@h3rm why don't you just create a new issue? This one is not about compiling issue.

emericg commented 2 years ago

@h3rm Yes you can create a new discussion for instance

Otherwise, with Qt 6.3 and up you actually need Visual Studio on Windows, otherwise the Bluetooth won't work. I think both 2019 and 2022 are fine (community edition is good too). Because WatchFlower has no external dependencies, the process of building it is straightforward. Install MSVC, install Qt 6.3 with the Qt installer (don't forget Bluetooth and other modules). Load the WatchFlower.pro file with Qt Creator (MSVC and Qt 6 should be autodetected) then build :)

h3rm commented 2 years ago

@h3rm Yes you can create a new discussion for instance

Otherwise, with Qt 6.3 and up you actually need Visual Studio on Windows, otherwise the Bluetooth won't work. I think both 2019 and 2022 are fine (community edition is good too). Because WatchFlower has no external dependencies, the process of building it is straightforward. Install MSVC, install Qt 6.3 with the Qt installer (don't forget Bluetooth and other modules). Load the WatchFlower.pro file with Qt Creator (MSVC and Qt 6 should be autodetected) then build :)

sorry, i thought this isn't really an issue and i didn't wanted to spam the issue-section with such a noob question! 🙄 sorry for that, i hope my 2nd donation yesterday let you forget that soon ^^

i open a discussion :)

emericg commented 2 years ago

(Please create a discussion anyway so we can continue this conversation ^^)

I mean you really don't need neither python nor webassembly... And you certainly don't need visual studio code. I don't know much about VS Code but as far as I am concerned it's a text editor, it has nothing to do with compiling WatchFlower.

If you are not really proficient with any of the software involved, you really should stick to Qt Creator.

Again, you only need :

Then open WatchFlower.pro with Qt Creator and press the play button...

emericg commented 1 year ago

Closing, this issue is solved in v5.0