Giter VIP home page Giter VIP logo

flower's People

Contributors

nurikk avatar tpertenava avatar xyzroe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flower's Issues

Cut down the cost of the PCB with panelization

PCB fabrication services charge extra for PCBs that do not fit inside 10x10cm. As the width of the v2 design seems to be 128mm, additional charges are applied. Also as the height of the board height is 24mm, you could fit 4 of these inside a single design, further cutting the costs. I realise that the cost of the PCB is one of the cheapest parts of the design, but think that small tweaks would have a good ROI.

Would it be possible for you to make these changes or share the PCB designs in order for someone else to make them?

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

Please consider building and releasing a Z-Stack 3.0.x (Zigbee 3.0) firmware for CC2530 based DIYRuZ Flower 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:

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:

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/

Koenkk/zigbee2mqtt#1445

Feature Request: OTA Updates

Not a bug, just a feature request: OTA Updates

I'd love to see OTA updates for firmware releases.
Are there any plans to realize that?

So far I've only seen that on a few IKEA devices, however it'd be great to have this feature for more devices (especially if there's active development going on as in this project).

There's some documentation about how OTA can be done (I hope the mentioned Z-Stack is the same as the one used here):

https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/158/6888.Z_2D00_Stack-OTA-Upgrade-User_2500_27s-Guide.pdf

PS: Thanks for sharing this great project!

RF Range

I am considering building/buying this plant sensor. What RF range can I expect with this sensor? Of course it depends on a lot of circumstances but what's the range for 'general use'?
I know that there are RF calculators but that would require me to have a sensor before buying it.

Soil moisture scalling

Would it be possible to provide some interface to scale the soil moisture to a given range?

My sensor shows 0% when in air, 100% when plant is fully watered, but when the plan soil is very dry (depends on the soil type) it shows like 60 or 80.

Please add v3 into the github

Found there's a v3 (via Google Translate) in the blog posts, was hoping @nurikk could upload the v3 stuff into here.

Also, for anyone who links out and downloads the v3 from the blog post, JLCPCB, as per this comment exchange, the R2 specified in the BOM, for some reason JLCPCB/LCSC was changed to be size of 0405 with 1K ohm, not a 0805 1M ohm as the BOM indicates. As per commenter Alexander, I'm trying to use component 0805W8F1004T5E , although haven't gotten the boards yet to verify things are working.

New function or a great idea

Hello, I am very excited about this project. Now my wife got the idea to let the LED blink if the value falls below an adjustable value. Would that be possible? Can you set the humidity to zero by hand? My sensors all show 20% in the dry. LG Ingo

Where does MQTT Data temperature_bme suffix _bme comes from

Hello,
after hours of searching I will not find the Software Part where the _bme suffix for the BME 280 Temperature Sensor will be added.
I use this Software to build a own Sensor Board with Differrent Sensor. I know , maybe i have to define several Endpoint e.g. for Temperature Values.
I hope i will be able to Label the values of BME Senor wit humidity_bme , temperature_bme , pressure_bme.
Thanks in Advance
Armin

MQTT Configuration issue

Hello,
got the following configuration issue on assembled device:

INFO: Starting interview of '0x00124b00220281c6'
INFO: Successfully interviewed '0x00124b00220281c6', device has successfully been paired
INFO: Device '0x00124b00220281c6' is supported, identified as: DIYRuZ [Flower sensor](http://modkam.ru/?p=1700) (DIYRuZ_Flower)
INFO: Configuring '0x00124b00220281c6'
INFO: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"description":"[Flower sensor](http://modkam.ru/?p=1700)","friendly_name":"0x00124b00220281c6","model":"DIYRuZ_Flower","supported":true,"vendor":"DIYRuZ"},"type":"pairing"}'
INFO: MQTT publish: topic 'homeassistant/sensor/0x00124b00220281c6/soil_moisture/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00124b00220281c6"],"manufacturer":"DIYRuZ","model":"[Flower sensor](http://modkam.ru/?p=1700) (DIYRuZ_Flower)","name":"0x00124b00220281c6","sw_version":"Zigbee2MQTT 1.17.0"},"icon":"mdi:water-percent","json_attributes_topic":"zigbee2mqtt/0x00124b00220281c6","name":"0x00124b00220281c6 soil moisture","state_topic":"zigbee2mqtt/0x00124b00220281c6","unique_id":"0x00124b00220281c6_soil_moisture_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.soil_moisture }}"}'
INFO: MQTT publish: topic 'homeassistant/sensor/0x00124b00220281c6/battery/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00124b00220281c6"],"manufacturer":"DIYRuZ","model":"[Flower sensor](http://modkam.ru/?p=1700) (DIYRuZ_Flower)","name":"0x00124b00220281c6","sw_version":"Zigbee2MQTT 1.17.0"},"device_class":"battery","json_attributes_topic":"zigbee2mqtt/0x00124b00220281c6","name":"0x00124b00220281c6 battery","state_topic":"zigbee2mqtt/0x00124b00220281c6","unique_id":"0x00124b00220281c6_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
INFO: MQTT publish: topic 'homeassistant/sensor/0x00124b00220281c6/illuminance/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00124b00220281c6"],"manufacturer":"DIYRuZ","model":"[Flower sensor](http://modkam.ru/?p=1700) (DIYRuZ_Flower)","name":"0x00124b00220281c6","sw_version":"Zigbee2MQTT 1.17.0"},"device_class":"illuminance","json_attributes_topic":"zigbee2mqtt/0x00124b00220281c6","name":"0x00124b00220281c6 illuminance","state_topic":"zigbee2mqtt/0x00124b00220281c6","unique_id":"0x00124b00220281c6_illuminance_zigbee2mqtt","unit_of_measurement":"-","value_template":"{{ value_json.illuminance }}"}'
INFO: MQTT publish: topic 'homeassistant/sensor/0x00124b00220281c6/humidity/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00124b00220281c6"],"manufacturer":"DIYRuZ","model":"[Flower sensor](http://modkam.ru/?p=1700) (DIYRuZ_Flower)","name":"0x00124b00220281c6","sw_version":"Zigbee2MQTT 1.17.0"},"device_class":"humidity","json_attributes_topic":"zigbee2mqtt/0x00124b00220281c6","name":"0x00124b00220281c6 humidity","state_topic":"zigbee2mqtt/0x00124b00220281c6","unique_id":"0x00124b00220281c6_humidity_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.humidity }}"}'
INFO: MQTT publish: topic 'homeassistant/sensor/0x00124b00220281c6/pressure/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00124b00220281c6"],"manufacturer":"DIYRuZ","model":"[Flower sensor](http://modkam.ru/?p=1700) (DIYRuZ_Flower)","name":"0x00124b00220281c6","sw_version":"Zigbee2MQTT 1.17.0"},"device_class":"pressure","json_attributes_topic":"zigbee2mqtt/0x00124b00220281c6","name":"0x00124b00220281c6 pressure","state_topic":"zigbee2mqtt/0x00124b00220281c6","unique_id":"0x00124b00220281c6_pressure_zigbee2mqtt","unit_of_measurement":"hPa","value_template":"{{ value_json.pressure }}"}'
INFO: MQTT publish: topic 'homeassistant/sensor/0x00124b00220281c6/temperature_ds/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00124b00220281c6"],"manufacturer":"DIYRuZ","model":"[Flower sensor](http://modkam.ru/?p=1700) (DIYRuZ_Flower)","name":"0x00124b00220281c6","sw_version":"Zigbee2MQTT 1.17.0"},"json_attributes_topic":"zigbee2mqtt/0x00124b00220281c6","name":"0x00124b00220281c6 temperature ds","state_topic":"zigbee2mqtt/0x00124b00220281c6","unique_id":"0x00124b00220281c6_temperature_ds_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.temperature_ds }}"}'
INFO: MQTT publish: topic 'homeassistant/sensor/0x00124b00220281c6/temperature_bme/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00124b00220281c6"],"manufacturer":"DIYRuZ","model":"[Flower sensor](http://modkam.ru/?p=1700) (DIYRuZ_Flower)","name":"0x00124b00220281c6","sw_version":"Zigbee2MQTT 1.17.0"},"json_attributes_topic":"zigbee2mqtt/0x00124b00220281c6","name":"0x00124b00220281c6 temperature bme","state_topic":"zigbee2mqtt/0x00124b00220281c6","unique_id":"0x00124b00220281c6_temperature_bme_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.temperature_bme }}"}'
INFO: MQTT publish: topic 'homeassistant/sensor/0x00124b00220281c6/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00124b00220281c6"],"manufacturer":"DIYRuZ","model":"[Flower sensor](http://modkam.ru/?p=1700)
INFO: MQTT publish: topic 'homeassistant/sensor/0x00124b00220281c6/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00124b00220281c6"],"manufacturer":"DIYRuZ","model":"[Flower sensor](http://modkam.ru/?p=1700) (DIYRuZ_Flower)","name":"0x00124b00220281c6","sw_version":"Zigbee2MQTT 1.17.0"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/0x00124b00220281c6","name":"0x00124b00220281c6 linkquality","state_topic":"zigbee2mqtt/0x00124b00220281c6","unique_id":"0x00124b00220281c6_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
ERROR: Failed to configure '0x00124b00220281c6', attempt 1 (Error: Bind 0x00124b00220281c6/1 genPowerCfg from '0x00212effff065bda/1' failed (Error: status: 140) at DeconzAdapter.<anonymous> (/zigbee2mqtt-1.17.0/node_modules/zigbee-herdsman/dist/adapter/deconz/adapter/deconzAdapter.js:660:23) at Generator.next (<anonymous>) at fulfilled (/zigbee2mqtt-1.17.0/node_modules/zigbee-herdsman/dist/adapter/deconz/adapter/deconzAdapter.js:24:58))

