forked from mongoose-os-apps/example-homekit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mos.yml
56 lines (45 loc) · 1.39 KB
/
mos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
author: 'Deomid "rojer" Ryabkov'
description: A demo HomeKit app for MOngoose OS
version: 1.0.0
libs_version: ${mos.version}
modules_version: ${mos.version}
mongoose_os_version: ${mos.version}
tags:
- c
- homekit
sources:
- src
filesystem:
- fs
cdefs:
IP: 1
BLE: 0 # Not supported yet
# This saves quite a bit of space but disables all HAP debug output.
# HAP_LOG_LEVEL: 0
HAP_PRODUCT_NAME: '"Acme Light Bulb 9000"'
HAP_PRODUCT_VENDOR: '"Acme"'
HAP_PRODUCT_MODEL: '"LB9K"'
HAP_PRODUCT_HW_REV: '"1.0"'
HAP_SERVICE_NAME: '"Light Bulb"'
config_schema:
# Serial number. This can be later set in the field but HomeKit requires at least 2 bytes.
- ["device.sn", "000000"]
- ["lightbulb.name", "s", "Light Bulb", {"title": "Accessory name (unless renamed by the user)"}]
- ["device.sn", "000000"]
build_vars:
# Enables storing setup info in the config and a simple RPC service to configure it.
MGOS_HAP_SIMPLE_CONFIG: 1
libs:
- origin: https://github.com/mongoose-os-libs/homekit-adk
- origin: https://github.com/mongoose-os-libs/rpc-service-config
- origin: https://github.com/mongoose-os-libs/rpc-uart
conds:
- when: mos.platform == "esp32"
apply:
libs:
- origin: https://github.com/mongoose-os-libs/wifi
- when: mos.platform == "esp8266"
apply:
libs:
- origin: https://github.com/mongoose-os-libs/wifi
manifest_version: 2017-05-18