Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,5 @@ This project was developed under the supervision of [Prof. Miroslav Husák](http
Czech Technical University in Prague, Faculty of Electrical Engineering

[![GitHub](https://img.shields.io/badge/GitHub-@IYUANWEIZE-181717?logo=github)](https://github.com/IYUANWEIZE)

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is a Markdown level-1 heading, so it will render as a visible section in the README (and can trigger markdownlint rules about multiple H1 headings). If you need a non-user-facing audit marker, use a Markdown comment form (e.g., an HTML comment) or move the trigger to a dedicated file instead of adding a heading.

Suggested change
# [CodeRabbit Audit Trigger 1769364389]
<!-- CodeRabbit Audit Trigger 1769364389 -->

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,5 @@ cd broker/emqx && docker compose up -d
捷克理工大学电气工程学院

[![GitHub](https://img.shields.io/badge/GitHub-@IYUANWEIZE-181717?logo=github)](https://github.com/IYUANWEIZE)

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is a Markdown level-1 heading, so it will render as a visible section in the README (and can trigger markdownlint rules about multiple H1 headings). If you need a non-user-facing audit marker, use a Markdown comment form (e.g., an HTML comment) or move the trigger to a dedicated file instead of adding a heading.

Suggested change
# [CodeRabbit Audit Trigger 1769364389]
<!-- [CodeRabbit Audit Trigger 1769364389] -->

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions broker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,5 @@ See [`../certs/README.md`](../certs/README.md) for certificate generation instru

- [EMQX Documentation](https://www.emqx.io/docs/en/latest/)
- [Mosquitto Documentation](https://mosquitto.org/documentation/)

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# ... is a Markdown heading and will render visibly in the README. If the goal is only to touch the file for an audit trigger, use a Markdown comment form (e.g., HTML comment) instead so the rendered docs aren’t affected.

Suggested change
# [CodeRabbit Audit Trigger 1769364389]
<!-- CodeRabbit Audit Trigger 1769364389 -->

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions broker/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,5 @@ docker compose up -d

- [EMQX 文档](https://www.emqx.io/docs/zh/latest/)
- [Mosquitto 文档](https://mosquitto.org/documentation/)

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# ... is a Markdown heading and will render visibly in the README. If the goal is only to touch the file for an audit trigger, use a Markdown comment form (e.g., HTML comment) instead so the rendered docs aren’t affected.

Suggested change
# [CodeRabbit Audit Trigger 1769364389]
<!-- CodeRabbit Audit Trigger 1769364389 -->

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions broker/emqx/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ services:
EMQX_LISTENERS__SSL__DEFAULT__SSL_OPTIONS__FAIL_IF_NO_PEER_CERT: "true"
# Authentication
EMQX_ALLOW_ANONYMOUS: "false"

# [CodeRabbit Audit Trigger 1769364389]
2 changes: 2 additions & 0 deletions broker/mosquitto/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ services:
- ./config:/mosquitto/config
- ./data:/mosquitto/data
- ./log:/mosquitto/log

# [CodeRabbit Audit Trigger 1769364389]
2 changes: 2 additions & 0 deletions certs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,5 @@ For deployment examples, see:
- [broker/emqx/docker-compose.yml](../broker/emqx/docker-compose.yml) - EMQX mTLS configuration
- [esphome/*.yaml](../esphome/) - ESP32 client certificate configuration
- [sensors/brokers.example.yml](../sensors/brokers.example.yml) - Simulator TLS configuration

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# ... is a Markdown heading and will render visibly in the README. If the goal is only to touch the file for an audit trigger, use a Markdown comment form (e.g., HTML comment) instead so the rendered docs aren’t affected.

Suggested change
# [CodeRabbit Audit Trigger 1769364389]
<!-- [CodeRabbit Audit Trigger 1769364389] -->

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions certs/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,5 @@ openssl x509 -in ha/ha.pem -noout -subject -dates
- [broker/emqx/docker-compose.yml](../broker/emqx/docker-compose.yml) - EMQX mTLS 配置
- [esphome/*.yaml](../esphome/) - ESP32 客户端证书配置
- [sensors/brokers.example.yml](../sensors/brokers.example.yml) - 模拟器 TLS 配置

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# ... is a Markdown heading and will render visibly in the README. If the goal is only to touch the file for an audit trigger, use a Markdown comment form (e.g., HTML comment) instead so the rendered docs aren’t affected.

Suggested change
# [CodeRabbit Audit Trigger 1769364389]
<!-- [CodeRabbit Audit Trigger 1769364389] -->

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,5 @@ latexmk -C # Remove PDF

- [CTU FEL Thesis Template (Overleaf)](https://www.overleaf.com/latex/templates/sablona-pro-psani-disertacni-prace-na-cvut-fel/ptpvbxhsjdmg)
- [LaTeX Wikibook](https://en.wikibooks.org/wiki/LaTeX)

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# ... makes this a Markdown heading, so it will render in the published document and may introduce multiple top-level headings. If the intent is just an invisible audit marker, switch to a Markdown comment form (e.g., HTML comment) instead of a heading.

Suggested change
# [CodeRabbit Audit Trigger 1769364389]
<!-- [CodeRabbit Audit Trigger 1769364389] -->

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions docs/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,5 @@ latexmk -C # 删除 PDF

- [CTU FEL 论文模板 (Overleaf)](https://www.overleaf.com/latex/templates/sablona-pro-psani-disertacni-prace-na-cvut-fel/ptpvbxhsjdmg)
- [LaTeX 教程](https://en.wikibooks.org/wiki/LaTeX)

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# ... makes this a Markdown heading, so it will render in the published document and may introduce multiple top-level headings. If the intent is just an invisible audit marker, switch to a Markdown comment form (e.g., HTML comment) instead of a heading.

Suggested change
# [CodeRabbit Audit Trigger 1769364389]
<!-- [CodeRabbit Audit Trigger 1769364389] -->

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions docs/pdf2md/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ Cache is stored in `.cache.json`. Use `--force` to bypass.
## Output

Converted Markdown files are saved to `output/` with the same name as the source PDF.

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# ... makes this a Markdown heading, so it will render in the published document and may introduce multiple top-level headings. If the intent is just an invisible audit marker, switch to a Markdown comment form (e.g., HTML comment) instead of a heading.

Suggested change
# [CodeRabbit Audit Trigger 1769364389]
<!-- [CodeRabbit Audit Trigger 1769364389] -->

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions docs/pdf2md/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,3 +231,5 @@ def main():

if __name__ == "__main__":
main()

# [CodeRabbit Audit Trigger 1769364389]
2 changes: 2 additions & 0 deletions docs/thesis_doc/README_ESPTFLITE.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,5 @@ As per the upstream repository policy, the tflite-lib is copied into the compone
This component and the examples are provided under Apache 2.0 license, see [LICENSE](LICENSE.md) file for details.

TensorFlow library code and third_party code contains their own license specified under respective [repos](https://github.com/tensorflow/tflite-micro).

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# ... makes this a Markdown heading, so it will render in the published document. If the intent is just an invisible audit marker, use a Markdown comment form (e.g., HTML comment) instead of a heading.

Suggested change
# [CodeRabbit Audit Trigger 1769364389]
<!-- CodeRabbit Audit Trigger 1769364389 -->

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions docs/thesis_doc/README_LATEX.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,3 +321,5 @@ latexmk -C # 连 PDF 一起删
我可以继续帮你做两类“最快提分”的事情:
1) 按你论文主题,给你一个 **章节大纲 + 每章应该放的图/表/实验指标清单**(非常实用)。
2) 你把你要放的第一张架构图/一段实验结果贴出来,我帮你直接写成论文里可用的 Figure/Table + 英文段落。

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# ... makes this a Markdown heading, so it will render in the published document. If the intent is just an invisible audit marker, use a Markdown comment form (e.g., HTML comment) instead of a heading.

Suggested change
# [CodeRabbit Audit Trigger 1769364389]
<!-- [CodeRabbit Audit Trigger 1769364389] -->

Copilot uses AI. Check for mistakes.
Original file line number Diff line number Diff line change
Expand Up @@ -3011,3 +3011,5 @@ TFPD05H08750011。
2021-10-29 v0.6 全面更新,针对芯片版本 revision 1 2021-07-19 v0.5.1 预发布,针对芯片版本 revision 0

乐鑫信息科技 52 ESP32-S3-WROOM-1 & WROOM-1U 技术规格书 v1.7 反馈文档意见 免责声明和版权公告 本文档中的信息,包括供参考的 URL 地址,如有变更,恕不另行通知。 本文档可能引用了第三方的信息,所有引用的信息均为"按现状"提供,乐鑫不对信息的准确性、真实性做任何保证。 乐鑫不对本文档的内容做任何保证,包括内容的适销性、是否适用于特定用途,也不提供任何其他乐鑫提案、规格书或样 品在他处提到的任何保证。 乐鑫不对本文档是否侵犯第三方权利做任何保证,也不对使用本文档内信息导致的任何侵犯知识产权的行为负责。本文档 在此未以禁止反言或其他方式授予任何知识产权许可,不管是明示许可还是暗示许可。 Wi-Fi 联盟成员标志归 Wi-Fi 联盟所有。蓝牙标志是 Bluetooth SIG 的注册商标。 文档中提到的所有商标名称、商标和注册商标均属其各自所有者的财产,特此声明。 版权归 © 2025 乐鑫信息科技(上海)股份有限公司。保留所有权利。 www.espressif.com

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to be a vendored/converted third-party source document. Adding an audit trigger as a Markdown heading mutates the source text and makes future upstream refreshes/diffing harder. Prefer putting the audit trigger in a dedicated repo file (or use a non-rendering comment format) rather than editing source materials.

Suggested change
# [CodeRabbit Audit Trigger 1769364389]

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions docs/thesis_doc/sources/espressif/esp32-s3_datasheet_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -3315,3 +3315,5 @@ Date Version Release notes • Updated to chip revision 1 by swapping pin 53 and
2021-07-09 v0.5 Preliminary version

Espressif Systems 86 ESP32-S3 Series Datasheet v2.1 Submit Documentation Feedback Disclaimer and Copyright Notice Information in this document, including URL references, is subject to change without notice. ALL THIRD PARTY'S INFORMATION IN THIS DOCUMENT IS PROVIDED AS IS WITH NO WARRANTIES TO ITS AUTHENTICITY AND ACCURACY. NO WARRANTY IS PROVIDED TO THIS DOCUMENT FOR ITS MERCHANTABILITY, NON-INFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, NOR DOES ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE. All liability, including liability for infringement of any proprietary rights, relating to use of information in this document is disclaimed. No licenses express or implied, by estoppel or otherwise, to any intellectual property rights are granted herein. The Wi-Fi Alliance Member logo is a trademark of the Wi-Fi Alliance. The Bluetooth logo is a registered trademark of Bluetooth SIG. All trade names, trademarks and registered trademarks mentioned in this document are property of their respective owners, and are hereby acknowledged. Copyright © 2025 Espressif Systems (Shanghai) Co., Ltd. All rights reserved. www.espressif.com

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to be a vendored/converted third-party source document. Adding an audit trigger as a Markdown heading mutates the source text and makes future upstream refreshes/diffing harder. Prefer putting the audit trigger in a dedicated repo file (or use a non-rendering comment format) rather than editing source materials.

Copilot uses AI. Check for mistakes.
Original file line number Diff line number Diff line change
Expand Up @@ -136057,3 +136057,5 @@ ENA/RAW/ST 寄存器的配置见表 39.7-4。
2021-07-09 v0.1 首次预发布

乐鑫信息科技 1435 ESP32-S3 TRM (版本 1.7) 反馈文档意见 免责声明和版权公告 本文档中的信息,包括供参考的 URL 地址,如有变更,恕不另行通知。 本文档可能引用了第三方的信息,所有引用的信息均为"按现状"提供,乐鑫不对信息的准确性、真实性做任何保证。 乐鑫不对本文档的内容做任何保证,包括内容的适销性、是否适用于特定用途,也不提供任何其他乐鑫提案、规格书或样 品在他处提到的任何保证。 乐鑫不对本文档是否侵犯第三方权利做任何保证,也不对使用本文档内信息导致的任何侵犯知识产权的行为负责。本文档 在此未以禁止反言或其他方式授予任何知识产权许可,不管是明示许可还是暗示许可。 Wi-Fi 联盟成员标志归 Wi-Fi 联盟所有。蓝牙标志是 Bluetooth SIG 的注册商标。 文档中提到的所有商标名称、商标和注册商标均属其各自所有者的财产,特此声明。 版权归 © 2025 乐鑫信息科技(上海)股份有限公司。保留所有权利。 www.espressif.com

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to be a vendored/converted third-party source document. Adding an audit trigger as a Markdown heading mutates the source text and makes future upstream refreshes/diffing harder. Prefer putting the audit trigger in a dedicated repo file (or use a non-rendering comment format) rather than editing source materials.

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions docs/thesis_doc/sources/espressif/esp32_datasheet_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -2944,3 +2944,5 @@ Date Version Release notes
2016.08 V1.0 First release.

Espressif Systems 77 ESP32 Series Datasheet v5.2 Submit Documentation Feedback Disclaimer and Copyright Notice Information in this document, including URL references, is subject to change without notice. ALL THIRD PARTY'S INFORMATION IN THIS DOCUMENT IS PROVIDED AS IS WITH NO WARRANTIES TO ITS AUTHENTICITY AND ACCURACY. NO WARRANTY IS PROVIDED TO THIS DOCUMENT FOR ITS MERCHANTABILITY, NON-INFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, NOR DOES ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE. All liability, including liability for infringement of any proprietary rights, relating to use of information in this document is disclaimed. No licenses express or implied, by estoppel or otherwise, to any intellectual property rights are granted herein. The Wi-Fi Alliance Member logo is a trademark of the Wi-Fi Alliance. The Bluetooth logo is a registered trademark of Bluetooth SIG. All trade names, trademarks and registered trademarks mentioned in this document are property of their respective owners, and are hereby acknowledged. Copyright © 2025 Espressif Systems (Shanghai) Co., Ltd. All rights reserved. www.espressif.com

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to be a vendored/converted third-party source document. Adding an audit trigger as a Markdown heading mutates the source text and makes future upstream refreshes/diffing harder. Prefer putting the audit trigger in a dedicated repo file (or use a non-rendering comment format) rather than editing source materials.

Copilot uses AI. Check for mistakes.
Original file line number Diff line number Diff line change
Expand Up @@ -80500,3 +80500,5 @@ Espressif Systems 781 ESP32 TRM (Version 5.6) Submit Documentation Feedback Rev
Date Version Release notes Added Chapter ULP Coprocessor. Added Chapter On-Chip Sensors and Analog Signal Processing; Added Section Audio PLL; 2017.05 v1.7 Updated Section eFuse Controller Register Summary; Updated Sections I2S PDM and LCD MODE; Updated Section: Communication Format Supported by GP-SPI Slave. Added Chapter SD/MMC Host Controller; 2017.03 v1.6 Added register IO_MUX_PIN_CTRL in Chapter IO_MUX and GPIO Matrix. 2017.03 v1.5 Added Chapter I2S. Added Chapter SPI; 2017.01 v1.4 Added Chapter UART Controllers. Added Chapter eFuse Controller; Added Chapter RSA Accelerator; 2016.12 v1.3 Added Chapter Random Number Generator; Updated Section I2C Controller Interrupt and Section I2C Controller Registers. Added Chapter PID/MPU/MMU; 2016.11 v1.2 Updated Section IO_MUX and GPIO Matrix Register Summary; Updated Section LED_PWM Register Summary. 2016.09 v1.1 Added Chapter I2C Controller. 2016.08 v1.0 Initial release.

Espressif Systems 782 ESP32 TRM (Version 5.6) Submit Documentation Feedback Disclaimer and Copyright Notice Information in this document, including URL references, is subject to change without notice. ALL THIRD PARTY'S INFORMATION IN THIS DOCUMENT IS PROVIDED AS IS WITH NO WARRANTIES TO ITS AUTHENTICITY AND ACCURACY. NO WARRANTY IS PROVIDED TO THIS DOCUMENT FOR ITS MERCHANTABILITY, NON-INFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, NOR DOES ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE. All liability, including liability for infringement of any proprietary rights, relating to use of information in this document is disclaimed. No licenses express or implied, by estoppel or otherwise, to any intellectual property rights are granted herein. The Wi-Fi Alliance Member logo is a trademark of the Wi-Fi Alliance. The Bluetooth logo is a registered trademark of Bluetooth SIG. All trade names, trademarks and registered trademarks mentioned in this document are property of their respective owners, and are hereby acknowledged. Copyright © 2025 Espressif Systems (Shanghai) Co., Ltd. All rights reserved. www.espressif.com

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to be a vendored/converted third-party source document. Adding an audit trigger as a Markdown heading mutates the source text and makes future upstream refreshes/diffing harder. Prefer putting the audit trigger in a dedicated repo file (or use a non-rendering comment format) rather than editing source materials.

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions docs/thesis_doc/sources/standards/NIST.SP.800-57pt1r5.md
Original file line number Diff line number Diff line change
Expand Up @@ -8275,3 +8275,5 @@ This publication is available free of charge from: https://doi.org/10.6028/NIST.
158



# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to be a vendored/converted third-party source document. Adding an audit trigger as a Markdown heading mutates the source text and makes future upstream refreshes/diffing harder. Prefer putting the audit trigger in a dedicated repo file (or use a non-rendering comment format) rather than editing source materials.

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions esphome/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,5 @@ mqtt_client_key: |
- [ESP32 Datasheet](https://www.espressif.com/en/products/socs/esp32)
- [ESP32-S3 Datasheet](https://www.espressif.com/en/products/socs/esp32-s3)
- [Certificate Setup](../certs/README.md)

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# ... makes this a Markdown heading, so it will render in the published document and may introduce multiple top-level headings. If the intent is just an invisible audit marker, switch to a Markdown comment form (e.g., HTML comment) instead of a heading.

Suggested change
# [CodeRabbit Audit Trigger 1769364389]
<!-- [CodeRabbit Audit Trigger 1769364389] -->

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions esphome/esp32s3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -263,3 +263,5 @@ binary_sensor:
device_class: sound
lambda: |-
return (id(sound_adc).state > 0.6);

# [CodeRabbit Audit Trigger 1769364389]
2 changes: 2 additions & 0 deletions homeassistant/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,5 @@ Node-RED flow template for fall detection notifications:
## Certificate Setup

See [`../certs/README.md`](../certs/README.md) for mTLS certificate generation.

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# ... makes this a Markdown heading, so it will render in the published document and may introduce multiple top-level headings. If the intent is just an invisible audit marker, switch to a Markdown comment form (e.g., HTML comment) instead of a heading.

Suggested change
# [CodeRabbit Audit Trigger 1769364389]
<!-- [CodeRabbit Audit Trigger 1769364389] -->

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions homeassistant/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,5 @@ Home Assistant Container 的参考配置:
## 证书配置

mTLS 证书生成请参阅 [`../certs/README.zh-CN.md`](../certs/README.zh-CN.md)。

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# ... makes this a Markdown heading, so it will render in the published document and may introduce multiple top-level headings. If the intent is just an invisible audit marker, switch to a Markdown comment form (e.g., HTML comment) instead of a heading.

Suggested change
# [CodeRabbit Audit Trigger 1769364389]
<!-- [CodeRabbit Audit Trigger 1769364389] -->

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions homeassistant/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ services:
- "127.0.0.1:8123:8123"
environment:
- TZ=Europe/Prague

# [CodeRabbit Audit Trigger 1769364389]
3 changes: 2 additions & 1 deletion sensors/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ COPY sensors/requirements.txt ./requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY sensors ./sensors
ENV PYTHONUNBUFFERED=1
ENTRYPOINT ["python", "sensors/sensor_simulator.py"]
ENTRYPOINT ["python", "sensors/sensor_simulator.py"]
# [CodeRabbit Audit Trigger 1769364389]
Comment on lines +7 to +8

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick | 🔵 Trivial

Audit trigger addition is fine; consider addressing container security best practices.

The audit trigger comment is non-functional and acceptable. However, the static analysis hints identify valid improvements for production readiness:

  1. Non-root user: The container runs as root, which is a security risk. Consider adding a dedicated user.
  2. HEALTHCHECK: Adding a health check improves orchestration and monitoring.
♻️ Suggested improvements (optional)
 FROM python:3.11-slim
 WORKDIR /app
 COPY sensors/requirements.txt ./requirements.txt
 RUN pip install --no-cache-dir -r requirements.txt
 COPY sensors ./sensors
+
+# Run as non-root user
+RUN useradd --create-home --shell /bin/bash appuser
+USER appuser
+
 ENV PYTHONUNBUFFERED=1
+
+HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
+    CMD python -c "import sys; sys.exit(0)" || exit 1
+
 ENTRYPOINT ["python", "sensors/sensor_simulator.py"]
 # [CodeRabbit Audit Trigger 1769364389]

,

🧰 Tools
🪛 Checkov (3.2.334)

[low] 1-8: Ensure that HEALTHCHECK instructions have been added to container images

(CKV_DOCKER_2)


[low] 1-8: Ensure that a user for the container has been created

(CKV_DOCKER_3)

🤖 Prompt for AI Agents
In `@sensors/Dockerfile` around lines 7 - 8, The Dockerfile currently runs the
container as root via the ENTRYPOINT; add a non-root user and switch to it
before ENTRYPOINT (create a user/group, set HOME, chown sensors/ and any runtime
dirs) and update ENTRYPOINT to run as that user (reference ENTRYPOINT and
sensors/sensor_simulator.py); also add a HEALTHCHECK instruction that exercises
the running sensor process (e.g., an HTTP or simple probe appropriate to
sensor_simulator.py) with sensible intervals/retries to improve
orchestration/monitoring.

2 changes: 2 additions & 0 deletions sensors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,3 +296,5 @@ MIT License - See [LICENSE](../LICENSE)
## Citation

This simulator is part of the bachelor thesis *"Application of Servers and Unix-like Systems for Sensor Control in Smart Homes"* at Czech Technical University in Prague. See the [main README](../README.md) for citation information.

# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# ... makes this a Markdown heading, so it will render in the published document and may introduce multiple top-level headings. If the intent is just an invisible audit marker, switch to a Markdown comment form (e.g., HTML comment) instead of a heading.

Suggested change
# [CodeRabbit Audit Trigger 1769364389]
<!-- [CodeRabbit Audit Trigger 1769364389] -->

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions sensors/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,3 +297,5 @@ MIT 许可证 - 详见 [LICENSE](../LICENSE)

本模拟器是捷克理工大学学士论文《服务器与类 Unix 系统在智能家居传感器控制中的应用》的组成部分。引用信息请参阅 [主 README](../README.zh-CN.md)。


# [CodeRabbit Audit Trigger 1769364389]

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# ... makes this a Markdown heading, so it will render in the published document and may introduce multiple top-level headings. If the intent is just an invisible audit marker, switch to a Markdown comment form (e.g., HTML comment) instead of a heading.

Suggested change
# [CodeRabbit Audit Trigger 1769364389]
<!-- [CodeRabbit Audit Trigger 1769364389] -->

Copilot uses AI. Check for mistakes.
2 changes: 2 additions & 0 deletions sensors/brokers.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,5 @@ simulation:
sensor_entity: temperature
delta_per_minute_on: 1.5
delta_per_minute_off: -0.3

# [CodeRabbit Audit Trigger 1769364389]
2 changes: 2 additions & 0 deletions sensors/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ services:
- ./certs:/app/sensors/certs:ro

restart: unless-stopped

# [CodeRabbit Audit Trigger 1769364389]
2 changes: 2 additions & 0 deletions sensors/sensor_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,5 @@ def main() -> None:

if __name__ == "__main__":
main()

# [CodeRabbit Audit Trigger 1769364389]
2 changes: 2 additions & 0 deletions sensors/smarthome_sim/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@
"load_config",
"load_brokers",
]

# [CodeRabbit Audit Trigger 1769364389]
2 changes: 2 additions & 0 deletions sensors/smarthome_sim/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@

if __name__ == "__main__":
main()

# [CodeRabbit Audit Trigger 1769364389]
2 changes: 2 additions & 0 deletions sensors/smarthome_sim/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,3 +357,5 @@ def _do_single_connect(
"connect_latency_ms": None,
"error": error,
})

# [CodeRabbit Audit Trigger 1769364389]
2 changes: 2 additions & 0 deletions sensors/smarthome_sim/broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,5 @@ def create_client(
client.loop_start()

return client

# [CodeRabbit Audit Trigger 1769364389]
2 changes: 2 additions & 0 deletions sensors/smarthome_sim/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,5 @@ def on_sigint(*_):

if __name__ == "__main__":
main()

# [CodeRabbit Audit Trigger 1769364389]
2 changes: 2 additions & 0 deletions sensors/smarthome_sim/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,5 @@ def setup_logging(level: str) -> None:
format="%(asctime)s [%(levelname)s] %(message)s",
datefmt="%H:%M:%S",
)

# [CodeRabbit Audit Trigger 1769364389]
2 changes: 2 additions & 0 deletions sensors/smarthome_sim/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,5 @@ def get_default_entities() -> List[EntityDef]:
commandable=True, initial=dict(DEFAULT_LIGHT_STATE)
),
]

# [CodeRabbit Audit Trigger 1769364389]
2 changes: 2 additions & 0 deletions sensors/smarthome_sim/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,3 +483,5 @@ def handle_sigint(*_):
c.loop_stop()
except Exception:
pass

# [CodeRabbit Audit Trigger 1769364389]
2 changes: 2 additions & 0 deletions sensors/smarthome_sim/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,5 @@ def convert(value: Any, typ: type, default: Any) -> Any:
def now_ts() -> int:
"""Return current Unix timestamp as integer."""
return int(time.time())

# [CodeRabbit Audit Trigger 1769364389]