TapHome Icon Mapping Documentation#

Overview#

This document provides a comprehensive mapping between SVG icon files found in /app-icons folder and TapHome enum values (DeviceType, ValueLogType, TriggerType, and VectorIconType).

Total Icons Analyzed: 805 SVG files


Table of Contents#

  1. Icon File Statistics
  2. DeviceType Icon Mappings
  3. ValueLogType Icon Mappings
  4. TriggerType Icon Mappings
  5. Icon Naming Patterns
  6. Unmatched Enums
  7. Icon Categories

Icon File Statistics#

CategoryCount
Total SVG Icons805
Device Icons (mapped)137
Value Type Icons (mapped)99
Trigger Type Icons (mapped)66
Symbol Icons (UI)~468
Button Icons (UI)~50
Smart Rule Icons~40
Circle Icons (UI)~20
Unmapped Icons~500+

DeviceType Icon Mappings#

Total Matches: 137 icon files → 45 DeviceType enum values

High Confidence Matches (101 icons)#

Direct name matches or clear device type indicators.

DeviceTypeValueIcon FilesMatch Reason
Alarm99alarm.svg
alarm-state.svg
Exact name match
Boiler70boiler.svgExact name match
Camera60large_camera.svgCamera device icon
ChargingStation96charger-wallbox.svg
charger-plug.svg
charger-plug-ev-state.svg
charger-plug-locked-state.svg
charger-plug-wallbox-state.svg
EV charging devices
CirculationPump2pump-state.svg
pump-level.svg
pump-heating-level.svg
pump-cooling-level.svg
pump-heating-cooling-level.svg
Pump variants
CoffeeMachine109coffee-state.svgCoffee device state
ElectricityMeter23electricity.svg
electricMeter-group.svg
electricMeter-impulse.svg
electricMeter-switch.svg
SymbolElectricMeter.svg
Electricity metering
Fan59fan-state.svg
fan3-step.svg
fan4-step.svg
Fan control icons
FloodSensor12flood-state.svgFlood detection
FloorHeating80heatingFloor.svgFloor heating
GarageDoorOpener20garageDoor-state.svg
openCloseGarageDoor.svg
Garage door control
GasMeter24GasMeterGroup.svg
GasMeterImpulse.svg
GasMeterSwitch.svg
SymbolGasMeter.svg
Gas metering
Irrigation98irrigation-state.svgIrrigation system
Light21large_light1.svg
large_light2.svg
lightBulb-fluorescent-level.svg
lightBulb-fluorescent-state.svg
lightBulb-halogen-level.svg
lightBulb-halogen-state.svg
lightBulb-incandescent-level.svg
lightBulb-incandescent-state.svg
Light bulb types
LightSwitch3large_switch.svgLight switch
Lock5locked-state.svg
large_key.svg
Lock and key icons
MotionSensor7motion-state.svgMotion detection
Pool71openPool.svg
poolLight-level.svg
poolLight-state.svg
swimJet-state.svg
bubbles-state.svg
bubbleJet-state.svg
Pool and features
PresenceSensor38presence-state.svg
presence-alarm-state.svg
Presence detection
RainSensor40rain-state.svg
RainGaugeImpulse.svg
SymbolRainGaugeMeter.svg
Rain detection
RGBLight17lightBulb-led-level.svg
lightBulb-led-state.svg
LED/RGB lights
SecuritySiren26bell-state.svgSiren/bell
SmokeSensor13fire-state.svgSmoke/fire detection
ACUnit66splitUnit-state.svgSplit AC unit
Speaker97large_loudspeaker.svgLoudspeaker
Thermostat11detail-thermostat-level-angle.svgThermostat control
TiltSensor42tilt-state.svgTilt detection
TV76tv-state.svgTV state
VacuumCleaner110symbol-vacuum.svgVacuum cleaner
VentilationUnit47automatic-ventilation-state.svg
air-flow.svg
air-flow-level.svg
Ventilation
WaterMeter22WaterMeterGroup.svg
WaterMeterImpulse.svg
WaterMeterSwitch.svg
SymbolWaterMeter.svg
Water metering
Weather85weather.svg
wind-state.svg
windspeed.svg
Weather station
WindowContact4window.svg
door-open.svg
Window/door contact

Medium Confidence Matches (33 icons)#

Reasonable associations with some ambiguity.

DeviceTypeValueIcon FilesMatch Reason
LightDimmer16floorLamp-level.svg
floorLamp-state.svg
pendantLight-level.svg
pendantLight-state.svg
wallLight-level.svg
wallLight-state.svg
tableLamp-level.svg
orientationLight-level.svg
orientationLight-state.svg
Various dimmable lamps
ThermoelectricValve1valve-state.svg
valve-level.svg
valve-cold-state.svg
valve-cold-level.svg
valve-hot-state.svg
valve-hot-level.svg
valve-dynamic-state.svg
valve-dynamic-level.svg
mix-valve-cold-level.svg
mix-valve-hot-level.svg
mix-valve-dynamic-level.svg
mix-valve-level.svg
Valve variants
Radiator79radiatorDryer.svgRadiator dryer
TowelRail68radiatorDryer.svgTowel rail type
Battery81battery-charging.svg
battery-ready.svg
battery-error.svg
battery-notReady.svg
battery-notAuthorized.svg
battery-starting.svg
Battery states
COSensor14co-state.svgCO sensor
CO2Sensor15co2.svgCO2 sensor
AirPurifier49airPurification-state.svgAir purification
ElectricHeater67convector.svg
heatingPanel-state-anim.svg
Electric heating
Blinds18detail-blind90-level-angle.svg
detail-blind180-level-angle.svg
detail-blind180-LTR-level-angle.svg
detail-blind180-RTL-level-angle.svg
detail-blind180-MIRROR-level-angle.svg
Blind control variants
Awning55detail-awning-level.svgAwning control
PowerMeter53counter.svg
SymbolMeter.svg
SymbolAmpereMeter.svg
SymbolVoltmeter.svg
Power metering
Doorphone82large_door.svg
large_fence.svg
Doorphone icons
DoorBell10bell-state.svgDoorbell
GenericDevice57deviceUnknown.svg
dashboardUnknown.svg
Unknown devices
RemoteController32controller.svgController
Gateway83module.svgGateway module
AnalogInput35detail-analogOutput-level.svgAnalog I/O

ValueLogType Icon Mappings#

Total Matches: 99 icon files → 51 ValueLogType enum values

High Confidence Matches (67 icons)#

Direct name matches or clear semantic relationships.

ValueLogTypeValueIcon FilesMatch Reason
Temperature4symbol-temperature.svg
temperature-temperature.svg
symbol-temperature-dew.svg
symbol-temperature-mixed.svg
symbol-temperature-return.svg
symbol-temperature-source.svg
Temperature sensors
Humidity3symbol-humidity.svgHumidity sensor
CO213co2.svg
symbol-co2.svg
symbol-carbondioxide.svg
CO2 measurement
VOC14voc.svg
symbol-voc.svg
VOC measurement
Pressure15atmosphericPressure.svg
symbol-atmosphericPressure.svg
SymbolWaterPressure.svg
Pressure sensors
SensorBrightness2brightness.svg
brightness-state.svg
symbol-brightness.svg
symbol-brightness-low.svg
symbol-brightness-lux.svg
Brightness/light sensors
WindSpeed19windspeed.svg
symbol-windspeed.svg
symbol-windspeed-accent.svg
Wind speed
Battery35symbol-battery.svg
symbol-battery-health.svg
battery-charging.svg
battery-ready.svg
battery-error.svg
battery-notReady.svg
battery-notAuthorized.svg
battery-starting.svg
Battery level/state
Sound33noise.svg
noise-state.svg
symbol-noise.svg
Sound/noise level
CO34symbol-co.svg
co-state.svg
CO measurement
Consumption5SymbolElectricConsumption.svg
SymbolGasConsumption.svg
SymbolWaterConsumption.svg
Energy consumption
Power6symbol-powerPlug.svg
symbol-powerCord.svg
powerCord.svg
Power measurement
WaterFlow11air-flow.svg
air-flow-level.svg
symbol-air-flow.svg
Flow measurement
WaterConsumption12SymbolWaterConsumption.svg
SymbolWaterDemand.svg
Water usage
TotalConsumption27SymbolEnergy.svgTotal energy
GasConsumption28SymbolGasConsumption.svg
SymbolGasDemand.svg
Gas usage
Level45heating-level.svg
cooling-level.svg
SymbolWaterLevel.svg
symbol-saturation-level.svg
Level indicators
Weight43weight.svgWeight measurement
Angle62symbol-angle.svg
symbol-blindsAngle.svg
symbol-blindsAngle-horizontal.svg
Angle measurement
MotionDetected63motion-state.svgMotion detection
DoorWindowState64window.svg
door-open.svg
Door/window state
LockState65locked-state.svg
symbol-locked.svg
Lock state
SmokeDetected66fire-state.svg
symbol-fire.svg
symbol-fire-accent.svg
Smoke detection
FloodDetected67flood-state.svg
symbol-flood.svg
Flood detection
RainRate21rain-state.svg
symbol-rain.svg
SymbolRainfallLong.svg
SymbolRainfallShort.svg
Rain measurement
pH50symbol-pH.svgpH measurement
VibrationDetected69tilt-state.svgVibration/tilt
PresenceDetected71presence-state.svg
presence-alarm-state.svg
Presence detection
Percentage46symbol-percent.svgPercentage value
State1switch_bgr-state.svg
powerButton-state.svg
scene-state.svg
Generic state

