Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add KinCony A24 #882

Open
wants to merge 46 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 44 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
921cc44
Add KinCony KC868-M16v2
hzkincony Sep 11, 2024
bf4a18e
fix markdown lint
hzkincony Sep 11, 2024
4107f42
fix markdown lint
hzkincony Sep 11, 2024
8f366cc
fix markdown lint
hzkincony Sep 11, 2024
b2ed5bc
fix markdown lint
hzkincony Sep 11, 2024
61a860f
fix markdown lint
hzkincony Sep 11, 2024
fe3a9bb
fix markdown lint
hzkincony Sep 11, 2024
06aadf9
fix markdown lint
hzkincony Sep 11, 2024
52aed52
fix markdown lint
hzkincony Sep 11, 2024
42daf85
fix markdown lint
hzkincony Sep 11, 2024
6337298
fix markdown lint
hzkincony Sep 11, 2024
8c935da
fix markdown lint
hzkincony Sep 11, 2024
d681f72
fix markdown lint
hzkincony Sep 11, 2024
ab72eba
fix markdown lint
hzkincony Sep 11, 2024
e6b9a94
fix markdown lint
hzkincony Sep 11, 2024
6379cce
fix markdown lint
hzkincony Sep 11, 2024
0085ec1
fix markdown lint
hzkincony Sep 11, 2024
3f576f9
Merge branch 'main' into main
hzkincony Sep 11, 2024
15c3d84
Delete .vscode/settings.json
tekmaven Sep 29, 2024
6c9796e
Add KinCony M30
hzkincony Oct 7, 2024
8e5d1ba
Merge branch 'main' into main
hzkincony Oct 7, 2024
30890b8
fixed markdown
hzkincony Oct 7, 2024
04cfe9f
fixed markdown
hzkincony Oct 7, 2024
3d0c3bf
Add KinCony M30
hzkincony Oct 8, 2024
e1fe50c
Merge branch 'main' into main
hzkincony Oct 8, 2024
59e9924
Update src/docs/devices/KinCony-M30/index.md
jesserockz Oct 8, 2024
af123e3
Apply suggestions from code review
jesserockz Oct 8, 2024
bf695bd
Apply suggestions from code review
jesserockz Oct 8, 2024
69617c2
remove unused yaml
idreamshen Oct 10, 2024
3f598eb
fix date-published
idreamshen Oct 10, 2024
240c62b
Merge branch 'main' into main
idreamshen Oct 10, 2024
31d6a00
Update date published to today
jesserockz Oct 10, 2024
22b03bf
Merge remote-tracking branch 'esphome/main'
idreamshen Oct 11, 2024
f3552a8
Add KinCony AG8
hzkincony Oct 12, 2024
686e432
fix markdown
hzkincony Oct 12, 2024
d8b9e94
Add KinCony A32Pro
hzkincony Oct 12, 2024
742cd1d
fix markdown
hzkincony Oct 12, 2024
dcf0383
Add KinCony ATF
hzkincony Oct 12, 2024
58d0daa
Add KinCony ADR
hzkincony Oct 12, 2024
e2018d0
Add KinCony MB
hzkincony Oct 12, 2024
9ca4494
Add KinCony A24
hzkincony Oct 12, 2024
e2027ee
fix markdown
hzkincony Oct 12, 2024
e58bc96
fix markdown
hzkincony Oct 12, 2024
b9ba7ab
fix markdown
hzkincony Oct 12, 2024
cc0308e
fixed
hzkincony Oct 21, 2024
dce1590
Merge branch 'main' into KinCony-A24
hzkincony Oct 21, 2024
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
Binary file added src/docs/devices/KinCony-A24/A24-1_07.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/docs/devices/KinCony-A24/ESP32_A24.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
566 changes: 566 additions & 0 deletions src/docs/devices/KinCony-A24/index.md

Large diffs are not rendered by default.

Binary file added src/docs/devices/KinCony-A32Pro/A32Pro-10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,071 changes: 1,071 additions & 0 deletions src/docs/devices/KinCony-A32Pro/index.md

Large diffs are not rendered by default.

Binary file added src/docs/devices/KinCony-ADR/ADR-fan.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/docs/devices/KinCony-ADR/ADR-lamp.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
71 changes: 71 additions & 0 deletions src/docs/devices/KinCony-ADR/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
title: KinCony-ADR (AC Dimmer)
date-published: 2024-10-12

type: dimmer
standard: global
board: esp32
---

![Product](esp32-ac-dimmer-adr-1.jpg "Product Image")
![Product](ADR-lamp.jpg "Product Image")
![Product](ADR-fan.jpg "Product Image")

## Resources

