From 68999f2db807d16f82303e7a60300af553a5cf93 Mon Sep 17 00:00:00 2001 From: wassfila Date: Sat, 20 Jan 2024 10:46:04 +0100 Subject: [PATCH] update username --- js/pc_control/config.json | 4 ++-- js/pc_control/package-lock.json | 3 +-- js/pc_control/pc.js | 0 js/pc_control/pc_power.service | 4 ++-- py/bathroom/bathroom.service | 2 +- py/bathroom/config.json | 2 +- py/heating/config.json | 2 +- py/heating/heat_cut.service | 2 +- py/heating/setup.sh | 0 py/hue/config.json | 8 ++++---- py/hue/hue.service | 2 +- py/hue/setup.sh | 0 12 files changed, 14 insertions(+), 15 deletions(-) mode change 100644 => 100755 js/pc_control/pc.js mode change 100644 => 100755 py/heating/setup.sh mode change 100644 => 100755 py/hue/setup.sh diff --git a/js/pc_control/config.json b/js/pc_control/config.json index 7cd925c..279a8df 100644 --- a/js/pc_control/config.json +++ b/js/pc_control/config.json @@ -1,6 +1,6 @@ { "mqtt":{ - "host":"mqtt_broquer", + "host":"localhost", "port":1883, "keepalive":60, "client_id":"pc_power_client", @@ -30,7 +30,7 @@ "retro_light_dimmer": "esp/dimmer/request" }, "log":{ - "logfile":"/home/pi/share/pc_control (date).log", + "logfile":"/home/wass/share/pc_control (date).log", "exceptions_log_file":"pc_control_exceptions.log", "level":"info" } diff --git a/js/pc_control/package-lock.json b/js/pc_control/package-lock.json index 75c005a..5b5a890 100644 --- a/js/pc_control/package-lock.json +++ b/js/pc_control/package-lock.json @@ -12,8 +12,7 @@ "bl": ">=1.2.3", "mqtt": "^4.3.7", "winston": "^3.3.3" - }, - "devDependencies": {} + } }, "node_modules/@colors/colors": { "version": "1.5.0", diff --git a/js/pc_control/pc.js b/js/pc_control/pc.js old mode 100644 new mode 100755 diff --git a/js/pc_control/pc_power.service b/js/pc_control/pc_power.service index c544f0c..c164ba3 100644 --- a/js/pc_control/pc_power.service +++ b/js/pc_control/pc_power.service @@ -4,8 +4,8 @@ After=multi-user.target [Service] Type=simple -ExecStart=node /home/pi/raspi/js/pc_control/pc.js +ExecStart=node /home/wass/raspi/js/pc_control/pc.js Restart=on-abort [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target diff --git a/py/bathroom/bathroom.service b/py/bathroom/bathroom.service index 1d02740..199d873 100644 --- a/py/bathroom/bathroom.service +++ b/py/bathroom/bathroom.service @@ -4,7 +4,7 @@ After=multi-user.target [Service] Type=simple -ExecStart=/usr/bin/python3 /home/pi/raspi/py/bathroom/bathroom.py +ExecStart=/usr/bin/python3 /home/wass/raspi/py/bathroom/bathroom.py Restart=on-abort [Install] diff --git a/py/bathroom/config.json b/py/bathroom/config.json index b6d6130..e999a5b 100644 --- a/py/bathroom/config.json +++ b/py/bathroom/config.json @@ -24,7 +24,7 @@ "button_fan_long_min":30, "humidity_sensor_timeout_min":12, "log":{ - "logfile":"/home/pi/share/bathroom(date).log", + "logfile":"/home/wass/share/bathroom(date).log", "level":"Info" } } diff --git a/py/heating/config.json b/py/heating/config.json index ec682a8..d858e9a 100644 --- a/py/heating/config.json +++ b/py/heating/config.json @@ -46,7 +46,7 @@ } }, "log":{ - "logfile":"/home/pi/share/heat_cut(date).log", + "logfile":"/home/wass/share/heat_cut(date).log", "level":"Info" } } diff --git a/py/heating/heat_cut.service b/py/heating/heat_cut.service index fa2da2d..29b3835 100644 --- a/py/heating/heat_cut.service +++ b/py/heating/heat_cut.service @@ -4,7 +4,7 @@ After=multi-user.target [Service] Type=simple -ExecStart=/usr/bin/python3 /home/pi/raspi/py/heating/heat.py +ExecStart=/usr/bin/python3 /home/wass/raspi/py/heating/heat.py Restart=on-abort [Install] diff --git a/py/heating/setup.sh b/py/heating/setup.sh old mode 100644 new mode 100755 diff --git a/py/hue/config.json b/py/hue/config.json index c14fe12..515422e 100644 --- a/py/hue/config.json +++ b/py/hue/config.json @@ -1,10 +1,10 @@ { "bridges":{ - "LivingRoom":"hue", - "username_config":"/home/pi/.python_hue" + "LivingRoom":"10.0.0.38", + "username_config":"/home/wass/.python_hue" }, "mqtt":{ - "host":"mqtt_broquer", + "host":"localhost", "port":1883, "keepalive":60, "client_id":"hue_client", @@ -75,7 +75,7 @@ } }, "log":{ - "logfile":"/home/pi/share/hue(date).log", + "logfile":"/home/wass/share/hue(date).log", "level":"Info" } } diff --git a/py/hue/hue.service b/py/hue/hue.service index 3517f63..3c809b5 100644 --- a/py/hue/hue.service +++ b/py/hue/hue.service @@ -4,7 +4,7 @@ After=multi-user.target [Service] Type=simple -ExecStart=/usr/bin/python3 /home/pi/raspi/py/hue/hue.py +ExecStart=/usr/bin/python3 /home/wass/raspi/py/hue/hue.py Restart=on-abort CPUSchedulingPolicy=fifo CPUSchedulingPriority=90 diff --git a/py/hue/setup.sh b/py/hue/setup.sh old mode 100644 new mode 100755