Efekta THP_LR \ THP
Option 1 - DIY outdoor/indoor long-range sensor for temperature, humidity and atmospheric pressure
Option 2 - DIY outdoor/indoor temperature, humidity and atmospheric pressure sensor, long battery life
https://paypal.me/efektalab or just buy to support this project
Donate to me:https://www.tindie.com/products/diyberk/temperature-humidity-sensor-efekta-zigbee2mqtt/
Sale:Video:
https://t.me/zigdev
Telegram ZigDev -https://t.me/diy_devices
Telegram DiyDev -More info at http://efektalab.com/eON_THP
V1_R1
V1_R2
How to flash the device
-
Download the Smart RF Flash Programmer V1 https://www.ti.com/tool/FLASH-PROGRAMMER
-
Open the application select the HEX firmware file
-
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)
Сonfiguring the firmware before compilation
Open the preinclude.h file, select the desired configuration
//#define OUTDOOR_LONG_RANGE
//#define BMP
How to join:
If device in FN(factory new) state:
one way
- Open z2m, make sure that joining is prohibited
- Insert the battery into the device
- Click on the icon in z2m - allow joining (you have 180 seconds to add the device)
- Go to the LOGS tab
- Press the reset button on the device (the join procedure will begin, еhe device starts flashing the LED repeatedly)
- Wait, in case of successfull join, device will flash led 5 times, if join failed, device will flash led 2 times
another way
- Open z2m, make sure that joining is prohibited
- Insert the battery into the device
- Click on the icon in z2m - allow joining (you have 180 seconds to add the device)
- Go to the LOGS tab
- Press and hold button (1) for 2-3 seconds, until device start flashing the LED repeatedly
- Wait, in case of successfull join, device will flash led 5 times, if join failed, device will flash led 2 times
If device in a network:
one way
- Hold button (1) for 10 seconds, this will reset device to FN(factory new) status
- Click on the icon in z2m - allow joining (you have 180 seconds to add the device)
- Go to the LOGS tab
- Press and hold button (1) for 2-3 seconds, until device start flashing the LED repeatedly
- Wait, in case of successfull join, device will flash led 5 times, if join failed, device will flash led 2 times
another way
1.Find the device in the list of z2m devices and delete it by applying force remove 2. Click on the icon in z2m - allow joining (you have 180 seconds to add the device) 3. Go to the LOGS tab 4. Press the reset button on the device (the join procedure will begin, еhe device starts flashing the LED repeatedly) 5. Wait, in case of successfull join, device will flash led 5 times, if join failed, device will flash led 2 times
Troubleshooting
If a device does not connect to your coordinator, please try the following:
- Power off all routers in your network.
- 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: 2.1. Disconnect an external antenna from your coordinator. 2.2. Move a device to your coordinator closely (1-3 centimeters).
- Power on, power on the device.
- Restart your coordinator (for example, restart Zigbee2MQTT if you use it).
If the device has not fully passed the join
- If the device is visible in the list of z2m devices, remove it by applying force remove
- Restart your coordinator (for example, restart Zigbee2MQTT if you use it).
- Click on the icon in z2m - allow joining (you have 180 seconds to add the device)
- Go to the LOGS tab
- Press and hold button (1) for 2-3 seconds, until device start flashing the LED repeatedly
- Wait, in case of successfull join, device will flash led 5 times, if join failed, device will flash led 2 times
Other checks
Please, ensure the following:
- 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).
- 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.
- Your coordinator has free slots for direct connections.
- You permit joining on your coordinator.
- 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.