Commit Graph
2849 Commits
Author SHA1 Message Date
Peter Kretz c0bdea0941 - UDP / ESPEasyP2P now works for ETHERNET
- Hostname Handling refactored for better overview:
  - String NetworkGetHostNameFromSettings() returns Settings.getHostname()
  - String NetworkCreateRFCCompliantHostname() creates a RFCcompliant Hostname from Settings.cpp
  - String NetworkGetHostname() returns the Hostname prevoiusly set in ETH or Wifi dependong on Mode
- MacAddress Handling refactored
  - String NetworkMacAddress() returns the Mac addres of ETH or Wifi depending on Mode
  - String WifiSoftAPmacAddress() returns WiFi.softAPmacAddress(mac) as String
2020-04-29 19:03:31 +02:00
Peter Kretz cde9052283 Fixed ci compile bug
https://travis-ci.org/github/letscontrolit/ESPEasy/builds/680724129
2020-04-28 23:28:45 +02:00
Peter Kretz b1a3d747c0 Fixed
https://travis-ci.org/github/letscontrolit/ESPEasy/builds/680698472
ci build error
2020-04-28 21:48:59 +02:00
Peter Kretz 691824477f - New events: ETHERNET#Connected and ETHERNET#Disconnected 2020-04-28 21:18:59 +02:00
Peter Kretz 8244e0ecf2 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/ethernet_or_wifi_support 2020-04-28 20:14:38 +02:00
Peter Kretz e68e6eca3c Network.h/cpp --> ESPEasyNetwork.h/cpp 2020-04-28 20:13:49 +02:00
Peter Kretz a489b41230 ESPEasyWiFi_credentials.ino --> cpp/h
ESPEasyWiFi_ProcessEvent.ino --> cpp/h
ESPEasyWiFi.ino --> cpp/h
2020-04-28 19:44:26 +02:00
Peter Kretz 6585a48f39 ESPEasyEth.ino --> ESPEasyEth.cpp/h
Network.ino --> Network.cpp/h
2020-04-27 22:56:26 +02:00
Peter Kretz 24d9dc19a4 - ETHEvents moved to WifiEvents, because they are the same type 2020-04-27 22:18:55 +02:00
Peter Kretz a6f75806f0 - Ethernet Commands
- remove useless comments
- ETH.config moved after ETH.begin
- Added note: Be aware with ESPEasyP2P Network, since IP Address will change. There could be conflicts.
- Ethernet JSON
- Ethernet Variables
2020-04-27 21:59:21 +02:00
Peter Kretz 09a149e7c4 Removed some comments
Build now working with HAS_ETHERNET not defined
2020-04-26 23:16:33 +02:00
Peter Kretz 6632dec482 ESP32 with Ethernet or Wifi, not both at the same time configurable via Hardware Page.
- ESP P2P is working
- Only ETH.beginPacket() with Standard Parameter is working at the moment, configuration will follow.
- Network.in not cpp/h files but this will be changed in future
- Some TODO: PKR: comments will be removed in the future, too
2020-04-26 22:29:56 +02:00
Gijs Noorlander 31aa26a474 [Docs] Add documentation for P097_Touch and P095_ILI9341 2020-04-26 00:11:44 +02:00
Gijs Noorlander 8b552c26c8 [Touch] Split Touch Pad support into new plugin 2020-04-26 00:10:49 +02:00
Gijs Noorlander fb9c6e5972 [Bitset operators] Use Arduino macros instead of our own functions
@Uzi18 suggested it.
2020-04-25 16:01:04 +02:00
Peter Kretz 29cf32d6ad Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/ethernet_support 2020-04-25 11:19:05 +02:00
TD-er 9022fae50c Merge branch 'mega' into bugfix/ADC-zero 2020-04-25 02:11:27 +02:00
TD-er 5e3b4448bf Merge pull request #3028 from TD-er/bugfix/RN2483_I2C_serial
[RN2483] Improve baudrate detection and I2C->UART link
2020-04-25 02:10:19 +02:00
Gijs Noorlander 6a328e7b0f [ADC] Add Touch/Hall Effect for ESP32 + ADC pin selection
Can be configured to send an event when an ADC pin was touched.
2020-04-25 01:51:37 +02:00
Peter Kretz 32dfba3d86 - Moved ETHEvent from ESPEasy.ino to ESPEasyEthEvent.ino
- Corrected Hostname Setting
- ESPEasy P2P works now with some minor changes for IP-Address Handling in Network.ino
2020-04-25 00:52:33 +02:00
Gijs Noorlander c6e021ce7d [ADC] Perform ADC read at boot + improve filtering for P002_ADC 2020-04-24 16:20:30 +02:00
Peter Kretz cba9b60097 Extended the great work from Michał Obrembski mobrembski, so that:
- mqtt works
- WifiConnected works as EthernetConnected
2020-04-24 13:16:54 +02:00
Peter Kretz b1878c7685 Merge branch 'feature/ethernet_support' of https://github.com/mobrembski/ESPEasy into mega 2020-04-24 13:08:31 +02:00
Peter Kretz 1de04294cc - Atlas EZO new webserver added
- Serial --> logging
- No [TESTING]
2020-04-24 12:32:35 +02:00
Peter Kretz d058dd56f1 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into mega 2020-04-24 12:29:21 +02:00
Gijs Noorlander 336c92f1ab [ADC] Format using uncrustify 2020-04-24 02:24:37 +02:00
Gijs Noorlander 693647a2f1 [ADC] Perform VCC read before starting any WiFi activity 2020-04-24 02:20:58 +02:00
Gijs Noorlander a272950d2f [ADC] Allow multiple instances of ADC plugin (ESP32) 2020-04-24 02:20:23 +02:00
TD-er 11ce314db1 Merge branch 'mega' into bugfix/2987_rules_if 2020-04-24 01:30:06 +02:00
Gijs Noorlander 80e1129d20 [Rules] Clarify syntax error auto correct log entry 2020-04-24 00:43:58 +02:00
TD-er b22bbe3ec6 Merge branch 'mega' into bugfix/RN2483_I2C_serial 2020-04-20 00:10:58 +02:00
Gijs Noorlander 0bff9358ee [RN2483] Improve Autobaud + unit detection at boot 2020-04-19 23:05:35 +02:00
sakinit b0b191cb7f Fix ESP32 serial write
Use availableForWrite for ESP32 as it is available
2020-04-19 20:28:20 +02:00
Gijs Noorlander 1d3a22949d [RN2483] SWserial override as a define 2020-04-19 16:51:30 +02:00
Gijs Noorlander 719b571d75 [Controller] Make use extended credentials optional per controller 2020-04-19 16:46:03 +02:00
TD-er e9b11c3a09 [HTTP command] Fix incorrect check for valid port
As reported by @sakinit via email
2020-04-18 13:58:14 +02:00
TD-er 636435ffd7 Merge branch 'mega' into bugfix/2987_rules_if 2020-04-18 13:51:47 +02:00
TD-er eacb473b2f Merge pull request #3018 from Sprinterfreak/mega-feature-default-reset-pin
Make default reset button gpio configurable
2020-04-18 13:51:10 +02:00
TD-er 1547ffd23e Merge pull request #3020 from TD-er/bugfix/3019_pulsecounter_set
[Pulse Counter] Call PLUGIN_READ after set counter (#3019)
2020-04-18 13:50:24 +02:00
TD-er bc2fb78b45 Merge pull request #3017 from uzi18/esp32_crc_py
ESP32: fill binary filename, count MD5 only for esp8266
2020-04-18 13:49:51 +02:00
Gijs Noorlander bbbd3efe4d [Rules] Check for common mistakes and patch before parsing 2020-04-18 01:12:08 +02:00
TD-er a0374079eb Merge branch 'mega' into bugfix/2987_rules_if 2020-04-16 01:39:14 +02:00
TD-er 2161a16ed7 Merge branch 'mega' into dallas_esp32 2020-04-15 23:29:15 +02:00
Gijs Noorlander 1cf4bb43dc [Pulse Counter] Use unused 4th UserVar to restore total pulse counter 2020-04-15 11:18:14 +02:00
Gijs Noorlander fc8c0b56a1 [Pulse Counter] Call PLUGIN_READ after set counter (#3019)
Fixes: #3019
Only setting the internal counter values is not enough.
The output values must also be set and a call to any optional formula must also be made.
A call to `PLUGIN_READ` will also store the values in RTC.
2020-04-14 21:21:50 +02:00
Bartlomiej Zimon f0d81c9150 ESP/ESP32: add id_tag for future proposes and use it to detect firmware.bin 2020-04-14 16:20:05 +00:00
Jan-Jonas Sämann 1944f563a4 Make default reset button gpio configurable
Especially on some custom devices wich need custom builds, the variable
is missing. This provides a new environment variable to customize the
default pin for the reset button.
2020-04-14 02:35:53 +02:00
TD-er 3c1f993648 Merge branch 'mega' into bugfix/2987_rules_if 2020-04-13 22:57:08 +02:00
Michał Obrembski da1039e7f2 Added basic implementation of Ethernet Static IP 2020-04-13 15:13:16 +02:00
Michał Obrembski 6137da89f0 Moved WifiGetHostname into more generic createRFCCompliantHostname 2020-04-13 15:13:16 +02:00