Open AberDino opened 4 weeks ago
Sure, I'll have to make assumptions about the subnet mask (/24) and use the ip address found to scan
That's great, thank you in advance!
I'm not a programmer, but hopefully you should be able to find the information about the various networks by using the equivalent of "ip addr show". The information returned includes the IP address and subnet mask, so you wouldn't have to make assumptions. However, as the command returns information from all the interfaces, including loopback, docker0, hassio, etc., it might be a challenge to filter out only the details which are relevant. Let me know if I can help with anything.
Can you test Dev3.0.40 and let me know if it solves the issue
Thanks @britkat1980, I'll test that over the weekend.
In terms of the deployment steps, can you confirm I should do the following:
No need to uninstall GivTCP, just stop, install dev and start dev. (Changing network as per above)
Hi @britkat1980, not quite there yet, see log attached. 533ea71a_givtcp-dev_2024-11-09T17-24-20.833Z.log
And interestingly, I get the same error with the gateway address populated.
I've found the issue with that error, fixed in Dev3.0.44. Can you test
Hi @britkat1980, different error(s) this time, see new log: 533ea71a_givtcp-dev_2024-11-17T20-34-10.149Z.log
I simply stopped the 'regular' GivTCP v3.0.4 an started the latest GivTCP-DEV, i.e. I did not make any changes to the network settings, as I thought it's best test with a known good network configuration first.
My Home Assistant setup has two networks (IPv4 only - IPv6 disabled). One has a default gateway set, and the other one doesn't, because it's only for communicating with local devices including the GivEnergy kit and quite a few smart plugs (effectively my IoT network). I used these instructions to set up the second (VLAN) connection, including the "ipv4.never-default" option to avoid traffic routing out of this interface. Within Home Assistant (Settings -> System -> Network), the gateway address for this second interface address appears as "null".
I recently upgraded to GivTCP v3, and it won't start because it appears that it doesn't like the fact that the second network interface does not have a gateway address. Log entry: `2024-10-25 12:30:23,092 - startup - [INFO ] - ==================== STARTING GivTCP========================== Traceback (most recent call last): File "/app/startup.py", line 389, in
networks[i]=interface['ipv4']['gateway']+"/"+str(mask)