My hardware configuration is:

  • modkam.ru flower sensor, running 2.0.5 firmware
  • rasberry pi running Home Assistant (latest version)
  • Conbee2 zigbee coordinator
  • Zigbee2MQTT

Any ideas?

Проблема с датчиком DS18B20

Для v3 мною были закуплены датчики DS18B20 по этой ссылке: https://aliexpress.ru/item/1783091649.html
После их установки - я получаю только 2 значения с датчика температуры: 0 и 25 градусов, значения рандомные, ни от чего не зависят. Я предполагаю, что датчики могли быть неоригинальные. Прошивку использую 2.08. Пробовал 2.05, но ситуация не меняется. В отзывах пишут о том, что должно быть какое то "паразитное" питание. Подскажите, есть ли возможность исправить эту проблему?

Help writing groovy device driver

I'm trying to get this sensor working with the Smartthings/Hubitat platform. It paired easily to the hub, but I had to create my own driver. So far I have the sensors accurately reporting battery and values from BME280 (temp, humid, and pressure), but I can't get the sensor to send the correct values for the soil moisture. These are the commands I sent to configure the device so it sends data.
Screenshot from 2021-06-23 18-43-03
But the soil cluster (0408) is sending the attribute 0201 instead of 0000. I had it reporting the soil moisture at one point, but I must be sending the wrong config because now it stopped sending the correct value. I checked all source code best I could, but I don't really have experience with ZigBee firmware. What am I doing wrong with the config command?
Screenshot from 2021-06-23 18-59-20

