From eb4dd61311713f1171153ec22d0c4818b7acd6fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Szafer?= Date: Fri, 25 Nov 2022 15:53:19 +0100 Subject: [PATCH 1/6] fix fonts path --- .esphome/boneio_config_for_console.yaml.json | 50 +++++++++++++++++++ ...32_inputs.yaml => relay32_inputs_PCF.yaml} | 0 ...ple.yaml => boneio_config_for_console.yaml | 5 +- boneio_config_for_esphome_addon.yaml | 7 ++- devices/display.yaml | 6 +-- 5 files changed, 61 insertions(+), 7 deletions(-) create mode 100644 .esphome/boneio_config_for_console.yaml.json rename boards/{relay32_inputs.yaml => relay32_inputs_PCF.yaml} (100%) rename boneIOsample.yaml => boneio_config_for_console.yaml (88%) diff --git a/.esphome/boneio_config_for_console.yaml.json b/.esphome/boneio_config_for_console.yaml.json new file mode 100644 index 0000000..b01bcbf --- /dev/null +++ b/.esphome/boneio_config_for_console.yaml.json @@ -0,0 +1,50 @@ +{ + "storage_version": 1, + "name": "boneio", + "comment": null, + "esphome_version": "2022.11.1", + "src_version": 1, + "address": "boneio.local", + "web_port": 80, + "esp_platform": "ESP32", + "build_path": ".esphome/build/boneio", + "firmware_bin_path": ".esphome/build/boneio/.pioenvs/boneio/firmware.bin", + "loaded_integrations": [ + "api", + "async_tcp", + "binary_sensor", + "display", + "ds1307", + "esp32", + "esphome", + "ethernet", + "external_components", + "font", + "gpio", + "homeassistant", + "i2c", + "ina219", + "json", + "lm75", + "logger", + "md5", + "mdns", + "network", + "ota", + "pcf8574", + "preferences", + "script", + "sensor", + "socket", + "ssd1306_base", + "ssd1306_i2c", + "substitutions", + "switch", + "template", + "text_sensor", + "time", + "uptime", + "web_server", + "web_server_base" + ] +} diff --git a/boards/relay32_inputs.yaml b/boards/relay32_inputs_PCF.yaml similarity index 100% rename from boards/relay32_inputs.yaml rename to boards/relay32_inputs_PCF.yaml diff --git a/boneIOsample.yaml b/boneio_config_for_console.yaml similarity index 88% rename from boneIOsample.yaml rename to boneio_config_for_console.yaml index d94d82d..e084429 100644 --- a/boneIOsample.yaml +++ b/boneio_config_for_console.yaml @@ -1,5 +1,6 @@ substitutions: node_name: boneio + dir_name: './' packages: # devices @@ -10,8 +11,8 @@ packages: # uart: !include devices/uart.yaml # one_wire: !include devices/one_wire.yaml # relay32 - output: !include boards/relay32_outputs_PCF.yaml - input: !include boards/relay32_inputs.yaml + output: !include boards/relay32_outputs_PCF.yaml #or MCP + input: !include boards/relay32_inputs_PCF.yaml #or MCP # dimmer led # output: !include boards/dimmer_led8x4_outputs.yaml # input: !include boards/dimmer_led8x4_inputs.yaml diff --git a/boneio_config_for_esphome_addon.yaml b/boneio_config_for_esphome_addon.yaml index 7428c02..5ffa1df 100644 --- a/boneio_config_for_esphome_addon.yaml +++ b/boneio_config_for_esphome_addon.yaml @@ -1,5 +1,6 @@ substitutions: node_name: boneio + dir_name: './boneio' #change if your directory name is different than boneio packages: # devices @@ -10,8 +11,10 @@ packages: # uart: !include devices/uart.yaml # one_wire: !include devices/one_wire.yaml # relay32 - output: !include boneio/boards/relay32_outputs.yaml - input: !include boneio/boards/relay32_inputs.yaml + output: !include boards/relay32_outputs_PCF.yaml + #output: !include boards/relay32_outputs_MCP.yaml + input: !include boards/relay32_inputs_PCF.yaml + #input: !include boards/relay32_inputs_MCP.yaml # dimmer led # output: !include boards/dimmer_led8x4_outputs.yaml # input: !include boards/dimmer_led8x4_inputs.yaml diff --git a/devices/display.yaml b/devices/display.yaml index d61fa93..a651678 100644 --- a/devices/display.yaml +++ b/devices/display.yaml @@ -128,12 +128,12 @@ display: it.fill(COLOR_OFF); font: - - file: "fonts/DejaVuSans.ttf" + - file: "${dir_name}/fonts/DejaVuSans.ttf" id: dejaVuSmall size: 9 - - file: "fonts/danube__.ttf" + - file: "${dir_name}/fonts/danube__.ttf" id: danubeBig size: 20 - - file: "fonts/danube__.ttf" + - file: "${dir_name}/fonts/danube__.ttf" id: danubeSmall size: 9 From 50a7690c16d1c48310a8f0a39d9dd9116c0ff347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Szafer?= Date: Sun, 27 Nov 2022 13:13:44 +0100 Subject: [PATCH 2/6] fix dir path --- .esphome/boneio_config_for_console.yaml.json | 4 ++++ boards/dimmer_led8x4_outputs.yaml | 2 ++ boneio_config_for_console.yaml | 10 +++++----- boneio_config_for_esphome_addon.yaml | 21 ++++++++++---------- 4 files changed, 21 insertions(+), 16 deletions(-) diff --git a/.esphome/boneio_config_for_console.yaml.json b/.esphome/boneio_config_for_console.yaml.json index b01bcbf..b18b492 100644 --- a/.esphome/boneio_config_for_console.yaml.json +++ b/.esphome/boneio_config_for_console.yaml.json @@ -25,12 +25,16 @@ "i2c", "ina219", "json", + "light", "lm75", "logger", "md5", "mdns", + "monochromatic", "network", "ota", + "output", + "pca9685", "pcf8574", "preferences", "script", diff --git a/boards/dimmer_led8x4_outputs.yaml b/boards/dimmer_led8x4_outputs.yaml index 71ea978..5e2681d 100644 --- a/boards/dimmer_led8x4_outputs.yaml +++ b/boards/dimmer_led8x4_outputs.yaml @@ -5,9 +5,11 @@ pca9685: - address: 0x41 id: pca_hub_1to16 frequency: 500 + i2c_id: bus_b - address: 0x42 id: pca_hub_17to32 frequency: 500 + i2c_id: bus_b output: - platform: pca9685 diff --git a/boneio_config_for_console.yaml b/boneio_config_for_console.yaml index e084429..0f99412 100644 --- a/boneio_config_for_console.yaml +++ b/boneio_config_for_console.yaml @@ -11,12 +11,12 @@ packages: # uart: !include devices/uart.yaml # one_wire: !include devices/one_wire.yaml # relay32 - output: !include boards/relay32_outputs_PCF.yaml #or MCP - input: !include boards/relay32_inputs_PCF.yaml #or MCP + # output: !include boards/relay32_outputs_PCF.yaml #or MCP + # input: !include boards/relay32_inputs_PCF.yaml #or MCP # dimmer led -# output: !include boards/dimmer_led8x4_outputs.yaml -# input: !include boards/dimmer_led8x4_inputs.yaml -# light: !include boards/monochromatic_lights.yaml + output: !include boards/dimmer_led8x4_outputs.yaml + # input: !include boards/dimmer_led8x4_inputs.yaml + light: !include boards/monochromatic_lights.yaml # cover # output: !include boards/cover16_outputs.yaml # input: !include boards/cover16_inputs.yaml diff --git a/boneio_config_for_esphome_addon.yaml b/boneio_config_for_esphome_addon.yaml index 5ffa1df..539ac7b 100644 --- a/boneio_config_for_esphome_addon.yaml +++ b/boneio_config_for_esphome_addon.yaml @@ -1,6 +1,5 @@ substitutions: node_name: boneio - dir_name: './boneio' #change if your directory name is different than boneio packages: # devices @@ -11,18 +10,18 @@ packages: # uart: !include devices/uart.yaml # one_wire: !include devices/one_wire.yaml # relay32 - output: !include boards/relay32_outputs_PCF.yaml - #output: !include boards/relay32_outputs_MCP.yaml - input: !include boards/relay32_inputs_PCF.yaml - #input: !include boards/relay32_inputs_MCP.yaml + output: !include boneio/boards/relay32_outputs_PCF.yaml + #output: !include boneio/boards/relay32_outputs_MCP.yaml + input: !include boneio/boards/relay32_inputs_PCF.yaml + #input: !include boneio/boards/relay32_inputs_MCP.yaml # dimmer led -# output: !include boards/dimmer_led8x4_outputs.yaml -# input: !include boards/dimmer_led8x4_inputs.yaml -# light: !include boards/monochromatic_lights.yaml +# output: !include boneio/boards/dimmer_led8x4_outputs.yaml +# input: !include boneio/boards/dimmer_led8x4_inputs.yaml +# light: !include boneio/boards/monochromatic_lights.yaml # cover -# output: !include boards/cover16_outputs.yaml -# input: !include boards/cover16_inputs.yaml -# cover: !include boards/cover.yaml +# output: !include boneio/boards/cover16_outputs.yaml +# input: !include boneio/boards/cover16_inputs.yaml +# cover: !include boneio/boards/cover.yaml logger: baud_rate: 0 From d3e65bce3f3677bd6d3af06e48775b8c297c8143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Szafer?= Date: Sun, 27 Nov 2022 13:14:12 +0100 Subject: [PATCH 3/6] ignore .esphome --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index b6e4761..e0d20f5 100644 --- a/.gitignore +++ b/.gitignore @@ -127,3 +127,5 @@ dmypy.json # Pyre type checker .pyre/ + +.esphome/ From 6a7afab39c91eb5d1e58101fc2434dbe039ec69f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Szafer?= Date: Sun, 27 Nov 2022 13:15:11 +0100 Subject: [PATCH 4/6] remove .esphome dir --- .esphome/boneIOsample.yaml.json | 50 ---- .esphome/boneIOsample.yml.json | 52 ---- .esphome/boneio_config_for_console.yaml.json | 54 ----- .esphome/external_components/463cb5b0 | 1 - .esphome/idedata/boneio.json | 241 ------------------- 5 files changed, 398 deletions(-) delete mode 100644 .esphome/boneIOsample.yaml.json delete mode 100644 .esphome/boneIOsample.yml.json delete mode 100644 .esphome/boneio_config_for_console.yaml.json delete mode 160000 .esphome/external_components/463cb5b0 delete mode 100644 .esphome/idedata/boneio.json diff --git a/.esphome/boneIOsample.yaml.json b/.esphome/boneIOsample.yaml.json deleted file mode 100644 index afef871..0000000 --- a/.esphome/boneIOsample.yaml.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "storage_version": 1, - "name": "boneio", - "comment": null, - "esphome_version": "2022.6.2", - "src_version": 1, - "address": "boneio.local", - "web_port": 80, - "esp_platform": "ESP32", - "build_path": ".esphome/build/boneio", - "firmware_bin_path": ".esphome/build/boneio/.pioenvs/boneio/firmware.bin", - "loaded_integrations": [ - "api", - "async_tcp", - "binary_sensor", - "display", - "ds1307", - "esp32", - "esphome", - "ethernet", - "external_components", - "font", - "gpio", - "homeassistant", - "i2c", - "ina219", - "json", - "lm75", - "logger", - "md5", - "mdns", - "network", - "ota", - "pcf8574", - "preferences", - "script", - "sensor", - "socket", - "ssd1306_base", - "ssd1306_i2c", - "substitutions", - "switch", - "template", - "text_sensor", - "time", - "uptime", - "web_server", - "web_server_base" - ] -} diff --git a/.esphome/boneIOsample.yml.json b/.esphome/boneIOsample.yml.json deleted file mode 100644 index f124f37..0000000 --- a/.esphome/boneIOsample.yml.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "storage_version": 1, - "name": "boneio", - "comment": null, - "esphome_version": "2022.6.2", - "src_version": 1, - "address": "boneio.local", - "web_port": 80, - "esp_platform": "ESP32", - "build_path": ".esphome/build/boneio", - "firmware_bin_path": ".esphome/build/boneio/.pioenvs/boneio/firmware.bin", - "loaded_integrations": [ - "api", - "async_tcp", - "binary_sensor", - "display", - "ds1307", - "esp32", - "esphome", - "ethernet", - "external_components", - "font", - "gpio", - "homeassistant", - "i2c", - "ina219", - "json", - "lm75", - "logger", - "mcp23017", - "mcp23x17_base", - "mcp23xxx_base", - "md5", - "mdns", - "network", - "ota", - "preferences", - "script", - "sensor", - "socket", - "ssd1306_base", - "ssd1306_i2c", - "substitutions", - "switch", - "template", - "text_sensor", - "time", - "uptime", - "web_server", - "web_server_base" - ] -} diff --git a/.esphome/boneio_config_for_console.yaml.json b/.esphome/boneio_config_for_console.yaml.json deleted file mode 100644 index b18b492..0000000 --- a/.esphome/boneio_config_for_console.yaml.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "storage_version": 1, - "name": "boneio", - "comment": null, - "esphome_version": "2022.11.1", - "src_version": 1, - "address": "boneio.local", - "web_port": 80, - "esp_platform": "ESP32", - "build_path": ".esphome/build/boneio", - "firmware_bin_path": ".esphome/build/boneio/.pioenvs/boneio/firmware.bin", - "loaded_integrations": [ - "api", - "async_tcp", - "binary_sensor", - "display", - "ds1307", - "esp32", - "esphome", - "ethernet", - "external_components", - "font", - "gpio", - "homeassistant", - "i2c", - "ina219", - "json", - "light", - "lm75", - "logger", - "md5", - "mdns", - "monochromatic", - "network", - "ota", - "output", - "pca9685", - "pcf8574", - "preferences", - "script", - "sensor", - "socket", - "ssd1306_base", - "ssd1306_i2c", - "substitutions", - "switch", - "template", - "text_sensor", - "time", - "uptime", - "web_server", - "web_server_base" - ] -} diff --git a/.esphome/external_components/463cb5b0 b/.esphome/external_components/463cb5b0 deleted file mode 160000 index 491c9da..0000000 --- a/.esphome/external_components/463cb5b0 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 491c9da03aa0bef9fe3097e6b8b2646fc57cf996 diff --git a/.esphome/idedata/boneio.json b/.esphome/idedata/boneio.json deleted file mode 100644 index 0cc2632..0000000 --- a/.esphome/idedata/boneio.json +++ /dev/null @@ -1,241 +0,0 @@ -{ - "env_name": "boneio", - "libsource_dirs": [ - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/lib", - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/.piolibdeps/boneio", - "/home/poznan.tbhydro.net/admin/.platformio/lib", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries" - ], - "defines": [ - "PLATFORMIO=50205", - "ARDUINO_NodeMCU_32S", - "ESPHOME_LOG_LEVEL=ESPHOME_LOG_LEVEL_DEBUG", - "USE_ARDUINO", - "USE_ESP32", - "USE_ESP32_FRAMEWORK_ARDUINO", - "USE_ESP32_VARIANT_ESP32", - "ESP32", - "ESP_PLATFORM", - "F_CPU=240000000L", - "HAVE_CONFIG_H", - "MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"", - "ARDUINO=10805", - "ARDUINO_ARCH_ESP32", - "ARDUINO_VARIANT=\"nodemcu-32s\"", - "ARDUINO_BOARD=\"NodeMCU-32S\"" - ], - "includes": { - "build": [ - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/include", - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/src", - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/src", - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/.piolibdeps/boneio/ArduinoJson/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src", - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/.piolibdeps/boneio/ESPAsyncWebServer-esphome/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/Update/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/FS/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src", - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/.piolibdeps/boneio/AsyncTCP-esphome/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/config", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_trace", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_update", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/asio", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bootloader_support", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bt", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/coap", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/console", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/efuse", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-tls", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_adc_cal", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_event", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_client", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_server", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_ota", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_server", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_ringbuf", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_websocket_client", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/espcoredump", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ethernet", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/expat", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fatfs", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freemodbus", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freertos", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/heap", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/idf_test", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/jsmn", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/json", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/libsodium", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/log", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mbedtls", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mdns", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/micro-ecc", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mqtt", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/newlib", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nghttp", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nvs_flash", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/openssl", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protobuf-c", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protocomm", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/pthread", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/sdmmc", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/smartconfig_ack", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/soc", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spi_flash", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spiffs", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcp_transport", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcpip_adapter", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ulp", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/unity", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/vfs", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wear_levelling", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wifi_provisioning", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wpa_supplicant", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/xtensa-debug-module", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-face", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32-camera", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-face", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fb_gfx", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/cores/esp32", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/variants/nodemcu-32s" - ], - "compatlib": [ - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/.piolibdeps/boneio/ArduinoJson/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/Update/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/FS/src", - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/.piolibdeps/boneio/ESPAsyncWebServer-esphome/src", - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/.piolibdeps/boneio/AsyncTCP-esphome/src", - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/.piolibdeps/boneio/ArduinoJson/src", - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/.piolibdeps/boneio/AsyncTCP-esphome/src", - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/.piolibdeps/boneio/AsyncTCP-esphome/src", - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/.piolibdeps/boneio/ESPAsyncWebServer-esphome/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/Update/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/FS/src", - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/.piolibdeps/boneio/ESPAsyncWebServer-esphome/src", - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/.piolibdeps/boneio/AsyncTCP-esphome/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/FS/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/Update/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src", - "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/.piolibdeps/boneio/AsyncMqttClient-esphome/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/AzureIoT/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdateServer/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/SD/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src", - "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/libraries/WiFiProv/src" - ], - "toolchain": [ - "/home/poznan.tbhydro.net/admin/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0", - "/home/poznan.tbhydro.net/admin/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/xtensa-esp32-elf", - "/home/poznan.tbhydro.net/admin/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include", - "/home/poznan.tbhydro.net/admin/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include-fixed", - "/home/poznan.tbhydro.net/admin/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include" - ], - "unity": [] - }, - "cc_path": "/home/poznan.tbhydro.net/admin/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc", - "cxx_path": "/home/poznan.tbhydro.net/admin/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-g++", - "gdb_path": "/home/poznan.tbhydro.net/admin/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gdb", - "prog_path": "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/.pioenvs/boneio/firmware.elf", - "svd_path": null, - "compiler_type": "gcc", - "targets": [ - { - "name": "buildfs", - "title": "Build Filesystem Image", - "description": null, - "group": "Platform" - }, - { - "name": "size", - "title": "Program Size", - "description": "Calculate program size", - "group": "Platform" - }, - { - "name": "upload", - "title": "Upload", - "description": null, - "group": "Platform" - }, - { - "name": "uploadfs", - "title": "Upload Filesystem Image", - "description": null, - "group": "Platform" - }, - { - "name": "uploadfsota", - "title": "Upload Filesystem Image OTA", - "description": null, - "group": "Platform" - }, - { - "name": "erase", - "title": "Erase Flash", - "description": null, - "group": "Platform" - }, - { - "name": "compiledb", - "title": "Compilation Database", - "description": "Generate compilation database `compile_commands.json`", - "group": "Advanced" - }, - { - "name": "clean", - "title": "Clean", - "group": "General" - }, - { - "name": "cleanall", - "title": "Clean All", - "group": "General", - "description": "Clean a build environment and installed library dependencies" - } - ], - "extra": { - "flash_images": [ - { - "offset": "0x1000", - "path": "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader_dio_40m.bin" - }, - { - "offset": "0x8000", - "path": "/home/poznan.tbhydro.net/admin/ProjektyPrywatne/bone/esphome/.esphome/build/boneio/.pioenvs/boneio/partitions.bin" - }, - { - "offset": "0xe000", - "path": "/home/poznan.tbhydro.net/admin/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin" - } - ] - }, - "cc_flags": "-std=gnu99 -Wno-old-style-declaration -Wno-sign-compare -Wno-unused-but-set-variable -Wno-unused-variable -fno-exceptions -Os -g3 -Wall -nostdlib -Wpointer-arith -Wno-error=unused-but-set-variable -Wno-error=unused-variable -mlongcalls -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wno-error=deprecated-declarations -Wno-error=unused-function -Wno-unused-parameter -Wno-sign-compare -fstack-protector -fexceptions -Werror=reorder", - "cxx_flags": "-fno-rtti -fno-exceptions -std=gnu++11 -Wno-sign-compare -Wno-unused-but-set-variable -Wno-unused-variable -fno-exceptions -Os -g3 -Wall -nostdlib -Wpointer-arith -Wno-error=unused-but-set-variable -Wno-error=unused-variable -mlongcalls -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wno-error=deprecated-declarations -Wno-error=unused-function -Wno-unused-parameter -Wno-sign-compare -fstack-protector -fexceptions -Werror=reorder" -} From 9639d06e7702fec5189d76d7455cf110db09c6e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Szafer?= Date: Sun, 27 Nov 2022 15:26:58 +0100 Subject: [PATCH 5/6] revert dir_name --- boneio_config_for_esphome_addon.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/boneio_config_for_esphome_addon.yaml b/boneio_config_for_esphome_addon.yaml index 539ac7b..91c3e5d 100644 --- a/boneio_config_for_esphome_addon.yaml +++ b/boneio_config_for_esphome_addon.yaml @@ -1,5 +1,6 @@ substitutions: node_name: boneio + dir_name: 'boneio/' packages: # devices From 4431a53ddba87a3620efbef765d7280b07aa8b95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Szafer?= Date: Sun, 27 Nov 2022 15:43:10 +0100 Subject: [PATCH 6/6] add bus_id to mcp relays --- boards/relay32_outputs_MCP.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boards/relay32_outputs_MCP.yaml b/boards/relay32_outputs_MCP.yaml index 3b73115..272994f 100644 --- a/boards/relay32_outputs_MCP.yaml +++ b/boards/relay32_outputs_MCP.yaml @@ -2,8 +2,10 @@ mcp23017: - id: 'mcp_outputs_1to16' address: 0x21 + i2c_id: bus_b - id: 'mcp_outputs_17to32' address: 0x20 + i2c_id: bus_b switch: - platform: gpio