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. Controllers
  3. Domoticz
  4. Open/closed instead of on/off, Payload

Open/closed instead of on/off, Payload

Scheduled Pinned Locked Moved Domoticz
14 Posts 4 Posters 5.5k 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.
  • P Offline
    P Offline
    popunonkok
    wrote on last edited by
    #4

    HMmmm...

    I have presented the Switch as s_door.

      present(PRIMARY_CHILD_ID, S_DOOR);
    

    My Message looks like this:

    MyMessage msg(PRIMARY_CHILD_ID, V_TRIPPED);
    

    I sould have written this in my first post but it was a quick post, sorry about that.

    However, in Domotics i don't get Door Contact as Switch type, only Contact.
    When I chose Contact, it says Open/Close but then I dont get to choose Icon, it only shows to arrows.
    So to chose Contact kind of solved my problem but I like my Door Icon. =)

    I see that @Boots33 uses V3.6765. I guess thats a Beta. I only uses Stable versions so the latest is v 3.5877

    I Guess that it could be a new switch type but I would guess not. The strange thing is that I see that the switchtype Contact is not avalible on @Boots33 screen shot.

    Thanks anyway for both answers.

    K Boots33B 2 Replies Last reply
    0
    • P popunonkok

      HMmmm...

      I have presented the Switch as s_door.

        present(PRIMARY_CHILD_ID, S_DOOR);
      

      My Message looks like this:

      MyMessage msg(PRIMARY_CHILD_ID, V_TRIPPED);
      

      I sould have written this in my first post but it was a quick post, sorry about that.

      However, in Domotics i don't get Door Contact as Switch type, only Contact.
      When I chose Contact, it says Open/Close but then I dont get to choose Icon, it only shows to arrows.
      So to chose Contact kind of solved my problem but I like my Door Icon. =)

      I see that @Boots33 uses V3.6765. I guess thats a Beta. I only uses Stable versions so the latest is v 3.5877

      I Guess that it could be a new switch type but I would guess not. The strange thing is that I see that the switchtype Contact is not avalible on @Boots33 screen shot.

      Thanks anyway for both answers.

      K Offline
      K Offline
      kimot
      wrote on last edited by
      #5

      @popunonkok
      You can define your own icons in Domoticz.

      https://www.domoticz.com/wiki/Custom_icons_for_webinterface

      1 Reply Last reply
      0
      • P popunonkok

        HMmmm...

        I have presented the Switch as s_door.

          present(PRIMARY_CHILD_ID, S_DOOR);
        

        My Message looks like this:

        MyMessage msg(PRIMARY_CHILD_ID, V_TRIPPED);
        

        I sould have written this in my first post but it was a quick post, sorry about that.

        However, in Domotics i don't get Door Contact as Switch type, only Contact.
        When I chose Contact, it says Open/Close but then I dont get to choose Icon, it only shows to arrows.
        So to chose Contact kind of solved my problem but I like my Door Icon. =)

        I see that @Boots33 uses V3.6765. I guess thats a Beta. I only uses Stable versions so the latest is v 3.5877

        I Guess that it could be a new switch type but I would guess not. The strange thing is that I see that the switchtype Contact is not avalible on @Boots33 screen shot.

        Thanks anyway for both answers.

        Boots33B Offline
        Boots33B Offline
        Boots33
        Hero Member
        wrote on last edited by Boots33
        #6

        @popunonkok said in Open/closed instead of on/off, Payload:

        However, in Domotics i don't get Door Contact as Switch type, only Contact.
        When I chose Contact, it says Open/Close but then
        So to chose Contact kind of solved my problem but I like my Door Icon. =)

        I see that @Boots33 uses V3.6765. I guess thats a Beta. I only uses Stable versions so the latest is v 3.5877

        I Guess that it could be a new switch type but I would guess not.

        Could be because I am on the Beta I suppose. although the project I linked to is nearly 12 months old and I am pretty sure I had the door icon from the start. Is there any other Domoticz users that can confirm if they have the same menu as me. I could have selected some custom icons I guess but I can't remember doing that.

        I dont get to choose Icon, it only shows to arrows.

        When I select Door Contact I do not get to choose the icon either. it just uses the door icon

        The strange thing is that I see that the switchtype Contact is not avalible on @Boots33 screen shot.

        There is a Contact type 2 positions up from door contact on my menu.

        This may be best chased down on the Domoticz forum

        1 Reply Last reply
        0
        • P Offline
          P Offline
          popunonkok
          wrote on last edited by
          #7

          @kimot
          Im using custom icon for my door, however, you can't use custom icon for the switchtype contact. At least not on v3.5877

          @Boots33
          Sorry didn't see the Contact type 2 positions up.
          I see that the Door Contact has a lock on its icon. How does it look when your pysical door is open? Just gray?

          Boots33B K 2 Replies Last reply
          0
          • P popunonkok

            @kimot
            Im using custom icon for my door, however, you can't use custom icon for the switchtype contact. At least not on v3.5877

            @Boots33
            Sorry didn't see the Contact type 2 positions up.
            I see that the Door Contact has a lock on its icon. How does it look when your pysical door is open? Just gray?

            Boots33B Offline
            Boots33B Offline
            Boots33
            Hero Member
            wrote on last edited by
            #8

            @popunonkok Like this

            0_1488612357340_Screenshot (47).jpg

            1 Reply Last reply
            0
            • P Offline
              P Offline
              popunonkok
              wrote on last edited by
              #9

              @Boots33
              One more question: The closed door with a lock symbol. Is that door just closed or closed AND locked?

              I will probably wait with this main question since it seems to be related to an beta update.

              Boots33B K 2 Replies Last reply
              0
              • P popunonkok

                @Boots33
                One more question: The closed door with a lock symbol. Is that door just closed or closed AND locked?

                I will probably wait with this main question since it seems to be related to an beta update.

                Boots33B Offline
                Boots33B Offline
                Boots33
                Hero Member
                wrote on last edited by
                #10

                @popunonkok The closed door with lock is what it shows for a closed door. As far as i know there is no way to indicate just closed without the lock. Just the two icons for open and closed. Why they chose to put a lock on it I am not sure

                1 Reply Last reply
                0
                • P popunonkok

                  @Boots33
                  One more question: The closed door with a lock symbol. Is that door just closed or closed AND locked?

                  I will probably wait with this main question since it seems to be related to an beta update.

                  K Offline
                  K Offline
                  kimot
                  wrote on last edited by
                  #11

                  @popunonkok
                  You can choose "Door Lock" switch type and change icons for this switch.
                  I think, it is possible change any icons in domoticz.
                  Simply go to "www/images" folder, load your own icons and rename it to door48open.png and door48.png.
                  Or do the same for contact48.png etc.
                  I will try it when I come at home.

                  Boots33B 1 Reply Last reply
                  0
                  • K kimot

                    @popunonkok
                    You can choose "Door Lock" switch type and change icons for this switch.
                    I think, it is possible change any icons in domoticz.
                    Simply go to "www/images" folder, load your own icons and rename it to door48open.png and door48.png.
                    Or do the same for contact48.png etc.
                    I will try it when I come at home.

                    Boots33B Offline
                    Boots33B Offline
                    Boots33
                    Hero Member
                    wrote on last edited by
                    #12

                    @kimot can you confirm that you have Door contact and Door Lock types available from your drop down menu? Are you on a stable release or a Beta of Domoticz

                    K 1 Reply Last reply
                    0
                    • Boots33B Boots33

                      @kimot can you confirm that you have Door contact and Door Lock types available from your drop down menu? Are you on a stable release or a Beta of Domoticz

                      K Offline
                      K Offline
                      kimot
                      wrote on last edited by
                      #13

                      @Boots33
                      "Door Lock" only. I am using stable releases.

                      1 Reply Last reply
                      0
                      • P popunonkok

                        @kimot
                        Im using custom icon for my door, however, you can't use custom icon for the switchtype contact. At least not on v3.5877

                        @Boots33
                        Sorry didn't see the Contact type 2 positions up.
                        I see that the Door Contact has a lock on its icon. How does it look when your pysical door is open? Just gray?

                        K Offline
                        K Offline
                        kimot
                        wrote on last edited by
                        #14

                        @popunonkok

                        0_1488836984223_other_icons.jpg

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


                        17

                        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