celsworth / lxp-bridge

A bridge to MQTT/InfluxDB/Postgres for communications with LuxPower inverters
MIT License
10 stars 14 forks source link

Add a bit more logging around unhandled tcp_function packets #90

Closed celsworth closed 2 years ago

celsworth commented 2 years ago

Trying to resolve #87 by seeing whats in these packets.

codecov-commenter commented 2 years ago

Codecov Report

Base: 50.74% // Head: 51.80% // Increases project coverage by +1.05% :tada:

Coverage data is based on head (aa074db) compared to base (f22e7ba). Patch coverage: 70.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #90 +/- ## ========================================== + Coverage 50.74% 51.80% +1.05% ========================================== Files 22 22 Lines 2071 2075 +4 ========================================== + Hits 1051 1075 +24 + Misses 1020 1000 -20 ``` | [Impacted Files](https://codecov.io/gh/celsworth/lxp-bridge/pull/90?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chris+Elsworth) | Coverage Δ | | |---|---|---| | [src/lxp/packet.rs](https://codecov.io/gh/celsworth/lxp-bridge/pull/90/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chris+Elsworth#diff-c3JjL2x4cC9wYWNrZXQucnM=) | `61.53% <50.00%> (+2.97%)` | :arrow_up: | | [src/mqtt.rs](https://codecov.io/gh/celsworth/lxp-bridge/pull/90/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chris+Elsworth#diff-c3JjL21xdHQucnM=) | `33.16% <75.00%> (+3.68%)` | :arrow_up: | | [src/lib.rs](https://codecov.io/gh/celsworth/lxp-bridge/pull/90/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chris+Elsworth#diff-c3JjL2xpYi5ycw==) | `28.71% <0.00%> (-0.67%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chris+Elsworth). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chris+Elsworth)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.