-
Notifications
You must be signed in to change notification settings - Fork 43
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
Local access only #260
Comments
Limiting internet access to your ECU causes the ECU to crash and as a result won't respond to queries from the integration. The integration is not depending on the AP Systems cloud. |
that is so sad to hear... any idea on how we can make it just loop back to itself thinking he is online? |
Yes, I've worked on that but I have never tested this extensively over a long period of time because I would miss my data from the EMA server :) It is not that complicated to send the correct answers to the ECU, but it involves a little more than a loopback or an "ok". |
so nothing simple we can do in unifi with this ;) ? |
I've been able to run it isolated / offline for a few years now without problems. This is the response that it expects: https://git.tannercollin.com/tanner/solar-display/src/branch/master/server/main.py#L25 You can see that TCP server listens on ports 8995, 8996, and 8997. You'll need to override your local DNS to point the domains to your own server. For example, with dnsmasq:
I also have to use a timer outlet to power cycle the ECU nightly. My ECU has never connected to the internet for privacy / security reasons. |
Look at https://github.com/HAEdwin/homeassistant-apsystems_ecu_proxy as an (still EMA dependent) alternative but it is unfinished work, lack of time - but since I've suggested this for a view years back I thought it would be time to publish this, I recognise the code :) Basics for this integration were build by me but Mark Parker was so kind to speed things up in development with his huge knowledge of Python and HA. See how this works as an alternative and I might spend some time on it. |
I tried to disable the internet access to my ecu_b but home assistant does not receive anymore data. Is this addon depending on the AP System cloud for it's data instead of local pulling?
The text was updated successfully, but these errors were encountered: