Commit Graph
770 Commits
Author SHA1 Message Date
Chris van Marle 2c6526fcdb Publish state to same channel as received signals (#855)
Received signals are published to the subjectRF2toMQTT topic (/RF2toMQTT). However, echos of mqtt messages are published to the topic subjectGTWRF2toMQTT (/433toMQTT). That seems quite inconsistent.
2021-01-30 14:53:45 -06:00
Florian 39568d8288 [DOC] Tip correction 2021-01-29 17:23:29 -06:00
Nikolay Chapkin 3884630727 Fix ClearGlass CGG1 and CGP1W sensors recognition (#849)
* Fix ClearGlass CGG1 and CGP1W sensors recognition

* CGG1 parsing refactoring
2021-01-29 16:34:28 -06:00
Northern Man 09eab93593 Update to SmartRC-CC1101-Driver-Lib@^2.5.4 and removal of workaround from #847 (#851)
Tks to @LSatan workaround no longer needed
https://github.com/LSatan/SmartRC-CC1101-Driver-Lib/issues/65
2021-01-26 16:29:37 -06:00
Northern Man 25ea909c08 Support for changing CC1101 Receive and Transmit Frequency (#847)
* Support for changing CC1101 Receive and Transmit Frequency

* Docs

* Resolve feedback

* Update Somfy module to use Global receiveMhz

ELECHOUSE_cc1101.SpiStrobe(CC1101_SIDLE); // Idle receiver prior to
setting a new frequency
2021-01-22 05:53:39 -06:00
白月秋见心 d84f64b23f Feature/add shtc3 (#843)
* Add SHTC3

* remove adc config
2021-01-05 19:17:39 -06:00
Florian 1c18e83c98 [DOCS] Document valueAsASubject option
#833
2021-01-02 15:55:16 -06:00
Florian 90a7646508 [DOCS] Add title to support 2021-01-02 15:42:59 -06:00
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