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

State of (active) network mode #148

Open
michelwilson opened this issue Mar 22, 2020 · 3 comments
Open

State of (active) network mode #148

michelwilson opened this issue Mar 22, 2020 · 3 comments

Comments

@michelwilson
Copy link

I've been using semonitor.py in network mode (-n <iface>) for a while. Recently, I updated my repository to the latest change, and everything seems to have stopped working, due to lots of (I think) Python 3-related changes. I've been trying to sort things out, but with little succes so far, neither using Python 2.7 nor using Python 3.0 seems to work. I've also started rummaging around in the code, but that also didn't seem to help. Is it correct that network mode is currently no longer working or not even supported? And what would be the best way to get things to work again?

@jbuehl
Copy link
Owner

jbuehl commented Mar 22, 2020

I also use network mode and I had been using semonitor.py with the -n option until about a year ago when I started using another method because of issues that I had been having with the operating system on the server running it. Now my DNS server is resolving the host name of the SolarEdge monitor servers to my local server so I can have it connected to my local network normally. I still use the -t n option, but I have dropped the -n option. I recall that there were still some issues relating to python3 in that code, but I didn't think anyone else was using it and I didn't want to spend the time fixing them. I may eventually get around to looking at it, but I am busy with other projects now and it's not a priority for me. If you want to get it to work and contribute that, it would be appreciated.

@michelwilson
Copy link
Author

Ok, thanks :) will try -t n instead of -n and set up resolving. Feels a bit cleaner anyway. Are you running it with Python 2.7 currently, or with 3? I also understand not having time to fix this, I was mainly wondering about the state of things :D I might try to put in some work to getting it running again.

@jbuehl
Copy link
Owner

jbuehl commented Mar 22, 2020

I am using python 3. I have static IP addresses configured in my router for the SolarEdge monitoring servers prod.solaredge.com, prod2.solaredge.com, and prod3.solaredge.com that all point to the local IP address of my server.

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

2 participants