Home Assistant Sensors for Xplora® Watch
Features | Type |
---|---|
Battery | Sensor |
Watch-Xcoin | Sensor |
Watch Step per Day | Sensor |
Watch Online state | Binary Sensor |
Watch is safe | Binary Sensor |
Watch charging | Binary Sensor |
Watch silent(s) | Switch |
Watch alarm(s) | Switch |
Send Message | Notify |
Watch Tracking | Device Tracker |
Watch Show Safezone | Device Tracker |
Copy the xplora_watch last Releae folder and all of its contents into your Home Assistant's custom_components folder. This folder is usually inside your /config folder. If you are running Hass.io, use SAMBA to copy the folder over. If you are running Home Assistant Supervised, the custom_components folder might be located at /usr/share/hassio/homeassistant. You may need to create the custom_components folder and then copy the localtuya folder and all of its contents into it Alternatively, you can install localtuya through HACS by adding this repository.
- Ensure that HACS is installed.
- Search for and install the "Xplora® Watch Integration" integration.
- Add a
xplora_watch
entry to yourconfiguration.yaml
. - Restart Home Assistant.
- Add entry to your
configuration.yaml
xplora_watch:
country_code: "+49"
phonenumber: "123456789"
password: "password"
userlang: "de-DE"
timezone: "Europe/Berlin"
for OpenCage Geocoding API address searching
opencage: API_KEY # optional
You have more watches and you will one watch integridad? Select this one with child_phonenumber
or watch_id
. The safety way is child_phonenumber
child_phonenumber: # optional & ignored if 'watch_id' is set
- "9876543210"
- "5678901234"
If watch_id
is set, child_phonenumber
is ignored. Errors can occur.
watch_id: # optional
- 012328123d123f5e775e5e3346739732
xplora_watch:
country_code: "+49"
phonenumber: "123456789"
password: "password"
userlang: "de-DE"
timezone: "Europe/Berlin"
opencage: API_KEY # optional
child_phonenumber: # optional & ignored if 'watch_id' is set
- "9876543210"
- "5678901234"
watch_id: # optional
- 012328123d123f5e775e5e3346739732
types: # optional
- "battery" # optional
- "xcoin" # optional
- "step_day" # optional
- "state" # optional
- "safezone" # optional
- "charging" # optional
- "silents" # optional
- "alarms" # optional
- "dt_watch" # optional
safezones: "show" # optional
scan_interval: 180 # default sec - optional
tracker_scan_interval: 60 # default sec - optional
- Restart Home Assistant
- Check
Home Assistant » Developer Tools » States
- Add entry Notification to your
configuration.yaml
notify:
- platform: xplora_watch
name: "XPlora"
- Restart Home Assistant
- Check
Home Assistant » Developer Tools » States
- define if wrong status (
not_home
|home
)
zone:
- name: Home
latitude: '' # your lat
longitude: '' # your lng
- add helper toggle with Name
Xplora Tracker Switch
Entity-IDinput_boolean.xplora_tracker_switch
- toggle switch Device Track #15
- add helper toggle with Name
Xplora Tracker Now
Entity-IDinput_boolean.xplora_track_now
- don't forget this one to disable, your watch track every 10 seconds
logger:
logs:
custom_components.xplora_watch: debug
- 🏗️ Steps sensor (Step counter) #37
- 🐛 Fix sensor: clear dummy
wuid
- 🏗️ resolved #29 tracking device
- 🏷️ type
lat
andlng
|<str>
to<float>
- remove
*_async
(new Lib version) - remove
await
without async function - rename
ids
towatch_ids
- renmae
id
towatch_id
- var name
- Device Track last Time
- toggle switch Device Track #15
Please add helper toggle with Name Xplora Tracker Switch
Entity-ID input_boolean.xplora_tracker_switch
- state error
- two init notify
- device tracker init error - no def
- var name api -> controller
- obsolet import removed