M5PaperMultiDimmerSwitch

所属分类:论文
开发工具:C
文件大小:0KB
下载次数:0
上传日期:2022-09-15 02:47:46
上 传 者sh-1993
说明:  使用M5 Paper.的HomeKit的多个可编程交换机。,
(Multiple programmable switches for HomeKit using M5Paper.,)

文件列表:
.travis.yml (1557, 2022-09-14)
LICENSE (1068, 2022-09-14)
image/ (0, 2022-09-14)
image/demo.gif (18668878, 2022-09-14)
image/homekit-badge.png (3961, 2022-09-14)
image/resource/ (0, 2022-09-14)
image/resource/png/ (0, 2022-09-14)
image/resource/png/bottom_button.png (2994, 2022-09-14)
image/resource/png/bottom_button_black.png (2446, 2022-09-14)
image/resource/png/middle_button.png (314, 2022-09-14)
image/resource/png/top_button.png (1578, 2022-09-14)
image/resource/png/top_button_black.png (1145, 2022-09-14)
image/resource/svg/ (0, 2022-09-14)
image/resource/svg/bottom_button.svg (2987, 2022-09-14)
image/resource/svg/bottom_button_black.svg (2998, 2022-09-14)
image/resource/svg/middle_button.svg (2672, 2022-09-14)
image/resource/svg/top_button.svg (2832, 2022-09-14)
image/resource/svg/top_button_black.svg (2865, 2022-09-14)
image/setup.gif (2701150, 2022-09-14)
include/ (0, 2022-09-14)
lib/ (0, 2022-09-14)
platformio.ini (718, 2022-09-14)
src/ (0, 2022-09-14)
src/assembly_info.h (328, 2022-09-14)
src/data_struct.h (476, 2022-09-14)
src/hap/ (0, 2022-09-14)
src/hap/hap_manager.cpp (3403, 2022-09-14)
src/hap/hap_manager.h (819, 2022-09-14)
src/main.cpp (2890, 2022-09-14)
src/resources/ (0, 2022-09-14)
src/resources/ImageResource.h (665678, 2022-09-14)
src/resources/binaryttf.h (10669072, 2022-09-14)
... ...

# M5PaperMultiDimmerSwitch [![PlatformIO Build Test](https://github.com/Ry0/M5PaperMutiDimmerSwitch/actions/workflows/build-test.yaml/badge.svg)](https://github.com/Ry0/M5PaperMutiDimmerSwitch/actions/workflows/build-test.yaml) ![img](image/homekit-badge.png) Multiple programmable switches for HomeKit using M5Paper. # DEMO ![img](image/demo.gif) # Features * Currently, 8 buttons can be defined. * M5Paper alone can work as a HomeKit accessory. (No need for Homebridge, etc.) * The button design can be changed by the simple UI drawing class. * Supports single tap only. Double tap and long press are not supported. # Requirement * M5Paper (Web site: https://m5stack-store.myshopify.com/collections/m5-core/products/m5paper-esp32-development-kit-960x540-4-7-eink-display-235-ppi) * PlatformIO # Installation In this repository, I used the [forked ESPHap](https://github.com/Ry0/ESPHap). In the [ESPHap official repository](https://github.com/Yurik72/ESPHap), only up to six buttons could be added, so I forked and changed the value of `#define`. And standard Arduino ESP library already contains base64.h file([here](https://github.com/Yurik72/ESPHap/pull/50)). [Forked ESPHap](https://github.com/Ry0/ESPHap) includes this change. wolfSSL also uses a forked repository. ``` cd git clone https://github.com/Ry0/M5PaperMultiDimmerSwitch.git cd M5PaperMultiDimmerSwitch ``` Change your Wifi SSID and password(`src/wifi_info.h`). ```cpp #ifndef _WIFI_INFO_H_ #define _WIFI_INFO_H_ const char *ssid = "ssid"; const char *password = "password"; #endif ``` Build it by the PlatformIO. # Usage ![img](image/setup.gif) # Note If you want to change the image of the button, use the following. https://github.com/m5stack/M5EPD/tree/main/tools/image2gray If you want to change the font, use the following. https://github.com/m5stack/M5EPD/tree/main/tools/ttf2bin # License M5PaperMultiDimmerSwitch is under [MIT license](./LICENSE)

近期下载者

相关文件


收藏者