fixing stuff

This commit is contained in:
Ingolf Wagner 2021-03-18 21:12:43 +01:00
parent 95ec634d1a
commit 39114092c0
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 22 additions and 5 deletions

View file

@ -236,7 +236,6 @@ in {
};
};
services.home-assistant = {

View file

@ -21,7 +21,16 @@ in {
services.zigbee2mqtt = {
enable = true;
#package = pkgs.own_zigbee2mqtt;
package = unstable.zigbee2mqtt;
#package = unstable.zigbee2mqtt;
package = unstable.zigbee2mqtt.overrideAttrs (old: rec {
version = "1.18.1";
src = pkgs.fetchFromGitHub {
owner = "Koenkk";
repo = "zigbee2mqtt";
rev = version;
sha256 = "1x73k346ayik5hv5axa3nvmd82mgwyrpxqv3dxnffi8aa1r8pf8x";
};
});
config = {
# Home Assistant integration (MQTT discovery)

View file

@ -57,11 +57,18 @@
};
services.xserver.displayManager.defaultSession = "plasma5";
services.xserver.desktopManager.pantheon.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.desktopManager.xfce.enable = true;
services.xserver.desktopManager.pantheon.enable = false;
services.xserver.desktopManager.xfce.enable = false;
services.xserver.desktopManager.gnome3.enable = false;
services.xserver.desktopManager.cinnamon.enable = true;
services.xserver.desktopManager.lxqt.enable = true;
services.xserver.desktopManager.mate.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.desktopManager.plasma5.phononBackend = "vlc";
# stuff
# -----
custom.samba-share = {

View file

@ -17,6 +17,8 @@ class Heater:
payload = {
"system_mode": "auto",
"current_heating_setpoint": self.wanted_temperature,
#"occupied_heating_setpoint": self.wanted_temperature,
#"unoccupied_heating_setpoint": self.wanted_temperature,
"eurotronic_host_flags": {"window_open": True}
}
return json.dumps(payload)