- [ESP32 pin define details](https://www.kincony.com/forum/showthread.php?tid=5276)
- [YouTube video tour](https://youtu.be/JMtgOhL1Jb0)

## ESPHome Configuration

Here is an example YAML configuration for the KinCony-ADR board.

```yaml
esphome:
name: adr
friendly_name: ADR

esp32:
board: esp32dev
framework:
type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
encryption:
key: "ZWeLIQ6pHBi8F7iz8oU50b5e4pOntKh7crgfrRpT0NQ="

ota:
password: "0d1fac93b813af333e08eee312020918"

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password

# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Adr Fallback Hotspot"
password: "GOSjJDSsz6Z5"

captive_portal:

output:
- platform: ac_dimmer
id: dimmer1
gate_pin: 33
zero_cross_pin:
number: 25
mode:
input: true
inverted: no
min_power: 35%

light:
- platform: monochromatic
output: dimmer1
name: adr_lamp
default_transition_length: 100ms
```
Binary file added src/docs/devices/KinCony-AG8/AG8-3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
217 changes: 217 additions & 0 deletions src/docs/devices/KinCony-AG8/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,217 @@
---
title: KinCony-AG8 (ESP32-S3 Smart IR Controller)
date-published: 2024-10-12

type: misc
standard: global
board: esp32
---

![Product](AG8-3.jpg "Product Image")
![Product](AG8_Smart_Controller_diagram.jpg "Product Image")

## Resources

- [ESP32 pin define details](https://www.kincony.com/forum/showthread.php?tid=5888)
- [YouTube video tour](https://youtu.be/wWhbA8ZlyUA)

## ESPHome Configuration

Here is an example YAML configuration for the KinCony-AG8 board.

```yaml
esphome:
name: ag8
friendly_name: ag8
platformio_options:
board_build.flash_mode: dio

esp32:
board: esp32-s3-devkitc-1
framework:
type: esp-idf
sdkconfig_options:
SOC_RMT_SUPPORT_RX_PINGPONG: "n"
# Enable logging
logger:
hardware_uart: USB_SERIAL_JTAG
# Enable Home Assistant API
api:
encryption:
key: "dolIFOGZiGF8GT9wSJVBuoNzVQSHanaieBBbRcj1t48="

ethernet:
type: W5500
clk_pin: GPIO42
mosi_pin: GPIO43
miso_pin: GPIO44
cs_pin: GPIO41
interrupt_pin: GPIO2
reset_pin: GPIO1

remote_receiver:
pin: 48
rmt_channel: 4
dump: all

remote_transmitter:
- id: ir1
pin: 9
carrier_duty_percent: 50%
- id: ir2
pin: 10
carrier_duty_percent: 50%
- id: ir3
pin: 11
carrier_duty_percent: 50%
- id: ir4
pin: 12
carrier_duty_percent: 50%
# - id: ir5
# pin: 13
# carrier_duty_percent: 50%
# - id: ir6
# pin: 14
# carrier_duty_percent: 50%
# - id: ir7
# pin: 21
# carrier_duty_percent: 50%
# - id: ir8
# pin: 47
# carrier_duty_percent: 50%

switch:
- platform: template
name: IR-Send1
turn_on_action:
- remote_transmitter.transmit_panasonic:
transmitter_id: ir1
address: 0x4004
command: 0x8140DFA2

- platform: template
name: IR-Send2
turn_on_action:
- remote_transmitter.transmit_panasonic:
transmitter_id: ir2
address: 0x4004
command: 0x8140DFA2

- platform: template
name: IR-Send3
turn_on_action:
- remote_transmitter.transmit_panasonic:
transmitter_id: ir3
address: 0x4004
command: 0x8140DFA2

- platform: template
name: IR-Send4
turn_on_action:
- remote_transmitter.transmit_panasonic:
transmitter_id: ir4
address: 0x4004
command: 0x8140DFA2

# - platform: template
# name: IR-Send5
# turn_on_action:
# - remote_transmitter.transmit_panasonic:
# transmitter_id: ir5
# address: 0x4004
# command: 0x8140DFA2

# - platform: template
# name: IR-Send6
# turn_on_action:
# - remote_transmitter.transmit_panasonic:
# transmitter_id: ir6
# address: 0x4004
# command: 0x8140DFA2

# - platform: template
# name: IR-Send7
# turn_on_action:
# - remote_transmitter.transmit_panasonic:
# transmitter_id: ir7
# address: 0x4004
# command: 0x8140DFA2

# - platform: template
# name: IR-Send8
# turn_on_action:
# - remote_transmitter.transmit_panasonic:
# transmitter_id: ir8
# address: 0x4004
# command: 0x8140DFA2

- platform: uart
uart_id: uart_485
name: "RS485 Button"
data: [0x11, 0x22, 0x33, 0x44, 0x55]

- platform: uart
uart_id: uart_232
name: "RS232 Button"
data: "RS232-test"

uart:
- id: uart_485
baud_rate: 9600
debug:
direction: BOTH
dummy_receiver: true
after:
timeout: 10ms
tx_pin: 18
rx_pin: 8

- id: uart_232
baud_rate: 9600
debug:
direction: BOTH
dummy_receiver: true
after:
timeout: 10ms
sequence:
- lambda: UARTDebug::log_string(direction, bytes);
tx_pin: 17
rx_pin: 16

binary_sensor:
- platform: gpio
name: "IO15"
pin:
number: 15
inverted: true
mode:
input: true
pullup: true
- platform: gpio
name: "IO38"
pin:
number: 38
inverted: true
mode:
input: true
pullup: true
- platform: gpio
name: "IO39"
pin:
number: 39
inverted: true
mode:
input: true
pullup: true
- platform: gpio
name: "IO40"
pin:
number: 40
inverted: true
mode:
input: true
pullup: true

web_server:
port: 80
```
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading