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.
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?
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.
Cool project.
mdbergman.home-automation-bus
or evenmdbergman.hab
would be a better name for this sytem.Not sure I want my name in there.
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.
OK, I’ll think about it.
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.
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.
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.
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.
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.