Medium Confidence Matches (24 icons)#

Likely matches with reasonable associations.

ValueLogTypeValueIcon FilesMatch Reason
SetPointTemperature16symbol-temperature.svg
detail-setPoint-level.svg
Temperature setpoint
FanSpeed38fan-state.svg
fan3-step.svg
fan4-step.svg
symbol-vent4-level.svg
symbol-vent4.svg
Fan speed control
Position39detail-blind90-level-angle.svg
detail-blind180-level-angle.svg
symbol-blindsLevel.svg
Position control
OpenClose40window.svg
door-open.svg
garageDoor-state.svg
openCloseGarageDoor.svg
Open/close state
Voltage7SymbolVoltmeter.svg
electricity.svg
Voltage measurement
Current8SymbolAmpereMeter.svg
electricity.svg
Current measurement
Frequency9symbol-rpm.svgFrequency/RPM
RPM58symbol-rpm.svgRPM measurement
ValvePosition47valve-level.svg
valve-state.svg
mix-valve-level.svg
Valve position

TriggerType Icon Mappings#

Total Matches: 66 icon files → 37 TriggerType enum values

High Confidence Matches (48 icons)#

Icons with sr_ prefix (Smart Rule) provide the most reliable matches.

TriggerTypeValueIcon FilesMatch Reason
AlarmTriggered8sr_alarm.svg
sr_alarm_trigger.svg
alarm.svg
alarm-state.svg
Alarm triggers
MotionDetected9sr_motion.svg
motion-state.svg
Motion detection
WindowOpened10sr_window.svg
window.svg
Window open
DoorOpened12door-open.svg
large_door.svg
Door open
DoorBellPressed31sr_doorbellRing.svg
bell-state.svg
Doorbell pressed
TimeSchedule3sr_schedule_daily.svg
sr_schedule_weekly.svg
sr_countdown_timer.svg
Time-based triggers
SunriseSunset4sr_sunset_sunrise.svgSunrise/sunset
BlindsOpened25sr_open_blinds.svg
sr_blinds_1button.svg
Blinds opening
BlindsPositionChanged27sr_blinds_2buttons.svg
sr_blinds_adjust_angle.svg
Blinds position
WeatherConditionChanged35weather.svg
symbol-weather-clear.svg
symbol-weather-cloud.svg
symbol-weather-clouds.svg
symbol-weather-drizzle.svg
symbol-weather-fog.svg
symbol-weather-rain.svg
symbol-weather-snow.svg
symbol-weather-thunderstorm.svg
Weather changes
RainDetected36rain-state.svg
RainGaugeImpulse.svg
Rain detection
WindSpeedHigh37sr_protect_blinds_wind.svg
sr_safety_protect_blinds_wind.svg
wind-state.svg
windspeed.svg
High wind
SmokeDetected16fire-state.svg
symbol-fire.svg
Smoke detection
FloodDetected17flood-state.svg
symbol-flood.svg
Flood detection
LockLocked14locked-state.svg
symbol-locked.svg
Lock locked
DeviceValueChange1sr_multiValue_trigger.svgValue change
DeviceStateChange2sr_switch_trigger.svgState change
DeviceValueInRange5sr_limitTemperature.svg
sr_limitFloorTemperature.svg
Value in range
ButtonPressed32sr_push_trigger.svgButton press
LogicCondition42sr_equation.svg
sr_formula.svg
Logic/equation
ScriptEvaluation43sr_script.svgScript trigger
VariableChanged46variable.svg
variablex.svg
Variable change
GeofenceEnter38large_fence.svgGeofence entry
PresenceDetected71presence-state.svg
presence-alarm-state.svg
sr_presence_simulation.svg
Presence detection
CO2High18co2.svg
co-state.svg
High CO2
TemperatureHigh19sr_protect_overheat.svg
temperature-temperature.svg
High temperature
ThermostatModeChanged30sr_thermostat.svg
sr_regulation_hysteresis.svg
sr_regulation_pid.svg
sr_regulation_equithermic.svg
Thermostat mode
CounterReached45counter.svgCounter reached
Unknown0smartruleUnknown.svgUnknown trigger

Medium Confidence Matches (18 icons)#

State-based icons and functional icons.

TriggerTypeValueIcon FilesMatch Reason
AlarmArmed6sr_alarm_simple.svgAlarm armed
TimerExpired44sr_lighting_timer.svgTimer expiry
LightTurnedOn23sr_lightScene.svg
large_light1.svg
large_light2.svg
Light on
HeatingTurnedOn28heating2-state.svg
heating-demand.svg
heating-level.svg
Heating on
HeatingTurnedOff29no-heating-cooling-demand.svgHeating off
UserArrived40home-state.svgUser arrived home
UserLeft41away-state.svgUser left home

Icon Naming Patterns#

Pattern Categories#

1. Smart Rule Icons (sr_ prefix)#

Pattern: sr_[function].svg

Examples:

  • sr_alarm.svg → AlarmTriggered
  • sr_motion.svg → MotionDetected
  • sr_window.svg → WindowOpened
  • sr_thermostat.svg → ThermostatModeChanged
  • sr_script.svg → ScriptEvaluation

Count: ~40 icons Purpose: Smart Rule automation triggers

2. State Indicators (-state suffix)#

Pattern: [device/value]-state.svg

Examples:

  • alarm-state.svg → Alarm device state
  • motion-state.svg → Motion sensor state
  • flood-state.svg → Flood sensor state
  • locked-state.svg → Lock state
  • fire-state.svg → Smoke sensor state

Count: ~66 icons Purpose: Device and sensor state indicators

3. Level Indicators (-level suffix)#

Pattern: [device/control]-level.svg

Examples:

  • pump-level.svg → Pump level control
  • valve-level.svg → Valve position level
  • floorLamp-level.svg → Lamp dimming level
  • heating-level.svg → Heating level
  • poolLight-level.svg → Pool light level

Count: ~40 icons Purpose: Device level/intensity controls

4. Symbol Icons (symbol- prefix)#

Pattern: symbol-[name].svg

Examples:

  • symbol-temperature.svg → Temperature measurement
  • symbol-humidity.svg → Humidity measurement
  • symbol-battery.svg → Battery level
  • symbol-brightness.svg → Brightness measurement
  • symbol-co2.svg → CO2 measurement

Count: ~468 icons Purpose: UI symbols and value type indicators

5. Device Type Icons#

Pattern: [devicename].svg or [devicename]-state.svg

Examples:

  • alarm.svg → Alarm device
  • boiler.svg → Boiler device
  • thermostat.svg → Thermostat device
  • weather.svg → Weather station
  • irrigation-state.svg → Irrigation system

Count: ~137 icons Purpose: Device type identification

6. Detail Icons (detail- prefix)#

Pattern: detail-[component]-[property].svg

Examples:

  • detail-thermostat-level-angle.svg → Thermostat detail
  • detail-blind90-level-angle.svg → Blind control detail
  • detail-awning-level.svg → Awning control detail
  • detail-analogOutput-level.svg → Analog output detail

Count: ~15 icons Purpose: Detailed UI components for specific controls

7. Button Icons (button_ prefix)#

Pattern: button_[action].svg

Examples:

  • button_plus.svg → Add button
  • button_minus.svg → Remove button
  • button_edit.svg → Edit button
  • button_delete.svg → Delete button
  • button_search.svg → Search button

Count: ~50 icons Purpose: UI action buttons

8. Circle Icons (circle- prefix)#

Pattern: circle-[name].svg

Examples:

  • circle-devices.svg → Devices menu
  • circle-setting.svg → Settings menu
  • circle-chart.svg → Chart view
  • circle-user.svg → User profile
  • circle-location.svg → Location

Count: ~20 icons Purpose: Circular navigation icons

9. Large Icons (large_ prefix)#

Pattern: large_[name].svg

Examples:

  • large_light1.svg → Large light icon
  • large_camera.svg → Large camera icon
  • large_door.svg → Large door icon
  • large_loudspeaker.svg → Large speaker icon
  • large_switch.svg → Large switch icon

Count: ~10 icons Purpose: Oversized UI variants

10. Meter/Symbol Icons (Symbol/Meter suffix)#

Pattern: Symbol[Type]Meter.svg or [Type]Meter[Variant].svg

Examples:

  • SymbolElectricMeter.svg → Electric meter symbol
  • SymbolGasMeter.svg → Gas meter symbol
  • SymbolWaterMeter.svg → Water meter symbol
  • WaterMeterGroup.svg → Water meter group
  • electricMeter-impulse.svg → Electric meter impulse

Count: ~20 icons Purpose: Metering device icons

11. Type Variants#

Pattern: [device]-[type]-[property].svg

Examples:

  • lightBulb-led-state.svg → LED bulb state
  • lightBulb-halogen-level.svg → Halogen bulb level
  • valve-hot-level.svg → Hot valve level
  • valve-cold-state.svg → Cold valve state
  • pump-heating-level.svg → Heating pump level

Count: ~30 icons Purpose: Device type-specific variants

12. Step Control Icons (-step suffix)#

Pattern: [control][number]-step.svg

Examples:

  • fan3-step.svg → 3-speed fan control
  • fan4-step.svg → 4-speed fan control
  • intensity3-step.svg → 3-level intensity
  • signal2-step.svg → 2-step signal

Count: ~15 icons Purpose: Multi-step control indicators


Unmatched Enums#

DeviceType (81 unmatched)#

These DeviceType enum values don’t have corresponding icon files:

  • Sensors: TemperatureSensor, HumiditySensor, PressureSensor, LightSensor, DistanceSensor, UVSensor, SoundSensor, AirQualitySensor
  • Contacts: DoorContact, ContactSensor, ReedSwitch, VibrationSensor
  • Switches/Relays: Relay, WallSwitch, VirtualSwitch
  • Climate: Humidifier, Dehumidifier, AirConditioner, InfraredHeater, EvaporativeCooler
  • Covers: ElectricCurtains, Curtains, WindowOpener, Gate
  • Appliances: Oven, Fridge, Freezer, WashingMachine, Dishwasher, Dryer, Cooktop, Hood, Microwave, Kettle
  • Other: Projector, Stove, Barbecue, PetFeeder, RobotMower, LawnMower, Diffuser, WaterHeater, WiFi, WiFiRouter
  • Controllers: RoomController, KeyPad, WallController, MultiFunctionController
  • Buttons: Button, VirtualButton, Input
  • Energy: SolarPanel, Inverter, HeatMeter, FlowMeter
  • Heating: HeatPump, Fireplace, OutdoorHeater
  • Ventilation: HRVUnit
  • Security: GlassBreakSensor, Siren
  • Multi-function: MultiFunctionSensor, GenericSensor, SmartRuleTrigger
  • Remaining indicators: CO2Remaining, VOCRemaining, PM25Remaining, PM10Remaining, FilterRemaining

