Package io.openems.edge.common.channel
Interface ChannelId
-
- All Known Implementing Classes:
AbstractManagedOcppEvcsComponent.ChannelId
,AcIsland.ChannelId
,ActivePowerVoltageCharacteristic.ChannelId
,AdstecStoraxeEss.ChannelId
,AllAlphabeticallyScheduler.ChannelId
,AppManager.ChannelId
,AsymmetricEss.ChannelId
,AsymmetricFixActivePower.ChannelId
,AsymmetricFixReactivePower.ChannelId
,AsymmetricMeter.ChannelId
,AsymmetricMeterEvcs.ChannelId
,Awattar.ChannelId
,BackendApi.ChannelId
,Balancing.ChannelId
,BalancingSchedule.ChannelId
,Battery.ChannelId
,BatteryBoxC130.ChannelId
,BatteryProtection.ChannelId
,BmwBattery.BmwChannelId
,BoschBpts5HybridCore.CoreChannelId
,BoschBpts5HybridEss.ChannelId
,BoschBpts5HybridMeter.ChannelId
,BoschBpts5HybridPv.ChannelId
,BpCharger.ChannelId
,BpCore.ChannelId
,BpEss.ChannelId
,BpPvInverter.ChannelId
,BridgeMbus.ChannelId
,BridgeModbus.ChannelId
,BridgeModbusSerial.ChannelId
,BridgeModbusTcp.ChannelId
,BridgeOnewire.ChannelId
,BydContainerWatchdog.ChannelId
,ChannelId
,ChannelId
,ChannelIdImpl
,ChannelIdImpl
,ChannelSingleThreshold.ChannelId
,ChannelThreshold.ChannelId
,ClusterVersionBChannelId
,ClusterVersionC.ChannelId
,ComponentManager.ChannelId
,Controller.ChannelId
,ControllerChpSoc.ChannelId
,ControllerHeatingElement.ChannelId
,Corrently.ChannelId
,CosPhi.ChannelId
,Cycle.ChannelId
,DailyScheduler.ChannelId
,DebugDetailedLog.ChannelId
,DebugLog.ChannelId
,DelayChargeController.ChannelId
,DelayedSellToGrid.ChannelId
,DigitalInput.ChannelId
,DigitalOutput.ChannelId
,DummyHybridEss.ChannelId
,DummyInputOutput.ChannelId
,DynamicChannelId
,Edge2Edge.ChannelId
,Edge2EdgeEss.ChannelId
,EmergencyCapacityReserve.ChannelId
,ErrorChannelId
,ErrorCodeChannelId0
,ErrorCodeChannelId1
,EssAsymmetric.ChannelId
,EssCluster.ChannelId
,EssCycle.ChannelId
,EssDcCharger.ChannelId
,EssDcChargerFeneconCommercial40.ChannelId
,EssFeneconBydContainer.ChannelId
,EssFeneconCommercial40.ChannelId
,EssFeneconCommercial40.InsufficientGridParametersChannelId
,EssFeneconCommercial40.PowerDecreaseCausedByOvertemperatureChannelId
,EssFeneconCommercial40.SystemErrorChannelId
,EssFixActivePower.ChannelId
,EssLinearPowerBand.ChannelId
,EssSellToGridLimit.ChannelId
,EssSinglePhase.ChannelId
,EssSymmetric.ChannelId
,Evcs.ChannelId
,EvcsCluster.ChannelId
,EvcsFixActivePower.ChannelId
,EvcsWebastoNext.ChannelId
,FeneconCommercialBattery.ChannelId
,FeneconDessCharger.ChannelId
,FeneconDessEss.ChannelId
,FeneconDessGridMeter.ChannelId
,FeneconDessPvMeter.ChannelId
,FeneconHomeBattery.ChannelId
,FeneconMiniEss.ChannelId
,FeneconMiniEss.ServiceInfoChannelId
,FeneconMiniEss.SystemErrorChannelId
,FeneconMiniGridMeter.ChannelId
,FeneconMiniPvMeter.ChannelId
,FeneconProEss.ChannelId
,FeneconProPvMeter.ChannelId
,FieldbusChannelId
,FieldbusChannelId
,FixDigitalOutput.ChannelId
,FixedOrderScheduler.ChannelId
,FundamentalFrequency.ChannelId
,GenericManagedEss.ChannelId
,GenericManagedSymmetricEss.ChannelId
,GenericOffGridEss.ChannelId
,GoeChannelId
,GoodWe.ChannelId
,GoodWeBatteryInverter.ChannelId
,GoodWeEmergencyPowerMeter.ChannelId
,GoodWeEss.ChannelId
,GoodWeEtCharger.ChannelId
,GoodWeGridMeter.ChannelId
,GridConChannelId
,GridMeter.ChannelId
,GridMeter.ChannelId
,GridOptimizedCharge.ChannelId
,HardyBarth.ChannelId
,HeatPump.ChannelId
,HighLoadTimeslot.ChannelId
,Host.ChannelId
,HybridEss.ChannelId
,HybridManagedSymmetricBatteryInverter.ChannelId
,Hypercharger.ChannelId
,InfluxTimedata.ChannelId
,IoAlarm.ChannelId
,JsonLogicController.ChannelId
,KacoBlueplanetGridsave.ChannelId
,KebaChannelId
,KmtronicRelay4Port.ChannelId
,KmtronicRelay8Port.ChannelId
,KostalPikoCharger.ThisChannelId
,KostalPikoCore.ChannelId
,KostalPikoEss.ThisChannelId
,KostalPikoGridMeter.ThisChannelId
,LimitTotalDischargeController.ChannelId
,ManagedAsymmetricEss.ChannelId
,ManagedEvcs.ChannelId
,ManagedSinglePhaseEss.ChannelId
,ManagedSymmetricBatteryInverter.ChannelId
,ManagedSymmetricEss.ChannelId
,ManagedSymmetricPvInverter.ChannelId
,MeasuringEvcs.ChannelId
,Meta.ChannelId
,MeterAbbB23Mbus.ChannelId
,MeterArtemesAM2.ChannelId
,MeterBControlEM300.ChannelId
,MeterBgeTechDrt428M2.ChannelId
,MeterCarloGavazziEm300.ChannelId
,MeterCarloGavazziEm300Impl.ChannelId
,MeterChannelId
,MeterDiscovergy.ChannelId
,MeterGridcon.ChannelId
,MeterJanitzaUmg511.ChannelId
,MeterJanitzaUmg604.ChannelId
,MeterJanitzaUmg96rme.ChannelId
,MeterKdk2puct.ChannelId
,MeterMicrocareSdm630.ChannelId
,MeterPqplusUmd96.ChannelId
,MeterPqplusUmd97.ChannelId
,MeterSmaShm20.ChannelId
,MeterZiehlEfr4001Ip.ChannelId
,MinDischargePeriod.ChannelId
,ModbusComponent.ChannelId
,ModbusSimulator.ChannelId
,ModbusTcpApi.ChannelId
,ModbusTcpApiReadOnly.ChannelId
,ModbusTcpApiReadWrite.ChannelId
,MqttApiController.ChannelId
,MyChannelId
,MyChannelId
,NrcMeter.ChannelId
,OffGridBatteryInverter.ChannelId
,OffGridSwitch.ChannelId
,OpenemsComponent.ChannelId
,PeakShaving.ChannelId
,PeakShaving.ChannelId
,PersistenceModelPredictor.ChannelId
,PhaseRectification.ChannelId
,PlexlogDatalogger.ChannelId
,PowerComponent.ChannelId
,PredictorManager.ChannelId
,ProductionMeter.ChannelId
,PvInverter.ChannelId
,PvInverterCluster.ChannelId
,PvInverterFixPowerLimit.ChannelId
,PvInverterSellToGridLimit.ChannelId
,ReactivePowerVoltageCharacteristic.ChannelId
,RefuStore88k.ChannelId
,RefuStore88kChannelId
,RestApi.ChannelId
,RestApiReadOnly.ChannelId
,RestApiReadWrite.ChannelId
,RevPiDioChannelId
,Rrd4jTimedata.ChannelId
,Scheduler.ChannelId
,SetBalancing.ChannelId
,Shelly25.ChannelId
,ShellyPlug.ChannelId
,SiemensPacMeter.ChannelId
,SimilarDayPredictor.ChannelId
,SimulatedEvcs.ChannelId
,SimulatedThermometer.ChannelId
,SimulatorApp.ChannelId
,SimulatorTimedata.ChannelId
,Sinexcel.ChannelId
,SinglePhaseEss.ChannelId
,SinglePhaseMeter.ChannelId
,SingleRack.ChannelId
,SingleRackVersionB.ChannelId
,SingleRackVersionC.ChannelId
,SocEvcs.ChannelId
,SocomecMeter.ChannelId
,SocomecMeterSinglephase.ChannelId
,SocomecMeterThreephase.ChannelId
,SolarLog.ChannelId
,SoltaroBatteryVersionC.ChannelId
,SoltaroCluster.ChannelId
,StandbyController.ChannelId
,StartStoppable.ChannelId
,Sum.ChannelId
,SunnyIslandEss.ChannelId
,SunSChannelId
,SunSpecPvInverter.ChannelId
,SurplusFeedToGridController.ChannelId
,SymmetricBatteryInverter.ChannelId
,SymmetricEss.ChannelId
,SymmetricFixReactivePower.ChannelId
,SymmetricLimitActivePower.ChannelId
,SymmetricMeter.ChannelId
,SymmetricRandomPower.ChannelId
,TeslaPowerwall2Battery.ChannelId
,TeslaPowerwall2Core.ChannelId
,Thermometer.ChannelId
,ThisChannelId
,Tibber.ChannelId
,Timedata.ChannelId
,TimeOfUseTariffDischarge.ChannelId
,TimeslotPeakshaving.ChannelId
,Vectis.ChannelId
,Wago.ThisChannelId
,Webasto.ChannelId
,WebsocketApi.ChannelId
,WeidmuellerChannelId
,WeidmuellerUR20.ChannelId
public interface ChannelId
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static java.lang.String
channelIdCamelToUpper(java.lang.String name)
Converts a Channel-ID in UPPER_CAMEL format to the UPPER_UNDERSCORE format.static java.lang.String
channelIdUpperToCamel(java.lang.String name)
Converts a Channel-ID in UPPER_UNDERSCORE format (like from anEnum
) to the preferred UPPER_CAMEL format.Doc
doc()
Gets the Channel Doc for this ChannelId.default java.lang.String
id()
Gets the name in CamelCase.java.lang.String
name()
Gets the name in formatCaseFormat.UPPER_UNDERSCORE
.static <T extends java.lang.Enum<T>>
voidprintChannelIdsForInfluxQuery(ChannelId[] channelIds)
Lists all Channel-IDs of the given Channel-ID Enum in a form that is suitable for a InfluxDB-Query in a Grafana Dashboard.
-
-
-
Method Detail
-
channelIdUpperToCamel
static java.lang.String channelIdUpperToCamel(java.lang.String name)
Converts a Channel-ID in UPPER_UNDERSCORE format (like from anEnum
) to the preferred UPPER_CAMEL format.Examples: converts "ACTIVE_POWER" to "ActivePower".
Special reserved Channel-IDs starting with "_" have a special handling: "_PROPERTY_ENABLED" is converted to "_PropertyEnabled".
- Parameters:
name
- a Channel-ID in UPPER_UNDERSCORE format- Returns:
- the Channel-ID in UPPER_CAMEL format.
-
channelIdCamelToUpper
static java.lang.String channelIdCamelToUpper(java.lang.String name)
Converts a Channel-ID in UPPER_CAMEL format to the UPPER_UNDERSCORE format.Examples: converts "ActivePower" to "ACTIVE_POWER".
- Parameters:
name
- Channel-ID in UPPER_CAMEL format.- Returns:
- the a Channel-ID in UPPER_UNDERSCORE format
-
printChannelIdsForInfluxQuery
static <T extends java.lang.Enum<T>> void printChannelIdsForInfluxQuery(ChannelId[] channelIds)
Lists all Channel-IDs of the given Channel-ID Enum in a form that is suitable for a InfluxDB-Query in a Grafana Dashboard.To create a query, call this function like `ChannelId.printChannelIdsForInfluxQuery(FeneconMiniEss.ServiceInfoChannelId.values());`
- Type Parameters:
T
- the actual type- Parameters:
channelIds
- theChannelId
s, e.g. from ChannelId.values().
-
name
java.lang.String name()
Gets the name in formatCaseFormat.UPPER_UNDERSCORE
. This is available by default for an Enum.Names starting with underscore ("_") are reserved for internal usage.
- Returns:
- the name
-
id
default java.lang.String id()
Gets the name in CamelCase.- Returns:
- the Channel-ID in CamelCase
-
doc
Doc doc()
Gets the Channel Doc for this ChannelId.- Returns:
- the Channel-Doc
-
-