custom sensor

I built a custom and very compact version of your "flower" sensor with only BME280 sensor and It seems to work!
the only problem is with the attribute exposed to Home Assistant, I have some attribute with "_1", maybe there is something strange in the "converter file"?

battery: 100
humidity: 88.42
illuminance: 2959
illuminance_1: 2954
illuminance_lux: 2
illuminance_lux_1: 2
linkquality: 33
pressure: 964.7
soil_moisture: 100
temperature_1: 21.21
temperature_bme: 22.6
voltage: 3500
unit_of_measurement: °C
friendly_name: 0x00124b001bdd56d3_temperature
device_class: temperature

thank you

Compilation requirements

Hello,
thank you for your work. However, can you add simple describe for IDE/enviroment where you compile FW, or what you need to compile ?

Thank you

Notes to anyone having trouble flashing v3

Getting it flashed is really annoying, I didn't realize that the board needed to be separately powered with the battery in, no documentation anywhere I've found about flashing this, had to piece it together myself from CC Debugger manual, and then fortunately found smartboxchannel/Plant-Watering-Sensor-Zigbee#9 which mentioned needing the battery installed.

The 1.27mm through-hole is a real PITA, would have been AWESOME to have those with standard 2.54mm/0.1" space header like for the U3 serial header for a sensor. I ended up using a 1.27mm<->2.54mm conversion board, some P50-E2 pogo pins soldered through the 1.27mm on the conversion board held in place with some grips/helping hands, and then some mini grabber hooks to a breadboard, and then from the breadboard some test lead/jumpers to the CC Debugger. Finally got it to light up green that way.

Flashed using 2.1.0 release firmware, and so far loaded up into ZHA/Home-Assistant with a bit of a challenge with the button to get it the right amount of time. Now I just need to get a reasonably rain resistant ABS case designed for me to 3D print.

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

Have you considered replacing CC2530 in DIYRuZ Flower sensor design 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 the newer CC2652R/CC2652R1/CC2652R2 or CC2652RB (or CC2652P) multi-protocol modules from RF-Star or Ebyte?

