knx stack (TP, IP and RF) for arduino and linux, Can be configured with ETS
Go to file
Dennis Fleurbaaij f169e20f2f
opt-out global KNX, ability to DIY construct knx object, minor cleanups (#121)
* Refactored the knx_facade a bit to make the auto-building of the global knx object and the buttonUp() ISR function opt-in. Also added the ability to quite easily attach another serial (in this case tested with Serial2 of an ESP32).

* Added visual studio code temp files to .gitignore

* Fix for missing build flag for WifiManager in ESP32_ip demo

* Added example in which we DIY build the KNX object and use ESP32's second UART to connect so that you can debug with the first one that's connected to USB.

* Minor platform cleanups to remove compilation warnings.

* ESP32 can't handle the defaulted 8192 byte EPROM. Next to that I needed to begin() the eprom lib in my setup() to get it to work and that requires knowing how much memory KNX will use. This fix makes the default more conservative and moves it's definition to the .h file so that other files can always use it as well.

* After comments from thelsing, inverted the logic. The default global knx object is now opt-out by defining KNX_NO_AUTOMATIC_GLOBAL_INSTANCE. See the knx-demo-diy project for an example.
Minor syntactic cleanups.

* Removed hardwareserial from facade (detail which was not needed)
Placed facade constructors together
Minor syntactic cleanup

* Fixed knx-cc1310 where own button routine was calling now private internal knx facade variable.
Renamed files in knx-demo-diy
Minor syntactic stuff

* Added gitattributes for binary knxprod files
2021-02-05 15:57:45 +01:00
.github/workflows Add workflow for CC1310 example (#102) 2020-11-17 17:54:46 +01:00
.vscode Add support for CC1310 platform based on SimpleLink SDK (#94) 2020-11-10 21:52:38 +01:00
doc Add coupler support (#79) 2020-09-06 21:41:34 +02:00
examples opt-out global KNX, ability to DIY construct knx object, minor cleanups (#121) 2021-02-05 15:57:45 +01:00
src opt-out global KNX, ability to DIY construct knx object, minor cleanups (#121) 2021-02-05 15:57:45 +01:00
.clang-format add .clang-format, remove VS class diagramm 2019-07-15 21:23:19 +02:00
.gitattributes opt-out global KNX, ability to DIY construct knx object, minor cleanups (#121) 2021-02-05 15:57:45 +01:00
.gitignore opt-out global KNX, ability to DIY construct knx object, minor cleanups (#121) 2021-02-05 15:57:45 +01:00
CMakeLists.txt fix knxPython build 2020-10-28 21:44:01 +01:00
library.properties Update library.properties 2020-06-19 21:57:46 +02:00
LICENSE Create LICENSE 2018-04-21 21:51:41 +02:00
platformio.ini add platformio file and fix compiling without IP 2020-05-08 01:50:50 +02:00
README.md Remove travis badge 2020-11-16 21:40:43 +01:00

knx

This projects provides a knx-device stack for arduino (ESP8266, SAMD21) and linux. (more are quite easy to add) It implements most of System-B specification and can be configured with ETS. The necessary knxprod-files can be generated with my CreateKnxProd tool.

For esp8266 WifiManager is used to configure wifi.

Don't forget to reset ESP8266 manually (disconnect power) after flashing. The reboot doen't work during configuration with ETS otherwise.

The SAMD21 version uses my version of the FlashStorage lib (Pull request pending).

Generated documentation can be found here.