Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. ikkeT
    3. Best
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by ikkeT

    • 3dprint case for motion, temp and humidity sensors with radio and batteries

      Hi home automators,

      I thought I share back my case here from thingiverse for those who do want to monitor home with sensebenders and alike. I draw and 3d printed this case for my sensebender and motion + door trap sensors. One of them is running with arduino pro mini, as I didn't have sensebender for that. It's a bit tight for that, but does it's job. Feel free to modify it, and please notify me if you enhance it, so I'll get the enhancements as well 🙂

      http://www.thingiverse.com/thing:2144946

      alarm casing on side of door

      The angle on the motion sensor allows me to point the PIR range to certain parts where I want it, by placing the case in different ways. Turn to left, right or put it above the door to aim all over.

      It's not state of art, but my first 3d drawing and my first arduino job. Code is pretty much copy paste from here. The device sleeps until sleep timer hits, or motion or door trap interrupts the sleep. To get the interrupt for both, you need to leave arduino pin 2 unused from the NRF24L01+ radio, as that reserves the edge interrupt pin from sensebender. There are only 2 edge interrupt pins on those arduinos.

      The code is here for the devices, like said mostly copy paste (fork): https://github.com/ikke-t/sensebender

      Mysensors GW on raspi forwards the traffic as MQTT forward to my node-red. That then sends gtalk messages of events if alarm is on. I recently also added openhab to listen to MQTT bus just out of curiosity.

      posted in My Project
      ikkeT
      ikkeT
    • RE: 3dprint case for motion, temp and humidity sensors with radio and batteries

      No I don't mind, I'm happy if someone finds it useful. Go ahead 🙂

      posted in My Project
      ikkeT
      ikkeT
    • RE: [SOLVED] latest git-snapshot causes freezes

      I also confirm it fixed my problem. Thank you!

      posted in Troubleshooting
      ikkeT
      ikkeT
    • RE: How to add Sensebender Micro to IDE boards list?

      @hek thanks, that did it. To be precise, one should go to IDE preferences, and at the bottom of the dialog add the following URL into "Additional boards managers URLs:" field and hit OK:
      https://raw.githubusercontent.com/mysensors/ArduinoBoards/master/package_mysensors.org_index.json

      Editing the /usr/share/arduino/dist/package_index.json file does no good, as it will break the signature of the file.

      posted in Development
      ikkeT
      ikkeT
    • RE: 3-in-1 Humidity Temp and Motion

      My sample is here, unfortunately I didn't see this thread before starting it 🙂
      It works for temp, humidity, door and motion, and interrupts for door and motion, otherwise sleeps the intervals:

      https://github.com/ikke-t/sensebender

      There is also pro-mini to code to monitor only door and motion.

      This is also for 2.0 MySensors.

      posted in My Project
      ikkeT
      ikkeT
    • RE: 3dprint case for motion, temp and humidity sensors with radio and batteries

      @Ngwpower after 10 months experience, I've modified things a bit. I never got to smaller batteries, as my access to 3D printer is quite rare. I have run into some problems with this setup.

      1. PIR sensor is picky about the voltage. It starts soon creating false alarms after batteries get a bit lower on voltage. It expects good 3.3V. To fix this I added voltage boster to suck out all the power from batteries to keep it in steady 3.3V. It worked (for a while).

      2. The 2.4Ghz radio is not a good idea in concrete house, along with neighbors wifis. I have lost signal from 1/3 sensors. I don't know really why, I suspect the radio signal strength and interference.

      3. I think batteries won't last now for so long after putting in the voltage pump. I really don't know why, I haven't investigated, but devices disappear after some weeks. The one without voltage pump stays there for months.

      4. PIR sensors again give false alerts. I don't know if it's due the heating during the winter, or dirty voltage that the voltage pump outputs.

      It could be that I should just change the batteries and reboot all of them, but I haven't got around to do it now. But if you add the voltage pump, make sure to add capacitor to steady the radio power.

      Temperature and door open/closed circuit works well. I wish I get the motivation to fix all the above one day soon 🙂

      Good luck, and report back the enhancements!

      posted in My Project
      ikkeT
      ikkeT
    • RE: RGB LED strip

      Thanks a lot for sharing this! I already did the Arduino and MySensors stuff, and started thinking of writing program for it. I'm glad I found this, it fit exactly what I was doing. Here's your code a bit modified, and added some different kind of lamps for the next one looking for references: https://github.com/ikke-t/Arduino-RGB-leds-and-lightbulbs/blob/master/README.md

      The additional piece here is how to command this from OpenHAB, as that's my controller. One needs to modify the RGB info via rules, it's there for reference:

      https://github.com/ikke-t/Arduino-RGB-leds-and-lightbulbs/raw/master/src/rgb.rules

      There are links within that file to references for how to create similar rules for RGB mangling.

      posted in My Project
      ikkeT
      ikkeT