Expandable Zigbee Repeater Solution (With Temperature, Humidity, Pressure and Light sensors)

Couple of questions, if you run these off battery are they accurate enough for cigar humidor?

I saw you linked a pack of batteries farther up the page on amazon but they show no longer available, can you by chance link to some batteries that would work that are available?

Is there any programming of the module/board required or do you just power it up and pair with smartthings? Custom DH required?

Thanks.

1 Like

Hi Nick,

My sensor is built to run with DC power with battery backup in the case of power outage. The sensor function as repeater also which require the radio to be on all the time. It is not designed to be used exclusively with battery. The sensor reading should be as accurate in DC powered and well as in battery power.

It can use any JST PH2.0 LIPO/LI-on 1S battery. These kind of battery is know as RC (remote control toys) battery. There are other options in Amazon. For example,

https://www.amazon.com/SoloGood-Infinity-Graphene-Powerwhoop-Connector/dp/B07LF575WR/ref=sr_1_2?crid=RVBLCXUEEQ6F&dchild=1&keywords=lipo+1s+battery&qid=1591211008&sprefix=lipo+1s+%2Caps%2C250&sr=8-2

Please make sure you check the polarity. RC LIPO battery may not be standardized the polarity. Some vendor flip the around. But, JST PH2.0 can be reconfigured easily.

There is no programming needed on the board. I have my custom DTH. You do not need to write your own. But, you can if you want to. It exposes standard Zigbee clusters. That is all you need to get Light, Temperature,Humidity and pressure measurement. The sensor can do more. It has plenty of expansion possibility. I will be happy to elaborate more if you are looking to do DIY work on it.

Thanks for the questions.

br
Iman

Thanks for the reply, looks like this won’t work for me as I do not wish to drill a hole in the humidors :frowning:

Got it. Sure, you may want to consider some of the battery powered Humidity and Temperature sensor. Xiaomi make one. But, they are tricky to use. There are other sensor as well that probably suite your need.

If you need repeater for those sensor since they will be encapsulated in the box, you can go back and consider mine. My sensor work as repeater as well with dedicated power amplifier. This will help penetrate hard to pass enclosure. It will help with those hard to work Xiaomi sensors as well for different reason.

Must the device remain uncovered to work? I’m thinking about using one near a dehumidifier and washing machine area.

Hi JD,

It is not. Some member make 3D case for it. But, if you put it inside a case, you should still have ventilation so the air can circulate.

If you are just using it near humidifier, I think one other option is to coat it with conformal coating coating if available. Or nail polish like below.

There is one area should not be coated. There is one sensor that has a hole in it. This should not be coated to get good reading. We just have to risk it in such use.

There is a picture where you may not want to coat it…

Thanks
Iman

Just to be clear is all the code I need is the Github Device handler github.com/iharyadi/zigbee_repeater?

Yes, all you need to get going is this one environment-sensor-ex.groovy

Thanks to @Alwas for answering. I was still in bed at that time.

The specific DTH for the sensor module is. Please import it to the IDE and publish it for you before pairing.

Received the sensor today, Got it up and running immediately! I now can do some routines to turn off our dehumidifier since it typically returns humidity levels at least 10% points too high. I have a analog temp/humidity sensor that I can see the humidity sensor you sent me and the analog are pretty close in measurement, whereas the dehumidifier is way too high. Thanks so much for this product!
Jon

1 Like

Thank you for letting me know. I am glad that you are happy with the sensor.

Just FYI, the module is also a repeater. I hope that it will help to make your home Zigbee mesh better.

If you have a chance, please do help spread the word around. As a maker who just starting, I can always use help from happy customer.

Thanks
Iman

1 Like

@iharyadi I was searching for a repeater for my Aqara sensors and came upon this thread. I am using Home Assistant + DeConz/Conbee II Zigbee hub though, will your repeater work with this setup?

1 Like

I have not try the DeConz/Conbee. I have a feeling that It should work. There was a community member that uses similar setup to pair with my sensor. You may want to reach out to one of the individual in the thread.

