JoashCWK / home-auto

1 stars 0 forks source link

Create config file to store mqtt and db credentials #12

Open JoashCWK opened 6 months ago

JoashCWK commented 6 months ago

Create config file, then parse the config into a HubConfiguration class which is passed in to the EventHandler constructor. This way the MqttClient and MsgProcessor can be created inside the class itself (and DbAccessor in MsgProcessor)

JoashCWK commented 4 months ago

Blocked: need to first find a yaml/xml parser library