Commit Graph
62 Commits
Author SHA1 Message Date
Florian 417eb99d40 uncomment last added board (#825) 2020-12-04 07:12:37 -06:00
Florian 67b624c1fa Add ESP32 Lolin32 Lite board definition (#822) 2020-12-03 07:47:47 -06:00
Florian e7cecf64d2 Update espilight library version - DG-R8H support (#789)
in particular to integrate DG-R8H support
2020-10-27 14:20:37 -05:00
DieKatzchen 3df16d2d52 Basic RS232 Communication (#780)
* Added ZGateway RS232
2020-10-19 13:48:58 -05:00
Florian ae3253315f Update esp8266 platform
to 2.6.2
2020-09-04 13:17:50 -05:00
Florian 72aa577999 OLIMEX ESP32 Replace led definition 2020-09-03 17:25:00 -05:00
Florian 74b516118d Add default include_dir to platformio section (#757)
#748
point to main as we are not using default include folder
2020-09-03 17:02:35 -05:00
Florian 5810420d93 Add ESP32 Olimex ethernet gateway (#747)
-Add ethernet board
-Add wifi board
-Add ethernet management for ESP32
2020-09-02 14:16:48 -05:00
Oli Wright ef39e14497 Add new actuator : PWM controller (#737)
* Initial generalization from a PWM LED controller, to a PWM controller.
Allow the config file to set the name of each channel and the number of channels.
Fade time is now per-channel, so MQTT messages can genuinely set an individual channel, and specify the fade time for that channel.
The default gamma is configurable in the config.
2020-09-02 11:17:36 -05:00
Florian 7b9944d1ca Refactor LED management (#745)
-replace low power led by led info
-enable to change the led ON value
-go upper case for the led macros

Also transform BLE connect warning to notice in log
Add Sonoff RF Bridge LED
2020-08-27 16:24:23 -05:00
Florian 8e0c1e5e51 [CI] Identify test envs (#744)
so as to avoid publishing their bin files and confuse users
2020-08-25 18:36:14 -05:00
Florian e27acee4b6 [IR] Update IRRemoteESP8266 to 2.7.9 (#743)
Add HITACHI_AC344 CORONA_AC MIDEA24 ZEPEAL SANYO_AC
2020-08-25 09:53:25 -05:00
Florian 1d7b569c6a Add IR emitter inverter (#738)
#611 for m5stickc
2020-08-22 20:45:59 -05:00
Florian 9d22f242e8 [BLE] Callback leads to memory decrease correction (#740)
and library update
2020-08-22 20:45:39 -05:00
Florian d6d42bfce5 BLE sensors data through a connect, LYWSD03MMC and MHO-C401 add (#736)
* Add LYWSD03MMC and MHO-C401 device
and an associated BLE connect mechanism as these devices advertise only encrypted data
-free manufacturer data
-update library

* Implement scans number before connect
-Add the possibility to do a connect every X scan
-Rename variables for consistency
-Some refactoring for improved code reading
2020-08-18 12:28:45 -05:00
Florian e9910a9165 Arduino NimBLE support (#732)
* NimBLE-arduino support

* Decorrelate discovery from BLEScan

To avoid Stack canary watchpoint triggered and store sensor model into BLEdevice vector
2020-08-17 09:51:58 -05:00
Florian d4457f817a Enable BT use for Arduino Mega (#718)
* Enable BT use for Arduino boards

by adding a ArduinoSTL library

* Update doc
2020-08-04 11:40:16 -05:00
Florian 4f84e08219 Identify IRremote library commit (#719)
and avoid pointing to the last revision
2020-08-03 14:30:50 -05:00
Leon Kiefer b5527d2e7b added support for secure TLS connections (#699)
* added support for secure TLS connections
on ESP32 and ESP8266 close #101

* added TLS test builds

* added documentation for TLS
fixed some some issues in the documentation

* added documentation for error code=54
2020-08-02 11:29:28 -05:00
Florian 1ae4903af1 Add Avatto/Bakeey IR boards definition (#706)
* Add Avatto/BAKEEY IR boards definition

Tested with S06
-Emitting IR OK
-Receiving IR OK
-TRIGGER GPIO OK
-led info, brief but OK
2020-07-24 18:30:34 -05:00
FlorianandLeon Kiefer 6e9b170c00 [RF] handle 64 bits values (except for UNO) (#698)
* handle 64 bits values, except for UNO
Arduino UNO is not enough powerfull to handle properly uint64_t in terms of memory so differenciate the variable type depending on the board type
With this configuration ATMega will not be able to receive with simpleReceiving 64 bits values. Of course Json will work with 64 bits values for this board.
* Simplify jsondata.success() condition
* Renamings and optimize deduplication functions
* replace 2 dimensions array by a structure so as to handle the time with an uint32_t  when using an ESP (instead of a uint64_t)
* change storeValue and isAduplicate function names
* point to the rcswitch revision with the new 40 bits protocol

Co-authored-by: Leon Kiefer <leon.k97@gmx.de>
2020-07-18 17:14:19 -05:00
Florian 5772a35425 Add M5Atom board (#697)
based on pico32
BT, IR sending available
TODO RGB LED support
2020-07-10 12:02:58 -05:00
Florian 6aa2a3c1c3 Platfomio libraries definition update (#694)
Change sha commit separation key for PIO
complete the name of htu21 library,
PIO Add github full path to the libraries def
and add rfm69spi library
and add rfm69 low power
2020-07-08 10:42:08 -05:00
Jon 0e257a58c1 Add AHTx0 Sensor (AHT10 and AHT20) (#687)
* Add AHT Sensor
2020-07-04 09:40:06 -05:00
Florian 2d5633b113 Update RCSwitch version
so as to avoid core dump when using RCSwitch on ESP32 and having wifi disconnection #620
2020-06-21 11:55:14 -05:00
Florian 3bee160b48 IRRemote ESP8266 Lib update and add new protocols (#641) 2020-06-19 13:11:15 -05:00
Jens Balvig 1e599415fc Automatically set mqtt buffer size (#637)
* Automatically set mqtt buffer size

Current versions of pubsubclient allows the buffer size to be set
dynamically: https://github.com/knolleary/pubsubclient/pull/282

We can take advantage of this to avoid having to modify one of the
dependencies and instead automatically up the buffer size when a
powerful board is detected.
2020-06-18 05:36:40 -05:00
Florian c9e6de1a1c Replace pin by gpio (#631)
* replace _PIN by _GPIO

* add mention about the goal of -all binaries

* [breaking] change json key from "pin" to "gpio" for actuatorONOFF
2020-06-13 20:04:36 -05:00
Florian 3e734671cc Differentiate 2G gateway env
To avoid a build error due to concurrency of modules
2020-06-10 19:02:09 -05:00
Florian 312337acb4 update pubsubclient library version
2.7 to 2.8
2020-06-09 20:54:30 -05:00
Florian 01bb4ecf65 update ESP Arduino framework version 2020-06-09 20:53:54 -05:00
Florian a82bbe684a Optimizations when using low power mode (#608) 2020-05-07 17:28:27 -05:00
Jon f23fcb672a Remove duplicate weatherstation library definition (#604) 2020-05-04 20:04:20 -05:00
Jonathan 125e7d4f70 Fixing Issues #593 & #591 (#594)
* Add condition to check Low Power Mode

* Added WeatherStation libs platform.ini
2020-05-01 08:18:56 -05:00
JonathanandJonathan Wells cf641851af Added HTU21 Sensor (#588)
* Added HTU21 Sensor Support

Co-authored-by: Jonathan Wells <jonathan-wells@oist.jp>
2020-04-29 08:22:17 -05:00
Florian 30147140bd Add M5 boards compatibility and low power mode (#586) 2020-04-26 19:56:10 -05:00
orrpan ac743ed350 CC1101 433.92MHz support for pilight, rf and rf2 (#585)
* adds CC1101 (433mhz) support esp32 and esp8266
2020-04-23 14:23:47 -05:00
Martin Korbel 8842ea1f4b Bump WeatherStation version (#552) 2020-02-16 11:29:16 +01:00
Florian f3c9d6dd90 Lean on Arduino log library instead of custom logging methods (#546)
* Lean on Arduino log library instead of custom logging methods
2020-02-09 16:01:52 +01:00
Florian 824346b19c Add compatible fastled version 2020-02-09 16:01:18 +01:00
Lars Wessels a99d5fb670 added support for DS1820 1-wire temperature sensor(s) (#538) 2020-01-23 12:11:29 -06:00
Martin Korbel 4115f2a723 Add support for weather stations (#532)
* Add support for weather stations
* Add configuration for ESP8266
2020-01-20 21:04:58 +01:00
Florian aeb00c4a7a correct build error when using ESPWifiManualSetup
#529
add a test environment so as to verify this functionnality on [CI]
2020-01-14 20:59:01 +01:00
Florian c83b952fdc memory optim for UNO (#521)
reduce gateway name
reduce parameters size
correct issue when using advanced config network
comment simple receiving per default (it is set in platformio.ini when necessary)
2020-01-03 20:53:06 +01:00
Florian 235413a3cd add m5stick board (#499)
Add both board to automatic build with:

BLE (both)
Trigger pin for parameters reset (both)
IR for m5stick
Button reading for m5stack
Add also Trigger pin for parameters reset on m5stick-c
2019-11-26 22:22:17 +01:00
Florian f13c110794 update esp32 and esp8266 platforms (#490) 2019-11-08 22:07:08 +01:00
Florian 3a4ccdcc9f Update ESP IR library & IR gateway improvments (#480)
* update irremoteesp8266

* add new protocols, simplify API and publish protocol name

-added the following protocols:
  #define IR_LEGOPF
  #define IR_MITSUBISHI_HEAVY_88
  #define IR_MITSUBISHI_HEAVY_152
  #define IR_DAIKIN216
  #define IR_SHARP_AC
  #define IR_GOODWEATHER
  #define IR_INAX
  #define IR_DAIKIN160
  #define IR_NEOCLIMA
  #define IR_DAIKIN176
  #define IR_DAIKIN128
  #define IR_AMCOR
  #define IR_DAIKIN152
  #define IR_MITSUBISHI136
  #define IR_MITSUBISHI112
  #define IR_HITACHI_AC424
-changed the send API, now you can use the protocol name directly exemple NEC instead of IR_NEC
-publish the protocol name to MQTT added to the number
-replace long by long long

* missing repeat definitions

and set default repeat value to 0

* move protocol name retrieving outside arduino scope

* put all protocols with capital letters

* modify doc

* add long long activation for arduino json on test_config file
2019-11-02 12:49:05 +01:00
1technophile 27c36a5908 add sonoff basic definition
add sonoff basic parameters to platformio.ini file
2019-11-01 17:40:43 +01:00
Florian d231c5bda1 add m5stick-c board (#473) 2019-10-22 21:07:59 +02:00
1technophile 4d0ed354f7 change espilight version 2019-10-21 19:01:42 +02:00