Anyway, your timing is so impeccable. I just tested the sensor with home-assistant + zigbee2mqtt. So far it work fine in this setting. But, this is just something that I got running for a day or so.

I do not want to turn this into hubA vs hubB discussion. If you need more info for the home-assistant use, please feel free to PM me.

I am testing the sensor with a few different hubs as a hobby. I also want to make sure that for all member who make investment on my modules can use it beyond just a specific hubs.

Thanks
Iman

1 Like

Will this still support an external temperature probe? If so does the device handler support it?

At this point, there is a couple way to support external probe.

The first one is using an analog input with K-type probe thermocouple. You need to have a module that take k-type thermocouple to the analog input. Please do shop around for AD8495. There should be better price for it. I just give you an example.

You need the K-Type probe itself.

I have the DTH for this. I can find it for you.

Today, the sensor support serial expansion. If you are open to do Arduino coding, there are a few more option. You can use probe like below.

This probe can be found at much much more lower cost. You can use a cheap arduino Uno or STM32 to interface this probe and send the data to the hub through the Environment sensor. These MCUs can be had for less than $5. The Environment Sensor would act as serial tunnel. It is kind of a replacement to ThingShields.

I brought these options to answer @douglaspitman questions. However, I am also interested to learn if anyone else would need something like an external probe. If there are enough need, I am considering to find the ideal solution and prepackage them into ready to use solution rather than a DIY.

Thanks
Iman

I’m not a programmer so your option 1 is what I would consider. I bought one of your devices a few weeks ago for the repeater function. It’s helped my Zigbee network, so I bought another one today to get better coverage on the other side of my house (in the garage). I have been looking at ways of monitoring my freezer and believe just a probe into the freezer would be my best option… so I recalled you had something rigged up a few years ago… I can knock off two use cases for just a little more money. What is your opinion on this probe with the AD8495?

1 Like

That would work. Any K-Type probe should work with AD.

I personally would find something cheaper K-Type probe. I got some probe that look like just a cable. They work just fine. Please consider the braided cable thickness. It is premium feature. But, if it cause your freezer not closing properly, may be a cheaper cable K-probe is easier to route eventually.

Thanks
Iman

In the ST community there is a project using this type of sensor to a device with an external probe option. He drilled a hole and used a rubber grommet to eat it. Looked good so I thought I’d go that route. You might want to post you level of interest in that string, it sounds like a popular use case.

Iman, were you able to locate your device handler for the external temp gauge?

I’m going to do two of them, one for the freezer and another to monitor the lake water temperature.

Thanks

Here is the DTH,

On the preference page of the Environment Sensor, you can enable the analog input. Then, specify TempProbe as handler.

The calculation on the following line may need to be adjusted. You may not need the -250 on the following formula.

float temp = ((((((zigbee.convertHexToInt(adc)*state.lastVdd)/0x1FFF)+0.025)*2) -1.25)/0.005) -250.0

AD8495 can be fitted by configurable reference voltage. I found a hard lesson that some vendor may have different refernce value. Once you got the board, we can try some experiment to find out.

You can power AD8495 from 5V or 3.3v. If you power it from 5V you may need to have voltage divider. The code currently assume that you will be powering from voltage divider. The reason for voltage divider is that using 5V, you can measure higher temperature. But, the MCU is can only measure up to 3.3V. The voltage divider will divide the output voltage to make it lower. The code above use 1/2 voltage divider. If you go this route, the ideal resistor value is 10k.

Please see https://en.wikipedia.org/wiki/Voltage_divider

If you are fine with 3.3v, you can connect the output of AD8495 straight to the AI. Then, the code to calculate the temperature is

float temp = ((((((zigbee.convertHexToInt(adc)*state.lastVdd)/0x1FFF)+0.025)) -1.25)/0.005) -250.0

You just need not to multiple the voltage calculation by 2. Using 3.3V as power to AD8495 will simplify the wiring. It is just support less temperature range. Based on what you mentioned, you are not trying to measure extreme heat, I do not see that you need higher voltage. AD8495 can be powered up to ~18v for higher temperature support.

Thanks
Iman

Thanks
Iman