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. Yet another simple roller shutter (cover) node

Yet another simple roller shutter (cover) node

Scheduled Pinned Locked Moved My Project
19 Posts 3 Posters 7.0k 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.
  • H Offline
    H Offline
    hummeruli
    wrote on last edited by hummeruli
    #7

    @dpressle can you give me the Code for the Arduino?

    Thanks

    dpressleD 1 Reply Last reply
    0
    • H hummeruli

      @dpressle can you give me the Code for the Arduino?

      Thanks

      dpressleD Offline
      dpressleD Offline
      dpressle
      wrote on last edited by
      #8

      @hummeruli its here:
      https://forum.mysensors.org/topic/7386/mysensors-cover-node

      H 1 Reply Last reply
      0
      • dpressleD dpressle

        @hummeruli its here:
        https://forum.mysensors.org/topic/7386/mysensors-cover-node

        H Offline
        H Offline
        hummeruli
        wrote on last edited by
        #9

        @dpressle said in Yet another simple roller shutter (cover) node:

        @hummeruli its here:
        https://forum.mysensors.org/topic/7386/mysensors-cover-node

        Thank you, but it does not work.

        145: error: 'getConfig' was not declared in this scope

        dpressleD 1 Reply Last reply
        0
        • H hummeruli

          @dpressle said in Yet another simple roller shutter (cover) node:

          @hummeruli its here:
          https://forum.mysensors.org/topic/7386/mysensors-cover-node

          Thank you, but it does not work.

          145: error: 'getConfig' was not declared in this scope

          dpressleD Offline
          dpressleD Offline
          dpressle
          wrote on last edited by
          #10

          @hummeruli It compiles just fine on my machine, what version of mysensors do you have? i am using v2:
          0_1503471248864_upload-3a44b137-4947-4a14-85e0-bf877f6da2a8

          H 1 Reply Last reply
          0
          • dpressleD dpressle

            @hummeruli It compiles just fine on my machine, what version of mysensors do you have? i am using v2:
            0_1503471248864_upload-3a44b137-4947-4a14-85e0-bf877f6da2a8

            H Offline
            H Offline
            hummeruli
            wrote on last edited by
            #11

            @dpressle i'm using 2.1.1 on IDE 1.8.3 for Arduino Pro Mini 5V 16MHz.

            dpressleD 1 Reply Last reply
            0
            • H hummeruli

              @dpressle i'm using 2.1.1 on IDE 1.8.3 for Arduino Pro Mini 5V 16MHz.

              dpressleD Offline
              dpressleD Offline
              dpressle
              wrote on last edited by
              #12

              @hummeruli can you check "Show verbose output during: " for compilation in the Preferences page and send me the detailed compilation log?

              1 Reply Last reply
              0
              • H Offline
                H Offline
                hummeruli
                wrote on last edited by hummeruli
                #13

                Sorry, i'm stupid. Your Code works fine. I get another Code, this was wrong and i renamed the wrong File.
                But i have two Problems:

                1. I need on my shutter, he is open with 0% and closed with 100%. If i change the values for UP and DOWN to my values, it would'nt work.

                2. If the shutter stay on 40% and i restart it, then he run UP and after he stop, he send the V_percentage 40.

                Normaly he must send the stored value in EEPROM, i think.

                Thanks a lot

                dpressleD 1 Reply Last reply
                0
                • H hummeruli

                  Sorry, i'm stupid. Your Code works fine. I get another Code, this was wrong and i renamed the wrong File.
                  But i have two Problems:

                  1. I need on my shutter, he is open with 0% and closed with 100%. If i change the values for UP and DOWN to my values, it would'nt work.

                  2. If the shutter stay on 40% and i restart it, then he run UP and after he stop, he send the V_percentage 40.

                  Normaly he must send the stored value in EEPROM, i think.

                  Thanks a lot

                  dpressleD Offline
                  dpressleD Offline
                  dpressle
                  wrote on last edited by
                  #14

                  @hummeruli
                  for #1 try switching also these variables:
                  #define DIRECTION_DOWN 1
                  #define DIRECTION_UP 0

                  for #2 can you send debug output?

                  H 1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    gryzli133
                    wrote on last edited by
                    #15

                    What controller did you test already? I have domoticz, but it seems like domoticz has problem with percentage...

                    dpressleD 1 Reply Last reply
                    0
                    • G gryzli133

                      What controller did you test already? I have domoticz, but it seems like domoticz has problem with percentage...

                      dpressleD Offline
                      dpressleD Offline
                      dpressle
                      wrote on last edited by
                      #16

                      @gryzli133 Its tested and working on Homeassistant, you will probably will have to modify the code to make it work with other controllers, let me know if you need help with that.

                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        gryzli133
                        wrote on last edited by
                        #17

                        is there any way to see all the communication between Node and Domoticz? I have already successfully changed the programm to compile on ESP8266, so I could use WiFi gateway and connected to serial check what happend in the communication. But i'm still too new to mysensors to get the full debug info...

                        dpressleD 1 Reply Last reply
                        0
                        • G gryzli133

                          is there any way to see all the communication between Node and Domoticz? I have already successfully changed the programm to compile on ESP8266, so I could use WiFi gateway and connected to serial check what happend in the communication. But i'm still too new to mysensors to get the full debug info...

                          dpressleD Offline
                          dpressleD Offline
                          dpressle
                          wrote on last edited by
                          #18

                          @gryzli133 Sorry but i dont know how to debug Domoticz

                          1 Reply Last reply
                          0
                          • dpressleD dpressle

                            @hummeruli
                            for #1 try switching also these variables:
                            #define DIRECTION_DOWN 1
                            #define DIRECTION_UP 0

                            for #2 can you send debug output?

                            H Offline
                            H Offline
                            hummeruli
                            wrote on last edited by hummeruli
                            #19
                            This post is deleted!
                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            18

                            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