Commit Graph
2868 Commits
Author SHA1 Message Date
TD-er 65ecd4f164 Merge pull request #3088 from fmuntean/TimeOffset
Fix for allowing negative timeOffset from UTC in constructor
2020-05-22 10:19:27 +02:00
TD-er 4aeec07180 Merge pull request #3085 from fmuntean/DEFAULT_LAT_LONG
Allow to set the Latitude and longitude
2020-05-22 10:18:35 +02:00
TD-er 6aaed3cfb3 Merge pull request #3063 from sakinit/Fix-ESP32-undefined-pin-initialisation
Fix ESP32 undefined pin initialisation
2020-05-22 10:18:14 +02:00
TD-er 2765225905 Merge pull request #3062 from sakinit/Fix-ESP32-Webbrowser-Rules-page
Show for ESP32 also the first rule on the webserver rules page
2020-05-22 10:17:49 +02:00
TD-er ccce3a9bab Merge pull request #3084 from fmuntean/ESP32_TONE
Adding buzzer capabilities back to ESP32.
2020-05-22 10:17:22 +02:00
Florin 9e4c518d6f rename the tone to toneESP32 to be more specific 2020-05-21 22:22:56 -04:00
TD-er 2fe82840a6 Merge branch 'mega' into Fix-ESP32-undefined-pin-initialisation 2020-05-21 23:27:32 +02:00
TD-er 992a3e4218 Merge branch 'mega' into Fix-ESP32-Webbrowser-Rules-page 2020-05-21 23:22:23 +02:00
TD-er e16df36571 Merge branch 'mega' into DEFAULT_LAT_LONG 2020-05-21 23:04:54 +02:00
Florin 90dc0386b9 Fix for allowing negative timeOffset from UTC in constructor 2020-05-21 00:53:29 -04:00
Florin f952489f2d Allow to set the Latitude and longitude when resetting the firmware from custom.h or using the build_flags 2020-05-20 22:15:27 -04:00
Florin 6675d0b2d0 Adding buzzer capabilities back to ESP32. 2020-05-20 20:26:38 -04:00
Michał Obrembski a6616d4c4f Removed usage of String.clear()
It is not available in minimal_core_242_ESP8266_1M_OTA env
2020-05-19 13:39:27 +02:00
Michał Obrembski 0e03e2fda8 Renamed RAW to CSV, added printing of header 2020-05-19 10:19:16 +02:00
Michał Obrembski e2161521ae Fixed invalid check of valnr validity in CSV output mode 2020-05-19 10:19:16 +02:00
Michał Obrembski 60ddda946e Changed format of RAW to CSV, added ability to filter values 2020-05-19 10:19:16 +02:00
Michał Obrembski a33fef3974 Added /raw endpoint which gives an easy access to raw value of sensor
This will give you ability to get easy-parseable values for small embedded devices results
using only simple busybox tools such as awk or sed.
2020-05-19 10:19:16 +02:00
sakinit 9faeaf236c Don't repeat the last rule on the next webserver page 2020-05-10 16:31:48 +02:00
sakinit 4c65136cb0 Fix ESP32 undefined pin initialisation 2020-05-10 14:07:47 +02:00
sakinit 58366e5e6d Show for ESP32 also the first rule on the webserver rules page
Also mimic the behaviour of the ESP8266 implementation showing 26 rules
on a page duplicating the last rule as the first one on the next page.
2020-05-09 23:43:12 +02:00
Gijs Noorlander 75261097ba [RN2483] Controller should also send to TTN when not connected to WiFi 2020-05-06 11:52:07 +02:00
Gijs Noorlander f7c5f0e88a [Shelly PLUG-S] Add template + build definition for Shelly PLUG-S
As mentioned a few times on the forum.
[one topic](https://www.letscontrolit.com/forum/viewtopic.php?f=5&t=7699)
2020-05-04 16:48:23 +02:00
Gijs Noorlander 932ffa9adb [Vagrant] Show Vagrant build as build origin on sysinfo page 2020-05-04 15:27:34 +02:00
Gijs Noorlander 3be16b2186 [PIO] Add Git branch description to build info 2020-05-03 12:22:47 +02:00
Gijs Noorlander da27bfd13c [PIO] Final fix for proper quote level per OS + store build platform 2020-05-03 11:50:14 +02:00
Gijs Noorlander 2afbd0f3ee [PIO] Fix showing binary file name in sysinfo page 2020-05-03 01:45:15 +02:00
Gijs Noorlander 784404792c [PIO] Generate filename at build, not in post processing
Generate filename, included in the build
Use post Python scripts to move files to the right directory
Use post Python scripts to generate .bin.gz files.
2020-05-03 01:05:20 +02:00
TD-er 9538a7198a Merge pull request #3042 from TD-er/bugfix/PVS_studio_issues
[Bugfix] PVS Studio issues
2020-05-02 16:11:05 +02:00
Gijs Noorlander 2704214f51 [ILI9341] Fix build error when building for 1M units 2020-05-02 14:46:37 +02:00
sakinit 75b7556d90 Fix ESP32 build if P001 is not included 2020-05-01 16:29:51 +02:00
Gijs Noorlander 64f15fb0c7 [PVS-Studio] Use correct array index in Plugin_Helper_serial.ino
May have been out of bound error on ESP32.
2020-04-30 01:08:41 +02:00
Gijs Noorlander 58c4a0c403 [PVS-Studio] Remove unused variable in SenseAir plugin 2020-04-30 01:07:38 +02:00
Gijs Noorlander d60e8dfcc1 [PVS-Studio] Use implicit cast to float in scheduler idle time stats 2020-04-30 01:07:07 +02:00
Gijs Noorlander 2e1366bf93 [PVS-Studio] Merge duplicate case statements 2020-04-30 01:05:25 +02:00
Gijs Noorlander a0af39cf10 [PVS-studio] Suppress char out of range warning in static data 2020-04-30 01:04:02 +02:00
Gijs Noorlander 875459f26b [PVS-studio] Fix possible out of range array access 2020-04-30 01:03:16 +02:00
Gijs Noorlander 62679022cb [PVS-Studio] Suppress char out of range warning in static data 2020-04-30 01:01:20 +02:00
Gijs Noorlander 8907d5544e [PVS Studio] Framed OLED: Simplify check for turning on display
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression.
2020-04-29 23:46:47 +02:00
Gijs Noorlander 000399ba86 [PVS-Studio] SSDP Specify printf format
[CWE-134](https://cwe.mitre.org/data/definitions/134.html?utm_source=platformio&utm_medium=piohome):It's dangerous to call the 'printf' function in such a manner, as the line being passed could contain format specification. The example of the safe code: printf("%s", str);
2020-04-29 22:53:02 +02:00
Gijs Noorlander 703a344cc9 [PVS-Studio] ESPEasy p2p incorrect check for binary data
[CWE-571](https://cwe.mitre.org/data/definitions/571.html?utm_source=platformio&utm_medium=piohome):Expression 'packetBuffer[0] != 255' is always true. The value range of char type: [-128, 127].
2020-04-29 22:49:14 +02:00
Gijs Noorlander fffb5facde [PVS-Studio] CWE-1164:The 'note' variable was assigned the same value. 2020-04-29 22:08:27 +02:00
Gijs Noorlander 832e6e37ef [PVS-Studio] Redundant check in rules conditionMatchExtended
[CWE-571](https://cwe.mitre.org/data/definitions/571.html?utm_source=platformio&utm_medium=piohome):A part of conditional expression is always true: (condOr < condAnd).
2020-04-29 21:53:52 +02:00
Gijs Noorlander 99517ba012 [PVS-Studio] File info struct in webserver rules not all initialized 2020-04-29 21:48:44 +02:00
Gijs Noorlander cc092cfad7 [PVS-Studio] Error log in rules not complete 2020-04-29 21:47:50 +02:00
Gijs Noorlander ec136c7263 [PVS-Studio] FrasmedOLED display pointer dereference before check !NULL 2020-04-29 21:44:01 +02:00
Gijs Noorlander 710eb7d3fc [PVS-Studio] Missing break; in switch statement (C018 RN2483 TTN) 2020-04-29 21:42:48 +02:00
Gijs Noorlander 5ba0dc4608 [PVS-Studio] Not all members of a class are initialized 2020-04-29 21:41:55 +02:00
Gijs Noorlander ff4c9a20e9 [PVS-Studio] EventStruct has no operator= 2020-04-29 21:41:07 +02:00
Gijs Noorlander abf6ffd292 [PVS-Studio] sizeof(Device) -> Device.size()
The 'sizeof (Device)' expression returns the size of the container type, not the number of elements. Consider using the 'size()' function.
2020-04-29 21:39:48 +02:00
Gijs Noorlander 31aa26a474 [Docs] Add documentation for P097_Touch and P095_ILI9341 2020-04-26 00:11:44 +02:00