Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

works not on new Win 10 #82

Open
vaschek opened this issue Feb 21, 2021 · 4 comments
Open

works not on new Win 10 #82

vaschek opened this issue Feb 21, 2021 · 4 comments

Comments

@vaschek
Copy link

vaschek commented Feb 21, 2021

I have a computer on which the app worked well in Win 7 but now I upgraded to Win 10 and it finds not any device. Strange is that it runs normally on a notebook with Win 10 and I can even conect from the computer to the tplink-energy-monitor running on the notebook. What in Win 10 on the computer is blocking the application?
Vaclav

@wkhan69
Copy link

wkhan69 commented Aug 6, 2021

FYI, I also tried running the windows executable (v 0.8), and it wasn't able to detect any of my devices online. However, I downloaded the linux version and ran it inside a Mint Linux VM (running on my windows 10 laptop), and that worked fine. I didn't have to turn off any firewalls or anti-virus protection on the windows side to get it to see my devices, but that can vary from setup to setup.

I then tried downloading the source code (v 0.8) and ran it from my windows powershell, and that did not work (I got many circular dependency errors).

SUCCESS:
Finally, I downloaded the Xeroxxx branch of the source code (version 487c2e2 on 24 Sep 2020) (see here) and ran it inside a windows powershell, and that worked fine.

The main branch hasn't been updated since Jan 2019, so I'm not sure if that will get fixed/updated. For now, I recommend people look at the Xeroxxx branch if they have issues. (Also, I hear Xeroxxx is working on producing executables for download.)

Regards,
Will

@scutzi128
Copy link

Do you have details on how you ran it inside of a powershell?

@wkhan69
Copy link

wkhan69 commented Dec 3, 2021

Hi,
Here are my steps for installing and running the app in a windows PC, in powershell:

  1. Download and Install Node.js from here (click "yes" to automatically install necessary tools) This step can take a few minutes so do something else while it's getting setup
  2. Download the source code from the Xeroxxx branch from https://github.com/Xeroxxx/tplink-energy-monitor (or one of my posts if you want custom logging), and unzip the files in a known directory such as "c:\TP-Link"
  3. Open a powershell in the main directory (as above)
  4. Type: npm install (this can also take a few min)
  5. Type: npm start "path" logger-config.json where "path" is the path to your logger-config.json (which is typically the main directory of the sourcecode you downloaded. eg: c:\TP-Link\logger-config.json)
  6. After a minute, if everything is working, it should start detecting devices on your network. (It will say "found device for..." in powershell)
  7. Open up a browser and go to the URL localhost:3000
  8. The main TPlink dashboard should appear.
  9. Click on one of the devices in the TPlink dashboard, and it should start showing data.
  10. If no data is coming, try turning off firewall and/or anti virus, but I found I never needed to shut anything off

@wkhan69
Copy link

wkhan69 commented Jan 6, 2022

Note; I have updated step 5 above on 1/6/2022 to be more explicit and correct a typo with the logger-config.json filename

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants