Updates for 1.0.0
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# [Help pages](/help) - Mobile app integration
|
||||
|
||||
- [Device name](#device-name)
|
||||
- [Notifications](#notifications)
|
||||
- [Location tracking](#location-tracking)
|
||||
- [Troubleshooting](#troubleshooting)
|
||||
@@ -24,11 +25,16 @@ You can find **Integration settings** in **App settings** from main HA Client me
|
||||
|
||||
[Back to top](#help-pages---mobile-app-integration)
|
||||
|
||||
## Devcie name
|
||||
On [first app start](/help/connection#quick-start) you can choose device name for your integration. All entity names created by this integration will depend on that name.
|
||||
|
||||
If you want to change device name for already created integration, you need to remove *Mobile App: [your device name]* from Home Assistant **Configuration** - **Integrations**, then restart your server and launch HA Client once again. The app will ask you to create new integration allowing to change default device name.
|
||||
|
||||
## Notifications
|
||||
|
||||
HA Client supports sending notifications from Home Assistant to the app.
|
||||
|
||||
For now notificationas could only have title and text. No actions supported yet. After mobile app will be registered and your Home Assistant will be restarted you'll get a new `notify` like `notify.mobile_app_egor_s_pixel_3_xl`. It can be used to send notifications to HA Client on a specific device. Just call this service with some data:
|
||||
For now notificationas could only have title and text. No actions supported yet. After mobile app will be registered and your Home Assistant will be restarted you'll get a new `notify` like `notify.mobile_app_egor_s_pixel_3_xl` (depends on [device name](#device-name)). It can be used to send notifications to HA Client on a specific device. Just call this service with some data:
|
||||
|
||||
```yaml
|
||||
{"title":"Oi!", "message":"Something is moving on your backyard!"}
|
||||
@@ -44,7 +50,7 @@ HA Client supports updating `device_tracker` entity with real device GPS locatio
|
||||
|
||||
Location tracking is implemented with [Andorid Workmanager](https://developer.android.com/topic/libraries/architecture/workmanager). It means that background location tracking is battery friendly and work as intended from OS perspective.
|
||||
|
||||
After mobile app will be registered and your Home Assistant will be restarted you'll get a new `device_tracker` entity like `device_tracker.mobile_app_egor_s_pixel_3_xl`. To start sending location to this entity you need to enable Location tracking in HA Client through **Integration settings** in **App settings**
|
||||
After mobile app will be registered and your Home Assistant will be restarted you'll get a new `device_tracker` entity like `device_tracker.mobile_app_egor_s_pixel_3_xl` (depends on [device name](#device-name)). To start sending location to this entity you need to enable Location tracking in HA Client through **Integration settings** in **App settings**
|
||||
|
||||

|
||||
|
||||
@@ -55,16 +61,10 @@ After mobile app will be registered and your Home Assistant will be restarted yo
|
||||
[Back to top](#help-pages---mobile-app-integration)
|
||||
|
||||
## Troubleshooting
|
||||
If notifications or location tracking doesn't work, first thing you need to check is entities name you are using. You can check that in **Configuration** - **Integrations** - **Mobile App: [your device name]** in your Home Assistant.
|
||||
|
||||
For now Home Assistant don't have a way to detect was current application on current device already registered or not. That is why if you will reinstall HA Client or clear all app data, the app will be registered once again and **another Integration will be created on your Home Assistant**:
|
||||
Also it could be useful to remove Mobile App integration from Home Assistant and restrat server to allow HA Client to create integration once again.
|
||||
|
||||

|
||||
|
||||
As well as second `notify` service and second `device_tracker` entity. **Notifications will not be handled by HA Client**. To fix this you need to got to *Configuration* - *Integrations* in your Home Assistant and remove any Integration created by HA Client for your device. Then you need to restart Home Assistant server to make all exces entities to be removed.
|
||||
|
||||
Then just open HA Client app. It will check mobile app integration and ask you to registrer again.
|
||||
|
||||
Removing Mobile App integration can solve some issues even if you don't have duplicate Integrations. Just remove the integration in Home Assistant, restart Home Assistant and open HA Client to make it register again.
|
||||
### Notification issues
|
||||
There is a restriction on daily notifications count for each device: **50**.
|
||||
|
||||
|
Reference in New Issue
Block a user