From 29a49f422ed72b43ee4d9dca8802e2926d616260 Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 3 Jun 2024 00:21:49 +0200 Subject: [PATCH] bitwarden --- playbooks/modify_espresense copy.yml | 89 ++++++++++++++++++++++++++++ playbooks/modify_espresense.yml | 67 +-------------------- 2 files changed, 91 insertions(+), 65 deletions(-) create mode 100644 playbooks/modify_espresense copy.yml diff --git a/playbooks/modify_espresense copy.yml b/playbooks/modify_espresense copy.yml new file mode 100644 index 0000000..bb04647 --- /dev/null +++ b/playbooks/modify_espresense copy.yml @@ -0,0 +1,89 @@ +- hosts: nas + name: Reconfigure espresense + ignore_unreachable: false + tasks: + - name: Check that you can connect (GET) to a page and it returns a status 200 + ansible.builtin.uri: + url: http://192.168.77.150 + + method: POST + body_format: form-urlencoded + body: + language: "en" + room: "worker1" + wifi_timeout: "" + portal_timeout: "" + mqtt_host: "192.168.77.106" + mqtt_port: "1883" + mqtt_user: "jaydee" + mqtt_pass: "jaydee1" + discovery: "1" + discovery_prefix: "" + pub_tele: "1" + pub_rooms: "1" + pub_devices: "1" + update: "" + known_macs: "" + known_irks: "" + query: "" + count_ids: "" + count_enter: "" + count_exit: "" + count_ms: "" + include: "mifit:fd2375de188a" + exclude: "" + max_dist: "3" + skip_dist: "" + skip_ms: "" + ref_rssi: "" + rx_adj_rssi: "" + absorption: "" + forget_ms: "" + tx_ref_rssi: "" + led_1_pin: "-1" + led_1_cnt: "" + led_2_pin: "-1" + led_2_cnt: "" + led_3_pin: "" + led_3_cnt: "" + pir_type: "0" + pir_pin: "16" + pir_timeout: "" + radar_pin: "" + radar_timeout: "" + switch_1_pin: "" + switch_1_timeout: "" + switch_2_pin: "" + switch_2_timeout: "" + button_1_pin: "" + button_1_timeout: "" + button_2_pin: "" + button_2_timeout: "" + dht11_pin: "" + dht22_pin: "" + dhtTemp_offset: "" + I2C_Bus_1_SDA: "22" + I2C_Bus_1_SCL: "21" + I2C_Bus_2_SDA: "" + I2C_Bus_2_SCL: "" + AHTX0_I2c_Bus: "" + AHTX0_I2c: "" + BH1750_I2c_Bus: "" + BH1750_I2c: "" + BME280_I2c_Bus: "1" + BME280_I2c: "0x76" + BMP180_I2c_Bus: "" + BMP180_I2c: "" + BMP280_I2c_Bus: "" + BMP280_I2c: "" + SHT_I2c_Bus: "" + TSL2561_I2c_Bus: "" + TSL2561_I2c: "" + TSL2561_I2c_Gain: "" + SGP30_I2c_Bus: "" + SGP30_I2c: "" + HX711_sckPin: "" + HX711_doutPin: "" + ds18b20_pin: "" + dsTemp_offset: "" + ignore_errors: true diff --git a/playbooks/modify_espresense.yml b/playbooks/modify_espresense.yml index 076c9a1..83cbe99 100644 --- a/playbooks/modify_espresense.yml +++ b/playbooks/modify_espresense.yml @@ -9,8 +9,8 @@ method: POST body_format: form-urlencoded body: - language: en - room: "worker" + language: "en" + room: "worker1" wifi_timeout: "" portal_timeout: "" mqtt_host: "192.168.77.106" @@ -23,67 +23,4 @@ pub_rooms: "1" pub_devices: "1" update: "" - known_macs: "" - known_irks: "" - query: "" - count_ids: "" - count_enter: "" - count_exit: "" - count_ms: "" - include: "mifit:fd2375de188a" - exclude: "" - max_dist: "3" - skip_dist: "" - skip_ms: "" - ref_rssi: "" - rx_adj_rssi: "" - absorption: "" - forget_ms: "" - tx_ref_rssi: "" - led_1_pin: "-1" - led_1_cnt: "" - led_2_pin: "-1" - led_2_cnt: "" - led_3_pin: "" - led_3_cnt: "" - pir_type: "0" - pir_pin: "16" - pir_timeout: "" - radar_pin: "" - radar_timeout: "" - switch_1_pin: "" - switch_1_timeout: "" - switch_2_pin: "" - switch_2_timeout: "" - button_1_pin: "" - button_1_timeout: "" - button_2_pin: "" - button_2_timeout: "" - dht11_pin: "" - dht22_pin: "" - dhtTemp_offset: "" - I2C_Bus_1_SDA: "22" - I2C_Bus_1_SCL: "21" - I2C_Bus_2_SDA: "" - I2C_Bus_2_SCL: "" - AHTX0_I2c_Bus: "" - AHTX0_I2c: "" - BH1750_I2c_Bus: "" - BH1750_I2c: "" - BME280_I2c_Bus: "1" - BME280_I2c: "0x76" - BMP180_I2c_Bus: "" - BMP180_I2c: "" - BMP280_I2c_Bus: "" - BMP280_I2c: "" - SHT_I2c_Bus: "" - TSL2561_I2c_Bus: "" - TSL2561_I2c: "" - TSL2561_I2c_Gain: "" - SGP30_I2c_Bus: "" - SGP30_I2c: "" - HX711_sckPin: "" - HX711_doutPin: "" - ds18b20_pin: "" - dsTemp_offset: "" ignore_errors: true