Commit Graph
740 Commits
Author SHA1 Message Date
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
Charles R 546b27773f Pilight identifier (#782)
* feat: add device_id as unique identifier

* fix: walk on entire array
2020-10-15 07:40:24 -05:00
Charles R 43e5629304 feat: add protocol into topic (#778) 2020-10-13 15:21:58 -05:00
Charles R cc201c490c feat: add device_id as unique identifier (#776) 2020-10-13 15:17:40 -05:00
Jon 20b728a773 Dont make HADiscovery switch if RF is receive only (#772) 2020-10-05 13:52:18 -05:00
orrpan 03ab7f7d0e update temperature unit to work in HA (#768)
* update temperature unit to work in HA
* use only one temperature sensor for HA
2020-10-04 14:56:34 -05:00
Northern Man 7cd1e9a1ab The reset button function does not work if TRIGGER_GPIO = 0 (#770)
After a bit of a challenge getting the config correct, determined that the reset button option doesn't work on a ESP32 due to the definition logic
2020-10-01 13:10:12 -05:00
Jon 1780458683 Add ability to inverse notify PIR LED (#765) 2020-09-22 13:04:29 -05:00
Florian 55436c29fa [BT] Fix rssi value type
value can be be negative or positive from the user MQTT command
2020-09-17 13:45:25 -05:00
Florian 4b265384b2 DOCS improvements 2020-09-17 13:43:05 -05:00
Florian 7f1cafba61 Update README.md
Change link to the items list, add support methods
2020-09-10 08:10:14 -05:00
Florian 046a251b0c [CI] Enable test env removing during the publish process 2020-09-09 16:19:18 -05:00
melyux eef8c5048d Fix ESPiLight transmission error reporting (#762) 2020-09-09 06:07: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
Michał Rybicki caad5dde1a Add iNode Energy Meter support (#755) 2020-09-03 16:09:34 -05:00
Florian 0600b89190 Add LYWSD03MMC from ATC (#754)
https://github.com/atc1441/ATC_MiThermometer

long instead of double
and cast when used
2020-09-03 06:18:11 -05:00
Charles R 347783a1c4 Fix pilight value as subject (#752)
* feat: pilight gateway now send value

* feat: when device id is empty, try fo find it from the message payload
2020-09-02 16:46:37 -05:00
Florian ca3bc436ee Increase the size of MQTT password (#751)
avoid #716
2020-09-02 15:27:35 -05:00
Florian 6d1d1ac50d [BT] Remove voltage class (#750)
and correct wrong comment
2020-09-02 14:49:38 -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 5e2d86e963 Add publish only BLE sensors function (#741)
don't publish the non identified BLE devices when requested (at build or by MQTT setting)
2020-08-26 17: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 605da549b9 Docs improvements (#742)
and link to https://compatible.openmqttgateway.com
instead off spreadsheet
2020-08-25 05:42:53 -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
Jon 418c1d0c81 Minimize decompose, remove calls to extract_char, check data length before parsing (#724) 2020-08-15 08:12:27 -05:00
Florian a53f8b4339 [DOC] Move default wifi password name (#731) 2020-08-14 08:13:28 -05:00
mpember 3f8468d9ad Allow prod_env.ini parameters to override User_config.h (#730)
* Allow prod_env.ini parameters to override User_config.h
2020-08-10 08:44:29 -05:00
Florian 497d4c647d [DOC] Binary upload improvement (#728)
fit with new version of ESP download tool
2020-08-09 10:56:40 -05:00
Florian 519eb73dee Documentation update (#723)
-add JQJCY01YM
-add protocol add guidelines
-minor changes
2020-08-06 18:42:34 -05:00
Florian da63fd3606 JQJCY01YM BLE formaldehyde, temperature, humidity and battery sensor integration (#722)
* Add JQJCY01YM Formaldcehyde detector

The device publish also the temperature, humidity and battery

* Reduce ServicedataMinLength

so as to read battery data of this device and others
2020-08-05 19:46:50 -05:00
Jon 0cd2464bf1 BT MAC addr ':' fix (#721) 2020-08-05 10:17:05 -05:00
JonandJonathan Wells 15e7f5ab1a Prevent storing duplicate RF/IT signals (#717)
* Check if signal is duplicate

* Fix storing duplicate RF/IR Codes

* Lint formatting

Co-authored-by: Jonathan Wells <jonathan-wells@oist.jp>
2020-08-04 12:18:21 -05:00
Florian 8d79bebab8 [breaking] Refactor the BLE devices identification (#720)
* [breaking] Refactor the BLE devices identification

generalize the use of the mac address with : for the lists, white, black and internal identification
Move structures from config_BT.h to ZgatewayBT.ino
update doc

* Move minRssi to INO and optimizations

change Minrssi name to match other variable convention
Optimize the add of : to mac address
Reduce the use of abs()

Note: I cannot move BLEinterval to the ZgatewayBT.ino due to its use on main.ino
2020-08-04 12:03:22 -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 60d173ff51 Correct value entered into temperature conversion (#713)
from C to F
The division by 10 must be done before the conversion.
2020-07-27 07:57:55 -05:00
Florian c6966aa0d9 Remove Test_config.h file (#712)
* Remove Test_config.h file
It was used for Arduino IDE CI, as we are now using PIO this file is no longer needed
And remove test folder.
2020-07-27 06:56:34 -05:00
Jon 61f7843e40 [Breaking Change] Change HCSR501 MQTT key to 'presence' (#710)
* Change HCSR501 MQTT key to 'presence'
2020-07-26 08:14:06 -05:00
JonandJonathan Wells f9787312a3 Fix ESPWifiManualSetup / Move MQTT variables (#704)
* Move MQTT configs to main.ino

Co-authored-by: Jonathan Wells <jonathan-wells@oist.jp>
2020-07-24 18:34:54 -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