I understand CC2652P and CC1352P modules with integrated power amplifiers are most popular when making a Zigbee Coordinator or Zigbee Router, however, CC2652R or CC2652RB might be better for low-powered battery-operated devices?

It is of course also possible to configure a firmware for CC2652P and CC1352P modules to not utilize the power amplifier.

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

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

Light sensor

Is possible to add support for VEML7700 I2C light sensor with BME280 in the same line?
I'm new and I don't know how to edit firmware to add support.

firmware optimalization few the same messages

Oct 17 20:52:00 raspberrypi npm[13682]: Zigbee2MQTT:info 2021-10-17 20:52:00: MQTT publish: topic 'zigbee2mqtt/kulkas', payload '{"battery":8,"humidity":66.64,"illuminance":715,"illuminance_lux":1,"linkquality":126,"pressure":998.5,"soil_moisture":100,"temperature_bme":24.07,"temperature_ds":25,"voltage":2500}'
Oct 17 20:52:00 raspberrypi npm[13682]: Zigbee2MQTT:info 2021-10-17 20:52:00: MQTT publish: topic 'zigbee2mqtt/kulkas', payload '{"battery":11,"humidity":66.64,"illuminance":715,"illuminance_lux":1,"linkquality":126,"pressure":998.5,"soil_moisture":100,"temperature_bme":24.07,"temperature_ds":25,"voltage":2500}'
Oct 17 20:52:00 raspberrypi npm[13682]: Zigbee2MQTT:info 2021-10-17 20:52:00: MQTT publish: topic 'zigbee2mqtt/kulkas', payload '{"battery":11,"humidity":66.64,"illuminance":715,"illuminance_lux":1,"linkquality":126,"pressure":998.5,"soil_moisture":100,"temperature_bme":24.07,"temperature_ds":25,"voltage":2500}'
Oct 17 20:52:00 raspberrypi npm[13682]: Zigbee2MQTT:info 2021-10-17 20:52:00: MQTT publish: topic 'zigbee2mqtt/kulkas', payload '{"battery":11,"humidity":66.64,"illuminance":715,"illuminance_lux":1,"linkquality":123,"pressure":998.5,"soil_moisture":100,"temperature_bme":23.98,"temperature_ds":25,"voltage":2500}'
Oct 17 20:52:00 raspberrypi npm[13682]: Zigbee2MQTT:info 2021-10-17 20:52:00: MQTT publish: topic 'zigbee2mqtt/kulkas', payload '{"battery":11,"humidity":66.67,"illuminance":715,"illuminance_lux":1,"linkquality":126,"pressure":998.5,"soil_moisture":100,"temperature_bme":23.98,"temperature_ds":25,"voltage":2500}'
Oct 17 20:52:00 raspberrypi npm[13682]: Zigbee2MQTT:info 2021-10-17 20:52:00: MQTT publish: topic 'zigbee2mqtt/kulkas', payload '{"battery":11,"humidity":66.67,"illuminance":715,"illuminance_lux":1,"linkquality":126,"pressure":998.5,"soil_moisture":100,"temperature_bme":23.98,"temperature_ds":25,"voltage":2500}'
Oct 17 20:52:00 raspberrypi npm[13682]: Zigbee2MQTT:info 2021-10-17 20:52:00: MQTT publish: topic 'zigbee2mqtt/kulkas', payload '{"battery":11,"humidity":66.67,"illuminance":715,"illuminance_lux":1,"linkquality":126,"pressure":998.5,"soil_moisture":100,"temperature_bme":23.98,"temperature_ds":25,"voltage":2500}'

there is a lot of the same message. is it nesesery to duplicate it ?

Update interval of the sensors

Is it possible to reduce the sensor update interval to 15 minutes, or better than 10? As a meteosensor, the current interval is absolutely not informative

Failing to fully pair in zigbee2mqtt

Hi @nurikk

I have 20 devices based on the V3 specs, built by JLC PCB, all of them running AAA batteries, without the DS or BCM sensors. All devices have been flashed to 2.1.0 version (latest as of now).

I have tried pairing the devices to zigbee2mqtt, and every single time something fails. The devices get paired "successfully", show us supported devices, but the binds fail, or if the binds succeed, the reporting fails, The most I have managed to get them so far was to have battery reporting (though it started with 128%).

I get no values for soil_humidity or illuminance. But like i said, the reporting fails, so I am not surprised.

I have tried pairing the devices in a random location, then close to a router device, then close to the coordinator, same result. After removing the device (force) from z2m, I have always restarted z2m.

