Plant Watering Sensor Project for Zigbee Network (based on the Source Code of the DIYRUZ Flower Project - https://github.com/diyruz/flower).

Overview

Plant-Watering-Sensor-Zigbee

Plant Watering Sensor Project for Zigbee Network (based on the Source Code of the DIYRUZ Flower Project - https://github.com/diyruz/flower)

Powered by SoC CC2530, the sensor is based on a capacitive measurement method. The sensor is powered by a CR 2450 battery (CR 2477).

Donate to me: https://paypal.me/efektalab or just buy to support this project

Sale: https://www.tindie.com/products/diyberk/plant-watering-sensor-efekta-zigbee2mqtt/

Video: https://youtu.be/DzgeWvG4MEI

Telegram ZigDev - https://t.me/zigdev

Telegram DiyDev - https://t.me/diy_devices

More info at http://efektalab.com/eON_PWS_Z


Plant-Watering-Sensor-Zigbee2

Plant-Watering-Sensor-Zigbee2

Plant-Watering-Sensor-Zigbee2

Plant-Watering-Sensor-Zigbee2

Components:

(Soldering time: 10-15 minutes.)

CC2530 E18-MS1-PCB - https://ali.ski/v8RP7i (10pcs)

CC2530 E18-MS1-PCB - https://ali.ski/o_TBGP

Tantalum Capacitor 220uF - https://ali.ski/VApfn

SMD LED 0805 - https://ali.ski/wb6ZP

1% SMD Resistor Kit Assorted Kit 1R-1M 0603 - https://ali.ski/npItF

SMD Chip Multilayer Ceramic Capacitor 0603 10pF 50V - https://ali.ski/p3yr60

SMD Chip Multilayer Ceramic Capacitor 0603 100nF 50V - https://ali.ski/p3yr60

1N4148WS - https://ali.ski/cOCdto

Cell Holder CR2450 - https://ali.ski/VdotsA

Micro Button Tact Switch SMD 4Pin 3X4X2.5 - https://ali.ski/sGwFu

IRLML6402TRPBF - https://ali.ski/_iNbX

Micro Screws M1.4 5mm - https://ali.ski/gaFdO


How to flash the device

  1. Download the Smart RF Flash Programmer V1 https://www.ti.com/tool/FLASH-PROGRAMMER

  2. Open the application select the HEX firmware file

  3. Connect the device with wires to CCDebugger, first erase the chip, then flash it.


How to install IAR

https://github.com/ZigDevWiki/zigdevwiki.github.io/blob/main/docs/Begin/IAR_install.md

https://github.com/sigma7i/zigbee-wiki/wiki/zigbee-firmware-install (RU)


How to add support yourself in MJD

  1. https://github.com/smartboxchannel/Plant-Watering-Sensor-Zigbee/blob/main/majordomo-zigbee2mqtt/README.md (MJD https://mjdm.ru/)

How to join:

If device in FN(factory new) state:

  1. Press and hold button (1) for 2-3 seconds, until device start flashing led
  2. Wait, in case of successfull join, device will flash led 5 times
  3. If join failed, device will flash led 3 times

If device in a network:

  1. Hold button (1) for 10 seconds, this will reset device to FN(factory new) status
  2. Go to step 1 for FN device

Troubleshooting

If a device does not connect to your coordinator, please try the following:

  1. Power off all routers in your network.
  2. Move the device near to your coordinator (about 1 meter).

or if you cannot disable routers (for example, internal switches), you may try the following:

  1. Disconnect an external antenna from your coordinator.
  2. Move a device to your coordinator closely (1-3 centimeters).
  3. Power on, power on the device.
  4. Restart your coordinator (for example, restart Zigbee2MQTT if you use it).

Other checks

Please, ensure the following:

  1. Your power source is OK (a battery has more than 3V). You can temporarily use an external power source for testings (for example, from a debugger).
  2. The RF part of your E18 board works. You can upload another firmware to it and try to pair it with your coordinator. Or you may use another coordinator and build a separate Zigbee network for testing.
  3. Your coordinator has free slots for direct connections.
  4. You permit joining on your coordinator.
  5. Your device did not join to other opened Zigbee network. When you press and hold the button, it should flash every 3-4 seconds. It means that the device in the joining state.
Comments
  • EFEKTA Zigbee Plant Watering Sensor compatibility with Home Assistant ZHA?

    EFEKTA Zigbee Plant Watering Sensor compatibility with Home Assistant ZHA?

    Is this EFEKTA Zigbee Plant Watering Sensor compatibility with Home Assistant ZHA?

    https://www.home-assistant.io/integrations/zha

    Would like to know if its sensors and attributes are properly detected out-of-the-box by ZHA?

    Blakadder open compatibility database list only confirms it working with Zigbee2MQTT:

    https://zigbee.blakadder.com/EFEKTALAB_EFEKTA_PWS.html

    opened by Gamester17 4
  • Request redesign for newer Texas Instruments multi-protocol module like CC2652

    Request redesign for newer Texas Instruments multi-protocol module like CC2652

    @smartboxchannel Have you considered replacing CC2530 with a new TI CC26xx MCU like the CC2652 series or similar?

    Should in theory make the battery last much longer and get better signal range, as well as make for more future-proof hardware with the potential of perhaps not only use Zigbee 3.0 but also even using Thread, Matter (Project CHIP), and/or Bluetooth via multi-protocol support as well.

    Maybe use one of newer CC2652P, CC2652R/CC2652R1/CC2652R2 or CC2652RB multi-protocol modules from RF-Star or Ebyte?

    I understand RF-Star RF-BM-2652P2 and Ebyte E72-2G4M20S1E CC2652P modules with integrated PCB antenna are most popular:

    https://www.szrfstar.com/product/237-en.html

    https://www.szrfstar.com/product/189-en.html

    https://www.szrfstar.com/product/list-196-en.html

    https://www.ebyte.com/en/product-view-news.html?id=1002

    https://www.ebyte.com/en/product-view-news.html?id=1481

    https://www.ebyte.com

    opened by Hedda 3
  • Add photoelectric/photoresistor light meter sensor (similar to Xiaomi Mi Flora)

    Add photoelectric/photoresistor light meter sensor (similar to Xiaomi Mi Flora)

    Please consider adding a photoelectric/photoresistor light meter sensor for measuring plant light levels (a.k.a. "sunlight measurement) in order to help determine growth conditions to the hardware design and firmware code/images.

    Examples of Arduino compatible Digital Light Meter sensors are BH1750

    https://www.instructables.com/BH1750-Digital-Light-Sensor/

    https://learn.adafruit.com/adafruit-bh1750-ambient-light-sensor

    https://create.arduino.cc/projecthub/jendeegan/light-meter-to-measure-plant-growth-conditions-7a12a9

    opened by Hedda 3
  • Frequency of data transmission

    Frequency of data transmission

    Hello

    I bought two sensors.

    Both are under zigbee2mqtt with Home assistant.

    Is it possible to increase the frequency of sending data to mqtt? or Home Assistant?

    Thanks

    Regards

    opened by rto54 3
  • Temperature very wrong

    Temperature very wrong

    I just got two Plant Watering Sensor EFEKTA (Zigbee) from tindie. Both show about 7 °C to low temperature (e.g. 14°C instead of 21°C). Is this normal or a defect? I have never experienced such a big difference.

    And one question: Can the sensor be used outdoor in the garden? I bought it with enclosure, but I do not know, if it is water resistant enough for an outdoor usage.

    Thanks!

    opened by NeuerUser 2
  • Add a temperature and humidity combo sensor (AM2302, Si7021, DHT11 or DHT22)

    Add a temperature and humidity combo sensor (AM2302, Si7021, DHT11 or DHT22)

    Request add a temperature and humidity combination sensor to the hardware design and firmware.

    Examples of an Arduino compatible temperature and humidity sensors are AM2302, Si7021, DHT11, DHT21, or DHT22

    opened by Hedda 2
  • Zigbee 3.0 firmware (on CC2530) for EFEKTA Zigbee Plant Watering Sensor?

    Zigbee 3.0 firmware (on CC2530) for EFEKTA Zigbee Plant Watering Sensor?

    Please consider building and releasing a Z-Stack 3.0.x (Zigbee 3.0) firmware for CC2530 based EFEKTA Zigbee Plant Watering Sensor.

    FYI, kirovilya from DIYRUZ community have backported Z-Stack 3.0 (with Zigbee 3.0) support to CC2530 as a proof-of-concept:

    • https://github.com/diyruz/diyruz_rt
      • https://github.com/diyruz/diyruz_rt/releases
        • https://zigbee.blakadder.com/DIYRuZ_RT.html

    kirovilya tested Z-Stack 3.0.x firmware with DS18B20 on Sonoff BASICZBR3 and also made config to be a Zigbee 3.0 router device:

    • https://habr.com/ru/company/iobroker/blog/495926/ (written in Russian so used Google Translate)

    For a battery-operated device you would of course want to use a Zigbee end device config and not a Zigbee router config.

    More information on Z-Stack 3.0 for CC253x (CC2530 and CC2531) here:

    https://www.bestov.io/blog/zigbee-3-part-1-getting-started-with-cc2530

    https://www.cnx-software.com/2020/05/25/zigbee-firmware-news-ti-z-stack-3-0-zigbee-for-cc2530-ptvo-zigbee-fw-configuration-tool/

    https://github.com/Koenkk/zigbee2mqtt/issues/1445

    opened by Gamester17 2
  • Temperature precision

    Temperature precision

    Hi Andrew,

    There seems to be some inconsistency with temperature measurements. I've built 6 sensors and the range of reported temperature is about 8C under ambient. These are all lying side by side on a table for 3 or 4 days now. Is the temperature measurement done by the E18 module? Or is it dependent on the firmware?

    I am using zha instead of z2m, I don't know if that may also be a factor as there is no quirks file for zha yet.

    image

    opened by reven 1
  • Device only publishing announce messages, no sensor payloads

    Device only publishing announce messages, no sensor payloads

    Hi, I bought 3 of these a while back. I had them set up for almost 3 weeks and it was doing fine (the reporting frequencies were not consistent).

    The battery ran out so I replaced them and all of a sudden the devices would only publish announce messages to zigbee2MQTT never a payload.

    MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"Money Tree Sensor","ieee_address":"0x00124b000611c77e"},"type":"device_announce"}'
    
    MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"announce","meta":{"friendly_name":"Money Tree Sensor"},"type":"device_announced"}'
    
    

    I replaced all three and it seems to still have issues. I've tried resetting to factory defaults (hold button for 10 seconds) and then force remove and readding them to my setup.

    They sometimes take a while to trigger the interview but they are connected fine and the only t hing they'll publish is the LQI.

    Not sure what I can do to fix this.

    Also was it ever configured that pushing the button once would send the active payload?

    opened by djfluffkins 1
  • firmware

    firmware

    Hi All ,

    Is this firmware works with https://github.com/diyruz/flower V2 ??

    I have flashed "Soil_Moisture_Sensor_for_CR2032.bin" but always get Soil moisture 0%

    Regards

    opened by Darozas 0
  • Soil moisture value is always 100

    Soil moisture value is always 100

    I've ordered the pcb and have built the sensor, however it always reports 100% value even if the sensor is not in soil/water. R3 is 10k R4 is 1M C3 is 0.75pF

    I tried different firmwares, but it always reports 100%. Any ideas what might be causing this?

    opened by Leonti 1
  • Deleted store on tindie

    Deleted store on tindie

    Did you deleted the store on Tindie or they deleted you just for being russian?

    I was considering to buy more sensors but it disappeared from tindie...

    Thanks!

    opened by yayitazale 5
  • Trouble Programming

    Trouble Programming

    I apologize for reaching out, but I have been having a large amount of issues flashing my own device's. I also have a unit purchased from tindie which cannot be recognized by my cc debugger as well (Both stay on red). I can see the cc debugger in device manager under "cebel controlled device's" so I am assuming the drivers are installed properly.

    Finally, I am following the below diagram to try and wire (without the resistors) where 2.2 to 3, 2.1 to 4, 3.3 to 9, GND to 1, and RST to 7.

    image

    I'm a bit at my witt's end as to what's going wrong so any assistance would be greatly appreciated. I tried to do my own research before coming here.

    opened by rainyvalley 2
