Skip to content

Multiple enhancement added to firmware that need to be reflected in the UI #38

@playground

Description

@playground
  1. Ability to customize device name appearing in Bluetooth discovery, current version has "ESP32-LiquidPrep" hardcoded. The new implementation can be found in this esp-mesh-bluetooth branch, and UI update here
  2. Ability to display and view all sensors' moisture readings out on the field all in a single view. Sensors are set up in a mesh network using esp-now communication protocol by means of broadcasting sensor data periodically. The esp32 that is closest to the farmer's home with wifi access is dedicated as the gateway with this firmwareesp-now-gateway and the rest of the sensors act as workers with this firmware esp-now-mesh. The esp-now-gateway is responsible to relate all sensors' data to the local express web server run on edge-gateway
  3. In order for the esp-now-gateway to receive all the sensors' data broadcast by the esp-now-mesh workers, they will need to communicate on the channel as the esp-now-gateway. Since the wifi channel could change from time to time, we will need to be able to update the channel via Bluetooth on one of the workers, the update will propagate to the rest of the worker programmatically. (NOTE: if we set the local wifi router to a fixed channel, we won't have to worry about performing the update). But it's a good feature to have in case they have no control of the router. This work is also available in visual-inspection branch and esp-mesh-booth branch

The above firmware updates can be merged into the repo since updates are in their respective folders.
For the UI, the logic will need to port over and will require a new design

=====================
TODO:

  1. Need to revisit how we calibrate sensor water and air value, dipping it in water to calibrate water value is not ideal
  2. How to determine How big of a zone can a sensor cover?
  3. Need to add SSL support to express server, open issue here
  4. Implement sleep mode in firmware to conserve battery life, open issue here
  5. Beautify webtool for flashing firmware with instructions and explanation for each version of the firmware, open issue here
  6. Add Password-protected for certain features and functions, open issue here

Some screenshots
image

image image image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions