Commit Graph
41 Commits
Author SHA1 Message Date
1technophile e14c70cace prepare v0.9.3beta 2019-11-08 22:12:35 +01:00
Florian 12bd11bbe1 make ON OFF actuator more flexible (#481)
* make ON OFF actuator more flexible

enable to choose the pin when sending the MQTT command

* add on off environment example
2019-11-04 20:51:29 +01:00
1technophile 81201cf7de Wifimanager must ne declared at global scope to handle wifi disconnection
#461
if not the reconnection is random
2019-11-04 20:45:57 +01:00
1technophile 1c147e3289 set the name of the wifi AP to the gateway name 2019-11-02 12:57:27 +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 82c9b7ce55 add ESP scope to enable Arduino boards build 2019-11-02 11:58:41 +01:00
1technophile 64313db6cb replace defined on ESP by wifi manual setup macro
indeed if we use ESPWifiManualSetup we don't need wifimanager and its reset button
2019-11-02 08:25:02 +01:00
1technophile 337028ea63 add Xiaomi MiLamp Night led on BLE gateway
report detected mouvement through a "presence" set to true (will never be false for info) & a darkness attribute:
{"presence":true,"darkness":46}
the ble interval must be set to 0 if you want to scan permanently for movements
2019-11-01 15:29:05 +01:00
Florian 82c7d0c781 Miband steps (#478)
add mi band steps reading
2019-11-01 10:25:10 +01:00
1technophile 1fa5d48e74 W5100 doesn't detect linkStatus
implement a bypass
2019-10-30 07:07:34 +01:00
Florian d231c5bda1 add m5stick-c board (#473) 2019-10-22 21:07:59 +02:00
Florian 6af57f1db5 add a controller deinit to earn some ble stability (#472)
discussed here
https://community.openmqttgateway.com/t/esp32-doesnt-stay-online/570
2019-10-22 19:22:57 +02:00
Florian d196f387ae Improve wifi connection management (#471)
-avoid issues with WIFI automatic reconnection on ESP32
-avoid reset of ESP32 when wifi is disconnected
-enable to erase the wifi/mqtt settings if; the mqtt broker wasn't connected once or if the TRIGGER_PIN is pushed for a long time >10s
2019-10-19 21:59:46 +02:00
1technophile 4342a1521c Remove extra informations to avoid PIO build error
https://community.openmqttgateway.com/t/openmqttgateway-v0-9-2-build-error-on-win-10-x64/627/6
2019-10-12 15:57:39 +02:00
kanttti e4de45f219 Add Unit of Measurement for MiFlora Fertility and Fix MiJia BT battery to percentage (#466)
* adds unit for MiFlora fertility value

* fixes MijiaBT battery unit from V to percentage
2019-09-29 21:21:19 +02:00
kanttti 07e32847fa fixes data array length when reversing data (#465) 2019-09-29 21:20:00 +02:00
1technophile d2dd613855 Avoid OMG crash when emitter txpower >0
#457
2019-09-20 23:34:45 +02:00
1technophile 513cc4b7ac LORA: Default CRC to true
#445
2019-09-20 23:34:04 +02:00
1technophile 818be244dd ESP32 Avoid overlap between IR_RECEIVER_PIN and RF_RECEIVER_PIN
#443
2019-09-20 23:33:38 +02:00
Florian 1f96635978 Add Ble Xiaomi scale compatibility (#459)
* Add of Xiaomi Miscale v1 & v2

Discussed here:
https://community.openmqttgateway.com/t/ble-scale-support/608/16
2019-09-20 23:28:29 +02:00
mpember 30ff181a57 Add support for HC-SR04 sensor (#453)
Adds support for HC-SR04 Ultrasonic distance snsor.
2019-09-10 20:38:04 +02:00
mpember e4683b1812 Correct missing module string for DHT (#444)
The DHT module was not being appended to the modules string reported in the SYStoMQTT messages
2019-08-26 07:00:06 +02:00
Carlos Duarte Do Nascimento (Chester) ed93a84448 Avoid spam of buffer message in hcsr501 (#442)
* Avoid printing the buffer message on every iteration of the main loop

* Print message when the motion starts (to match the motion end one)
2019-08-13 06:56:39 +02:00
1technophile ca7d5d4195 Add of SONOFF RFR3 environment
Relay ok
Button press ok
RF reception 433toMQTT ok
To have the RF reception you need to connect D0 of SYN470 to GPIO4 of ESP8285. Instruction to follow. Do not do that if you are not confortable with soldering and don't have an electrical background.
2019-08-08 21:27:34 +02:00
1technophile c04e44c753 Prepare v0.9.2 2019-08-04 17:20:31 +02:00
BigDiandLeon Kiefer 0a9e8eaf35 Add basic FASTLED function initated by Joen (#433)
* merge FastLED part of Joen

Co-Authored-By: Leon Kiefer <leon.k97@gmx.de>
2019-08-02 10:20:58 +02:00
1technophile e20339857e format FS if begin() fail, to avoid setting lost when FS is not mounted
add of timeout parameter
2019-07-29 08:12:07 +02:00
1technophile 6795475e03 differenciate handling of disconnection between ESP and other boards 2019-07-26 12:34:29 +02:00
1technophile 60bc75f0b6 Correct datastring implementation going to the esp to reset if publishing value and protocol only 2019-07-26 11:50:54 +02:00
1technophile 4b0d3943ce Correct issue with interval being added and not set to the expected value
and add debug infos
2019-07-26 11:13:01 +02:00
1technophile 87c85eabe0 if wifi is lost the ESP was blocked on a "MQTT connection loop"
To avoid that check the status of wifi connection before trying to connect to mqtt
Add of traces
2019-07-26 10:55:17 +02:00
1technophile e0c8d93802 don't remove basic pub functions when no simplepublishing 2019-07-26 10:49:16 +02:00
1technophile b938dd3052 Correct mac adress displaying partialy
due to not enough buffer size
2019-07-25 20:52:59 +02:00
1technophile fd90d26873 Enable trace of IP 2019-07-25 14:52:41 +02:00
1technophile 131a731730 Uncomment default gateways to enable to set them per env in platformio.ini 2019-07-25 11:22:28 +02:00
1technophile 9184c00b9d Add ip and mac for esp
and ip for arduino
2019-07-25 10:42:51 +02:00
1technophile 1a5d808de9 Code size reduction for UNO 2019-07-25 10:41:21 +02:00
1technophile c1242f7c91 Enable to change Gateway name in platformio ini file
by setting the build_flag
  '-DGateway_Name="OpenMQTTGateway_ESP32"'

for example
2019-07-25 06:50:11 +02:00
Rotzbua 798b987941 fix preprocessor error (#428)
error: macro names must be identifiers
2019-07-22 15:32:43 +02:00
1technophile 74939f63ed correct non pertinent call to BTtoMQTT when using ESP32
BTtoMQTT is handled as a task whit ESP32
2019-07-20 21:04:13 +02:00
Florian 8471585d3d Platformio integration (#424)
* adaptation of structure to platformio

* also remove zgatewayRF315 (not usefull)

* replace boolean by bool

#155
2019-07-18 22:45:45 +02:00