| name | samqtt-common |
| description | Skill for the Samqtt.Common area of samqtt. 33 symbols across 18 files. |
Samqtt.Common
33 symbols | 18 files | Cohesion: 93%
When to Use
- Working with code in
src/
- Understanding how MetadataBase, SystemSensorMetadata, SystemActionMetadata work
- Modifying samqtt.common-related functionality
Key Files
| File | Symbols |
|---|
src/Samqtt.Common/ITopicProvider.cs | GetSensorStateTopic, GetBinarySensorDiscoveryTopic, GetStandardSensorDiscoveryTopic, GetUniqueId, GetActionStateTopic (+3) |
src/Samqtt.Common/IMessagePublisher.cs | PublishOnlineStatus, PublishSensorStateDiscoveryMessage, PublishActionStateDiscoveryMessage, PublishOfflineStatus |
src/Samqtt.Common/IMqttConnectionManager.cs | ConnectAsync, DisconnectAsync, IMqttConnectionManager |
src/Samqtt.Common/IMqttSubscriber.cs | SubscribeAsync, IMqttSubscriber |
src/Samqtt.Application/Win2MqttBackgroundService.cs | StartAsync, StopAsync |
src/Samqtt.Application/SystemActionFactory.cs | GetEnabledActions, CreateMetadata |
src/Samqtt.Common/MetadataBase.cs | MetadataBase |
src/Samqtt.Application/SystemSensorFactory.cs | CreateMetadata |
src/Samqtt.Common/SystemSensors/SystemSensorMetadata.cs | SystemSensorMetadata |
src/Samqtt.Common/SystemSensors/ISystemSensor.cs | GetSensorAttributes |
Entry Points
Start here when exploring this area:
MetadataBase (Class) — src/Samqtt.Common/MetadataBase.cs:2
SystemSensorMetadata (Class) — src/Samqtt.Common/SystemSensors/SystemSensorMetadata.cs:3
SystemActionMetadata (Class) — src/Samqtt.Common/SystemActions/SystemActionMetadata.cs:2
TopicProvider (Class) — src/Samqtt.Application/TopicProvider.cs:7
GetSensorStateTopic (Method) — src/Samqtt.Common/ITopicProvider.cs:8
Key Symbols
| Symbol | Type | File | Line |
|---|
MetadataBase | Class | src/Samqtt.Common/MetadataBase.cs | 2 |
SystemSensorMetadata | Class | src/Samqtt.Common/SystemSensors/SystemSensorMetadata.cs | 3 |
SystemActionMetadata | Class | src/Samqtt.Common/SystemActions/SystemActionMetadata.cs | 2 |
TopicProvider | Class | src/Samqtt.Application/TopicProvider.cs | 7 |
ITopicProvider | Interface | src/Samqtt.Common/ITopicProvider.cs | 2 |
IMqttSubscriber | Interface | src/Samqtt.Common/IMqttSubscriber.cs | 7 |
IMqttPublisher | Interface | src/Samqtt.Common/IMqttPublisher.cs | 5 |
IMqttConnectionManager | Interface | src/Samqtt.Common/IMqttConnectionManager.cs | 5 |
GetSensorStateTopic | Method | src/Samqtt.Common/ITopicProvider.cs | 8 |
GetBinarySensorDiscoveryTopic | Method | src/Samqtt.Common/ITopicProvider.cs | 9 |
GetStandardSensorDiscoveryTopic | Method | src/Samqtt.Common/ITopicProvider.cs | 10 |
StartAsync | Method | src/Samqtt.Application/Win2MqttBackgroundService.cs | 24 |
GetEnabledSensors | Method | src/Samqtt.Common/SystemSensors/ISystemSensorFactory.cs | 6 |
GetUniqueId | Method | src/Samqtt.Common/ITopicProvider.cs | 7 |
GetActionStateTopic | Method | src/Samqtt.Common/ITopicProvider.cs | 13 |
GetActionCommandTopic | Method | src/Samqtt.Common/ITopicProvider.cs | 15 |
GetActionJsonAttributesTopic | Method | src/Samqtt.Common/ITopicProvider.cs | 16 |
GetEnabledActions | Method | src/Samqtt.Application/SystemActionFactory.cs | 17 |
StopAsync | Method | src/Samqtt.Application/Win2MqttBackgroundService.cs | 107 |
MqttSubscriber | Class | src/Samqtt.Broker.Tcp/MqttSubscriber.cs | 10 |
Execution Flows
| Flow | Type | Steps |
|---|
GetEnabledSensors → GetSensorAttributes | cross_community | 5 |
GetEnabledSensors → SystemSensorMetadata | cross_community | 5 |
GetEnabledSensors → GetUniqueId | cross_community | 5 |
GetEnabledSensors → GetSensorStateTopic | cross_community | 5 |
GetEnabledActions → GetUniqueId | intra_community | 3 |
GetEnabledActions → GetActionResponseDiscoveryTopic | cross_community | 3 |
GetEnabledActions → GetActionCommandTopic | intra_community | 3 |
GetEnabledActions → GetActionStateTopic | intra_community | 3 |
Connected Areas
| Area | Connections |
|---|
| Samqtt.HomeAssistant | 1 calls |
How to Explore
gitnexus_context({name: "MetadataBase"}) — see callers and callees
gitnexus_query({query: "samqtt.common"}) — find related execution flows
- Read key files listed above for implementation details