Presence detection with Xioami Mi Wifi Repeater V2

Hi to everyone,
Today with help of @syssi, we tried if it’s possible to use the xioami mi wifi repeater v2 for presence detection.

After, analyzing the apk plugin file of the Mi Wifi repeater, we saw that exist a few commands tu use it, but before to check these commands, I needed the token of device. This token, i obtained as you can see in HA web site:

https://home-assistant.io/components/vacuum.xiaomi_miio/#retrieving-the-access-token

After that, and knowing the IP address that you main router assigned to the xiaomi mi wifi amplifier, then you use these three commands:

mirobo --ip  [IP_Adress] --token [Token_32_digits] raw_command miIO.info "[]"
mirobo --ip  [IP_Adress] --token [Token_32_digits] raw_command miIO.get_repeater_ap_info "[]"
mirobo --ip  [IP_Adress] --token [Token_32_digits] raw_command miIO.get_repeater_sta_info "[]"

for example:
mirobo --ip 192.168.1.170 --token a1b2c3d4e5f6d7h8i9j10k11l12m13n14o15p16 raw_command miIO.info "[]"

With the first command, you will obtain info about the device, like:

Sending cmd miIO.info with params []                                                                              
{'life': 543452, 'cfg_time': 543452, 'token': '32_token_code', 'fw_ver': '2.2.14', 'hw_ver': 'R
02', 'uid': xxxxxxxx, 'api_level': 2, 'mcu_fw_ver': '1000', 'wifi_fw_ver': '1.0.0', 'mac': 'MAC_ADDRESS_WIFI_REPEATER', 
'model': 'xiaomi.repeater.v2', 'ap': {'rssi': -63, 'ssid': 'MAIN_WIFI_SSID', 'bssid': 'MAIN_WIFI_BSSID', 'rx': 1366959
22, 'tx': 1779521233}, 'sta': {'count': 2, 'ssid': 'MAIN_WIFI_SSID', 'hidden': 0, 'assoclist': 'MAC_DEVICE1_LINKED;MAC_DEVICE2_LINKED;'}, 'netif': {'localIp': '192.168.1.170', 'mask': '255.255.255.0', 'gw': '192.168.1.1'}, 'desc': {'wif
i_explorer': 1, 'sn': '14923/20191356', 'color': 101, 'channel': 'release'}}

With second command:

Sending cmd miIO.get_repeater_ap_info with params []                                                              
{'ssid': 'MAIN_WIFI_SSID', 'pwd': 'PASSWORD_WIFI', 'hidden': 0}   

With third commnad:

Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 2, 'access_policy': 0}, 'mat': [{'mac': 'MAC_DEVICE1_LINKED', 'ip': '192.168.1.133', 'last_time':
 54371873}, {'mac': 'MAC_DEVICE2_LINKED', 'ip': '192.168.1.156', 'last_time': 54371496}], 'access_list': {'mac': ''
}}  

So, we hope that soon, this option can be integrated officialy in HA in next future versions

I will use our findings to implement a xiaomi_miio device tracker.

I will use our findings to implement a xiaomi_miio device tracker.

Do you refer, that you are going to make python code for this item?

Please, when you have it i would like to see it, because, i begin to learn little bit python…

If i can help you… just tell me

thanks

I have implemented a simple device tracker for the Xiaomi Repeater:

Just copy the custom component into the custom_components directory (cp. https://www.home-assistant.io/developers/component_loading/) and extend your configuration.yaml by:

device_tracker:
  - platform: xiaomi_miio
    host: <your-xiaomi-repeater-ip>
    token: <your-xiaomi-repeater-token>

@garvarma A last thing: Could you request the “miIO.get_repeater_sta_info” again and shutdown one of the associated hosts? How long does it take the device disappears? Can you tell me the unit of last_time found out by testing?

A last thing: Could you request the “miIO.get_repeater_sta_info” again and shutdown one of the associated hosts?

Do you refer to test, once already configured in HA? or just directly, like yesterday?

How long does it take the device disappears?

Do you refer to test, once already configured in HA? or just directly, like yesterday?

Can you tell me the unit of last_time found out by testing?

What do you refer about unit of last time?

I tried the developed code that you send me, and i have this error in logs:

2018-03-26 00:19:35 ERROR (MainThread) [custom_components.device_tracker.xiaomi_miio] Got exception while fetching the state: {'code': -10000, 'message': 'Method not found.'}

Ups! Fixed. :slight_smile: Please update the custom component and try again. About the last_time thing: Please execute this command multiple times

mirobo --ip 192.168.1.170 --token a1b2c3d4e5f6d7h8i9j10k11l12m13n14o15p16 raw_command miIO.get_repeater_sta_info "[]"

and keep track of a single associated device:

{'mac': 'MAC_DEVICE1_LINKED', 'ip': '192.168.1.133', 'last_time':
 54371873}

How fast does the value 54371873 increase? Does the complete item disappear if you shutdown the associated device/client? How long is the item still present? I want to make sure unavailable devices aren’t reported by the device tracker anymore. If the item is always present I will use the last_time property to identify outdated items.

Hi,
I updated custom component code, and now i have this in logs:

2018-03-26 15:37:01 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
    result = coro.send(None)
  File "/usr/src/app/homeassistant/components/device_tracker/__init__.py", line 738, in async_device_tracker_scan
    found_devices = yield from scanner.async_scan_devices()
  File "/config/custom_components/device_tracker/xiaomi_miio.py", line 66, in async_scan_devices
    self.device.raw_command('miIO.get_repeater_sta_info', [])
  File "/usr/src/app/homeassistant/core.py", line 219, in async_add_job
    elif is_callback(target):
  File "/usr/src/app/homeassistant/core.py", line 82, in is_callback
    return '_hass_callback' in func.__dict__
AttributeError: 'dict' object has no attribute '__dict__'

In my devices i don’t see anything new about device_tracker…

If i execute, this command with my token

> mirobo --ip 192.168.1.170 --token a1b2c3d4e5f6d7h8i9j10k11l12m13n14o15p16 raw_command miIO.get_repeater_sta_info "[]"

The result is that i have 3 devices connected now to the xiaomi mi wifi amplifier, and the same i see by the app of mi home.

Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 3, 'access_policy': 0}, 'mat': [{'mac': '38:ca:xx:xx:xx:xx', 'ip': '192.168.1.133', 'last_time':
 15719113}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time': 15719141}, {'mac': 'f0:b4:xx:xx:x:xx
', 'ip': '192.168.1.155', 'last_time': 15719141}], 'access_list': {'mac': ''}}

I execute the command few time, in 6-7 seconds and the resutl is:

Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 3, 'access_policy': 0}, 'mat': [{'mac': '38:ca:xx:xx:xx:xx', 'ip': '192.168.1.133', 'last_time':
 15735087}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time': 15735148}, {'mac': 'f0:b4:xx:xx:xx:xx
', 'ip': '192.168.1.155', 'last_time': 15735148}], 'access_list': {'mac': ''}}   

Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 3, 'access_policy': 0}, 'mat': [{'mac': '38:ca:xx:xx:xx:xx', 'ip': '192.168.1.133', 'last_time':
 15735752}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time': 15735758}, {'mac': 'f0:b4:xx:xx:xx:xx
', 'ip': '192.168.1.155', 'last_time': 15735714}], 'access_list': {'mac': ''}}

Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 3, 'access_policy': 0}, 'mat': [{'mac': '38:ca:xx:xx:xx:xx', 'ip': '192.168.1.133', 'last_time':
 15736285}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time': 15735758}, {'mac': 'f0:b4:xx:xx:xx:xx
', 'ip': '192.168.1.155', 'last_time': 15735714}], 'access_list': {'mac': ''}} 

Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 3, 'access_policy': 0}, 'mat': [{'mac': '38:ca:xx:xx:xx:xx', 'ip': '192.168.1.133', 'last_time':
 15736594}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time': 15735758}, {'mac': 'f0:b4:xx:xx:xx:xx
', 'ip': '192.168.1.155', 'last_time': 15735714}], 'access_list': {'mac': ''}}

@garvarma Which Home Assistant and python version do you use?

Could you try something like that:

for L in $(seq 1 2000)
do
  date
  time mirobo --ip 192.168.1.170 --token a1b2c3d4e5f6d7h8i9j10k11l12m13n14o15p16 raw_command miIO.get_repeater_sta_info "[]"
done

Turn off/shutdown the device f0:b4:xx:xx:xx:xx/192.168.1.155. Does the host disappear from the list/output?

Please update the component again. This issue should be fixed.

Which Home Assistant and python version do you use?

I’m using HA 0.65.5, and I think that version about python is 3.0. Concretely:

root@homeassistant-0_65_5:/usr/src/app# python -V                                                                 
Python 3.6.4 

imagen

Alright. I hope the issue is fixed now (with the latest commit).

Could you try something like that:

for L in $(seq 1 2000)
do
date
time mirobo --ip 192.168.1.170 --token a1b2c3d4e5f6d7h8i9j10k11l12m13n14o15p16 raw_command miIO.get_repeater_sta_info “
done

Turn off/shutdown the device f0:b4:xx:xx:xx:xx/192.168.1.155. Does the host disappear from the list/output?

This one is the result, as you can see there is a moment, where value: ‘count’:, change from 2 to 3. I didn’t disconnect anything, I think that just the proper device, lost some ping or something during few seconds…

If you want i can try disconnecting something like device with ip address 192.168.1.133, because is easy to going out from bacon of wifi amplifier

real    0m1.123s                                                                                                  
user    0m0.901s                                                                                                  
sys     0m0.546s                                                                                                  
Mon Mar 26 16:32:33 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 2, 'access_policy': 0}, 'mat': [{'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time':
 16023242}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.155', 'last_time': 16023226}], 'access_list': {'mac': ''
}}                                                                                                                
                                                                                                                  
real    0m1.063s                                                                                                  
user    0m0.863s                                                                                                  
sys     0m0.413s                                                                                                  
Mon Mar 26 16:32:34 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 2, 'access_policy': 0}, 'mat': [{'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time':
 16023242}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.155', 'last_time': 16023226}], 'access_list': {'mac': ''
}}                                                                                                                
                                                                                                                  
real    0m1.168s                                                                                                  
user    0m0.932s                                                                                                  
sys     0m0.395s                                                                                                  
Mon Mar 26 16:32:35 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 2, 'access_policy': 0}, 'mat': [{'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time':
 16023242}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.155', 'last_time': 16023226}], 'access_list': {'mac': ''
}}                                                                                                                
                                                                                                                  
real    0m1.077s                                                                                                  
user    0m0.889s                                                                                                  
sys     0m0.549s                                                                                                  
Mon Mar 26 16:32:36 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 2, 'access_policy': 0}, 'mat': [{'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time':
 16023242}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.155', 'last_time': 16023226}], 'access_list': {'mac': ''
}}                                                                                                                
                                                                                                                  
real    0m1.080s                                                                                                  
user    0m0.903s                                                                                                  
sys     0m0.532s                                                                                                  
Mon Mar 26 16:32:37 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 2, 'access_policy': 0}, 'mat': [{'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time':
 16023242}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.155', 'last_time': 16023226}], 'access_list': {'mac': ''
}}

real    0m1.120s                                                                                                  
user    0m0.916s                                                                                                  
sys     0m0.501s                                                                                                  
Mon Mar 26 16:32:38 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 2, 'access_policy': 0}, 'mat': [{'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time':
 16023845}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.155', 'last_time': 16023226}], 'access_list': {'mac': ''
}}                                                                                                                
                                                                                                                  
real    0m1.057s                                                                                                  
user    0m0.918s                                                                                                  
sys     0m0.524s                                                                                                  
Mon Mar 26 16:32:39 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 2, 'access_policy': 0}, 'mat': [{'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time':
 16023845}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.155', 'last_time': 16023226}], 'access_list': {'mac': ''
}}                                                                                                                
                                                                                                                  
real    0m1.093s                                                                                                  
user    0m0.909s                                                                                                  
sys     0m0.542s                                                                                                  
Mon Mar 26 16:32:40 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 2, 'access_policy': 0}, 'mat': [{'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time':
 16023845}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.155', 'last_time': 16023226}], 'access_list': {'mac': ''
}}                                                                                                                
                                                                                                                  
real    0m1.149s                                                                                                  
user    0m0.909s                                                                                                  
sys     0m0.484s                                                                                                  
Mon Mar 26 16:32:42 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 2, 'access_policy': 0}, 'mat': [{'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time':
 16023845}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.155', 'last_time': 16023226}], 'access_list': {'mac': ''
}}                                                                                                                
                                                                                                                  
real    0m1.077s                                                                                                  
user    0m0.935s                                                                                                  
sys     0m0.535s                                                                                                  
Mon Mar 26 16:32:43 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 2, 'access_policy': 0}, 'mat': [{'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time':
 16024290}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.155', 'last_time': 16024273}], 'access_list': {'mac': ''
}} 

