From a13150440e6d074124c083b5c02d0d8d203452b4 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Sun, 18 Aug 2024 20:25:35 -0700 Subject: [PATCH] added needed python modules --- hosts/Alaska/modules/home-assistant.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hosts/Alaska/modules/home-assistant.nix b/hosts/Alaska/modules/home-assistant.nix index f5c23e8..d438aba 100644 --- a/hosts/Alaska/modules/home-assistant.nix +++ b/hosts/Alaska/modules/home-assistant.nix @@ -11,9 +11,18 @@ # automatically picked up. extraComponents = [ "tasmota" + "history" + "history_stats" "mqtt" ]; + extraPackages = python3Packages: + with python3Packages; [ + numpy + pyturbojpeg + # psycopg2 # uncomment for recorder postgressql support + ]; + config = { }; @@ -26,6 +35,7 @@ proxyWebsockets = true; extraConfig = '' allow 100.64.0.0/16; + allow 10.0.0.114; allow 127.0.0.1; deny all; '';