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 crashes after more than one node being presented

Domoticz crashes after more than one node being presented

Scheduled Pinned Locked Moved Domoticz
10 Posts 5 Posters 5.2k Views 1 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.
  • B Offline
    B Offline
    Bram81
    wrote on last edited by
    #1

    Hi,

    I'm using Domoticz on a Raspi and have an Arduino Uno as a serial Mysensors gateway . The gateway starts and a node connected to a Pro Trinket 5v running on a 9v battery shows up in Domoticz without a problem.

    Now the thing is when I add a second node, also on a Pro Triketk 5v sometimes the two nodes are both seen by Domoticz and within a couple of minutes Domoticz crashes or it crashes almost right away. Both nodes use the same sketch with different sketchnames. When a crash occurs I cannot even ssh into the pi anymore and domoticz is shown as being offline. The log shows no errors what so ever...

    Anyone familiar with this problem?

    1 Reply Last reply
    0
    • sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by
      #2

      It happened to me using an unstable beta. I did something in the compilation (installing boost i think) and it happened to me.
      I recompiled and everything worked. If you are using the finished image i dont know :(

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      B 1 Reply Last reply
      0
      • sundberg84S sundberg84

        It happened to me using an unstable beta. I did something in the compilation (installing boost i think) and it happened to me.
        I recompiled and everything worked. If you are using the finished image i dont know :(

        B Offline
        B Offline
        Bram81
        wrote on last edited by
        #3

        @sundberg84 hi, I've just reinstalled everything using the latest image this afternoon and the problem still exists.. But thanks anyway!

        1 Reply Last reply
        0
        • AWIA Offline
          AWIA Offline
          AWI
          Hero Member
          wrote on last edited by
          #4

          Many crashes from Domoticz come from a corrupted database. You can restore a backup or new version. Likely more help on the domoticz forum

          B 1 Reply Last reply
          0
          • AWIA AWI

            Many crashes from Domoticz come from a corrupted database. You can restore a backup or new version. Likely more help on the domoticz forum

            B Offline
            B Offline
            Bram81
            wrote on last edited by
            #5

            @AWI Hey, I've already rebuild the DB too and still without luck.. The gateway is connected to a quite old RPI B model in the barn just to control watervalves over GPIO which have to operate autonomous after my soil moisture sensors send back a certain value. First I thought that it could be some kind of power problem, but feeding the gateway with it's own 5v power supply didn't solve anything either.

            I've read something about domoticz crashing in some cases due to too much EMI, but all devices are boxed and the gateway is as far away from the pi as the cable allows so that doesn't seen a very likely cause to me..

            Every idea or suggestion is more than welcome...!

            AWIA 1 Reply Last reply
            0
            • B Bram81

              @AWI Hey, I've already rebuild the DB too and still without luck.. The gateway is connected to a quite old RPI B model in the barn just to control watervalves over GPIO which have to operate autonomous after my soil moisture sensors send back a certain value. First I thought that it could be some kind of power problem, but feeding the gateway with it's own 5v power supply didn't solve anything either.

              I've read something about domoticz crashing in some cases due to too much EMI, but all devices are boxed and the gateway is as far away from the pi as the cable allows so that doesn't seen a very likely cause to me..

              Every idea or suggestion is more than welcome...!

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

              @Bram81 There are many ways to crash a Pi (and Domoticz). If you can isolate the problem to a certain (reproducable) action where it happens that would help. Possibly attaching a new sensor? Like I said, better to use the Domoticz forum for specific Domoticz related problems.

              1 Reply Last reply
              0
              • B Offline
                B Offline
                Bram81
                wrote on last edited by
                #7

                However it's not realy a specific Mysensors matter I thought it might be usefull for others suffering on the same problem. It turned out that the Rpi and Domoticz crashed after being presented more than 1 node due to some 1Wire issue. Strange thing is I wasn't even using 1wire.

                Disabling it running sudo rmmod w1_gpio did the trick. Domoticz is running stable and taking as by now, four nodes without any problem.

                Moshe LivneM 1 Reply Last reply
                0
                • B Bram81

                  However it's not realy a specific Mysensors matter I thought it might be usefull for others suffering on the same problem. It turned out that the Rpi and Domoticz crashed after being presented more than 1 node due to some 1Wire issue. Strange thing is I wasn't even using 1wire.

                  Disabling it running sudo rmmod w1_gpio did the trick. Domoticz is running stable and taking as by now, four nodes without any problem.

                  Moshe LivneM Offline
                  Moshe LivneM Offline
                  Moshe Livne
                  Hero Member
                  wrote on last edited by
                  #8

                  @Bram81 strange - I am running domoticz for ages (using most updates beta branch) with no stability issues.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    MarkV
                    wrote on last edited by
                    #9

                    I got the same config and the same problem.
                    RaspberryPi 2B, usb gateway on a arduino uno v3
                    And in sketch i see that the node has a sensor and at that moment domoticz crashes into the offline screen.
                    So at the moment that the pi or domoticz receives the sensor domoticz crashes.

                    What can i do about that???

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      MarkV
                      wrote on last edited by
                      #10

                      I've done the above sudo rmmod w1_gpio, a couple reboots and at this moment it detects a unknown energie meter and isn't crashing :-)
                      So maybe some smart brains should have a look at this.....

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


                      12

                      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