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. Domoticz Beta for MySensors official support?

Domoticz Beta for MySensors official support?

Scheduled Pinned Locked Moved Domoticz
18 Posts 7 Posters 8.7k Views 5 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.
  • raditvR Offline
    raditvR Offline
    raditv
    wrote on last edited by
    #6

    @kunall which light do you want to turn on/off? mysensors based? or zwave or anothers?
    and anyway On Action/Off action it's only an additional query, for example when you turn on/off the light you want to open some url or script then you have to put your url/script there. but it's better for you to use LUA script for automation.

    K 1 Reply Last reply
    0
    • K kunall

      @blacey Thanks!! I followed your instruction. Works great. It detected some of my sensor noted out of the box. However, I'm not sure how to send a command to Turn On/Off light? It is asking me Action ON and Action OFF like shown here:

      Screen Shot 2015-04-26 at 5.44.01 PM.png

      AWIA Offline
      AWIA Offline
      AWI
      Hero Member
      wrote on last edited by
      #7

      @kunall On/off is automatic for a "switch". You should not have to do anything other than "switching" in the user interface after you have defined it. The "On Action" and "Off Action" are additional for executing external scripts.

      1 Reply Last reply
      0
      • raditvR raditv

        @kunall which light do you want to turn on/off? mysensors based? or zwave or anothers?
        and anyway On Action/Off action it's only an additional query, for example when you turn on/off the light you want to open some url or script then you have to put your url/script there. but it's better for you to use LUA script for automation.

        K Offline
        K Offline
        kunall
        wrote on last edited by kunall
        #8

        @raditv @AWI Thats what I thought about On/Off action. I'm trying to on/off mysensors relay actuator. My relay actuator has a physical button. Domoticz detects my relay actuator and also updates the state if I toggle the physical button. But it does not turn on / off the relay actuator from domoticz UI. Any idea why?

        Here is my Domoticz log
        Screen Shot 2015-04-26 at 10.41.03 PM.png

        1 Reply Last reply
        1
        • jeylitesJ jeylites

          @blacey I didn't know you into Domoticz.

          What's up @kunall....I will like to see where this project goes from a user perspective.

          K Offline
          K Offline
          kunall
          wrote on last edited by
          #9

          @jeylites After success with OpenHab, I wanted to give a try to Domoticz. Lets see how it goes. I will keep you updated!

          1 Reply Last reply
          0
          • raditvR Offline
            raditvR Offline
            raditv
            wrote on last edited by
            #10

            @kunall which sketch did you use for relay with button? did you modify the sketch?

            K 1 Reply Last reply
            0
            • raditvR raditv

              @kunall which sketch did you use for relay with button? did you modify the sketch?

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

              @raditv I used the default sketch given in examples for Relay actuator on mysensors. I checked my ethernet gateways debug log, it seems that its not receiving any command from Domoticz at all.

              1 Reply Last reply
              0
              • raditvR Offline
                raditvR Offline
                raditv
                wrote on last edited by raditv
                #12

                I see, I never check ethernet script for domoticz, maybe there's a bugs there. I'll check it anyway. but if you try serial gateway, it will run

                K 2 Replies Last reply
                0
                • raditvR raditv

                  I see, I never check ethernet script for domoticz, maybe there's a bugs there. I'll check it anyway. but if you try serial gateway, it will run

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

                  @raditv Yeah, let me know if you face any issues with ethernet gateway. I will give a try to serial gateway, right now!

                  1 Reply Last reply
                  0
                  • H hawk_2050

                    @blacey, I also built and installed from the head of the Domoticz trunk a few days ago on my Raspberry Pi 2. Although it runs initially after a few minutes the web server side of the application crashes and burns. Have you experienced anything like that when running it on your Pi 2?

                    Cheers
                    Richard

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

                    @hawk_2050 I had few crashing issues today when I installed from source code. It ran fine for a while, got me excited and then started crashing. So I went ahead and installed from stable binary. So far no issues except I can not turn on/off light from the UI. Not sure if its the ethernet gateway issue or domoticz'.

                    1 Reply Last reply
                    0
                    • raditvR raditv

                      I see, I never check ethernet script for domoticz, maybe there's a bugs there. I'll check it anyway. but if you try serial gateway, it will run

                      K Offline
                      K Offline
                      kunall
                      wrote on last edited by
                      #15

                      @raditv @hek I can confirm that the Light turns on/off with Serial gateway. Just tried it and it works. However it does not work with ethernet gateway sketch. Any solution to make it work with ethernet?

                      1 Reply Last reply
                      0
                      • blaceyB blacey

                        @kunall Probably. I built Domoticz on an RPI2 recently and it included MySensors hardware/device support out of the box so to speak. I followed the "Installing from Source" instructions here. which means that my install included the latest and greatest from the Domoticz development team.

                        K Offline
                        K Offline
                        kunall
                        wrote on last edited by
                        #16

                        @blacey Are you running Serial or Ethernet gateway for Domoticz?

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

                          I've installed monit, to keep an eye on my domoticz install, It restarts it automaticly if it crashes.

                          I'm using serial GW for mine, and only have 2 Sensors (mysensors micro type) connected at the moment. (and some virtual presence detection "sensors" running on my router.

                          1 Reply Last reply
                          0
                          • raditvR Offline
                            raditvR Offline
                            raditv
                            wrote on last edited by
                            #18

                            if you dont want to install anything to restart domoticz when it's crash. you can put crontab to check it with bash script like this

                            put this on your cront :

                            */1 * * * * sudo /opt/Domoticz/scripts/online_check.sh 2>&1 >> /dev/null
                            

                            and this is online_check.sh

                            #!/bin/bash
                            #Title check_domoticz_online.sh
                            # check domoticz
                            sudo service domoticz.sh status
                            # if not found - equals to 1, start it
                            if [ $? -eq 1 ]
                            then
                            sudo service domoticz.sh restart
                            else
                            echo "Domoticz running - do nothing"
                            fi
                            
                            1 Reply Last reply
                            1
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            31

                            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