Hubitat with Homemade Temperature, Humidity, Pressure and Light sensor

@mike.maxwell any update on this driver?

thank you.

I'll try to get it cleaned up tomorrow

and released? :slight_smile:

yup:

5 Likes

@mike.maxwell, thank you so much.

1 Like

I just want to update my progress with this project. Having shared a few modules with community members here I started to get feedbacks. The most intriguing feedback is about being able to extend or expand the sensor.

In the past few weeks, I went back to drawing board and look for solution to accommodate the above. Here is what I come up with.

On the hardware side, the new board will expose analog, digital input and output pin. Access to 5 volt and 3.3 volt are also available.

On the firmware side, those pins are abstract out as Zigbee Basic Analog Input, Binary Input/ Output cluster. These clusters are accessible through Hubitat DH.

In layman terms, we will be able to access information from the sensors connected to the pin without needing to understand the lower level complexity of Zigbee protocol and Firmware development. Our DH will be getting one or zero from your digital sensor. Or, DH will be able to read your sensor Analog output in volt. Your DH can drive a thing using its digital output pin.

I have an example in the following video where I connect a moisture sensor, flame sensor and a relay.

I am very excited about this feature. I will have a few to share once I sort out and test them on my end. I will also share my experience connecting them with other sensors. I have motion sensor, Gas leak sensor , sound sensor in the queue.

Finally, this is still a Temperature, Humidity, Pressure and Light Sensor. It is still a Zigbee repeater to help with your Zigbee network. It is also help with your Xiaomi devices.

5 Likes

this is really looking cooler and cooler.

couple of questions:

  1. is it possible to add the sound sensor onboard? just having temperature, humidity, pressure, light and sound all onboard would be enormously helpful is this all-in-one compact unit.
  2. once you add motion sensor support do you plan to also add case / mounting etc? without that placing these to capture motion will be a bit trickier - no?

thank you.

1 Like

What type of relay are you using?

@iharyadi

This is fantastic news. You are making great progress on this.

1 Like

I will be making examples with, Yes, sound and motion sensor. They are in my queue to do.

The environment sensor eventually may have cover. However, I will have to design it. It complicates with temperature measurement.

The concept of expandable sensor is that fellow community members will be able to add your own sensor without worry about writing any firmware. Sound sensor will fall into this. For example, you can get

https://www.dfrobot.com/product-1663.html

It will connect to analog input. You can write your own DH to convert the volt value to db or use the volt value as is. You do not have to deal with the complexity of doing ADC optimally in the firmware.

I am hoping to make this feature so that fellow member here will be able to use sensor of their choosing.

3 Likes

I bought cheap one from ebay. To be honest, It is an example. I just happen to have one at hand.

My need is actually to retrofit my garage door remote and use the Environment sensor to simulate button press. My chamberline integration is getting unreliable lately.

Thank you.

Awesome! Hey, forget the background music, let us hear your voice narrating what’s happening on the video :wink:

1 Like

Is this possible with the version of the sensor you sent me or does it require a newer board than the one I have?

I am sorry. There are 2 parts of the solution. The firmware need to be updated on your board. It is not possible to be done remotely.

1 Like

No problem.

Nice! Keep us posted please.

that one seems a bit pricey. will this also work?

thank you.

1 Like

The expensive one, if you looked at the spec carefully, mentioned about a-weighting filtering. This will help you to meter ambient sound. You want to get this one if you do not want to thinker too much to get things right. There are plenty of filtering technique in google. You can perhaps find a solution that fit what you want to detect.

The cheaper one may just be a microphone with amplifier. You will be getting all sort of sound. There will be huge challenge. One can stream those reading just like PCM. You can do the processing on the hub side. However, I do not believe that zigbee have the bandwidth to do this. I am getting this one myself for experiment. I want to know what I can and cannot do with this one.

If I were to use it for production, I would get something like the expensive one. The one that has been taylored to do specific job.

2 Likes

This show up in my mailbox. This is the first module that I do not assembled myself. It is one of 10 that a contract manufacture assembled. It is hard to see in the picture. However, side by side, their soldering is much more superior than what I can do.

5 Likes