[APP][Pro] TP-Link Deco

@MathiasT I tried again today with the app version 1.2.24, with debug enabled. Removed all my devices, and added the main IP address again. Four devices detected and added, with the same result:

The device shown to the left, X20 ??, is a secondary (slave) device which currently is disconnected. The X60 to the right is the real main device that has IP address 192.168.xx.1.

I created an diagnosis report in the app if that helps: 580a06f6-2c9d-4290-8a4f-6a10b2f145ad.

Am I supposed to see the debug log somewhere in the app?

Hi!

I tested a bit in the weekend and even if my phone is connected to the same deco im sitting beside it,then also now and then it says that my device is offline.

Hope it helps a bit with fixing this :grinning:

Solution for 4G and 5G deco rouers?

I now have a small program that can be executed on Windows and macOS. you can download it from my github; go-deco/bin at main · mathiastornblom/go-deco · GitHub

I downloaded it to my other mac computer in the download folder and open terminal;

mathiast@Mathiass-MacBook-Pro ~ % cd ~/Downloads
mathiast@Mathiass-MacBook-Pro Downloads % ./decotest --host “192.168.68.1” --password “MySecurePassword”
Host: 192.168.68.1, Password: MySecurePassword
[+] Performance
{
“error_code”: 0,
“result”: {
“cpu_usage”: 0.13,
“mem_usage”: 0.5
}
}

share the output with me in a DM

Great to find this App. Both X50-4G and X20 (slave) added wo issue and looking just fine.

But when testing flow :
image

while e.g. (from X50-4G):
image

and overview for same X20 (with some sec back updates):

just checked, that rebooting of X20 by UI was also OK
image

Seems to work for my X50-4G, with X20 like data (still testing) …

Hi Mathias,

I have installed the app(1.2.24), and my deco’s are found but all the info remains empty. I have P7 decos. What strikes me is that they have the same ip address for all 3 and that this ip address is also incorrect


image

In the app version 1.1.9. He did find my head deco and then there was all kinds of info, that version worked for me. And my IP address was also correct. Unfortunately, I didn’t install it anymore. Unfortunately I don’t have any print screens of that anymore

Try my little test application above in the thread and DM me. Have not tested P7. You could try tplinkdeco.net where you enter IP as it should find your main deco and sub-decos (you have to delete the current ones as it matches on the MAC address of the deco

I actually tried that with tplinkdeco.net, but unfortunately it has the same effect. I really think it has something to do with the IP address. I’ll take a look at that test program.

I sent you a dm

Its a bit of porting to JavaScript or TypeScript. I suggest a separate app. Do you know how I could “talk” to a controller - then maybe I could start developing the API client and then a Homey app.

@Gakk - I have a small program that can be executed on Windows and macOS. you can download it from my github; go-deco/bin at main · mathiastornblom/go-deco · GitHub

I downloaded it to my other mac computer in the download folder and open terminal;

mathiast@Mathiass-MacBook-Pro ~ % cd ~/Downloads
mathiast@Mathiass-MacBook-Pro Downloads % ./decotest --host “192.168.68.1” --password “MySecurePassword”
Host: 192.168.68.1, Password: MySecurePassword
[+] Performance
{
“error_code”: 0,
“result”: {
“cpu_usage”: 0.13,
“mem_usage”: 0.5
}
}

share the output with me in a DM on the X60

1 Like

X50-4G (master) testing continues:

  • reboot from UI (same for web and Android-app):
    image
  • WAN data not seen (also initial values missing):
    image

(As said earlier X20 (slave) reboot via UI was OK, while flow-card not

Any idea when the app will be updated ?
Im interested to test again with the presence issues.

I was hammering the keyboard today. I have collected more logs and json’s I hope to get some time this weekend to get a new version out.

2 Likes

Hi! That would be awesome! Thanks for all the time and effort you put in the developing from the app :+1:t2::grinning: Just let me know if i can test something.

Hi again, @MathiasT.

Thanks for being willing to look into my issues. I send you the output from decotest.exe in a DM :slightly_smiling_face::+1:

Best regards,
Frode

Working on 4g :wink: thanks

While doing something else, accidentally noticed bit strange (?) on Apps CPU and RAM usage:

Not causing any issue to my Homey Pro, but as non of my others Apps have similar behavior though might be interesting…

That is interesting profiling. With the latest test release you can now adjust the frequency of the requests that might lower this values. I will look in to how I could release resources and improve this behaviour. Big thanks I haven’t had the time to do this profiling.

Version in use here:
image

Also interesting to see below effect when forced restarting - seems after restart (11:06 as 100%) base-load back to 0% and also can see that +10% peaks less freq. than before restart:
image

Does not look to me that polling freq. would be an issue (as only max. 10% jump from base line), but something related to longer App running time…

---- add ----

Let me see if I any alarms in next days with: