Commit Graph
593 Commits
Author SHA1 Message Date
Florian db8df1ddf6 Hass discovery improvments (#512)
Rename set commands to config
correct json buffer size and gateway name
replace state to cmd
replace set by config
add restart and erase command
add unicity to gateway command switches
BLE devices shouldn't be child of the gateway
make the BTtoMQTT topic consistent with other definitions
2019-12-20 23:01:56 +01:00
1technophile e4d96b2bfd Enable to set led into platformio.ini file 2019-12-15 13:50:29 +01:00
1technophile 25375bb37c unnecessary pub functions removing
and use OMG method instead of low level ones
2019-12-15 09:32:15 +01:00
1technophile 1eebf138c2 add version tag to documentation 2019-12-14 20:48:39 +01:00
Florian ae33ea7458 publish discovery once at each MQTT connection with retain flag set true (#507)
* publish discovery once at each MQTT connection with retain flag set to true

#448
2019-12-14 19:17:09 +01:00
1technophile 3948a14db9 Add warning to inform about risk of changing BLE scan duration for ESP32
#508
2019-12-14 18:49:24 +01:00
Florian e44717bac7 add wifi advanced setup into user_config.h (#506)
* add wifi advanced setup into user_config.h

#496

* add advanced network config for wifi
2019-12-14 18:18:30 +01:00
1technophile 7f9d8d18da Apply VSC auto format to the code and indent macros for readability 2019-12-14 17:14:36 +01:00
1technophile f7ec81ffaa remove string usage for topic comparison 2019-12-14 11:10:12 +01:00
1technophile 7f16d00a55 Change topics concatenation method
Correct regression introduced by #503
Nevertheless this method needs to be optimized to avoid the use of string.
2019-12-13 23:25:09 +01:00
Florian c0ddf77c9f Add VegTrug (Mi Flora like) sensor (#500)
https://community.home-assistant.io/t/anyone-used-a-plant-sensor-other-than-xaiomi/150868/2
2019-12-08 14:10:37 +01:00
Florian 17809b9d78 [CI] recover tag name from TRAVIS instead of having it hardcoded (#505) 2019-12-07 15:00:40 +01:00
Florian 7384455fb9 Improve Wifi automatic reconnect for ESP32 (#504)
* do not launch a ble scan if mqtt client is disconnected

* add wifi.begin when disconnected

https://github.com/espressif/arduino-esp32/issues/2501
2019-12-07 13:45:10 +01:00
Florian 4b1f09b06b Wifi managers improvements (#503)
* Add parameters to wifi manager: gateway name and base topic
Enable to restart the ESP and erase the parameters by MQTT
2019-12-07 10:18:42 +01:00
Florian a05fd01505 remove default path when cliking on sidebar menus (#502)
change link to sources

add credits and some shape for readme

add cleargrass with air pressure and mi band

add PWA

add plugins

Add new boards

improve doc with boars and ble devices
2019-12-04 21:18:32 +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 2db4da014d Add of cleargrass temperature, humidity and air pressure sensor (#494)
* cleargrass temperature, humidity and air pressure sensor add
* new method of data retrieving for standard cleargrass (enable more frequent data reading)
2019-11-17 21:25:54 +01:00
Florian 6f73160d14 implement minimum rssi filtering (#482) 2019-11-12 20:48:23 +01:00
1technophile 34d31600ee Correct vuepress config error and add code auto deployment 2019-11-08 22:44:48 +01:00
1technophile e14c70cace prepare v0.9.3beta 2019-11-08 22:12:35 +01:00
Florian f13c110794 update esp32 and esp8266 platforms (#490) 2019-11-08 22:07:08 +01:00
Florian bb8ba4ba60 update (#489)
add fastled doc

add links to bootloaders and boot app0

Arduino IDE upload instructions add

add community
2019-11-08 22:03:52 +01:00
Florian c0204de40f automate libraries deployment for arduino IDE (#488)
make the use of arduino IDE easier by automating the libraries deposit into github releases
2019-11-08 21:35:28 +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
1technophile b23c261f8b avoid deployment of docs if no tag is set 2019-11-02 12:54:56 +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
Florian 21773300ec auto deployment (#479) 2019-11-01 20:06:31 +01:00
1technophile 27c36a5908 add sonoff basic definition
add sonoff basic parameters to platformio.ini file
2019-11-01 17:40:43 +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
Florian aa263dc559 Docs vuepress (#476)
Convert docs to vuepress
2019-10-30 22:15:40 +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
1technophile 4d0ed354f7 change espilight version 2019-10-21 19:01:42 +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 d7deb682e7 add pilight environment example for ESP32 2019-10-18 21:13:24 +02:00
1technophile 5b70dfcfb4 avoid build error on windows environments 2019-10-18 21:08:50 +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
1technophile cba3ed7e75 Add new boards examples
#452
2019-09-19 22:49:16 +02:00