srcfl / srcful-gateway

Srcful energy gateway to connect your solar inverter and mine src-token
https://srcful.io
MIT License
5 stars 2 forks source link

Add mac-adresses to GET network/address #200

Closed h0bb3 closed 3 months ago

h0bb3 commented 3 months ago

I propose we add the eth0 and wlan0 mac adresses to the network address endpoint.

h0bb3 commented 3 months ago

This is bascially done but I need to build and test on an egw before merge into main.

h0bb3 commented 3 months ago

Seems the server does not have access to the host filesystem making the eth mac adress the internal compose mac. We can likely do some network manager dbus magic to get the correct mac.

h0bb3 commented 3 months ago

Seems to be working now. Merged to main.