!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

519 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant130 Servers

Load older messages


SenderMessageTime
23 Jul 2021
@etu:semi.socialetuIt's not great to depend on it anymore08:45:02
@hexa:lossy.network@hexa:lossy.network follow #dev:nixos.org for recent hass developments 11:05:02
24 Jul 2021
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @etu:semi.social
It's not great to depend on it anymore
The thing is that there are few alternatives. OpenHAB is moving forward at an extremely slow pace, and others (Gladys?) lack feature and polish.
00:44:55
@zhaofeng:zhaofeng.liZhaofeng LiPeople can make that argument that we can roll our own solution from scratch that works with Nix, but that isn't really the most productive use of time and it's silly to tie things like this to the distro, no matter how unique our concept may be00:48:00
@etu:semi.socialetu
In reply to @zhaofeng:zhaofeng.li
The thing is that there are few alternatives. OpenHAB is moving forward at an extremely slow pace, and others (Gladys?) lack feature and polish.
I've heard good things about nodered
03:48:37
@treed:cybre.spacetreedI got excited about the webthings gateway or whatever but it looks just as Product as hass08:08:49
@treed:cybre.spacetreedhttps://webthings.io/gateway/08:09:05
@treed:cybre.spacetreedI guess it does technically have a "Linux" download option08:09:28
@hexa:lossy.network@hexa:lossy.networkpretty sure mozilla discontinued that … or migrated it it to a community project08:33:44
@hexa:lossy.network@hexa:lossy.network
WebThings is sponsored by Krellian Ltd. and is no longer affiliated with the Mozilla Corporation.
08:34:09
@treed:cybre.spacetreedYeah, it's separate but still around?09:21:21
@treed:cybre.spacetreedAlthough they released 1.0 last year and no releases since09:21:28
25 Jul 2021
@p3psi:matrix.orgp3psi joined the room.04:43:43
26 Jul 2021
@jhillyerd:matrix.orgjhillyerd
In reply to @etu:semi.social
I've heard good things about nodered
I don't think nodered can really replace something like home assistant, it's more of a compliment to it. But I came here to ask, is anyone running nodered on Nix? I see we have an npm build for it in nixpkgs, but it looks like I'd have to do my own systemd configuration, and whatever it uses for data storage.
16:59:24
@hexa:lossy.network@hexa:lossy.networktl;dr: someone dropped it into the node package set et voila17:20:29
@hexa:lossy.network@hexa:lossy.networkyes, you'd need to write your own systemd unit17:23:28
@hexa:lossy.network@hexa:lossy.networknot sure if you'd actually need a database setup17:24:30
@hexa:lossy.network@hexa:lossy.networkI'd first assume that it drops it into its HOME17:24:41
@hexa:lossy.network@hexa:lossy.network
systemd.services.node-red = {
  after = [ "network-online.target" ];
  wantedBy = [ "multi-user.target" ];
  serviceConfig = {
    DynamicUser = true;
    User = "node-red";
  };
17:25:38
@hexa:lossy.network@hexa:lossy.network *
systemd.services.node-red = {
  after = [ "network-online.target" ];
  wantedBy = [ "multi-user.target" ];
  serviceConfig = {
    DynamicUser = true;
    User = "node-red";
    ExecStart = "${pkgs.nodePackages.node-red}/bin/node-red";
  };
17:25:54
@hexa:lossy.network@hexa:lossy.network *
systemd.services.node-red = {
  after = [ "network-online.target" ];
  wantedBy = [ "multi-user.target" ];
  serviceConfig = {
    DynamicUser = true;
    User = "node-red";
    ExecStart = "${pkgs.nodePackages.node-red}/bin/node-red";
    StateDirectory = "node-red";
  };
}
17:26:06
@hexa:lossy.network@hexa:lossy.networkthat could be a minimal systemd unit17:26:16
@hexa:lossy.network@hexa:lossy.networkit likely want's a config file17:28:10
@hexa:lossy.network@hexa:lossy.networkif the config uses json or toml you can use pkgs.formats.json17:28:37
@hexa:lossy.network@hexa:lossy.network * if the config uses json or toml you can use pkgs.formats.json to render that17:28:42
@hexa:lossy.network@hexa:lossy.networkand I agree that node-red is more about tying workflows together, creating automations17:30:45
@hexa:lossy.network@hexa:lossy.networkwhile home assistant has alot more integrations into $everything17:31:02
@hexa:lossy.network@hexa:lossy.networkand offers a dashboard and a working automation system17:31:35
@schnecfk:ruhr-uni-bochum.deCRTified
In reply to @hexa:lossy.network
if the config uses json or toml you can use pkgs.formats.json to render that
Note that json is a subset of YAML, so that format is also covered by that function
17:32:38
@hexa:lossy.network@hexa:lossy.networkto /some/ degree. only that which can be represented within nix.17:33:07

Show newer messages


Back to Room ListRoom Version: 6