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. Troubleshooting
  3. I have great problem with raspberry and domoticz and mysensors gateway !

I have great problem with raspberry and domoticz and mysensors gateway !

Scheduled Pinned Locked Moved Troubleshooting
42 Posts 6 Posters 9.8k 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.
  • sundberg84S sundberg84

    @Reza - so its not just a corrupt sd-card which is quite common if you have something writing alot.

    R Offline
    R Offline
    Reza
    wrote on last edited by
    #6

    @sundberg84 my friend if a sensor send many report to domoticz, so this is a "quite common if you have something writing alot." ?

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

      You need to use a class 10 sd-card from a known manufacturer.
      Another idea is to disable logging so it does not use up the write cycles so quick.

      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

      R 1 Reply Last reply
      1
      • sundberg84S sundberg84

        You need to use a class 10 sd-card from a known manufacturer.
        Another idea is to disable logging so it does not use up the write cycles so quick.

        R Offline
        R Offline
        Reza
        wrote on last edited by
        #8

        @sundberg84 said in I have great problem with raspberry and domoticz and mysensors gateway !:

        You need to use a class 10 sd-card from a known manufacturer.
        Another idea is to disable logging so it does not use up the write cycles so quick.

        so you think this is related just sd card ? this is my sd card
        0_1504527788188_photo_2017-09-04_16-51-49.jpg

        "Another idea is to disable logging so it does not use up the write cycles so quick."
        how can i disable this ?
        thank you for help

        sundberg84S 1 Reply Last reply
        0
        • R Reza

          @sundberg84 said in I have great problem with raspberry and domoticz and mysensors gateway !:

          You need to use a class 10 sd-card from a known manufacturer.
          Another idea is to disable logging so it does not use up the write cycles so quick.

          so you think this is related just sd card ? this is my sd card
          0_1504527788188_photo_2017-09-04_16-51-49.jpg

          "Another idea is to disable logging so it does not use up the write cycles so quick."
          how can i disable this ?
          thank you for help

          sundberg84S Offline
          sundberg84S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by sundberg84
          #9

          @Reza - there are different ways to do this, and Im no expert.
          Please have a look and continue from there...

          https://domoticz.com/forum/viewtopic.php?f=28&t=8788

          • Make system read only http://blog.pi3g.com/2014/04/make-raspb ... read-only/
          • Run system from external HD http://raspberrypihobbyist.blogspot.nl/ ... drive.html
          • Boot from USB http://jonathanmh.com/boot-raspberry-pi ... usb-stick/

          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

          R 2 Replies Last reply
          3
          • sundberg84S sundberg84

            @Reza - there are different ways to do this, and Im no expert.
            Please have a look and continue from there...

            https://domoticz.com/forum/viewtopic.php?f=28&t=8788

            • Make system read only http://blog.pi3g.com/2014/04/make-raspb ... read-only/
            • Run system from external HD http://raspberrypihobbyist.blogspot.nl/ ... drive.html
            • Boot from USB http://jonathanmh.com/boot-raspberry-pi ... usb-stick/
            R Offline
            R Offline
            Reza
            wrote on last edited by
            #10

            @sundberg84 said in I have great problem with raspberry and domoticz and mysensors gateway !:

            @Reza - there are different ways to do this, and Im no expert.
            Please have a look and continue from there...
            https://domoticz.com/forum/viewtopic.php?f=28&t=8788

            Make system read only http://blog.pi3g.com/2014/04/make-raspb ... read-only/
            Run system from external HD http://raspberrypihobbyist.blogspot.nl/ ... drive.html
            Boot from USB http://jonathanmh.com/boot-raspberry-pi ... usb-stick/

            thank you very much

            1 Reply Last reply
            0
            • R Reza

              @marceltrapman said in I have great problem with raspberry and domoticz and mysensors gateway !:

              I had the same issue with my raspberry pi and OpenHAB.
              After a couple of weeks it would crash and ultimately corrupt my sd card.
              I solved that issue by:

              Reinstall Raspbian;
              Reinstall OpenHAB and pay very careful attention for both the application and Raspbian;
              Reboot the Raspberry Pi each saturday night at 12:00 (but you can use any day/time )

              #3 is a medicine obviously and not the cure.
              I am not even sure it is necessary but it give me confidence...
              Maybe the same procedure helps your case.

              thank you for answer . i want found problem ! so this is related to 24-hour every day RPI is on?

              marceltrapmanM Offline
              marceltrapmanM Offline
              marceltrapman
              Mod
              wrote on last edited by
              #11

              @Reza sai

              thank you for answer . i want found problem ! so this is related to 24-hour every day RPI is on?

              I don't think that is what I said, I wrote down how I solved it.
              Not saying that it will work for you but it could be worth the try.

              Fulltime Servoy Developer
              Parttime Moderator MySensors board

              I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
              I have a FABtotum to print cases.

              R 1 Reply Last reply
              1
              • marceltrapmanM marceltrapman

                @Reza sai

                thank you for answer . i want found problem ! so this is related to 24-hour every day RPI is on?

                I don't think that is what I said, I wrote down how I solved it.
                Not saying that it will work for you but it could be worth the try.

                R Offline
                R Offline
                Reza
                wrote on last edited by
                #12

                @marceltrapman said in I have great problem with raspberry and domoticz and mysensors gateway !:

                I don't think that is what I said, I wrote down how I solved it.
                Not saying that it will work for you but it could be worth the try.

                thank you my friend

                1 Reply Last reply
                0
                • sundberg84S sundberg84

                  @Reza - there are different ways to do this, and Im no expert.
                  Please have a look and continue from there...

                  https://domoticz.com/forum/viewtopic.php?f=28&t=8788

                  • Make system read only http://blog.pi3g.com/2014/04/make-raspb ... read-only/
                  • Run system from external HD http://raspberrypihobbyist.blogspot.nl/ ... drive.html
                  • Boot from USB http://jonathanmh.com/boot-raspberry-pi ... usb-stick/
                  R Offline
                  R Offline
                  Reza
                  wrote on last edited by Reza
                  #13

                  @sundberg84
                  i buy a new sd card and write again os and domoticz and gateway...
                  now LED is ok and i have a ip for raspberry. but i think my raspberry's hardware is failure because now my commands send with a lot delay or can not send. or save and send all commands together suddenly . Do you know why?

                  but about read only. thank you . i read this. but i have question. with this work after power off/on my sd card will not fail , is this true ? but when i do to read only , there is not any problem in Performance domoticz and my sensors and gateway? for send and receive commands ?after setup domoticz and my sensors gate way i can change to read only ? thank you

                  sundberg84S 1 Reply Last reply
                  0
                  • R Reza

                    @sundberg84
                    i buy a new sd card and write again os and domoticz and gateway...
                    now LED is ok and i have a ip for raspberry. but i think my raspberry's hardware is failure because now my commands send with a lot delay or can not send. or save and send all commands together suddenly . Do you know why?

                    but about read only. thank you . i read this. but i have question. with this work after power off/on my sd card will not fail , is this true ? but when i do to read only , there is not any problem in Performance domoticz and my sensors and gateway? for send and receive commands ?after setup domoticz and my sensors gate way i can change to read only ? thank you

                    sundberg84S Offline
                    sundberg84S Offline
                    sundberg84
                    Hardware Contributor
                    wrote on last edited by sundberg84
                    #14

                    @Reza -I dont use read only because I wish to log. Instead I backup my database every day... preparing for a SD-card failure.

                    I have bought a class 10 8gb SanDisk and this has lasted me 2 years now with standard settings. First one was about 6-8 months with another brand.

                    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

                    R 1 Reply Last reply
                    1
                    • V Offline
                      V Offline
                      vikasjee
                      wrote on last edited by
                      #15

                      Use Berryboot AND fast USB drive to solve most of the problems related to corruption on SD card due power failures and number of write cycles. I have been using it for 2+ yrs now...

                      R 1 Reply Last reply
                      2
                      • sundberg84S sundberg84

                        @Reza -I dont use read only because I wish to log. Instead I backup my database every day... preparing for a SD-card failure.

                        I have bought a class 10 8gb SanDisk and this has lasted me 2 years now with standard settings. First one was about 6-8 months with another brand.

                        R Offline
                        R Offline
                        Reza
                        wrote on last edited by
                        #16

                        @sundberg84 my new sd card is sandisk. setup again domoticz and mysensors gateway...
                        now os is ok even with power off/on. but i think my raspberry is fail . i think cpu is fail. before i compile domoticz with -j4 without any problem . but now with -j4 after 10-20% rpi is freeze. even when i compile with just make, when i want use domoticz for send command for relay , this have a a lot delay , or command can not send , or save command and after 1 min send all command. i think cpu can not work correct and have a hardware problem ! but i dont know why happen this ! after 7 month rpi was on the table and power was ok and i dont install any new software on the rpi ! suddenly happen...

                        1 Reply Last reply
                        0
                        • V vikasjee

                          Use Berryboot AND fast USB drive to solve most of the problems related to corruption on SD card due power failures and number of write cycles. I have been using it for 2+ yrs now...

                          R Offline
                          R Offline
                          Reza
                          wrote on last edited by
                          #17

                          @vikasjee thank you . but my main problem is not sd card . after 8 month my Rpi is fail suddenly :( i want found why...

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

                            @Reza

                            Continuous writes to a SD card, will make it fail at some point in time, it's just a question of time!.. And thus it will make the rpi fail.
                            Another thing can also be powering issues. (and even combined with a failing SD Card..)

                            R 1 Reply Last reply
                            1
                            • tbowmoT tbowmo

                              @Reza

                              Continuous writes to a SD card, will make it fail at some point in time, it's just a question of time!.. And thus it will make the rpi fail.
                              Another thing can also be powering issues. (and even combined with a failing SD Card..)

                              R Offline
                              R Offline
                              Reza
                              wrote on last edited by
                              #19

                              thank you dear @tbowmo
                              so this (fail cpu or rpi board) can related to write in cd card ? because i am confused .i can not found why suddenly... . i tested power and didn't have problem(if power of my house have problem so first power supply of raspberry should to fail). my rpi was working for 7-8 month without any access people to it and i dont any install new app or program. just power on rpi and put on my table !
                              in rpi was just domoticz and mysensors gateway. i used this just for smart home.
                              now i want just found reason of problem and solve this :(
                              do you think this problem (rpi fail) can related to sd card ? (According to the above description)
                              if yes , so for resolve , what is your suggest ? use a usb memory ? or read only (i want use rpi just for domoticz and mysensors gateway and devices)?with read only i can not see any report in domoticz log ?
                              thank you

                              tbowmoT 1 Reply Last reply
                              0
                              • R Reza

                                thank you dear @tbowmo
                                so this (fail cpu or rpi board) can related to write in cd card ? because i am confused .i can not found why suddenly... . i tested power and didn't have problem(if power of my house have problem so first power supply of raspberry should to fail). my rpi was working for 7-8 month without any access people to it and i dont any install new app or program. just power on rpi and put on my table !
                                in rpi was just domoticz and mysensors gateway. i used this just for smart home.
                                now i want just found reason of problem and solve this :(
                                do you think this problem (rpi fail) can related to sd card ? (According to the above description)
                                if yes , so for resolve , what is your suggest ? use a usb memory ? or read only (i want use rpi just for domoticz and mysensors gateway and devices)?with read only i can not see any report in domoticz log ?
                                thank you

                                tbowmoT Offline
                                tbowmoT Offline
                                tbowmo
                                Admin
                                wrote on last edited by
                                #20

                                @Reza

                                In it's default setup, domoticz writes log files and other data to the SD card all the time, and this can (over time) wear the SD card down, and eventually make it fail!

                                F.ex. everytime my domoticz instance receives a message from the MySensors gateway, it writes a log entry, describing which node it received the data from. (I have my log file stored on a ram disk though, so not writing directly to the SD card)

                                R 1 Reply Last reply
                                0
                                • tbowmoT tbowmo

                                  @Reza

                                  In it's default setup, domoticz writes log files and other data to the SD card all the time, and this can (over time) wear the SD card down, and eventually make it fail!

                                  F.ex. everytime my domoticz instance receives a message from the MySensors gateway, it writes a log entry, describing which node it received the data from. (I have my log file stored on a ram disk though, so not writing directly to the SD card)

                                  R Offline
                                  R Offline
                                  Reza
                                  wrote on last edited by
                                  #21

                                  @tbowmo
                                  now you use a external memory for log ? and have not any problem ?
                                  can you give me a Training link for setup step by step usb memory for write log ?

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

                                    No, I do not use external memory.. I have a ram disk (I take some of the RAM memory of the RPI and converts it into a "disk")

                                    See this link for more info http://bfy.tw/Dlkf

                                    R gohanG 2 Replies Last reply
                                    1
                                    • tbowmoT tbowmo

                                      No, I do not use external memory.. I have a ram disk (I take some of the RAM memory of the RPI and converts it into a "disk")

                                      See this link for more info http://bfy.tw/Dlkf

                                      R Offline
                                      R Offline
                                      Reza
                                      wrote on last edited by
                                      #23

                                      @tbowmo you was helper for me always . thank you for this .
                                      i found this :
                                      https://www.domoticz.com/wiki/Setting_up_a_RAM_drive_on_Raspberry_Pi
                                      this is help me for dont happen fail again ?
                                      again thank you for help

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

                                        @Reza

                                        It will not totally prevent these things of happening, but it might help reduce the risk of it happening again..

                                        R 1 Reply Last reply
                                        1
                                        • tbowmoT tbowmo

                                          @Reza

                                          It will not totally prevent these things of happening, but it might help reduce the risk of it happening again..

                                          R Offline
                                          R Offline
                                          Reza
                                          wrote on last edited by
                                          #25

                                          @tbowmo thank you again my dear friend.

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


                                          23

                                          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