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. Wall mounted 'mood light'

Wall mounted 'mood light'

Scheduled Pinned Locked Moved My Project
23 Posts 10 Posters 18.7k Views 15 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.
  • A Offline
    A Offline
    Adam McCartney
    wrote on last edited by
    #13

    @AWI said:

    // V_TEXT & V_INFO when not using the DEVELOPMENT version
    const byte V_TEXT = 47 ; // values taken from development edition MyMessage.h
    const byte S_INFO = 36 ;

    awesome, thanks!

    I'm more of a butcher than a surgeon. I can quite happily take things apart, but fixing things usually goes right over my head!!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Mehdi HAMIDA
      wrote on last edited by
      #14

      I really love this project.
      May I can include it in all of my sensors (doorbell, thermostat, alarm,...).

      Really sounds great, thanks

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Mehdi HAMIDA
        wrote on last edited by
        #15

        Is there a way to get your wiring schema ?

        A 1 Reply Last reply
        0
        • M Mehdi HAMIDA

          Is there a way to get your wiring schema ?

          A Offline
          A Offline
          AWI
          Hero Member
          wrote on last edited by
          #16

          @Mehdi-HAMIDA There is nothing to it. A standard MySensors node (5v) with the strip connected to D5 and a button between ground and D4.

          const int stripPin = 5 ;                                    // pin where 2812 LED strip is connected
          const int buttonPin = 4 ;                                   // push button
          
          M 1 Reply Last reply
          1
          • A AWI

            @Mehdi-HAMIDA There is nothing to it. A standard MySensors node (5v) with the strip connected to D5 and a button between ground and D4.

            const int stripPin = 5 ;                                    // pin where 2812 LED strip is connected
            const int buttonPin = 4 ;                                   // push button
            
            M Offline
            M Offline
            Mehdi HAMIDA
            wrote on last edited by
            #17

            @AWI OK, just ordered the PCB
            thx

            1 Reply Last reply
            0
            • mfalkviddM Offline
              mfalkviddM Offline
              mfalkvidd
              Mod
              wrote on last edited by
              #18

              @AWI: Won't this part of your sketch create sort of an endless loop?

                      case RGB_TextColorChild:                            // Text color from controller
                          if (message.type == V_TEXT) {                   // if get color from text child
                              gw.request(RGB_TextColorChild, V_TEXT);
              
              A 1 Reply Last reply
              1
              • mfalkviddM mfalkvidd

                @AWI: Won't this part of your sketch create sort of an endless loop?

                        case RGB_TextColorChild:                            // Text color from controller
                            if (message.type == V_TEXT) {                   // if get color from text child
                                gw.request(RGB_TextColorChild, V_TEXT);
                
                A Offline
                A Offline
                AWI
                Hero Member
                wrote on last edited by
                #19

                @mfalkvidd Good observation. Probably the the result of an 'efficient' copy/paste :flushed:

                The line

                    gw.request(RGB_TextColorChild, V_TEXT);
                

                I there with no reason, can be deleted...

                1 Reply Last reply
                2
                • Tore André RosanderT Offline
                  Tore André RosanderT Offline
                  Tore André Rosander
                  wrote on last edited by
                  #20

                  Im building the same light, but i use 12v LED strips controlled with mosfets. Is it possible to use the same scetch?

                  A 1 Reply Last reply
                  0
                  • Tore André RosanderT Tore André Rosander

                    Im building the same light, but i use 12v LED strips controlled with mosfets. Is it possible to use the same scetch?

                    A Offline
                    A Offline
                    AWI
                    Hero Member
                    wrote on last edited by
                    #21

                    @Tore-André-Rosander If you use standard 12v strips it won't work as such. The ws2812/11 chips in the strip used make it possible to address the individual led's.

                    Tore André RosanderT 1 Reply Last reply
                    0
                    • A AWI

                      @Tore-André-Rosander If you use standard 12v strips it won't work as such. The ws2812/11 chips in the strip used make it possible to address the individual led's.

                      Tore André RosanderT Offline
                      Tore André RosanderT Offline
                      Tore André Rosander
                      wrote on last edited by Tore André Rosander
                      #22

                      @AWI Is this code for version 1.5?
                      Im trying to compile it for the dev (v2) but i get a lot of errors.
                      Mostly alot of code that "was not declared in this scope".

                      EDIT: Just found your link to the "Conversion guide", will have look at it!

                      1 Reply Last reply
                      2
                      • mfalkviddM Offline
                        mfalkviddM Offline
                        mfalkvidd
                        Mod
                        wrote on last edited by
                        #23

                        A version for MySensors 2 is available at https://forum.mysensors.org/topic/4934/wall-mounted-mood-light-v2

                        1 Reply Last reply
                        0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        6

                        Online

                        12.0k

                        Users

                        11.2k

                        Topics

                        113.4k

                        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