Skip to content

A crop analyzer based on ESP32, with packets transmitted via Wi-Fi and BLE.

License

Notifications You must be signed in to change notification settings

1-hexene/CropWaifu

Repository files navigation

CropWaifu

GitHub last commit (branch) GitHub Actions Workflow Status GitHub latest release

License: AGPL v3 Espressif Build with PlatformIO

CropWaifu is a crop micro-climate analyzer and controller based on ESP32.

CropWaifu is a fork of CanWaifu.

How to use?

Upper computer publishes to topic cropwaifu/control

Message format (JSON)

{
"messageID":1, // int
"boardID":1, //int (0-6),
"mode":1, //int (1 = Absolute control, 0 = Closed-loop control),
"fan":255, //PWM number (0-255, Only when mode = 1),
"led":255, //PWM number (0-255, Only when mode = 1),
"temperature":23.5, // degree Celcius(float),
"lightIntensity":450.0, // Luminance(float),
"timestamp":1234 //int
}

Lower computer publishes to topic cropwaifu/respond

Lower computer's response format (JSON)

{
"messageID":1, // int,
"boardID":1, // int (0-6),
"status":"OK",// OK or FAIL,
"timestamp":1235 // int
}

Credits

Github-sponsors

About

A crop analyzer based on ESP32, with packets transmitted via Wi-Fi and BLE.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •