Commit Graph
762 Commits
Author SHA1 Message Date
Carlos Duarte Do Nascimento (Chester) e4865749b9 Declare sendIdentifiedPRotocol so MQTTtoIR finds it (#840)
* Declare sendIdentifiedPRotocol so MQTTtoIR finds it

Avoids this compilation error on Arduino IDE 1.8.13:

```c
ZgatewayIR:258:90: error: 'sendIdentifiedProtocol' was not declared in this scope
         signalSent = sendIdentifiedProtocol(protocol_name, data, hex, valueBITS, valueRPT);
```                                                                                          ^

* Remove trailing spaces

I *think* that was the linter complaint (given it shows no message, and before/after parts in diff are visually identical
2020-12-31 12:41:39 -06:00
Brahma FearandDave Myers 85dc3cea6f sonoff rfbridge direct hack - first commit (#837)
* sonoff rfbridge direct hack environment add

Co-authored-by: Dave Myers <dmyers@standrews-de.org>
2020-12-23 20:12:11 -06:00
Thibault Cohen 0c01ded583 HASS Discovery - Create BLE devices automatically to gather entities (#826)
Create automatically devices into Home Assistant through MQTT auto discovery

Before, only entities were created automaticaly and they were not linked to a device.
2020-12-22 06:31:13 -06:00
Leon Kiefer a83f725bad Npm docs setup (#834)
* added vuepress to package json
* use vuepress from package json
2020-12-13 12:49:13 -06:00
Leon Kiefer a7575b2c3a added ZactuatorSomfy (#816)
* added ZactuatorSomfy
* added Somfy RTS docs
2020-12-13 12:46:10 -06:00
Florian 4d03aa441b [DOCS] Add Home Assistant user creation note (#831)
#793
2020-12-11 16:18:33 -06:00
Florian e17b5b9c9d Add low power to M5StickC Plus (#830) 2020-12-06 16:59:36 -06:00
Florian d450c505f2 Add M5 SYS parameters to auto discovery (#829) 2020-12-06 13:23:00 -06:00
Florian 6ae09d8bb6 Add board M5Stickc Plus (#828) 2020-12-06 12:06:50 -06:00
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 d172bed5ae Implement multi gateway discovery (#819)
Enable HASS to retrieve data of remote sensors from multiple gateways by using wildcards for the location (instead of default:home) and the gateway name (instead of default:OpenMQTTGateway)
2020-12-03 06:11:11 -06:00
Thibault Cohen 979211ab7e Add Qingping CGP1W support (#820) 2020-12-02 19:40:57 -06:00
jumika 7e7b9a6f29 ifndef condition for time_avoid_duplicate (#818)
Allow time_avoid_duplicate to be configured by build_flags.
2020-12-01 15:53:17 -06:00
Florian 8b34fbb904 [DOCS] - integration switch (#817)
Use json insteal of simplePublishing / receiving
2020-11-29 17:40:43 -06:00
Florian b2c05156b2 Srfb bugs (#807)
* Correct buffer processing

was missing an instruction due to a previous refactoring

* Correct duplicate condition

* Avoid publishing \n into the raw value

* Merge extract_char and value_from_service_data functions
2020-11-28 17:16:15 -06:00
melyux fd2d25bf31 Add ability to specify repeats for raw Pilight strings (#803)
* Add ability to specify repeats for raw Pilight strings

* Updated RF Pilight doc to add raw transmission tut

Added information about transmitting raw messages using the MQTTtoPilight topic, including using the new repeats functionality. Fixed some scattered English mistakes.
2020-11-24 21:58:03 -05:00
adamrbell 5890bf7be6 Fix for CGD1 detection (#810)
Before the fix:
{"id":"58:2D:34:50:A0:D0","name":"Qingping Alarm Clock","rssi":-82,"distance":11.4949,"servicedata":"080cd0a050342d580104c0007c02"}
The servicedata string does not match any pattern so is not parsed

After the fix:
{"id":"58:2D:34:50:A0:D0","name":"Qingping Alarm Clock","rssi":-83,"distance":12.61001,"model":"CGD1","tem":19.2,"tempc":19.2,"tempf":66.56,"hum":63.5}
The parser is invoked and the data is output as expected.

There are probably too many brackets (I'm not a C dev) and I can't test on whatever version of CGD1 broadcasts 080caf or 080c09 servicedata strings.
2020-11-24 10:19:28 -06:00
tiagofreire-pt a184355f9b Xiaomi Mi Scale V2 BLE (XMTZC05HM) configuration (#796)
Xiaomi Mi Scale V2 BLE (XMTZC05HM) yaml configuration for Home Assistant
2020-11-08 06:30:09 -06:00
Tiutiu Marius Cristianandmtiutiu a6e6d98262 [ESP32 OTA] Critical fix - Make sure that the BT coreTask gets suspended when not needed (#795)
* make sure that coreTask gets supended when not needed

Co-authored-by: mtiutiu <marius.tiutiu@softvision.com>
2020-11-06 14:02:05 -06:00
Florian 9a66c9ef09 HASS gateway Discovery improvements (#792)
* MQTT discovery improvements

-remove gatewayBT
-remove device class formaldehyde (not existing in HASS)
-add SYStoMQTT new parameters
-attach connectivity parameter to the device
-add BT gateway infos and switches
-refactor modules storage and publication
2020-11-04 11:53:55 -06:00
hbraamandhbraam cabc8695eb Add rf2 HASS autodiscovery (#791)
* Add Home Assistant auto discovery feature

Add HA auto discovery to RF2.
For each unique combination of unit, groupbit and address a switch will be added to Home Assistant called:  "RF2_[unit]_[groupbit])_[address].
As RF2 433Mhz switches do not render their state, no state topic will be provided in the discovery.
This will cause the switch to be in optimistic mode in HA with separate on and off icons.
The two separate on/off icons allow for subsequent on commands to support the dimming feature of KAKU switches like ACM-300.

Co-authored-by: hbraam <hbraam@users.noreply.github.com>
2020-11-03 14:39:28 -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
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