Hi all,
during my 1st hassio installation, at home, I found this problem:
there are two identical Netgear powerline AV500, and discovery feature reports only one of them.
During 2nd hassio installation, at moutain, I found the same problem:
there are two identical TPlink Archer MR200, and discovery feature reports only one of them.
There is something I can do to let hassio discovery both objects?
Thank you in advance.
Rosario
set it up manually
thanks Petro,
because I’m very entry level, this is what I can’t understand:
TP-link component is able to call two or more notification services;
my point is how to call two or more different sensors.
I lack some basic information? Please help.
If you set the components up manually, they should override whatever discovery is doing. If you look at the configuration in the link I posted. You’ll notice that the configuration for host as a - in front of it. That means that this section handles a list of information. If you duplicate that section (and all fields), you’ll have 2 set up.
tplink_lte:
- host: IP_ADDRESS
password: SECRET
notify:
- name: sms1
recipient: "+15105550123"
- name: sms2
recipient: "+55520525252"
- host: IP_ADDRESS2
password: SECRET2
notify:
- name: sms3
recipient: "+15105550123"
- name: sms4
recipient: "+55520525252"
the original configuration.yaml shows:
discovery:
After initialization only one of my two routers is discovered, with the sensors:
sensor.archer_mr200_bytes_received
sensor.archer_mr200_bytes_sent
sensor.archer_mr200_kbyte_sec_received
sensor.archer_mr200_kbyte_sec_sent
sensor.archer_mr200_packets_received
sensor.archer_mr200_packets_sec_received
sensor.archer_mr200_packets_sec_sent
sensor.archer_mr200_packets_sent
With the configuration.yaml modified according Petro suggestion
discovery:
tplink_lte:
- host: 192.168.0.1
password: !secret tppassone
notify:
- name: sms1
recipient: "+393333333333"
- host: 192.168.0.10
password: !secret tppasstwo
notify:
- name: sms2
recipient: "+393333333333"
two new services appear, as expected I think:
notify.sms1
notify.sms2
but no sensor is available for either router (also the 1st pool of sensors disappear!)
Thanks anyway.
those other sensors probably come from upnp. TPlink integration doesn’t create any sensors.
This is a good point I experimented yestarday but nothing changed.
Now I know that discovery:
may be excluded to process routers simply putting
discovery:
ignore:
- igd
but I found no other simple approach to manually discover igd sensors.
There are Python procedures collecting Upnp features from various equipments, but this is far from my capabilities.
And that seems all…
It’s very simple… I think you are adding complexity that just isn’t there, i’m not sure if you don’t understand the documentation or yaml. Just looking at the configuration and using your configuration you posted, this would be the upnp configuration:
tplink_lte:
- host: 192.168.0.1
password: !secret tppassone
notify:
- name: sms1
recipient: "+393333333333"
- host: 192.168.0.10
password: !secret tppasstwo
notify:
- name: sms2
recipient: "+393333333333"
upnp:
- local_ip: 192.168.0.1
sensors: true
- local_ip: 192.168.0.10
sensors: true
I appreciate all effort to help me, really.
I modified configuration.yaml exactly as you suggested but does not pass the configuration check;
tried also without
sensors: true
because the online help says:
sensors
(boolean)(Optional)If the integration should enable the UPNP sensors.
Default value: true
tplink_lte:
- host: 192.168.0.1
password: !secret tppassone
notify:
- name: sms1
recipient: "+393333333333"
- host: 192.168.0.10
password: !secret tppasstwo
notify:
- name: sms2
recipient: "+393333333333"
upnp:
- local_ip: 192.168.0.1
- local_ip: 192.168.0.10
but this also doesn’t pass the configuration check.
About local_ip the help says:
local_ip
(string)(Optional)The local IP address of the computer running Home Assistant.
as I can understand this is not the 1st router IP to be discovered, nor the 2nd one.
Alright then, it looks like you will only get sensors based on the first one it scans and finds. So your configuration would be
tplink_lte:
- host: 192.168.0.1
password: !secret tppassone
notify:
- name: sms1
recipient: "+393333333333"
- host: 192.168.0.10
password: !secret tppasstwo
notify:
- name: sms2
recipient: "+393333333333"
upnp:
agree