From aff13291224a93a8f9468b4cb85ac40012033942 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 23 Aug 2024 19:43:27 +0200 Subject: [PATCH] add rottenraptor devices --- nodes/rottenraptor-stromdisplay.toml | 40 ++++++++++++++++++++++++ nodes/rottenraptor-stromzaehler.toml | 46 ++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 nodes/rottenraptor-stromdisplay.toml create mode 100644 nodes/rottenraptor-stromzaehler.toml diff --git a/nodes/rottenraptor-stromdisplay.toml b/nodes/rottenraptor-stromdisplay.toml new file mode 100644 index 0000000..a111bef --- /dev/null +++ b/nodes/rottenraptor-stromdisplay.toml @@ -0,0 +1,40 @@ +hostname = "192.168.1.252" +os = "debian" +os_version = [12,] +bundles = [ + "apt", + "basic", + "kernel-modules", + "openssh", + "raspberrypi", + "sdm630_mqtt", + "sudo", + "sysctl", + "systemd", + "systemd-networkd", + "users", +] + +[metadata.apt.unattended-upgrades] +enabled = false + +[metadata.icinga_options] +exclude_from_monitoring = true + +[metadata.interfaces.eth0] +ips = [ + "192.168.1.252/24", +] +dhcp = true + +[metadata.raspberrypi] +enable_display = true + +[metadata.sdm630_mqtt] +enable_stats_collection = false +enable_local_printout = true +config.mqtt.host = "192.168.1.253" + +[metadata.users.kutscher] +password = "!decrypt:encrypt$gAAAAABmqQgvrVuPqFJWJSu8Yxd9NV4ppo5STfCPFqUWn0KepLRdFCktEMla0EJPPxZR5HbNnD6K2Vp-c63raeWwahFUT24SUrAoBFeWfToYWaRDi5WeXJU=" +sudo_commands = ["ALL"] diff --git a/nodes/rottenraptor-stromzaehler.toml b/nodes/rottenraptor-stromzaehler.toml new file mode 100644 index 0000000..c04d6a4 --- /dev/null +++ b/nodes/rottenraptor-stromzaehler.toml @@ -0,0 +1,46 @@ +hostname = "192.168.1.253" +os = "debian" +os_version = [12,] +bundles = [ + "apt", + "basic", + "kernel-modules", + "mosquitto", + "openssh", + "raspberrypi", + "sdm630_mqtt", + "sudo", + "sysctl", + "systemd", + "systemd-networkd", + "telegraf", + "users", +] + +[metadata.apt.unattended-upgrades] +enabled = false + +[metadata.icinga_options] +exclude_from_monitoring = true + +[metadata.interfaces.eth0] +ips = [ + "192.168.1.253/24", +] +dhcp = true + +[metadata.sdm630_mqtt] +enable_local_printout = true +config.modbus.host = "192.168.1.254" +config.modbus.port = 4196 +config.telegraf.identifier = 'rottenraptor_truck' + +[metadata.sysctl.options] +'net.ipv6.conf.all.disable_ipv6' = '1' + +[metadata.telegraf] +collect_default_metrics = false + +[metadata.users.kutscher] +password = "!decrypt:encrypt$gAAAAABmqQgvrVuPqFJWJSu8Yxd9NV4ppo5STfCPFqUWn0KepLRdFCktEMla0EJPPxZR5HbNnD6K2Vp-c63raeWwahFUT24SUrAoBFeWfToYWaRDi5WeXJU=" +sudo_commands = ["ALL"]