Likely Reasons:

  • These devices use generic icons from VectorIconType enum
  • UI renders them with symbol icons instead of device-specific SVGs
  • Icons may be generated programmatically
  • Some devices are rarely used or deprecated

ValueLogType (54 unmatched)#

These ValueLogType enum values don’t have corresponding icon files:

  • Electrical Multi-phase: PowerL1, PowerL2, PowerL3, VoltageL1, VoltageL2, VoltageL3, CurrentL1, CurrentL2, CurrentL3, PowerFactorL1, PowerFactorL2, PowerFactorL3
  • Reactive Power: ReactivePower, ReactiveEnergy, ApparentPower, ApparentEnergy
  • Advanced Air Quality: Radon, O2, O3, NO2, SO2, CH4, H2, NH3, Benzene, Toluene, FormaldehideCH2O, ParticulateMatter, AirQualityIndex
  • Pool Chemistry: ORP, ChlorineLevel, TotalHardness, CalciumHardness, Alkalinity, Conductivity
  • Weather Extended: UVIndex, WindDirection, DewPoint, HeatIndex, WindChill, FeltTemperature
  • Temperatures: InletTemperature, OutletTemperature, ReturnTemperature
  • Physical: Force, Torque, Energy, Depth, Height, Distance, Rotation, Speed, Flow
  • Consumption Totals: TotalConsumption, TotalGasConsumption, TotalHeatConsumption, TotalWaterConsumption, HeatConsumption
  • Other: PowerFactor, Frequency, RSSI, Volume

Likely Reasons:

  • Complex multi-phase electrical values use generic electrical icons
  • Specialized air quality measurements use generic sensor icons
  • Pool chemistry values use pH or water-related generic icons
  • Some values are calculated/derived and don’t need dedicated icons

TriggerType (10 unmatched)#

These TriggerType enum values don’t have corresponding icon files:

  • Opposite States: AlarmDisarmed, WindowClosed, DoorClosed, LockUnlocked, LightTurnedOff, BlindsClosed
  • Humidity: HumidityHigh, HumidityLow
  • Location: GeofenceExit
  • Button: ButtonHeld

Likely Reasons:

  • Opposite state triggers use the same icon as their counterpart (e.g., WindowOpened icon used for WindowClosed)
  • ButtonHeld uses the same icon as ButtonPressed
  • GeofenceExit uses the same icon as GeofenceEnter
  • Humidity triggers use generic humidity icon

Icon Categories#

1. Device-Specific Icons (~137 icons)#

Icons representing physical devices and their states.

Subcategories:

  • Lighting: light, lamp, bulb variants
  • HVAC: heating, cooling, ventilation, thermostats
  • Security: alarms, sensors, locks, cameras
  • Metering: electricity, water, gas meters
  • Appliances: coffee, pool equipment
  • Covers: blinds, awnings, garage doors
  • Valves & Pumps: various valve and pump types

2. UI Symbol Icons (~468 icons)#

Icons for user interface elements and measurements.

Subcategories:

  • Measurements: temperature, humidity, pressure, etc.
  • Navigation: arrows, directions, locations
  • Actions: settings, edit, delete, add
  • States: locked, unlocked, on, off
  • Weather: rain, wind, clouds, sun
  • Zones: rooms, areas (attic, balcony, cellar, etc.)

3. Smart Rule Icons (~40 icons)#

Icons specifically for automation rules.

Prefix: sr_

Types:

  • Triggers: alarm, motion, window, push
  • Schedules: daily, weekly, sunrise/sunset
  • Controls: blinds, dimmer, thermostat
  • Protection: overheat, wind protection
  • Logic: equation, formula, script
  • Notifications: error, general

4. Button Icons (~50 icons)#

UI action buttons.

