Comments (16)
I really appreciate you working on it but I regard this as a learning process and would really like to figure it out myself - perhaps I could ask you for feedback when I have something?
from appdaemon.
OK, this is done - thanks Martin for your example (which I pretty much used) as well as the additional assistance in answering my questions.
@jasonmhite - as currently constructed, an appdaemon
executable is made available in "/usr/local/bin", at least that's where it ends up on Ubuntu, so in the path as requested.
from appdaemon.
Couldn't agree more - I am relatively new to Python and haven't done any of the above previously but I will add this to the next release. FWIW I am also working on a Docker file.
from appdaemon.
@acockburn Do you want a PR for the python package structure, or do you want to do it yourself? I have a branch more or less ready.
from appdaemon.
Good call! I'm happy to answer questions as far as I'm able. I've pushed my branch to my fork, so you can take a look if you like when you're ready. I suggest reading some docs or blog first, though.
There is also the cookiecutter project which can setup a full project skeleton for you with optional test modules, travis, tox and pypi scripts.
from appdaemon.
Thanks for the pointers - I can forsee a lot of reading this weekend :)
from appdaemon.
I'll second @MartinHjelmare; if you need any help/feedback feel free to let me know too!
from appdaemon.
Thanks, much appreciated!
from appdaemon.
A note on this one... assuming you build a package such that it installs an executable to the standard system path (e.g. via the scripts argument to setup
), that will make it much easier to write initscripts since you can rely on appdaemon
being in $PATH
.
I can contribute a systemd unit file to go alongside the existing initscript once it's done, it's only about 5 lines. I have one now that I'm using on Debian, but if AppDaemon is going to get packaged up I might as well wait.
from appdaemon.
Makes sense - I would like to have a look at your systemd script.
from appdaemon.
Is appdaemon supposed to be easy to install using pip? I've just spent the last 30 minutes running appdaemon, seeing what "ImportError: No module named '' it gives this time, and then running pip to manually install the missing package. No end in sight either. Feel like I'm missing something. http://appdaemon.readthedocs.io/en/latest/INSTALL.html also has a few 404 links (Docker link, HA link).
from appdaemon.
It should be a single command - with possibly a couple of apt-get installs listed in the docs.
from appdaemon.
Ah! My apologies...maybe move that section up a bit...listing dependencies required to get something working right at the bottom of documentation is a little..unusual!
from appdaemon.
I can certainly do that :)
from appdaemon.
Thanks! Confirmed all working happily now :)
from appdaemon.
Great :)
from appdaemon.
Related Issues (20)
- Add support for service calls that return data such as todo/get_items HOT 3
- Logging (self.log) does not properly handle encoding of some non-English characters. HOT 1
- Schedy App/script not working after update Appdaemon add-on to 0.15.2
- Add ability to trigger a manual check_app_update or to set a custom interval (or: is utility_delay safe to change?)
- Throw an error / refuse to load if apps.yaml has a duplicate top-level key HOT 2
- Double reset_timer set execution time to first time set
- Python 3.12 support HOT 4
- Python package imports - "expert mode" HOT 1
- Warning about "secrtets" from apps where yaml is commented out
- listen_log never receives DEBUG messages HOT 1
- get_history error - takes one positional arguement but 2 were given HOT 2
- Secrets are viewable in plaintext in AppDaemon dashboard via app arguments HOT 1
- appdaemon:dev container stop to work after today update HOT 3
- mqtt retained messages not send to app on appdaemon startup HOT 1
- Support `silent` in `cancel_listen_state` HOT 2
- Cannot call service that returns a response
- Some apps not reloaded after HA restart
- Get all entities under an area such as floor or room in Home Assistant HOT 1
- Numpy 2.0.0 conflicting breaking Plugin HASS HOT 13
- The app became async-only HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appdaemon.