So I was working on and off on this project for the last months. I use it now in production on a Raspberry Pi, so I thought I could announce its existence.

There are a lot of rough edges but useable. Maybe interesting for you.

https://github.com/mdbergmann/cl-hab

  • svetlyak40wt@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Great! I want to try it as a replacement to Home Assistant!

    Is there a way to retrieve data from Aquara Hub or plug in a WiFi controlled smart-lamps?

    • mdbergmann@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Stuff like this would be implemented as ‘binding’. It can probably be implemented utilizing the base-binding and just implementing push and pull, in a separate package. But eventually there should be proper generic functions protocol for bindings.

  • KaranasToll@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Cool project. mdbergman.home-automation-bus or even mdbergman.hab would be a better name for this sytem.

      • KaranasToll@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        To prevent it from conflicting with someone elses project. The CL prefix isn’t useful at all in the system name because all asdf systems are within common lisp. A lot of different projects could end up with the acronym or abbreviation HAB. It is best to just use your own namespace.

          • arthurno1@alien.topB
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            I agree that cl- prefix or -cl suffix is probably not the best idea for a project name, there are already loads of those seems like, I would agree with you that a personal name is not the best idea either. I would rather use something more descriptive that makes people understand what it is about when they see it in a web search or stumble upon it on Github.

            Cool project by the way; thanks for sharing.

            • mdbergmann@alien.topOPB
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              I’m a bit torn. I agree that if you have a proper project name it shouldn’t require the ‘cl-’ prefix. On the other hand, the prefix seems to be a common Common Lisp library prefix.

              • arthurno1@alien.topB
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 year ago

                the prefix seems to be a common Common Lisp library prefix.

                Yes it is, but is that important?

                I would think of what is the target audience. If it is a general home automation crowd, for them the programming language used is just an implementation detail, not the major reason to choose the project.

                Of course, the name is not the most important thing either, it was just my reflection since the discussion was about it.

                • mdbergmann@alien.topOPB
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  1 year ago

                  Right now I don’t think this will be a big thing for other crowd than the CL home automation. So for now cl-hab seems like ok for me. If it grows it will be good to rename it.

  • fvf@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Having hacked a bit on Home Assistant, it’s impossible to not want a CL variant of the same. Stopping and restarting your “house” umpteen times for every little change is such a ridiculous development cycle.