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. Development
  3. Scene Controller

Scene Controller

Scheduled Pinned Locked Moved Development
52 Posts 20 Posters 26.2k Views 6 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.
  • greglG Offline
    greglG Offline
    gregl
    Hero Member
    wrote on last edited by
    #19

    Hi Hek - Can you advise what the physical size of the LCD pcb is?

    I have a really nice bamboo box that my wifes sunglasses came in ( image here) and this might be an ideal case for it!
    http://www.pinterest.com/pin/201958364513700248/

    ( imho...the box is nicer than her sunglasses ( which are now broken anyway )

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #20

      10x6.5 (cm)
      Stacked height about 3.2 cm (2650+shield+display)

      greglG 1 Reply Last reply
      0
      • hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by
        #21

        First post updated with youtube clip and a link to the build page.

        1 Reply Last reply
        0
        • hekH hek

          10x6.5 (cm)
          Stacked height about 3.2 cm (2650+shield+display)

          greglG Offline
          greglG Offline
          gregl
          Hero Member
          wrote on last edited by
          #22

          @hek thanks Hek

          1 Reply Last reply
          0
          • RJ_MakeR Offline
            RJ_MakeR Offline
            RJ_Make
            Hero Member
            wrote on last edited by
            #23

            @hek
            Man you are costing me a fortune... Now there's another project I will need to try.. :-)

            Seriously though, very cool!

            RJ_Make

            1 Reply Last reply
            0
            • L Offline
              L Offline
              lunarok
              wrote on last edited by
              #24

              Will it be possible to use with 3.5 LCD instead of 3.2 ? Many differences for the code to make ?
              Because now we can find 3.5LCD directly connectable on 2560 and total is cheaper too.

              hekH 1 Reply Last reply
              0
              • L lunarok

                Will it be possible to use with 3.5 LCD instead of 3.2 ? Many differences for the code to make ?
                Because now we can find 3.5LCD directly connectable on 2560 and total is cheaper too.

                hekH Offline
                hekH Offline
                hek
                Admin
                wrote on last edited by
                #25

                @lunarok

                It depends on if the display is supported by the UTFT library I used in the example.

                1 Reply Last reply
                0
                • JohnJ Offline
                  JohnJ Offline
                  John
                  Plugin Developer
                  wrote on last edited by
                  #26

                  Very cool display, well done!

                  My Domotica project: http://www.pidome.org

                  1 Reply Last reply
                  0
                  • L Offline
                    L Offline
                    lunarok
                    wrote on last edited by
                    #27

                    Hi,

                    Can't use the sketch.
                    From codebender include on mysensors it just say there was an error compiling it.
                    When I clone it, directly on codebenders it say there was a communication error.
                    When try with local IDE, there is a lot of errors about the time library

                    This type (for each month and day)
                    libraries/Time/DateStrings.cpp:18:18: error: variable ‘monthStr1’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
                    char monthStr1[] PROGMEM = "January";

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      lunarok
                      wrote on last edited by
                      #28

                      @hek : can you update the mysensors lib in codebenders ? On scene controller page you ask to modify SOFTSPI, it's not on codebenders (unless it makes a copy for me) but it is on git

                      1 Reply Last reply
                      0
                      • hekH Offline
                        hekH Offline
                        hek
                        Admin
                        wrote on last edited by hek
                        #29

                        Codebender has a bug when library contains large files (UTFT in this case). This has been reported to them and they will fix it eventually. In the meantime I have just re-uploaded the libraries without these binary (pdf files). But I think they need to clear some caches before it actually compiles.

                        Enabling SOFTSPI in the MySensors lib-config just for the SceneController is harder because we can only keep one version of the MySensors library at the time in our "repository" on codebender.

                        Regarding the DateStrings compilation error .. I've just pushed an update which works in IDE 1.5.8 now.

                        1 Reply Last reply
                        0
                        • tbowmoT Offline
                          tbowmoT Offline
                          tbowmo
                          Admin
                          wrote on last edited by
                          #30

                          @hek
                          Can't you define the SoftSPI settings in the sketch, before you load the library header file? (And then make some conditional defines in the library)

                          (I admit, I don't know the arduino toolchain fully, so I could be mistaken here.. But in "normal" c/c++ compilers you can do it)

                          Or is the libraries at codebender precompiled?

                          1 Reply Last reply
                          0
                          • hekH Offline
                            hekH Offline
                            hek
                            Admin
                            wrote on last edited by
                            #31

                            Nope, it doesn't work in the crappy Arduino builder.

                            And I thing codebender tries to simulate Arduino as much as possible.

                            1 Reply Last reply
                            0
                            • HoffanH Offline
                              HoffanH Offline
                              Hoffan
                              wrote on last edited by
                              #32

                              SC.JPG

                              Does this look right?

                              I ask because i have installed tge scene controller
                              But i cant understand how i will set up a scene with this

                              1 Reply Last reply
                              0
                              • hekH Offline
                                hekH Offline
                                hek
                                Admin
                                wrote on last edited by hek
                                #33

                                Looks right.

                                1. Cretate a scene (under Automation).
                                2. Create new trigger on "Arduino ScheneCtrl 2:1"
                                3. Choose the appropriate scene action

                                Screen Shot 2014-11-24 at 15.04.19.png

                                1 Reply Last reply
                                0
                                • T Offline
                                  T Offline
                                  tbully
                                  wrote on last edited by
                                  #34

                                  I've been playing around with this quite a bit and have it working great. That said, I know I remember seeing a thread where cases (3D printed) were being discussed . However, I can't find the link.

                                  Anyone have it handy?

                                  1 Reply Last reply
                                  0
                                  • T Offline
                                    T Offline
                                    tbully
                                    wrote on last edited by
                                    #35

                                    Still trying to find a case while tinkering and came up with another question.

                                    Has anyone figured out how to "toggle" a scene? I think it'd be cool to have it somehow know if a scene was active and if so run an "off" version of that scene. Likewise, if the scene is "off", run an "on" version.

                                    Maybe another way is to abandon the scene functionality altogether and just somehow control the zwave switch individually.

                                    Just thinking out loud.

                                    Very cool project.

                                    1 Reply Last reply
                                    0
                                    • Q Offline
                                      Q Offline
                                      quocanhcgd
                                      wrote on last edited by
                                      #36

                                      Can i use Arduino Uno to make scene controller? If okie, please teach me to do it? thanks

                                      hekH 1 Reply Last reply
                                      0
                                      • Q quocanhcgd

                                        Can i use Arduino Uno to make scene controller? If okie, please teach me to do it? thanks

                                        hekH Offline
                                        hekH Offline
                                        hek
                                        Admin
                                        wrote on last edited by
                                        #37

                                        @quocanhcgd

                                        Yes, but you cannot use the touch screen. Here is a couple of example of scene activators using buttons:
                                        http://forum.mysensors.org/topic/1018/contest-3d-printed-battery-powered-wall-remote-control
                                        http://forum.mysensors.org/topic/93/weather-station-with-scene-activator

                                        1 Reply Last reply
                                        0
                                        • T Offline
                                          T Offline
                                          tbully
                                          wrote on last edited by
                                          #38

                                          Bringing back an old thread. As you can tell, I'm not much of a developer. ..... apologies....

                                          I'm updating all of my sensors to 1.5 but am having issues with this one. When I compile (using IDE 1.6.5) and a new libraries directory, I get the following error.

                                          Any ideas?

                                          
                                          TouchDisplaySceneControllerSensor:67: error: no matching function for call to 'MySensor::MySensor(int, int)'
                                          TouchDisplaySceneControllerSensor.ino:67:18: note: candidates are:
                                          In file included from TouchDisplaySceneControllerSensor.ino:37:0:
                                          C:\Users\tbully\Documents\Arduino\libraries\MySensors/MySensor.h:158:2: note: MySensor::MySensor(MyTransport&, MyHw&)
                                            MySensor(MyTransport &radio =*new MyTransportNRF24(), MyHw &hw=*new MyHwDriver()
                                            ^
                                          C:\Users\tbully\Documents\Arduino\libraries\MySensors/MySensor.h:158:2: note:   no known conversion for argument 1 from 'int' to 'MyTransport&'
                                          C:\Users\tbully\Documents\Arduino\libraries\MySensors/MySensor.h:149:7: note: MySensor::MySensor(const MySensor&)
                                           class MySensor
                                                 ^
                                          C:\Users\tbully\Documents\Arduino\libraries\MySensors/MySensor.h:149:7: note:   candidate expects 1 argument, 2 provided
                                          no matching function for call to 'MySensor::MySensor(int, int)'
                                          
                                          AWIA 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          19

                                          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