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

S allius/issue125 #127

Merged
merged 3 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ If access to the web interface does not work, it can also be redirected via DNS
Newer GEN3PLUS inverters support SSL encrypted connections over port 10443 to the TSUN cloud. In this case you can't loop the proxy into this connection, since the certicate verification of the inverter don't allow this. You can configure the proxy in client-mode to establish an unencrypted connection to the inverter. For this porpuse the inverter listen on port `8899`.

There are some requirements to be met:

- the inverter should have a fixed IP
- the proxy must be able to reach the inverter. You must configure a corresponding route in your router if the inverter and the proxy are in different IP networks
- add a 'client_mode' line to your config.toml file, to specify the inverter's ip address
Expand Down
3 changes: 2 additions & 1 deletion app/src/mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ async def close(self) -> None:
self.task.cancel()
try:
await self.task
except Exception as e:

except (asyncio.CancelledError, Exception) as e:
logging.debug(f"Mqtt.close: exception: {e} ...")

async def publish(self, topic: str, payload: str | bytes | bytearray
Expand Down
2 changes: 0 additions & 2 deletions app/tests/timestamp_old.svg

This file was deleted.

26 changes: 0 additions & 26 deletions app/tests/timestamp_old.yuml

This file was deleted.