|
| 1 | +blueprint_spec: device/1.0 |
| 2 | +display_name: Smappee Infinity |
| 3 | +description: Smart energy monitoring system |
| 4 | +icon: enapter-home |
| 5 | +vendor: smappee |
| 6 | +license: MIT |
| 7 | +author: enapter |
| 8 | +contributors: |
| 9 | + - anataty |
| 10 | +support: |
| 11 | + url: https://go.enapter.com/enapter-blueprint-support |
| 12 | + |
| 13 | +verification_level: verified |
| 14 | + |
| 15 | +communication_module: |
| 16 | + product: ENP-VIRTUAL |
| 17 | + lua: |
| 18 | + dir: smappee_lua |
| 19 | + amalg_mode: nodebug |
| 20 | + dependencies: |
| 21 | + - enapter-ucm |
| 22 | + |
| 23 | +properties: |
| 24 | + vendor: |
| 25 | + type: string |
| 26 | + display_name: Vendor |
| 27 | + model: |
| 28 | + type: string |
| 29 | + display_name: Model |
| 30 | + |
| 31 | +telemetry: |
| 32 | + status: |
| 33 | + type: string |
| 34 | + display_name: State |
| 35 | + enum: |
| 36 | + - ok |
| 37 | + - warning |
| 38 | + consumption_power: |
| 39 | + type: float |
| 40 | + unit: Wh |
| 41 | + display_name: Consumption |
| 42 | + voltage1: |
| 43 | + type: float |
| 44 | + unit: V |
| 45 | + display_name: Voltage Line 1 |
| 46 | + voltage2: |
| 47 | + type: float |
| 48 | + unit: V |
| 49 | + display_name: Voltage Line 2 |
| 50 | + voltage3: |
| 51 | + type: float |
| 52 | + unit: V |
| 53 | + display_name: Voltage Line 3 |
| 54 | + current1_PHASEA: |
| 55 | + type: float |
| 56 | + unit: A |
| 57 | + display_name: Main Load Current phase A |
| 58 | + current1_PHASEB: |
| 59 | + type: float |
| 60 | + unit: A |
| 61 | + display_name: Main Load Current phase B |
| 62 | + current1_PHASEC: |
| 63 | + type: float |
| 64 | + unit: A |
| 65 | + display_name: Main Load Current phase C |
| 66 | + active1_PHASEA: |
| 67 | + type: float |
| 68 | + unit: W |
| 69 | + display_name: Main Load active power phase A |
| 70 | + active1_PHASEB: |
| 71 | + type: float |
| 72 | + unit: W |
| 73 | + display_name: Main Load active power phase B |
| 74 | + active1_PHASEC: |
| 75 | + type: float |
| 76 | + unit: W |
| 77 | + display_name: Main Load active power phase C |
| 78 | + current2_PHASEA: |
| 79 | + type: float |
| 80 | + unit: A |
| 81 | + display_name: Zone Carport/Cafe Current phase A |
| 82 | + current2_PHASEB: |
| 83 | + type: float |
| 84 | + unit: A |
| 85 | + display_name: Zone Carport/Cafe Current phase B |
| 86 | + current2_PHASEC: |
| 87 | + type: float |
| 88 | + unit: A |
| 89 | + display_name: Zone Carport/Cafe Current phase C |
| 90 | + active2_PHASEA: |
| 91 | + type: float |
| 92 | + unit: W |
| 93 | + display_name: Zone Carport/Cafe active power phase A |
| 94 | + active2_PHASEB: |
| 95 | + type: float |
| 96 | + unit: W |
| 97 | + display_name: Zone Carport/Cafe active power phase B |
| 98 | + active2_PHASEC: |
| 99 | + type: float |
| 100 | + unit: W |
| 101 | + display_name: Zone Carport/Cafe active power phase C |
| 102 | + current3_PHASEA: |
| 103 | + type: float |
| 104 | + unit: A |
| 105 | + display_name: Zone Hotel / Office Current phase A |
| 106 | + current3_PHASEB: |
| 107 | + type: float |
| 108 | + unit: A |
| 109 | + display_name: Zone Hotel / Office Current phase B |
| 110 | + current3_PHASEC: |
| 111 | + type: float |
| 112 | + unit: A |
| 113 | + display_name: Zone Hotel / Office Current phase C |
| 114 | + active3_PHASEA: |
| 115 | + type: float |
| 116 | + unit: W |
| 117 | + display_name: Zone Hotel / Office active power phase A |
| 118 | + active3_PHASEB: |
| 119 | + type: float |
| 120 | + unit: W |
| 121 | + display_name: Zone Hotel / Office active power phase B |
| 122 | + active3_PHASEC: |
| 123 | + type: float |
| 124 | + unit: W |
| 125 | + display_name: Zone Hotel / Office active power phase C |
| 126 | + |
| 127 | +alerts: |
| 128 | + no_data: |
| 129 | + severity: warning |
| 130 | + display_name: No data from device |
| 131 | + description: > |
| 132 | + Can't read data from Smappee Infinity. |
| 133 | + Please check connection parameters. |
| 134 | + connection_error: |
| 135 | + severity: warning |
| 136 | + display_name: Connection Error |
| 137 | + description: > |
| 138 | + Please use "Set Up Connection" command to set up your |
| 139 | + Smappee account configuration. |
| 140 | + no_service_location_name: |
| 141 | + severity: warning |
| 142 | + display_name: No service location name |
| 143 | + description: > |
| 144 | + Please use "Set Up Connection" command to set up your |
| 145 | + Smappee service location name. |
| 146 | + invalid_service_location_id: |
| 147 | + severity: warning |
| 148 | + display_name: Incorrect service location name |
| 149 | + description: > |
| 150 | + Please double check Smappee service location name. |
| 151 | +
|
| 152 | +command_groups: |
| 153 | + connection: |
| 154 | + display_name: Connection |
| 155 | + |
| 156 | +commands: |
| 157 | + # TODO: mark commands containing secrets |
| 158 | + write_configuration: |
| 159 | + display_name: Set Up Connection |
| 160 | + description: Set your Smappee account parameters |
| 161 | + group: connection |
| 162 | + populate_values_command: read_configuration |
| 163 | + ui: |
| 164 | + icon: file-document-edit-outline |
| 165 | + arguments: |
| 166 | + username: |
| 167 | + display_name: Smappee username |
| 168 | + type: string |
| 169 | + required: true |
| 170 | + password: |
| 171 | + display_name: Smappee password |
| 172 | + type: string |
| 173 | + required: true |
| 174 | + client_id: |
| 175 | + display_name: Smappee Client ID |
| 176 | + type: string |
| 177 | + required: true |
| 178 | + client_secret: |
| 179 | + display_name: Smappee Client Secret |
| 180 | + type: string |
| 181 | + required: true |
| 182 | + service_location_name: |
| 183 | + display_name: Smappee Service Location name |
| 184 | + type: string |
| 185 | + required: false |
| 186 | + read_configuration: |
| 187 | + display_name: Read Connection Parameters |
| 188 | + group: connection |
| 189 | + ui: |
| 190 | + icon: file-check-outline |
| 191 | + |
| 192 | +.cloud: |
| 193 | + mobile_main_chart: consumption_power |
| 194 | + mobile_charts: |
| 195 | + - consumption_power |
| 196 | + - active_power |
| 197 | + - current |
| 198 | + - voltage1 |
| 199 | + - voltage2 |
| 200 | + - voltage3 |
0 commit comments