Jump to content
Automate Life

Larry Underwood

Members
  • Content Count

    513
  • Joined

  • Last visited

  • Days Won

    86

Everything posted by Larry Underwood

  1. I have put together a device and created some code to make a new type of motion sensor. This motion sensor doesn't just detect motion. It uses Doppler Radar to detect people in the house and sends a HTTP post to webCoRE which can turn on lights, fans, ect. The nice thing about this device is that motion in the room will not set it off. It has to be moving water (like us as we are mostly water). It has a range of about 20 feet and after testing with it found it to be very sensitive. Not to sensitive though (no false positives so far). This device is only about 3 inches long and 1 inch wide. Here are some pics of the 3D printed case that i had my friend create to put the 2 devices in. The 2 devices that make up this motion sensor are a D1 mini and a Doppler Radar Sensor Doppler Radar Sensor ............................................ $8.99 for 5 https://www.amazon.com/gp/product/B0732VQ4Q2/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1 D1 Mini .................................................................... $12.99 for 3 https://www.amazon.com/gp/product/B076F53B6S/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1 If you figure that out it's about $6.15 for the D1 mini and the sensor. You can put this sensor anywhere in the room as the doppler radar will go through anything but metal and most windows as they have some tin and copper in them to help them melt at a lower temperature (as sand has a very high melting point). I have mine behind my dresser and it works just fine. I put a 3d command strip on the back of the case so i can mount it anywhere and remove it without damaging the service of whatever i mount it to. Anyone have any questions about this please ask. Next on my list of projects is a door sensor and a smart button
  2. According to my friend its a proprietary protocol that connects to their hub and transfers it to their website. You log in with your account info and can see the results. And right now he purchased it directly from the company. www.murata.com
  3. @FrankE Thought you would be interested in this. From what i hear from friends of mine it works really well. https://www.murata.com/-/media/webrenewal/products/sensor/pdf/flyer/appslite_bcg.ashx?la=en-sg Let me know what you think.
  4. In that case you could have a motion sensor as a backup to turn the light on when someone enters the room.
  5. No as soon as someone open's the bathroom door the bathroom light is checked to see if it is on or not if it isn't then the light is turned on. How bright will depend if the virtual switch is on or off if off then it turns it on brighter (knows i'm not going to the bathroom in the middle of the night).
  6. Plus it checks to see if the bathroom light is already on if it is and you open the door then it knows you are leaving the bathroom. And if the door closes and the lockout has expired and the light is on then it knows that you are leaving the bathroom and not just closing it upon entering.
  7. Yes but only after the lockout timer has expired. I set it for about 15 seconds. If it closes before the lockout timer expires then the light stays on.
  8. If you'll look at my piston I can leave the door open or close it behind me and the light will stay on. Uses the lockout variable so the light stays on even if you close it behind you. Then when you open the door or when you close the door when you leave the room the light is turned off. So the light will stay on no matter if you close or leave open the door but when you leave and close the door it tun's it off and after a time it will turn off my LED strip under my side of the bed. Don't have to touch a light switch or worry about lights going off when you don't want them to. Have to admit it's one of my more complex piston's but it works perfectly. even turn's my air fresher on when i close the door behind me because if i close it while it knows i'm sleeping (virtual switch) it knows i will need it plus will turn on my fan as well. Will turn off the fan when i open the door to leave and 15 min later turn's off my air fresher.
  9. That's why i use a door sensor frank instead of a motion sensor. A lot more reliable that way. Use lockout feature so it works perfect
  10. Made a couple more changes on the software side of this to extend battery life. The battery level is now shown in percent instead of Volts and the unit now go's into deep sleep mode for 10 minutes which turns off everything except the Real time clock. So processor, WiFi, sensor are all shut down. It's only running for about 20 seconds out of every 10 minutes. This makes the battery last for about 69 days between charges.
  11. Brian when you post the video if it's not on your YouTube channel can you please leave the link to where it is. I'd like to see that one.
  12. Here are some updated pics of the Air Quality Sensor Project. This is the final version. Got the mods for the case to my friend and he printed this new one for me. As you can see the On/Off switch is now mounted and you can turn it on and off with the switch from the outside. The very small M1.5 screws came in as well and have mounted the board with 3 screws to the mounting post inside the box. Made the hole bigger where you plug in the power to charge the unit so any USB cable will fit. Finally made the slot between the main compartment and the sensor compartment deeper so the wires between the main board and the sensor fit better. Here are the pictures Any questions or comments about the project please leave them here.
  13. The changes to trigger is used when your looking for a change (inactive or active). The stays active trigger allows you check to see if the activity continues past a set time. Smartthings motion sensors have a cool down time of about 20 seconds, meaning they show active for that long even when no notion is taking place, after that they go inactive. So if your looking for constant motion for longer then 20 seconds then i would use stays. Never found that to be that useful as most people walk into a room and set down so motion stops. I use the changes to for a trigger almost always.
  14. I do not use the app at all frank (to limiting) and have never had any false triggers with webcore so never had a need for any filters.
  15. Sure no problem. Here is the parts list $5.00 -- D1 mini pro V2.0.0 --- https://www.aliexpress.com/item/32724692514.html $10.54 -- BME680 Sensor -- https://www.aliexpress.com/item/33031493434.html $4.99 -- 18650 Battery -- https://www.aliexpress.com/item/32839709993.html $7.39 -- On/Off Micro Switch -- https://www.amazon.com/gp/product/B075RC6TFB/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1 $2.29 -- JST PH 2.0MM 2 Pin Female Single Connector -- https://www.amazon.com/gp/product/B07F2YC6YJ/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1 ---------- $30.21 <-- Total And no I don't have any problems with you featuring it. Except for the 3D printed box that was it. Took me a while to get the Arduino sketch created and working like i wanted it to. At first i had a display on it but took to much power to run it. Like the Thingspeak option better anyway. If you need any further information about it let me know.
  16. I created this project for 2 reasons, the main one was that my allergies were really bad this year, I heard that this season has been the worst for them. The second is after looking for a IoT device that I could integrate into my smartthings automation system I found few of them could and the prices for the ones that could were in the hundreds of dollars. So this project was born. I have built a Indoor Air Quality sensor. This IoT device can monitor IAQ (Indoor Air Quality), Temperature, Humidity and I also have it monitoring the voltage of the battery it run's off of. This is not the finial version. I still need to make some mods on the 3D printed case but all the other parts are as I want them. Here is a picture of the unit. It's a lot smaller then it looks in the picture only measures about 3 1/4 inches by 2 inches The switch (turns the unit on and off) you see inside the box will be mounted so it can be turned off through a hole in the side of the case of the next version. The Main board is a D1 mini pro Version 2. It has 4 wires going from it to the sensor. The sensor is a BME680 sensor. The battery is a 18650 3.7 volt rechargeable battery. Here is a screen shot on my phone screen. This is the app i use to see all the readings The app is called IoT Thingspeak Monitor Widget. It is free on the andriod store. As you can see it can monitor all the values of the sensor. Updates automatically. The website i have my Arduino sketch (program that runs on the D1 mini pro) reporting the sensor values to is called Thingspeak. Here is a screenshot of that. Using the thingspeaks websites app option i can set it so that it sends a http post to webCoRE so when the Indoor air quality gets to high for example it can run a webCoRE piston that turns on a smarthings WiFi switch that is connected to my Air Purifier. After the reading go's down it turn's off the air purifier. Also have it turn my humidifier on and off when needed. And the same for when the battery in the device needs to be recharged. The D1 mini pro V2 has a built in battery charging circuit. The battery, D1 mini pro V2, BME680 sensor and the switch cost me around 30 dollars US. The 3D printed case was printed free of charge for me by a friend if i would make him one of these (he bought the parts). This has helped my allergy's a great deal. I even use it to turn my ceiling fan on/off when the temp gets to high.and when I'm in the room. If anyone wants to build this for themselves let me know and i can go into more detail on where to buy the parts, i can also share my arduino sketch as well. If anyone has any questions about this project let me know.
  17. That looks really cool Peter.
  18. Your right in those area's they are useful. In fact i have non-smart motion sensor switches in closets, my bathrooms i use smartthings door sensors to trigger the light's and my LED strips under the bathroom vanity's. When I tell google good night one of the things it does is to turn on a virtual switch so only the LED strip under the vanity gets turned on dimly, when I open the bathroom door just enough to see to go to the bathroom. When i close the door after a time out it turn's the lights off. When I wake and tell google good morning the virtual switch gets turned off and the lights go back to normal operation.
  19. Yes one is WiFi and does not integrate directly with smartthings and the other is z-wave and does. The only thing i do not like about either of these is that the motion sensor is part of the light switch. I prefer my motion sensor separate so i can place it to trigger when i want it to.
  20. Yes if you place your cursor were you want the pic then upload it then when you click the insert option it will place it where you have the cursor.
  21. No I typed the instructions into the forum page, then as i went I took screen shots to help explain what i wanted to get across.
  22. Same here David. Very bad. I even went as far as building a IAQ, (Indoor Air Quality) IoT device that reports to thingspeak website and webcore so i can have it turn on my air purifier. Then turn it off when its back to normal. Does the same with my humidifier. The sensor can monitor Indoor Air Quality, Humidity, Temperature, Carbon Monoxide, and several other toxic gasses. It's in the breadboard stages right now, but after I get a friend to print a case for me I will create a post with the information on how i made it. So far the cost is only about 30 dollars.
  23. No not yet. Didn't seem like there were many people that were that interested in webCoRE, Plus i got very interested in Arduino projects so put more energy into that. Just finished creating a Indoor Air Quality IoT project that can monitor Humility, Temperature, Indoor Air Quality, and several different Gases like Carbon Monoxide, and several others. I have it transmitting it's data to a website called ThingSpeak to graph all of the data, plus ThingSpeak can send HTTP post to webCoRE when say the Air Quality gets above a certain level. webCoRE can then send me a notification about it plus automatically turn on my air purifier (if it's not already on) via a smartthings wifi smart plug, and then turn it off after the levels drop's below a set level. Also have it turn on my humidifier when the humidity gets below a set level and turn it off when it gets back to normal. Paid about $12 for the BME680 sensor and $4 for the D1 mini micro-controller. So for $16 dollars got a very good Air Quality IoT device that would cost about $200 if you bought the same type of device already put together. Plus this one is very sensitive. A friend of mine has a 3D printer so he agreed to print 2 enclosures I designed for it if i put together 2 of the devices (one for him). Plan on getting a D1 battery shield for it and a 18650 battery. All of this will fit in a case about 3 inches wide. It will run on battery for a long time and the battery can be recharged while it's still being used.
  24. Check out the tutorials, and if you have any questions please ask. Plus have lots of scripts in the scripting talks forum.
  25. @jmack87 No, not really but it can look at many devices at once and you can create a piston to look at device states (on or off for example), battery levels, motion, acceleration, etc. and many other condition's then react based on those condition's, send e-mails, text, etc. Not sure what events or state's your looking to configure, so not sure how to help with what you wish to do.
×
×
  • Create New...