Replies: 4 comments 1 reply
-
Another FYI, there is also this similar semi-closed "EFEKTA" project based on nRF52840 which believe is also based on Nordic Semi nRF5 SDK: https://github.com/smartboxchannel/Plant-Watering-Sensor-Zigbee https://hackaday.io/project/181075-efekta-pws-zigbee https://www.tindie.com/products/diyberk/plant-watering-sensor-efekta-zigbee/ https://github.com/smartboxchannel/EFEKTA_E73C_PWS_MODULE https://github.com/smartboxchannel/EFEKTA_E73C_PWS_MODULE/tree/master/Zigbee https://www.youtube.com/watch?v=LTzc0X-ESm4&feature=youtu.be&ab_channel=AndrewEfektaSB His prototypes used a common type of basic "capacitive soil moisture sensor" boards sold in China were originally designed for Arduino https://www.openhardware.io/view/767/Wireless-Module-for-Capacitive-Soil-Moisture-Sensor-v20 |
Beta Was this translation helpful? Give feedback.
-
Both projects were inspired by DIYRuZ modkam.ru community who designed many Zigbee DIY hardware based on CC2530 mentioned here: |
Beta Was this translation helpful? Give feedback.
-
Thank you for the suggestion. I will keep this in mind, but currently my access to sensors is limited. I will add sensors(and necessary zigbee clusters) as soon as I would have them. I would check to see if it would be possible to "simulate" this moisture sensor with something else, as this will help to add support faster. |
Beta Was this translation helpful? Give feedback.
-
Hello @Hedda ! I've just merged the ADC implementation, and the required sensors. Latest-dev version of zigbee2mqtt also now supports soil moisture sensor. - type: soil_moisture_adc
adc_pin:
pin: 0.04
oversampling: 4
# This values are figured out experimentally with ADC configuration above.
# They could be different for other ADC setup or sensor.
min_moisture_mv: 730
max_moisture_mv: 430 I will leave this open until better configuration is available on sensors and configuration. |
Beta Was this translation helpful? Give feedback.
-
Please consider building a proof-of-concept firmware samples/examples for the b-parasite (hardware-v2) DIY and open-source soil moisture + ambient temperature/humidity/light (plant/flower) sensor by rbaron, can be built on either nRF52840 and nRF52833 Zigbee radio modules:
https://github.com/rbaron/b-parasite
Upstream discussion:
Hardware revision 2.0.0:
https://github.com/rbaron/b-parasite/tree/hardware-v2
https://github.com/rbaron/b-parasite/wiki/Hardware-Versions#version-20x
This is an open source hardware project is a PCB design but you can also build your own using any capacitive soil moisture sensors, see:
https://rbaron.net/blog/2021/04/05/How-capacitive-soil-moisture-sensors-work.html
FYI, as that is an open source there are also other forks/projects based on it, including this that can be purchased as a complete kit
https://github.com/stanvn/zigbee-plant-sensor
https://homeplantsensor.com/
Upstream repo also includes a "blinky" sample as a classic "Hello, world" as well as a few other samples:
https://github.com/rbaron/b-parasite/tree/main/code/nrf-connect/samples/
By the way, rbaron has merged that Zigbee sample to b-parasite upstream repository and he has tested it with Home Assistant’s ZHA integration (which works without modifications) as well as with Zigbee2MQTT (which requires zigbee-herdsman converter b-parasite.js from his PR that needs to be added as per Z2M instructions to support new devices):
rbaron/b-parasite#81
https://github.com/rbaron/b-parasite/blob/hardware-v2/code/nrf-connect/samples/zigbee
https://github.com/rbaron/b-parasite/blob/hardware-v2/code/nrf-connect/samples/zigbee/README.md
PS: That and similar hardware for Zigbee flower and plant sensors for soil moisture + light + temperature + humidity discussed here:
https://community.home-assistant.io/t/zigbee-flower-and-plant-sensors-for-soil-moisture-light-temperature-humidity/272803/
Beta Was this translation helpful? Give feedback.
All reactions