Prefix: button_

Types:

  • Navigation: back, next, previous, up, down
  • Actions: add, delete, edit, save, close
  • Selection: select, checkbox, starred
  • Media: play, pause, microphone, photo
  • View: refresh, search, menu, more

5. Circle Icons (~20 icons)#

Circular navigation and menu icons.

Prefix: circle-

Types:

  • Navigation: devices, chart, list, shortcuts
  • Settings: setting, terminal, wizard
  • User: user, location
  • Widgets: widget, widget_small

6. State Indicator Icons (~66 icons)#

Icons showing device or value states.

Suffix: -state

Examples:

  • Device states: alarm-state, motion-state, flood-state
  • Value states: brightness-state, temperature-state
  • Control states: locked-state, powerButton-state

7. Level Control Icons (~40 icons)#

Icons for level/intensity controls.

Suffix: -level

Examples:

  • Lighting levels: floorLamp-level, wallLight-level
  • HVAC levels: heating-level, cooling-level
  • Position levels: valve-level, blind-level

8. Detail Component Icons (~15 icons)#

Detailed UI components for specific controls.

Prefix: detail-

Examples:

  • Thermostat: detail-thermostat-level-angle
  • Blinds: detail-blind90-level-angle, detail-blind180-level-angle
  • Valves: detail-mix-valve-cold-level
  • Awning: detail-awning-level

9. Large/Oversized Icons (~10 icons)#

Oversized variants for prominent display.

Prefix: large_

Examples:

  • large_light1, large_light2
  • large_camera
  • large_door
  • large_loudspeaker
  • large_switch

10. Overlay Icons (~6 icons)#

Overlay indicators for additional information.

Prefix: overlay-

Examples:

  • overlay-locked, overlay-unlocked
  • overlay-group
  • overlay-impulse
  • overlay-money
  • overlay-switch

11. Number/Step Icons (~35 icons)#

Numbered state indicators and step controls.

Patterns: number[0-20]-state.svg, [control][3-8]-step.svg

Examples:

  • States: number0-state through number20-state
  • Fan steps: fan3-step, fan4-step
  • Intensity steps: intensity3-step through intensity8-step
  • Signal steps: signal1-step, signal2-step, signal3-step

12. Meter Icons (~20 icons)#

Metering and measurement device icons.

Patterns: Symbol[Type]Meter.svg, [Type]Meter[Variant].svg

Examples:

  • Electric: SymbolElectricMeter, electricMeter-group, electricMeter-impulse
  • Gas: SymbolGasMeter, GasMeterGroup, GasMeterImpulse
  • Water: SymbolWaterMeter, WaterMeterGroup, WaterMeterImpulse
  • General: SymbolMeter, SymbolAmpereMeter, SymbolVoltmeter

13. Access Control Icons (~10 icons)#

Icons for access control and security.

Prefix: access-

Examples:

  • access-card
  • access-PIN
  • access-PINcard
  • access-checkin
  • access-checkout
  • access-expired
  • access-lost
  • access-repeated

14. Scene Icons (~8 icons)#

Scene and mode indicators.

Patterns: scene[0-9]of9.svg, [mode]-state.svg

Examples:

  • Scenes: scene0of9, scene1of9, scene5of9, scene9of9
  • Modes: day-state, night-state, home-state, away-state
  • Events: party-state, holiday-state, vacation-state

Usage Recommendations#

For DeviceType Mapping#

  1. Primary Icon Selection:

    • Use device-specific icons when available (e.g., alarm.svg for Alarm)
    • Fall back to state icons for device states (e.g., alarm-state.svg)
    • Use symbol icons from VectorIconType enum for unmatched devices
  2. Icon Variants:

    • Use -state suffix for on/off or discrete states
    • Use -level suffix for continuous controls (dimming, position)
    • Use type-specific icons when device has subtypes (e.g., LED, halogen, fluorescent bulbs)
  3. Multiple Icons:

    • Some devices have multiple icon variants (e.g., pumps have heating, cooling, heating-cooling)
    • Select appropriate variant based on device configuration or mode

