Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. Nap machine / Scene controller

Nap machine / Scene controller

Scheduled Pinned Locked Moved My Project
5 Posts 2 Posters 1.8k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ferpandoF Offline
    ferpandoF Offline
    ferpando
    Hero Member
    wrote on last edited by ferpando
    #1

    Hello,

    It's been a while since a posted last. It's been really busy around here.

    I've been using a node with a button to start and stop nap time, and control some scene.

    My controller has been Vera for a long time, but now I think it's time for an upgrade.
    I installed openhab a few weeks back and started to play with it.

    Anyway, I thought it was time to make a new thing to control naps. That's how nap machine was born. But as I was building it, I thought it could do a lot more. Become a grown up scene controller.

    As you can see in the video, it has an oled display, a rotary encoder and a buzzer.
    It works with SPI displays, as well as I2C. It also has a radio to connect with MySensors gateway.
    The rotary encoder has a integrated button and 2 leds. The program can detect rotation, single click, double click and long click.

    Take a look at the video to see some options. Still in early stage, but it works and it's fully integrated with MySensors.
    I need now to integrate it with openhab, and in this regard I hope to find some help here.

    Feel free to comment or suggest new uses.
    In the following days I'll post the code as it is now, and some schematics for those interested.

    VIDEO:
    napMachine
    0_1504390432905_Captura de pantalla 2017-09-03 a las 0.13.12.png

    1 Reply Last reply
    2
    • dbemowskD Offline
      dbemowskD Offline
      dbemowsk
      wrote on last edited by
      #2

      I am curious how you create the graphics used on the OLED display.

      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

      1 Reply Last reply
      0
      • ferpandoF Offline
        ferpandoF Offline
        ferpando
        Hero Member
        wrote on last edited by
        #3

        I just draw them in photoshop, save then as monochrome gif, and then use an online service to generate the arrays to use on the code.

        Something like this:

        imageconverter.rest7.com

        dbemowskD 1 Reply Last reply
        0
        • ferpandoF ferpando

          I just draw them in photoshop, save then as monochrome gif, and then use an online service to generate the arrays to use on the code.

          Something like this:

          imageconverter.rest7.com

          dbemowskD Offline
          dbemowskD Offline
          dbemowsk
          wrote on last edited by
          #4

          @ferpando Thanks, love the project by the way.

          Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
          Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

          1 Reply Last reply
          0
          • ferpandoF Offline
            ferpandoF Offline
            ferpando
            Hero Member
            wrote on last edited by
            #5

            Hello,
            Here's a simple schematic of the project

            0_1504521460415_Captura de pantalla 2017-09-04 a las 12.34.32.png

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            27

            Online

            11.7k

            Users

            11.2k

            Topics

            113.1k

            Posts


            Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • MySensors
            • OpenHardware.io
            • Categories
            • Recent
            • Tags
            • Popular