smartboxchannel / Plant-Watering-Sensor-Zigbee

Plant Watering Sensor Project for Zigbee Network (in the beginning it was based on the Source Code of theDIYRUZ Flower Project - https://github.com/diyruz/flower).
GNU General Public License v3.0
145 stars 30 forks source link

Frequency of data transmission #1

Closed rto54 closed 2 years ago

rto54 commented 3 years ago

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

rindlerblabla commented 2 years ago

Don't know, but might be possible if you change this value, compile and flash your sensor https://github.com/smartboxchannel/Plant-Watering-Sensor-Zigbee/blob/7a4614289fc2dfaa0a946a5197725970ecd6320e/PROJECT%20SOURCE/PWS/Source/zcl_app.h#L31.

rindlerblabla commented 2 years ago

@rto54 See https://github.com/smartboxchannel/Plant-Watering-Sensor-Zigbee/tree/main/PROJECT%20SOURCE There are now other update interval firmware which you can flash to your sensor.

smartboxchannel commented 2 years ago

I posted the firmware with different data sending intervals so that there would be no need to compile it myself. I do not want to make this parameter controllable via z2m, since it will rarely be changed, and the sensor will nevertheless always spend time waiting for new settings, this is a constant excess consumption.