Owner
Andrew Lamchenko
Andrew Lamchenko
[READ-ONLY] CakePHP Utility classes such as Inflector, Text, Hash, Security and Xml. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp

CakePHP Utility Classes This library provides a range of utility classes that are used throughout the CakePHP framework What's in the toolbox? Hash A

CakePHP 112 Feb 15, 2022
Sanitize untrustworthy HTML user input (Symfony integration for https://github.com/tgalopin/html-sanitizer)

html-sanitizer is a library aiming at handling, cleaning and sanitizing HTML sent by external users (who you cannot trust), allowing you to store it and display it safely. It has sensible defaults to provide a great developer experience while still being entierely configurable.

Titouan Galopin 86 Oct 5, 2022
A Laravel artisan based package to create the AWS (SES + SNS) infrastructure to receive email event notifications with Http/Https endpoint.

Laravel SES Tracking Setup the AWS infrastructure to handle email events using SES/SNS and http/s endpoints with a single Laravel artisan command. Thi

null 11 Apr 26, 2022
The SensioLabs DeprecationDetector runs a static code analysis against your project's source code to find usages of deprecated methods, classes and interfaces

SensioLabs DeprecationDetector CAUTION: This package is abandoned and will no longer receive any updates. The SensioLabs DeprecationDetector runs a st

QOSSMIC GmbH 389 Nov 24, 2022
Source control integration plugin framework for MantisBT, including support for Github, Gitlab, Bitbucket, Gitweb, Cgit, Subversion, Mercurial and more

Source control integration plugin framework for MantisBT, including support for Github, Gitlab, Bitbucket, Gitweb, Cgit, Subversion, Mercurial and more

MantisBT Community Plugins 175 Sep 3, 2022
This plugin allows you to display code from a repository, such as Github, Gitlab or others in order to use it as a resource in the courses.

Fetch Code This plugin allows you to display code from a repository, such as Github, Gitlab or others in order to use it as a resource in the courses.

Cambá Laboratorio de Tecnología 0 Dec 26, 2021
A complete stack for running Symfony 5 into Docker containers using docker-compose tool and with Certbot for the HTTPS certificate.

?? Docker + PHP 7.4 + MySQL8.0 + Nginx + Certbot(HTTPS) + Symfony 5 Boilerplate ?? Edited from https://github.com/ger86/symfony-docker version -> http

null 6 Nov 9, 2022
https://trapscan.slab.com/public/topics/phase-3-branding-and-optimisation-r3vhj61l

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

null 3 Dec 15, 2022
Ele é voltado para gerar infinitas CC de 23 países A ferramenta ainda esta em BETA então terá muitas Novas atualizações incríveis acompanhem melhor No meu canal do telegram: https://t.me/MS40_canal

BlackBIN ?? ??‍?? Olá pessoal sou eu o maycon ou como vcs me chamam, MS40 ou BLACK_HYDRA. Então esse script foi o um projeto muito antigo Que só esta

BLACK_HYDRA 2 Oct 26, 2022
The main website source code based on php , html/css/js and an independent db system using xml/json.

jsm33t.com Well umm, a neat website LIVE SITE » View Demo · Report Bug · Request a feature About The Project Desc.. Built Using Php UI Frameworks Boot

Jasmeet Singh 5 Nov 23, 2022
Create changelogs based on your GitHub milestones

changelog_generator.php This project provides a simple way to create a markdown ordered list of issues and pull requests closed with a given milestone

Rob Allen 3 Aug 30, 2021
Neural Network in pure PHP

rn Neural Network in pure PHP - ML Machine Learning - AI Artificial Intelligence RED NEURONAL WHAT DO THIS LIBRARY IN PURE PHP OF ARTIFICIAL INTELLIGE

Rafael Martin Soto 6 May 31, 2022
A small, modern, PSR-7 compatible PSR-17 and PSR-18 network library for PHP, inspired by Go's net package.

Net A small, modern, PSR-7 compatible PSR-17 and PSR-18 network library for PHP, inspired by Go's net package. Features: No hard dependencies; Favours

Minibase 16 Jun 7, 2022
A small, modern, PSR-7 compatible PSR-17 and PSR-18 network library for PHP, inspired by Go's net package.

Net A small, modern, PSR-7 compatible PSR-17 and PSR-18 network library for PHP, inspired by Go's net package. Features: No hard dependencies; Favours

Minibase 16 Jun 7, 2022
A library for create network applications with PHP.

SocketServer A library for create network applications with PHP. Installation. $ composer require thenlabs/socket-server Usage. The below code show a

ThenLabs 3 Apr 11, 2022
Fresns core library: Cross-platform general-purpose multiple content forms social network service software

About Fresns Fresns is a free and open source social network service software, a general-purpose community product designed for cross-platform, and su

Fresns 82 Dec 31, 2022
Community-created, unofficial PHP SDK for the Skynet Decentralized Internet Network. siasky.net

Skynet PHP SDK This SDK is a community-created, unofficial SDK in PHP for the Skynet Decentralized Internet Network. It is taken as primarily a port f

Derrick Hammer 4 Dec 26, 2022
Chat over your local network: 127.0.0.1

#Howto: install packages: apache2 (or nginx but I wouldn't prefer it if you're using your local computer) php for ubuntu/debian instance: $ apt instal

Omer Erbilgin 1 Jan 12, 2022
Starless Sky is a network protocol for secure identities, providing the use of assymetric identities, public information, end-to-end messaging and smart contracts

Descentralized network protocol providing smart identity over an secure layer. What is the Starless Sky Protocol? Starless Sky is a network protocol f

Starless Sky Protocol 3 Jun 19, 2022