So I am lost here. Would you be able to help, or do I basically have 20 useless devices now?

Thanks in advance

LE: I am running the latest version of z2m, my coordinator is the electrolama zzh, my network consists of 39 zigbee devices (some end devices, some acting as routers too), so my mesh should be strong and healthy

Debbug to I/O Terminal of IAR will show wrong numbers ; String is OK

Hello,
i try to Debbug with the SmartRF04B Programmer/Debugger in IAR I/O Terminal. The Source is allready Prepared for this possibility.
I will See the published Strings,which will be OK. But if there are Numbers they will be wrong:
e.g. in File zcl_app.c Function zclApp_ReadSensors

LREP("currentSensorsReadingPhase %d\r\n", currentSensorsReadingPhase);  ---> will show: currentSensorsReadingPhase 1233

I add a Line after the Above One
printf("currentSensorsReadingPhase %d \r\n",currentSensorsReadingPhase); ----> will show: currentSensorsReadingPhase 0

I do not understand this issue. Please Help.
Thanks in advance
Armin

Connection issues

I've just finished my the very first device and faced with a problem with a strange behaviour when it already paired. A led continues blinking from time to time (like it in pair mode) and I don't see any updates from the device except finished interview by zigbee2mqtt and state:

{
    "battery": 16,
    "soil_moisture": 100,
    "voltage": 3200
} 

I don't know if its hardware problem or software but PCB has the minimum amount of components, the build only for soil moisture measures. Is it compulsory to have the whole set of sensors for the firmware (v2.0.4) and what can affect to such behaviour?

How to compile?

Hi,
this is a great project. I already have 7 sensors in use and 10 are going to be build.
I was wondering how to set up a development environment?
Furthermore, I tried opening the source code with VSCode as there is a .vscode folder in it but failed.
What do I need in addition?

Mention in README how to purchase these

I know there's some fun to have these boards created but I don't know why it's not mentioned on the README. What is the current way to purchase and built these devices?

Unable to join v3 board to Conbee II (deconz) network

I have ordered an assembled v3 board and added the BME as breakout board. Then I flashed the 2.0.8 version.
IMG_20210508_233237

Now I am trying to add the sensor to my Zigbee network but it doesn't recognize the device. I am using a Conbee II stick so a Deconz software. The video shows the reaction from the sensor.

VID_20210508_234043.mp4

values do not update

hi,
after update fw to latest ( sensor with crxx32 battery) values do not want do update mqtt works but sensor send the same values all the time

Short battery life with CR2032

Hi,
I've made 5 of these sensors v2 (great work btw! Thanks!!) without any extra sensor. That means I've only soldered:

  • E18-MSI-PCB
  • R1, R2, R3, R4
  • LED1
  • C1, C2
  • D1
  • SW1

Unfortunately I've now been running them for a few weeks and the battery voltage seems down between 2.2v and 2.8v. This is not consistent between different sensors.
What can be the reason for this? How can I find out what has gone wrong?

Also, reporting battery % varies wildly with time - see percentage vs actual voltage:
image
Screenshot 2022-04-08 at 11 05 05

не отсылает данные

Здравствуйте. я собрал датчик и загрузил прошивку последнюю. он заджойнился в устройстве sls gateway но не отсылает никакие данные. потом я пытался и прошивал другой датчик разными прошивками но увы они не отсылают тоже данные
Screenshot 2021-02-24 102214
Screenshot 2021-02-24 102301
Screenshot 2021-02-24 133613

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

Latest firmware for DS Fake chip

Hi!
Please, can you provide latest firmware version for Dallas fake chip? I have downloaded your compiled version of firmware from your blog post ( DIYRuZ_Flower_DS_fake.zip ), but it's and old version and consumes a LOT of battery....also, I could not get it paired with latest version of Z2M. The latest version of firmware (2.1.0) works fine, but not with Fake dallas chip.

Flashing new firmware

Now that the firmware was fixed so that the sensor can potentially work with a Conbee/DeConz setup: how would I flash it to the device? Seems not to support OTAUs…

E18 MS1PA2-PCB

Hello, please, is there any FW for E18 MS1PA2-PCB ? Please, can you compile it for this module ? I need it for longer range in garden and i have it already soldered then i realize, that FW for E18 MS1-PCB is not compatibile due PA.

Thank you

Phototransistor polarity

