Code Monkey home page Code Monkey logo

iot-dipstick's People

Contributors

chaos-adept avatar dmitry-osin avatar

Stargazers

 avatar  avatar

Watchers

 avatar

iot-dipstick's Issues

PoC flower watering feature

it is required to assembly autonomy flow watering based
the key abilities:

  • measuring soil humidity
  • measuring temperature and humidity in the air
  • watering
  • control of water volume in the tank
  • control of water leaks on the floor
  • sending monitoring data in the cloud
  • working offline
  • device sleeping?

Feature flower watering

Background
N Pots with soil with sensors

  • Scenario: Monitor soil humidity

  • Scenario: Watering dry soil on schedule

  • NFR: 0-2 Pots should be supported

  • NFR: Each Pot should have different watering consumption

  • NFR: watering should be performed only within a specific time because of noise (if has wifi connection)

  • NFR: working fully offline

actual steps

  • define pot specific amount of water
  • check day time (if it has a network connection)
  • split single pod watering in partitions with delays for example instead of 600ml, 200ml x 3 times with 300 ms delay
  • deep sleep to turn off voltage on soil sensors (to reduce oxidation)

Cloud Functions - fix sending commands on the devices

it is required to recover sending to a dedicated device as it was initially by DEVICE_ID env variable

recommendation:

  1. pass the first device id from the terraform resources as DEVICE_ID
  2. verify that it works from cloud function sandbox How-to-test-Alice-Function
  3. verify that it works from Alice skill How-to-test-Alice-Skill

Note, a device might be replaced by just using MQTT listener by using yc ref send a message one device

this may help

Device - Assembly AIR quality sensors on the board

esp32 usage of esp-idf development

esp-idf - it is a framework for parallel task execution on the esp32.

this issue derives from #5 "esp-idf exploration is going to be a separate task."

it is required to adopt the following functionality under idf based:

  • secured mqtt connection to the yandex cloud
  • reading data from i2c sensors

Device - Deep Sleep Support for passive sensor only devices

Implement firmware for a sensor-only device that sends data with long intervals like 2h.
EPS has the ability to go to deep sleep, it should be used.

note the issue with sending commands to the device which sleep is out of the MVP scope

Temperature getting doesn't work

it is not possible to get information from the Alice func, it says that there is no data for the last 3 hours, but it is not correct.

it is a regression bug.

Air Monitor sometimes sends incorrect date to the cloud

there is no fresh log record it may has 1970 year or something like that, more details will be posted once the issue reproduced

that should be done for sure, the cloud metric function should fail when monitoring service returns non 200 HTTP response

Escape special chars in passwords which passing to python export-env script

I've seen several fails with passwords which contain special chars that were passed into export-env script. I am not sure it's cmd or bash bug related with python, but seems like escaping passwords with quotes fix this issue.

The password with same special chars passed into the script separately (without terraform) doesn't make script fails.

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.