Class DefaultWallboxService

  • All Implemented Interfaces:
    de.jnkconsulting.e3dc.easyrscp.api.service.WallboxService

    
    public final class DefaultWallboxService
     implements WallboxService
                        

    Implementation to query the live data of the home power plant

    Since:

    2.3

    • Constructor Detail

      • DefaultWallboxService

        DefaultWallboxService(ConnectionPool connectionPool, FrameConverter<List<Integer>> convertConnectedIdsConverter, FrameConverter<List<WallboxInfo>> convertWallboxInfosConverter, FrameConverter<List<WallboxPowerState>> convertWallboxLiveDataConverter, FrameCreator<Void> createRequestConnectedWallboxes, FrameCreator<List<Integer>> createRequestWallboxInfos, FrameCreator<List<Integer>> createRequestWallboxLiveData)
        Parameters:
        connectionPool - Connection pool to be used
        convertConnectedIdsConverter - Converter to create a list of Wallbox IDs out of a connected devices response frame.
        convertWallboxInfosConverter - Converter to create a list of Wallbox infos out of a frame.
        convertWallboxLiveDataConverter - Converter to create a list of Wallbox live data infos out of a frame.
        createRequestConnectedWallboxes - Creator for frames to query the connected Wallbox IDs.
        createRequestWallboxInfos - Creator for frames to query infos about the connected Wallboxes.
        createRequestWallboxLiveData - Creator for frames to query live power data from the given wallbozes.