Netgear LTE binary sensors (#9178)

This commit is contained in:
Anders Melchiorsen 2019-04-09 20:28:56 +02:00 committed by GitHub
parent 642975e27a
commit 63c958186e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@ ha_category:
- Network - Network
- Notifications - Notifications
- Sensor - Sensor
- Binary Sensor
ha_iot_class: Local Polling ha_iot_class: Local Polling
redirect_from: redirect_from:
- /components/notify.netgear_lte/ - /components/notify.netgear_lte/
@ -23,14 +24,11 @@ The Netgear LTE integration for Home Assistant allows you to observe and control
There is currently support for the following device types within Home Assistant: There is currently support for the following device types within Home Assistant:
- [Notifications](#notifications) - Notifications
- [Sensor](#sensor) - Sensors
- Binary Sensors
The integration provides: The integration supports sending notifications with SMS, reporting incoming SMS with events and reporting the modem and connection state in a number of sensors and binary sensors.
* a notify service that will send an SMS
* a sensor with the number of unread SMS messages in the inbox
* a sensor with data usage
## {% linkable_title Configuration %} ## {% linkable_title Configuration %}
@ -48,6 +46,10 @@ netgear_lte:
monitored_conditions: monitored_conditions:
- usage - usage
- sms - sms
binary_sensor:
monitored_conditions:
- wire_connected
- mobile_connected
``` ```
{% configuration %} {% configuration %}
@ -81,15 +83,11 @@ sensor:
monitored_conditions: monitored_conditions:
description: Sensor types to create. description: Sensor types to create.
required: false required: false
default: usage, radio_quality default: usage
type: list type: list
keys: keys:
cell_id: cell_id:
description: The Cell ID, a number identifying the base station. description: The Cell ID, a number identifying the base station.
wire_connected:
description: The wired uplink connection state, e.g., "Disconnected".
mobile_connected:
description: The LTE connection state, e.g., "Connected".
connection_text: connection_text:
description: A connection text, e.g., "4G". description: A connection text, e.g., "4G".
connection_type: connection_type:
@ -102,8 +100,6 @@ sensor:
description: A number with the radio quality in percent, e.g., "55" description: A number with the radio quality in percent, e.g., "55"
register_network_display: register_network_display:
description: The name of the service provider. description: The name of the service provider.
roaming:
description: A boolean showing whether the modem is currently roaming, e.g., "False".
rx_level: rx_level:
description: The RSRP value, a measurement of the received power level, e.g., "-95". description: The RSRP value, a measurement of the received power level, e.g., "-95".
sms: sms:
@ -116,20 +112,25 @@ sensor:
description: Current upstream connection, "WAN" or "LTE". description: Current upstream connection, "WAN" or "LTE".
usage: usage:
description: Amount of data transferred. description: Amount of data transferred.
binary_sensor:
description: Configuration options for binary sensors.
required: false
type: map
keys:
monitored_conditions:
description: Binary sensor types to create.
required: false
default: mobile_connected
type: list
keys:
mobile_connected:
description: The LTE connection state.
wire_connected:
description: The wired uplink connection state.
roaming:
description: The current roaming state.
{% endconfiguration %} {% endconfiguration %}
## {% linkable_title Notifications %}
The `netgear_lte` integration allows you to use a Netgear LTE modem for notifications from Home Assistant. The message will be sent as an SMS text message.
If you do not supply `notify` configuration, a default notification service with no default recipient is created.
## {% linkable_title Sensor %}
The `netgear_lte` integration allows you to monitor your Netgear LTE modem.
If you do not supply `sensor` configuration, a default set of sensors is created.
## {% linkable_title Events %} ## {% linkable_title Events %}
### {% linkable_title Event `netgear_lte_sms` %} ### {% linkable_title Event `netgear_lte_sms` %}