I'm confused about which way I should mount the phototransistor. I found the datasheet and it says that the notch marks the anode. I guess that means the emitter, i.e. the end that is connected to the resistor. Also in the board there's a dot marked on that side, so I would think that the notch in the phototransistor should be placed where the dot is. However, in the pictures it looks like the notch is on the other side. Also, when measuring the resistance I get maybe more sane values (100 Ω - 100 kΩ depending on the light) when I place the positive probe to the notch side, so that makes me think that the notch marks the collector, but I don't know if I can measure the resistance reliably with a digital multimeter.

Dual layer capacitive sensor in PCB better?

I see that the V2 PCB layout uses copper plates on the top layer for capacitive measurement.
I would expect that copying the same copper plates also to the bottom layer will increase the capacitive coupling by approx. 2 times.
Hence the signal-noise ratio of the measurement becomes much better.
Is there any specific reason why the single layer is used instead?
Am I overlooking something?

Consider redesign board for CR2477 or CR2450 battery instead of CR2032?

Suggest re-design board with battery-clip/battery-holder/battery-retainer for CR2450 or CR2477 batteries instead of CR2032 batteries?

  • CR2477 is 24 x 7.7 mm in size and usually has about 1000 mAh of capacity on average.
  • CR2450 is 24 x 5.0 mm in size and usually has about 550 mAh of capacity on average.
  • CR2032 is only 20 x 3.2 mm (coin cell size) but only has 200 mAh average capacity.

Alternative universal solder pads supporting fitting battery-clips/battery-holders/battery-retainers for either CR2477, CR2450, or CR2032?

I think that it might be possible to find a cleverly designed battery-clip/battery-holder/battery-retainer for CR2477 that could even be able to hold either a CR2477 or a CR2450 or even two CR2032 batteries stacked on top of each other, or what do you think?

Example:

MYOUNG MY-2477-02 (Mfr. Part # MY-2477-02 LCSC Part # C2979175)
https://lcsc.com/product-detail/Battery-Connectors_MYOUNG-MY-2477-02_C2979175.html

MYOUNG MY-2477-01 (Mfr. Part # MY-2477-01 LCSC Part # C2979173)
https://lcsc.com/product-detail/Battery-Connectors_MYOUNG-MY-2477-01_C2979173.html

MYOUNG MY-2450-01 (Mfr. Part # MY-2450-01 LCSC Part # C964845)
https://lcsc.com/product-detail/Battery-Connectors_MYOUNG-MY-2450-01_C964845.html

Reference:

https://jeelabs.org/2015/07/29/could-a-coin-cell-be-enough/index.html

PS: I personally hate to replace batteries so really looking to get a large battery capacity and a long time between replacements.

Change reporting interval

Hey I really like your sensor and using it.
I want to "abuse" some of them as temperature sensors. Would it be possible that you build a version with APP_REPORT_DELAY set to 10 Minutes?
Or otherwise do i really need IAR to compile it on my own?
Thanks

A few questions please

Hi @nurikk and thanks for your work.

Got a few questions and I am unable to find a clear answer anywhere, not even looking at the firmware code.

  1. What is the battery percentage scale used? 0 to 100 or 0 to 200 as per ZCL standard. I am asking this because in my setup with 2xAAA the device is reporting 2.7V, 36 battery percentage which turn into 18% in z2m. If the scale is 0 to 100 i can put in a PR and get this fixed in z2m. Even so, my batteries are fully charged, so even 36% sounds veeery low. And with that I would expect to have a better conversion, or 2 versions of the firmware for the 2 types of batteries. Looking at the code I would have expected to see the battery low threshold set to sth, but i can't find it.

  2. What is the range of illuminance? Like min and max values, and what is the conversion to lux. Converting the current values to lux in z2m give a result that is waaay too low. So if I know what the raw values could be, i can try to map it to correct lux readings in a PR in z2m. Here is a screenshot of my device for reference

image

  1. Can conductivity be measured with this device, similar to the MiFlora device? If so, could anyone share some more info on this?

Many thanks

Light sensor

Thank you for this great project.

What sensor is utilized for light level sensing by design? There are several parts available to order, which one is recommended?

Does not work with ZHA (Zigbee Home Assistant)

Hi,

I have tested the device and it works correctly with Zigbee2MQTT, but not ZHA.
The device can be added to ZHA:
image
Unfortunately, no sensor data is recognized or displayed by Home Assistant.
Other sensors and lights are working fine, so I think there might be some quirk or non-standard behavior that needs patching.

Please help with finding the root cause of this issue.
I have an embedded programming background, but I am not sufficiently familiar with Zigbee to quickly jump into the problem.

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.