For ValueLogType Mapping#

  1. Measurement Icons:

    • Prefer symbol-[name].svg for measurement displays
    • Use specialized temperature icons for different temperature types (dew, mixed, return, source)
    • Use meter icons (SymbolXXXMeter) for cumulative measurements
  2. State vs Value:

    • Use -state suffix icons for binary/boolean values (detected/not detected)
    • Use measurement symbols for numeric values
  3. Unit Display:

    • Icons don’t include units - display units separately in UI
    • Use auto-prefix system for large values (k, M, G)

For TriggerType Mapping#

  1. Smart Rule Icons:

    • Always prefer sr_ prefix icons for Smart Rule triggers
    • These are specifically designed for automation contexts
  2. Generic Triggers:

    • DeviceValueChange → sr_multiValue_trigger.svg
    • DeviceStateChange → sr_switch_trigger.svg
    • LogicCondition → sr_equation.svg or sr_formula.svg
  3. Opposite States:

    • For unmatched opposite states (e.g., WindowClosed), use the same icon as the matched state
    • Indicate state difference through color or overlay

Icon Size Guidelines#

  • Large icons (large_*): Use for main device representation in detail views
  • Standard icons: Use for lists, cards, and general UI
  • Circle icons (circle-*): Use for navigation menus and tabs
  • Button icons (button_*): Use for action buttons and controls
  • Symbol icons (symbol-*): Use for labels, measurements, and indicators

Color and Theming#

Icons are provided as SVG files which support:

  • Dynamic color theming
  • Accent color application
  • State-based coloring (on/off, active/inactive)
  • Overlay composition

Recommended color usage:

  • Active state: Accent color (Pink, Blue, Green)
  • Inactive state: Gray or muted color
  • Error state: Red
  • Warning state: Orange/Yellow
  • Success state: Green

File References#

Source Documentation#

  • Enum Reference: /Users/martinkalis/Claude/taphome_git_lfs/TAPHOME_ENUMS_AND_ICONS_REFERENCE.md
  • Script Language Docs: /Users/martinkalis/Claude/taphome_git_lfs/TAPHOME_SCRIPT_LANGUAGE_DOCUMENTATION.md

Icon Folder#

  • Location: /Users/martinkalis/Claude/taphome_git_lfs/app-icons/
  • Total Files: 805 SVG icons
  • Format: SVG (Scalable Vector Graphics)

Code Files#

  • DeviceType: TapHome.Core.Lib.Model/DeviceBase.cs:149-325
  • ValueLogType: TapHome.Core.Lib.Model/ValueLog.cs:12-134
  • TriggerType: TapHome.Core.Lib.Model/IFTTT/TriggerType.cs
  • VectorIconType: TapHome.Core.Lib.Model/VectorIconType.cs

Statistics Summary#

DeviceType Icon Mapping#

  • Total DeviceType enums: 126
  • Matched with icons: 45 (36%)
  • High confidence matches: 101 icon files
  • Medium confidence matches: 33 icon files
  • Low confidence matches: 3 icon files
  • Total icon-to-device mappings: 137

ValueLogType Icon Mapping#

  • Total ValueLogType enums: 105
  • Matched with icons: 51 (49%)
  • High confidence matches: 67 icon files
  • Medium confidence matches: 24 icon files
  • Low confidence matches: 8 icon files
  • Total icon-to-value mappings: 99

TriggerType Icon Mapping#

  • Total TriggerType enums: 47
  • Matched with icons: 37 (79%)
  • High confidence matches: 48 icon files
  • Medium confidence matches: 18 icon files
  • Total icon-to-trigger mappings: 66

Overall Icon Usage#

  • Total SVG icons: 805
  • Mapped to enums: ~302 (38%)
  • UI elements (unmapped): ~503 (62%)
  • Icon categories: 14 distinct categories

Version Information#

  • Document Version: 1.0
  • Analysis Date: 2025-11-15
  • Icon Folder: /app-icons
  • Total Icons Analyzed: 805 SVG files

This documentation was generated by analyzing icon file names and matching them to TapHome enum values based on naming patterns and semantic relationships.