integration
nixpkgs
integration | nixpkgs | |
---|---|---|
45 | 975 | |
4,661 | 15,753 | |
2.4% | 2.8% | |
9.1 | 10.0 | |
7 days ago | 4 days ago | |
Python | Nix | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
integration
-
Thoughts, learnings and regrets after three years on Home Assistant
I have HACS[0] installed in my Docker image, I use it for exactly one integration and the initial setup seemed a little dodgy but it's been pain-free for a couple of years now.
[0]: https://hacs.xyz/
- Is there a way to see actual print time after a print is done?
-
MyQ now free? Possibly included with premium connectivity?
Yeah! So first, get HACS if you don’t already have it (https://hacs.xyz), then the custom Tesla integration (https://github.com/alandtse/tesla) - side note: you’ll need to be able to get a refresh token for your account (iOS app: https://apps.apple.com/us/app/auth-app-for-tesla/id1552058613)… once you have the integration setup, create an automation. It should trigger when your vehicle tracker enters home zone and you can set device > myQ to open. Lmk if you need more help or have questions
- Noob question
-
Natural Light setting is fickle - Lutron Aurora
Adaptive lighting is not a default for Home Assistant. It's an addon. You can install it through HACS (which is an addon itself) https://hacs.xyz/
-
How to access all of the things from a single point
Once you have that, you can also install a lot of additional services that would require separate docker containers from the Addon Store (like PiHole) or HACS, which is where you'll get all the unofficially supported integrations. Frigate is an option in the latter, so I don't think you need a separate PC application, unless it's just to view.
-
Hello I have a problem with install home assistant (truecharts stable) on my server …. This is the problem.
Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 411, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 446, in __run_body rv = await self.method(([self] + args)) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1140, in nf res = await f(args, *kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1272, in nf return await func(args, *kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/chart_release.py", line 481, in do_create await self.middleware.call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1345, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1305, in _call return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1206, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, *kwargs)) File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(self.args, *self.kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/helm.py", line 44, in helm_action raise CallError(f'Failed to {tn_action} chart release: {stderr.decode()}') middlewared.service_exception.CallError: [EFAULT] Failed to install chart release: Error: INSTALLATION FAILED: template: home-assistant/templates/common.yaml:5:3: executing "home-assistant/templates/common.yaml" at : error calling include: template: home-assistant/charts/common/templates/loader/_apply.tpl:20:5: executing "tc.common.loader.apply" at : error calling include: template: home-assistant/charts/common/templates/spawner/_configmap.tpl:16:10: executing "tc.common.spawner.configmap" at : error calling include: template: home-assistant/charts/common/templates/class/_configmap.tpl:33:6: executing "tc.common.class.configmap" at : error calling tpl: error during tpl function execution for "configuration.yaml.default: |-\n # Configure a default setup of Home Assistant (frontend, api, etc)\n default_config:\n\n # Text to speech\n tts:\n - platform: google_translate\n\n group: !include groups.yaml\n automation: !include automations.yaml\n script: !include scripts.yaml\n scene: !include scenes.yaml\nhttp.default: |2-\n\n http:\n use_x_forwarded_for: true\n trusted_proxies:\n {{- if hasKey .Values \"ixChartContext\" }}\n - {{ .Values.ixChartContext.kubernetes_config.cluster_cidr }}\n {{- else }}\n {{- range .Values.homeassistant.trusted_proxies }}\n - {{ . }}\n {{- end }}\n {{- end }}\ninit.sh: |-\n #!/bin/sh\n if test -f \"/config/configuration.yaml\"; then\n echo \"configuration.yaml exists.\"\n if grep -q recorder: \"/config/configuration.yaml\"; then\n echo \"configuration.yaml already contains recorder\"\n else\n cat /config/init/recorder.default >> /config/configuration.yaml\n fi\n if grep -q http: \"/config/configuration.yaml\"; then\n echo \"configuration.yaml already contains http section\"\n else\n cat /config/init/http.default >> /config/configuration.yaml\n fi\n else\n echo \"configuration.yaml does NOT exist.\"\n cp /config/init/configuration.yaml.default /config/configuration.yaml\n cat /config/init/recorder.default >> /config/configuration.yaml\n cat /config/init/http.default >> /config/configuration.yaml\n fi\n\n echo \"Creating include files...\"\n for include_file in groups.yaml automations.yaml scripts.yaml scenes.yaml; do\n if test -f \"/config/$include_file\"; then\n echo \"$include_file exists.\"\n else\n echo \"$include_file does NOT exist.\"\n touch \"/config/$include_file\"\n fi\n done\n\n cd \"/config\" || echo \"Could not change path to /config\"\n echo \"Creating custom_components directory...\"\n mkdir \"/config/custom_components\" || echo \"custom_components directory already exists\"\n\n echo \"Changing to the custom_components directory...\"\n cd \"/config/custom_components\" || echo \"Could not change path to /config/custom_components\"\n\n echo \"Downloading HACS\"\n wget \"https://github.com/hacs/integration/releases/latest/download/hacs.zip\" || exit 0\n\n if [ -d \"/config/custom_components/hacs\" ]; then\n echo \"HACS directory already exist, cleaning up...\"\n rm -R \"/config/custom_components/hacs\"\n fi\n\n echo \"Creating HACS directory...\"\n mkdir \"/config/custom_components/hacs\"\n\n echo \"Unpacking HACS...\"\n unzip \"/config/custom_components/hacs.zip\" -d \"/config/custom_components/hacs\" >/dev/null 2>&1\n\n echo \"Removing HACS zip file...\"\n rm \"/config/custom_components/hacs.zip\"\n echo \"Installation complete.\"\nrecorder.default: |2-\n\n recorder:\n purge_keep_days: 30\n commit_interval: 3\n db_url: {{ ( printf \"%s?client_encoding=utf8\" ( .Values.postgresql.url.complete | trimAll \"\\"\" ) ) | quote }}": template: home-assistant/templates/common.yaml:19:18: executing "home-assistant/templates/common.yaml" at <.Values.ixChartContext.kubernetes_config.cluster_cidr>: nil pointer evaluating interface {}.cluster_cidr
-
Alexa routines accessible in home assistant?
Yup! There's a community integration you can install called Alexa Media Player. The easiest way to install it is by using HACS.
-
This is why Linus says not to buy Cloud-based services
There's also an extended 'store' called HACS (Home Assistant Community Store) which basically has third-party, but still FOSS so you can audit the code, integrations which further expand. https://hacs.xyz/
-
What are your favorite Tesla accessories?
[HACS](https://hacs.xyz/
nixpkgs
-
Nix: The Breaking Point
I don't think so. The article is probably intended for the Nix community, so the author doesn't need to convince HN that something is going on. If as an outsider you are interested then you need to look into it yourself, the community has no obligation to make their internal conflicts legible to the outside world.
As an outsider myself, it certainly looks like something is going on as more than 20 Nixpkg maintainers left in a week: https://github.com/NixOS/nixpkgs/issues?q=label%3A%228.has%3...
- Maintainers Leaving
-
Air Force picks Anduril, General Atomics to develop unmanned fighter jets
https://github.com/NixOS/nixpkgs/commits?author=neon-sunset
-
Eelco Dolstra's leadership is corrosive to the Nix project
I see two signers in the top 6 displayed on https://github.com/NixOS/nixpkgs/graphs/contributors
-
3rd Edition of Programming: Principles and Practice Using C++ by Stroustrup
For a single file script, nix can make the package management quite easy: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-f...
For example,
```
- NixOS/nixpkgs: There isn't a clear canonical way to refer to a specific package
-
NixOS Is Not Reproducible
Yes, Nix doesn't actually ensure that the builds are deterministic. In fact it works just fine if they aren't. There are packages in nixpkgs that aren't reproducible: https://github.com/NixOS/nixpkgs/issues?q=is%3Aopen+is%3Aiss...
-
The xz attack shell script
I'm not familiar with Bazel, but Nix in it's current form wouldn't have solved this attack. First of all, the standard mkDerivation function calls the same configure; make; make install process that made this attack possible. Nixpkgs regularly pulls in external resources (fetchUrl and friends) that are equally vulnerable to a poisoned release tarball. Checkout the comment on the current xz entry in nixpkgs https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/comp...
-
Debian Git Monorepo
NixOS uses a monorepo and I think everyone's love it.
I love being able to easily grep through all the packages source code and there's regularly PRs that harmonizes conventions across many packages.
Nixpkgs doesn't include the packaged software source code, so it's a lot more practical than what Debian is doing.
https://github.com/NixOS/nixpkgs
-
From xz to ibus: more questionable tarballs
In this specific case, nix uses fetchFromGitHub to download the source archive, which are generated by GitHub for the specified revision[1]. Arch seems to just download the tarball from the releases page[2].
[1]: https://github.com/NixOS/nixpkgs/blob/3c2fdd0a4e6396fc310a6e...
[2]: https://gitlab.archlinux.org/archlinux/packaging/packages/ib...
What are some alternatives?
home-assistant-goodwe-inverter - Experimental version of Home Assistant integration for Goodwe solar inverters
asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
meross-homeassistant - Custom component that leverages the Meross IoT library to integrate with Homeassistant
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
hass-opensprinkler - OpenSprinkler Integration for Home Assistant
git-lfs - Git extension for versioning large files
hacs-hubitat - A Hubitat integration for Home Assistant
easyeffects - Limiter, compressor, convolver, equalizer and auto volume and many other plugins for PipeWire applications
ical-sensor-homeassistant - an iCal Sensor for Home Assistant
spack - A flexible package manager that supports multiple versions, configurations, platforms, and compilers.
SonoffLAN - Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant
waydroid - Waydroid uses a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu.