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

Feature/network led #11

Open
wants to merge 5 commits into
base: v1dev
Choose a base branch
from
Open

Conversation

mgeramb
Copy link
Member

@mgeramb mgeramb commented Jan 25, 2025

No description provided.

@@ -37,6 +37,10 @@
#include "UsbExchangeModule.h"
#endif

#if !defined(OPENKNX_LED_IP) && defined(INFO2_LED_PIN) && KNX_SERVICE_FAMILY != 0x02 // IP-Router uses own LED implementation
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SERVICE_FAMILY ist kein geeignetes Unterscheidungsmerkmal für den Router.
Man sollte das auch an dieser Stelle nicht unterscheiden müssen / können.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ich bin gegen eine default Zuweisung.
Wenn man das haben will, soll man das in seiner HardwareConfig bewusst auswählen.
Und wenn es unbedingtr einen default geben muss, dann muss es eine Möglichkeit geben den Default zu verhindern.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ich bin auch gegen default. wenn es jemand braucht, soll er es zuweisen. vor allem weil auch nur die progled pflicht und empfohlen infoled (infoled1) ist.

| Define | Default | Description | Note |
|----------------|----------|-----------------------|-----------------------------------------|
| OPENKNX_LED_IP | info2Led | used LED for IP state | set to 0 to disable the IP LED feature |

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hier wäre noch schön wenn das LED-Bild erklärt würde (welche Farbe/Zustand was bedeutet)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

und ich wäre auch noch für das passende namensschema:

OPENKNX_NETWORK_INFOLED

außerdem bin ich kein freund davon coden namen zu verwenden da es eine spätere anpassung verhindert.

wäre also eher für
-D OPENKNX_NETWORK_INFOLED=2
für info2led.

evtl bekommen wir sogar noch eine activity anzeige hin. zumindest wenn es ein IP Device ist und ein telegramm per ip eingeht.

Copy link
Member

@Ing-Dom Ing-Dom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see my comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants