From c2d7ccc4cbc9821f4c043d03aebea222da95a8a4 Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 3 Jun 2024 00:07:22 +0200 Subject: [PATCH] bitwarden --- playbooks/modify_espresense.yml | 89 +++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 playbooks/modify_espresense.yml diff --git a/playbooks/modify_espresense.yml b/playbooks/modify_espresense.yml new file mode 100644 index 0000000..42d861d --- /dev/null +++ b/playbooks/modify_espresense.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: + wifi_timeout: + portal_timeout: + mqtt_host: + mqtt_port: + 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