real    0m1.285s                                                                                                  
user    0m0.913s                                                                                                  
sys     0m0.533s                                                                                                  
Mon Mar 26 16:32:44 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 3, 'access_policy': 0}, 'mat': [{'mac': '38:ca:xx:xx:xx:xx', 'ip': '192.168.1.133', 'last_time':
 16024474}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time': 16024290}, {'mac': 'f0:b4:xx:xx:xx:xx
', 'ip': '192.168.1.155', 'last_time': 16024273}], 'access_list': {'mac': ''}}                                    
                                                                                                                  
real    0m1.175s                                                                                                  
user    0m0.901s                                                                                                  
sys     0m0.322s                                                                                                  
Mon Mar 26 16:32:45 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 3, 'access_policy': 0}, 'mat': [{'mac': '38:ca:xx:xx:xx:xx', 'ip': '192.168.1.133', 'last_time':
 16024589}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time': 16024290}, {'mac': 'f0:b4:xx:xx:xx:xx
', 'ip': '192.168.1.155', 'last_time': 16024573}], 'access_list': {'mac': ''}}                                    
                                                                                                                  
real    0m1.179s                                                                                                  
user    0m0.920s                                                                                                  
sys     0m0.402s                                                                                                  
Mon Mar 26 16:32:46 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 3, 'access_policy': 0}, 'mat': [{'mac': '38:ca:xx:xx:xx:xx', 'ip': '192.168.1.133', 'last_time':
 16024693}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time': 16024290}, {'mac': 'f0:b4:xx:xx:xx:xx
', 'ip': '192.168.1.155', 'last_time': 16024573}], 'access_list': {'mac': ''}}                                    
                                                                                                                  
real    0m1.064s                                                                                                  
user    0m0.905s                                                                                                  
sys     0m0.507s                                                                                                  
Mon Mar 26 16:32:47 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 3, 'access_policy': 0}, 'mat': [{'mac': '38:ca:xx:xx:xx:xx', 'ip': '192.168.1.133', 'last_time':
 16024720}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time': 16024290}, {'mac': 'f0:b4:xx:xx:xx:xx
', 'ip': '192.168.1.155', 'last_time': 16024573}], 'access_list': {'mac': ''}}                                    
                                                                                                                  
real    0m1.081s                                                                                                  
user    0m0.926s                                                                                                  
sys     0m0.515s                                                                                                  
Mon Mar 26 16:32:48 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                              
{'sta': {'count': 3, 'access_policy': 0}, 'mat': [{'mac': '38:ca:xx:xx:xx:xx', 'ip': '192.168.1.133', 'last_time':
 16024913}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time': 16024290}, {'mac': 'f0:b4:xx:xx:xx:xx
', 'ip': '192.168.1.155', 'last_time': 16024573}], 'access_list': {'mac': ''}}                                    
                                                                                                                  
real    0m1.088s                                                                                                  
user    0m0.917s                                                                                                  
sys     0m0.543s                                                                                                  
Mon Mar 26 16:32:49 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 3, 'access_policy': 0}, 'mat': [{'mac': '38:ca:xx:xx:xx:xx', 'ip': '192.168.1.133', 'last_time':
 16024956}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time': 16024290}, {'mac': 'f0:b4:xx:xx:xx:xx
', 'ip': '192.168.1.155', 'last_time': 16024573}], 'access_list': {'mac': ''}}                                    
                                                                                                                  
real    0m1.041s                                                                                                  
user    0m0.896s                                                                                                  
sys     0m0.548s                                                                                                  
Mon Mar 26 16:32:51 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 3, 'access_policy': 0}, 'mat': [{'mac': '38:ca:xx:xx:xx:xx', 'ip': '192.168.1.133', 'last_time':
 16024956}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time': 16024290}, {'mac': 'f0:b4:xx:xx:xx:xx
', 'ip': '192.168.1.155', 'last_time': 16024573}], 'access_list': {'mac': ''}}                                    
                                                                                                                  
real    0m1.160s                                                                                                  
user    0m0.912s                                                                                                  
sys     0m0.523s                                                                                                  
Mon Mar 26 16:32:52 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 3, 'access_policy': 0}, 'mat': [{'mac': '38:ca:xx:xx:xx:xx', 'ip': '192.168.1.133', 'last_time':
 16025204}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time': 16024290}, {'mac': 'f0:b4:xx:xx:xx:xx
', 'ip': '192.168.1.155', 'last_time': 16024573}], 'access_list': {'mac': ''}}                                    
                                                                                                                  
real    0m1.076s                                                                                                  
user    0m0.902s                                                                                                  
sys     0m0.484s                                                                                                  
Mon Mar 26 16:32:53 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 3, 'access_policy': 0}, 'mat': [{'mac': '38:ca:xx:xx:xx:xx', 'ip': '192.168.1.133', 'last_time':
 16025204}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time': 16025343}, {'mac': 'f0:b4:xx:xx:xx:xx
', 'ip': '192.168.1.155', 'last_time': 16025318}], 'access_list': {'mac': ''}}                                    
                                                                    
                                                                                                                 
real    0m1.101s                                                                                                  
user    0m0.963s                                                                                                  
sys     0m0.550s                                                                                                  
Mon Mar 26 16:32:54 CEST 2018                                                                                     
Sending cmd miIO.get_repeater_sta_info with params []                                                             
{'sta': {'count': 3, 'access_policy': 0}, 'mat': [{'mac': '38:ca:xx:xx:xx:xx', 'ip': '192.168.1.133', 'last_time':
 16025204}, {'mac': 'f0:b4:xx:xx:xx:xx', 'ip': '192.168.1.154', 'last_time': 16025373}, {'mac': 'f0:b4:xx:xx:xx:xx
', 'ip': '192.168.1.155', 'last_time': 16025318}], 'access_list': {'mac': ''}}

Hi @syssi,

I think already works! now 3 devices that are connected, says that they are at home!!.

imagen

About photo, i did by emulator (easy way to take photo from screen of mi home app), and time is not updated, but you can see 3 devices connected, and in HA…

imagen

Alright. So we are done here. :wink: I will prepare a pull request for the official integration into Home Assistant.

Yes! of course!

perfect!

Ah, one last thing: Could you explain the “wifi explorer feature”? :slight_smile: It can be enabled and disabled.

In main page of the app, you can see this:

Maybe can be possible add the level signal in HA.

The roaming option, mean that you can configure device in the same ssid as main wifi router, or create new ssid by name: ssidmainrouter_plus.

Inside wifi setting of ssidmainrouter_plus you have this:

imagen
I don’t see option to enable or disable.