You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+37-31
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,21 @@
4
4
5
5
# Konnected
6
6
7
-
**Konnected** integrates wired alarm system sensors and sirens to SmartThings, Home Assistant, OpenHAB, or Hubitat using a NodeMCU based ESP8266 development board and (optional) relay. This project consists of a few components:
7
+
**Konnected** integrates wired alarm system sensors and sirens to SmartThings, Alexa, Home Assistant, OpenHAB, Hubitat
8
+
using the [Konnected Alarm Panel](https://konnected.io) or a ESP8266 development board.
8
9
9
-
1.[NodeMCU](http://nodemcu.com/index_en.html) based firmware for an ESP8266 development board in `firmware`
10
-
1. Lua and HTML source code for the NodeMCU in `src`. All these files are built into a SPIFFS file system which runs on NodeMCU
11
-
1.[SmartThings](https://www.smartthings.com/) platform code in `smartapps` and `devicetypes`
10
+
This is open-source software designed to run on the ESP8266 platform only! This is what powers the
11
+
[Konnected Alarm Panel](https://konnected.io) family of ESP8266-based products and is available
12
+
open-source for you to use on any compatible device.
1. Flash the device with the latest firmware and filesystem [firmware/releases](firmware/releases) using the instructions in the [Konnected Security Support Documentation](https://help.konnected.io/support/solutions/articles/32000023470-flashing-new-konnected-firmware-software)
23
31
1. Connect to the WiFi network `konnected-security_XXXXXX` to set up WiFi
24
-
1. Follow wiring instructions and application setup instructions in the [Konnected Security Documentation](http://docs.konnected.io/security-alarm-system)
32
+
1. Follow wiring instructions and application setup instructions in the [Konnected Getting Started Guide](https://help.konnected.io/support/solutions/32000015807)
25
33
26
-
#### Note on Device Drivers
34
+
### Device Drivers
27
35
28
36
Windows and Mac users will need to download drivers so your computer can talk to the ESP8266 chip over USB. Depending
29
37
on which board you have, there are different drivers:
30
38
39
+
**[Silicon Labs USB to UART drivers](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers)** for:
40
+
* all Konnected branded hardware
41
+
* development boards with the name _Amica_ on the back
42
+
* the small component on the board near the USB port is engraved with SiLABS CP2102
43
+
31
44
**[WeMos CH340 drivers](https://www.wemos.cc/en/latest/ch340_driver.html)** for boards that:
32
45
* have the name _LoLin_ on the back or front
33
46
* the small rectangular component on the board near the USB port is engraved with CH340G
34
-
***Mac OS X Sierra users**: [use this driver](http://kig.re/2014/12/31/how-to-use-arduino-nano-mini-pro-with-CH340G-on-mac-osx-yosemite.html)
35
47
36
-
**[Silicon Labs USB to UART drivers](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers)** for boards that:
37
-
* have the name _Amica_ on the back
38
-
* the small component on the board near the USB port is engraved with SiLABS CP2102
48
+
### Download Latest Firmware
39
49
40
-
### Building the Firmware
50
+
Go to the [releases section](https://github.com/konnected-io/konnected-security/releases/latest) for a downloadable image
51
+
that you can flash on your Konnected Alarm Panel or ESP8266 device.
52
+
53
+
### Building the Firmware Yourself
41
54
Konnected leverages the [NodeMCU](https://github.com/nodemcu/nodemcu-firmware) codebase and [Docker builder](https://hub.docker.com/r/marcelstoer/nodemcu-build/) to create a base nodeMCU firmware image and a filesystem containing the Konnected application. Building only requires a few steps.
42
55
43
56
1. Download and install [Docker](https://www.docker.com/products/docker-desktop)
@@ -54,42 +67,35 @@ Konnected leverages the [NodeMCU](https://github.com/nodemcu/nodemcu-firmware) c
54
67
1. konnected-filesystem-0x100000-2-2-99.img
55
68
1. konnected-firmware-2-2-99.bin
56
69
1. konnected-esp8266-2-2-99.bin
70
+
71
+
The `konnected-firmware-*` contains the firmware partition and should be flashed at location `0x0`.
72
+
The `konnected-filesystem-*` image contains the Konnected application and should be flashed at the memory location in
73
+
the filename.
74
+
For convenience, the `konnected-esp8266-*` image is an all-in-one image to be flashed at memory location `0x0` containing the two images above.
57
75
58
76
*Note: Each time you build it will remove any prior build outputs corresponding to the same version.*
59
77
*Note: Versions in this project should always be formatted `<major>-<minor>-<patch>`.*
60
78
61
79
### Flashing a Build
62
-
Flashing a build is simple with the [Konnected Flashing Tool](https://help.konnected.io/support/solutions/articles/32000023470-flashing-new-konnected-firmware-software).
80
+
Flashing a build is simple with the [NodeMCU PyFlasher](https://github.com/marcelstoer/nodemcu-pyflasher/releases). Simply flash
81
+
the `konnected-esp8266-*.bin` file to your device. Typically use baud rate 115200 and flash mode `dio`.
63
82
64
-
Mac and Linux users can also easily flash from the command line using [scripts/flash](scripts/flash).
83
+
Mac and Linux users can also easily flash from the command line using `esptool`
65
84
66
85
1. You must have Python installed with `pip` or `pip3`.
67
-
***Mac users**: I recommend using [Homebrew](https://brew.sh/) and `brew install python`
86
+
***Mac users**: Recommend using [Homebrew](https://brew.sh/) and `brew install python`
68
87
69
88
1. Open up a terminal and install `esptool` packages:
70
89
71
90
pip3 install esptool
72
91
73
-
1. Run the script in `scripts/flash` to flash the firmware and software to the device. You must pass in version and serial port args. The flash script will always attempt to flash a matching version in `firmware/builds` before falling back to `firmware/releases`
74
-
75
-
./scripts/flash 2-2-99 /dev/ttyS3
76
-
77
-
*Note: You may also need to make the script executable by running `chmod 755 scripts/flash`.*
78
-
79
-
80
-
### Donations
92
+
1. Flash the downloaded image using `esptool`:
81
93
82
-
We work hard on this project because we're passionate about making home automation accessible to everybody. Millions of
83
-
homes in North America and worldwide are already wired with sensors and have the potential to become smart homes. We
84
-
want to make this a reality.
94
+
esptool.py --port=/dev/cu.SLAB_USBtoUART write_flash --flash_mode dio --flash_size detect 0x0 konnected-esp8266-3-0-0.bin
85
95
86
-
If you've used Konnected Security and it's improved your life and your home security, please consider [donating](http://docs.konnected.io/donate) to help us
87
-
achieve that goal.
96
+
*Note: The USB port may vary depending on your computer platform and board.*
88
97
89
-
Thank you for your support,
90
98
91
-
Nate Clark
92
-
**@heythisisnate**
93
99
94
100
95
101
### [For more information, click here for Konnected Documentation, Help and Community support](http://help.konnected.io)
0 commit comments