Announcement

Collapse
No announcement yet.

how to autostart deConz after reboot?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how to autostart deConz after reboot?

    Hi,

    I'm not an expert in Linux. I'm trying to set an auto-start of deConz on reboot (after power outage for example). How do I do that?

    I have webmin and have setup a cron job to autostart HS3.

    That's one method. How would I go about doing that for deConz?

    Thanks!!

    Pete


    #2
    Anyone? Help, please?

    Comment


      #3
      Depending on how it was installed, the following command may be all you need. This is for the gui version: sudo systemctl enable deconz-gui

      Bill

      Comment


        #4
        Hi Bill, thanks a lot.

        for installation I followed the steps here:
        https://phoscon.de/en/conbee/install#ubuntu

        will this command auto start Deconz in the event of reboot/power outage and so on?

        thanks again,

        pete.

        Comment


          #5
          Yes, that command will hook deconz-gui into starting at boot.

          Comment


            #6
            That didn't work too well.

            Lubuntu freezes on splash screen on reboot.

            Seems to be on an endless loop. On boot, press down arrow - this is the display.

            How to fix?

            Click image for larger version

Name:	IMG_8737.JPG
Views:	2577
Size:	117.4 KB
ID:	1333169

            Comment


              #7
              Disable the boot startup using sudo systemctl enable deconz-gui, then check logs to see what's causing the hang - maybe you've a port conflict or something?

              Comment


                #8
                Hi. Thanks for the reply. I've no experience with Linux so everything is a challenge. But I have sorted it by creating a cron job on boot in Webmin : systemctl start deconz (rather than enable). I put a sleep on it and a later one for HS3 and it now works seamlessly.

                thanks for all the help.

                Comment


                  #9
                  Yeah, the whole linux thing has a steep learning curve, but you'll soon see that there are many ways to skin a cat - your way also works, and that is just as viable as launching it using systemctl.

                  Go with whatever you can get to work

                  Comment

                  Working...
                  X