This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| I want you to help me writing another article in markdown format for a foundational article on how to install and set up komodo and pangolin | |
| komodo is a tool to build and deploy software on many servers | |
| Komodo is a web app to provide structure for managing your servers, builds, deployments, and automated procedures. | |
| With Komodo you can: | |
| Connect all of your servers, alert on CPU usage, memory usage, and disk usage, and connect to shell sessions. | |
| Create, start, stop, and restart Docker containers on the connected servers, view their status and logs, and connect to container shell. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Detailed Steps | |
| 1) First obtain your enrolment key from Crowdsec. Enrollment refers to connecting your CrowdSec Security Engine to the CrowdSec Console | |
| To Get CrowdSec Enrollment Key | |
| - Visit https://www.crowdsec.net/ | |
| - Log in to your account | |
| - Obtain the enrollment key from your dashboard | |
| - Copy this key for later use |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Import the core chip libraries of Attribute and Clusters | |
| from chip.clusters import Attribute, Objects as Clusters | |
| # Import the required clusters | |
| from chip.clusters.Objects import Binding, BasicInformation | |
| # Fetch attributes | |
| allAttributes = await devCtrl.ReadAttribute(1, [('*')]) | |
| firstResult = allAttributes[0] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "home_assistant": { | |
| "installation_type": "Home Assistant OS", | |
| "version": "2024.6.3", | |
| "dev": false, | |
| "hassio": true, | |
| "virtualenv": false, | |
| "python_version": "3.12.2", | |
| "docker": true, | |
| "arch": "aarch64", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0. Build the lighting app example in the connectedhomeip repo as this supports the OTA functionality | |
| ~/Projects/esp-matter/connectedhomeip/connectedhomeip/examples/lighting-app/esp32/ | |
| 1. Commission and pair the previpusly coded Matter light using the chip-tool and verify the software version. | |
| ./out/host/chip-tool basicinformation read software-version 1 0 | |
| 2. Change the CONFIG_APP_PROJECT_VER_FROM_CONFIG option in the file ~/Projects/esp-matter/connectedhomeip/connectedhomeip/examples/lighting-app/esp32/sdkconfig | |
| from |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Generate the certs and keys and flash into factory data | |
| git checkout 4cc18bb24fc7b0a95104846fdf746cbba7cebaf2 # this adds support for factory data CD API | |
| source script/bootstrap.sh | |
| #Create the PKI certs and keys | |
| Export your custom VID/PID as environment variables to decrease chances of clerical error when editing your command arguments: | |
| export VID=hexVendorId | |
| export PID=hexProductId |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # generate-embeddable-certs.sh script | |
| # —---------------------------------- | |
| # | |
| # This script generates self-minted DAC and PAI. | |
| # The output may easily be included in your C++ source code. | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd connectedhomeip | |
| source scripts/activate.sh | |
| #Download any new PAA certs from the DCL | |
| python3 -m pip install click_option_group # somehow missing from | |
| cd credentials/development | |
| python3 ../fetch-paa-certs-from-dcl.py --use-test-net-http | |
| cd ../production | |
| python3 ../fetch-paa-certs-from-dcl.py --use-main-net-http | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Create IAM User (This is uses instead of using the ROOT User) | |
| 1- Search and navigate to IAM page | |
| 2- Choose User then Add User | |
| 3- Select the name "My_OTA_User" for example | |
| 4- For access type Select whatever you like (we can use Paragmmatic access) | |
| 5- Select attach existence policy and search for and select the following | |
| - AmazonFreeRTOSFullAccess | |
| - AmazonFreeRTOSOTAUpdate | |
| - AWSIoTFullAccess | |
| 6- Select Create User and download the credentials CSV file |