1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

implemented ruuvi_ble and ruuvitag with RAWv1 and RAWv2 protocol (#810)

* implemented ruuvi_ble and ruuvitag with RAWv1 protocol

fixes esphome/feature-requests#313

* lint

* updated data calculations

* cpp lint

* use string directly in message

Co-Authored-By: Otto Winter <otto@otto-winter.com>

* add RAWv2 protocol support

* fix ICON_SIGNAL

* typo

* calculation correction and cleaning

* c++ lint

* added acceleration and fixed typo

* removed remote_receiver to reduce firmware size

remote_receiver also in test1.yaml
This commit is contained in:
Alexander Leisentritt
2019-11-07 22:10:09 +01:00
committed by Otto Winter
parent 003326f2eb
commit 3e8fd48dc0
10 changed files with 429 additions and 7 deletions

View File

@@ -95,7 +95,7 @@ sensor:
temperature:
name: "Xiaomi LYWSD02 Temperature"
humidity:
name: "Xiaomi LYWSD02 Humidity"
name: "Xiaomi LYWSD02 Humidity"
- platform: xiaomi_cgg1
mac_address: 7A:80:8E:19:36:BA
temperature:
@@ -160,6 +160,28 @@ sensor:
name: "Lightning Energy"
distance:
name: "Distance Storm"
- platform: ruuvitag
mac_address: FF:56:D3:2F:7D:E8
humidity:
name: "RuuviTag Humidity"
temperature:
name: "RuuviTag Temperature"
pressure:
name: "RuuviTag Pressure"
acceleration_x:
name: "RuuviTag Acceleration X"
acceleration_y:
name: "RuuviTag Acceleration Y"
acceleration_z:
name: "RuuviTag Acceleration Z"
battery_voltage:
name: "RuuviTag Battery Voltage"
tx_power:
name: "RuuviTag TX Power"
movement_counter:
name: "RuuviTag Movement Counter"
measurement_sequence_number:
name: "RuuviTag Measurement Sequence Number"
time:
- platform: homeassistant
@@ -210,10 +232,6 @@ binary_sensor:
- platform: as3935
name: "Storm Alert"
remote_receiver:
pin: GPIO32
dump: []
esp32_ble_tracker:
#esp32_ble_beacon: