November 23, 2024, 03:09:22 AM

MOD-ZIGBEE-PIR behavior

Started by bernat5, December 15, 2015, 04:32:16 PM

Previous topic - Next topic

bernat5

Hi,

I have got a simple network with MOD-ZIGBEE-UEXT and MOD-ZIGBEE-PIR perfectly working, with the default source code provided by Olimex.

I am trying to modify the MOD-ZIGBEE-PIR code to make it send the temperature periodically, and not only when pressing the B1 button. I am not able to get it; I try to simulate the button press inside the code but it doesn't work. Can anybody help me?

Thanks in advance!

kyrk.5

Is there any source code that can be reviewed?

bernat5

Hi Kyrk, thanks for replying.

This is the link where you can find the source code:

https://www.olimex.com/Products/Modules/RF/MOD-ZIGBEE-PIR/resources/MOD-ZIGBEE-PIR_demoSoft.zip

In this case, I think that must be modified the "Rfd.c" file in "RFD" directory.

Thanks!