kiosko-plugin-homeassistant 0.2.1 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
package/docs/media.png ADDED
Binary file
Binary file
@@ -6,10 +6,10 @@
6
6
  "en": "Home Assistant",
7
7
  "es": "Home Assistant"
8
8
  },
9
- "version": "0.2.1",
9
+ "version": "0.2.3",
10
10
  "description": {
11
- "en": "Home Assistant on the panel, live over its WebSocket API: any entity in big with its history, lists of entities, and what needs you at home (doors left open, low batteries, leaks, the alarm).",
12
- "es": "Home Assistant en el panel, en directo por su API WebSocket: cualquier entidad en grande con su histórico, listas de entidades y lo que te necesita en casa (puertas abiertas, baterías bajas, fugas, la alarma)."
11
+ "en": "Home Assistant on the panel, live over its WebSocket API: any entity in big with its history, lists of entities, what needs you at home (doors left open, low batteries, leaks, the alarm), your cameras (with the doorbell), the energy flow, what's playing and who is home.",
12
+ "es": "Home Assistant en el panel, en directo por su API WebSocket: cualquier entidad en grande con su histórico, listas de entidades, lo que te necesita en casa (puertas abiertas, baterías bajas, fugas, la alarma), tus cámaras (con el timbre), el flujo de energía, lo que suena y quién está en casa."
13
13
  },
14
14
  "author": "Loksly",
15
15
  "license": "MIT",
@@ -27,13 +27,25 @@
27
27
  "es"
28
28
  ],
29
29
  "categories": [
30
- "info"
30
+ "info",
31
+ "media"
31
32
  ],
32
33
  "tags": [
33
34
  "home assistant",
34
35
  "smart home",
35
36
  "sensor",
36
- "alerts"
37
+ "alerts",
38
+ "camera",
39
+ "blink",
40
+ "security",
41
+ "energy",
42
+ "solar",
43
+ "battery",
44
+ "music",
45
+ "tv",
46
+ "spotify",
47
+ "presence",
48
+ "family"
37
49
  ],
38
50
  "permissions": {
39
51
  "network": [
@@ -731,6 +743,629 @@
731
743
  "screenshot": "docs/attention.png",
732
744
  "animated": false,
733
745
  "urgent": true
746
+ },
747
+ {
748
+ "type": "homeassistant/camera",
749
+ "name": {
750
+ "en": "Camera",
751
+ "es": "Cámara"
752
+ },
753
+ "description": {
754
+ "en": "The latest picture of a Home Assistant camera (Blink, Reolink, ONVIF…), refreshed every minute, with how old it is; with a motion sensor, a red mark while it sees someone, and it can take over its tile. A still, not live video.",
755
+ "es": "La última imagen de una cámara de Home Assistant (Blink, Reolink, ONVIF…), refrescada cada minuto, con su antigüedad; con un sensor de movimiento, una marca roja mientras ve a alguien, y puede quedarse con su tesela. Una foto, no vídeo en directo."
756
+ },
757
+ "icon": "cctv",
758
+ "category": "media",
759
+ "tags": [
760
+ "home assistant",
761
+ "camera",
762
+ "blink",
763
+ "security"
764
+ ],
765
+ "size": {
766
+ "min": {
767
+ "w": 120,
768
+ "h": 80
769
+ },
770
+ "preferred": {
771
+ "w": 400,
772
+ "h": 260
773
+ }
774
+ },
775
+ "chrome": "bare",
776
+ "sources": [
777
+ "homeassistant/states"
778
+ ],
779
+ "options": {
780
+ "default": {
781
+ "entity": "",
782
+ "name": "",
783
+ "showName": true,
784
+ "showAge": true,
785
+ "motion": "",
786
+ "doorbell": "",
787
+ "fit": "cover",
788
+ "keep": "center",
789
+ "dim": 0
790
+ },
791
+ "x-ui": {},
792
+ "type": "object",
793
+ "properties": {
794
+ "entity": {
795
+ "title": "Camera",
796
+ "description": "Its id in Home Assistant: camera.something.",
797
+ "default": "",
798
+ "x-ui": {
799
+ "label": {
800
+ "en": "Camera",
801
+ "es": "Cámara"
802
+ },
803
+ "help": {
804
+ "en": "Its id in Home Assistant: camera.something.",
805
+ "es": "Su id en Home Assistant: camera.algo."
806
+ },
807
+ "placeholder": "camera.porch",
808
+ "choices": {
809
+ "source": "homeassistant/states",
810
+ "list": "cameras"
811
+ }
812
+ },
813
+ "type": "string"
814
+ },
815
+ "name": {
816
+ "title": "Name",
817
+ "description": "Empty = the name in Home Assistant.",
818
+ "default": "",
819
+ "x-ui": {
820
+ "label": {
821
+ "en": "Name",
822
+ "es": "Nombre"
823
+ },
824
+ "help": {
825
+ "en": "Empty = the name in Home Assistant.",
826
+ "es": "Vacío = el nombre en Home Assistant."
827
+ }
828
+ },
829
+ "type": "string"
830
+ },
831
+ "showName": {
832
+ "title": "Show the name",
833
+ "default": true,
834
+ "x-ui": {
835
+ "label": {
836
+ "en": "Show the name",
837
+ "es": "Mostrar el nombre"
838
+ }
839
+ },
840
+ "type": "boolean"
841
+ },
842
+ "showAge": {
843
+ "title": "Show how old the picture is",
844
+ "description": "Since the picture last changed. A battery camera (Blink) only takes a new one on motion or when asked.",
845
+ "default": true,
846
+ "x-ui": {
847
+ "label": {
848
+ "en": "Show how old the picture is",
849
+ "es": "Mostrar la antigüedad de la imagen"
850
+ },
851
+ "help": {
852
+ "en": "Since the picture last changed. A battery camera (Blink) only takes a new one on motion or when asked.",
853
+ "es": "Desde que cambió la imagen por última vez. Una cámara de batería (Blink) solo hace otra con movimiento o cuando se le pide."
854
+ }
855
+ },
856
+ "type": "boolean"
857
+ },
858
+ "motion": {
859
+ "title": "Motion sensor",
860
+ "description": "Empty = binary_sensor.<camera>_motion if there is one (Blink names them so).",
861
+ "default": "",
862
+ "x-ui": {
863
+ "label": {
864
+ "en": "Motion sensor",
865
+ "es": "Sensor de movimiento"
866
+ },
867
+ "help": {
868
+ "en": "Empty = binary_sensor.<camera>_motion if there is one (Blink names them so).",
869
+ "es": "Vacío = binary_sensor.<cámara>_motion si existe (Blink los llama así)."
870
+ },
871
+ "placeholder": "binary_sensor.porch_motion",
872
+ "choices": {
873
+ "source": "homeassistant/states",
874
+ "list": "motion"
875
+ }
876
+ },
877
+ "type": "string"
878
+ },
879
+ "doorbell": {
880
+ "title": "Doorbell",
881
+ "description": "An event entity (event.*) or a binary sensor: for a minute after it rings, a mark on the picture, and the camera takes the tile if allowed.",
882
+ "default": "",
883
+ "x-ui": {
884
+ "label": {
885
+ "en": "Doorbell",
886
+ "es": "Timbre"
887
+ },
888
+ "help": {
889
+ "en": "An event entity (event.*) or a binary sensor: for a minute after it rings, a mark on the picture, and the camera takes the tile if allowed.",
890
+ "es": "Una entidad de evento (event.*) o un sensor binario: durante un minuto tras sonar, una marca en la imagen, y la cámara se queda con la tesela si se le deja."
891
+ },
892
+ "placeholder": "event.front_door_ding",
893
+ "choices": {
894
+ "source": "homeassistant/states",
895
+ "list": "doorbells"
896
+ }
897
+ },
898
+ "type": "string"
899
+ },
900
+ "fit": {
901
+ "title": "Fit",
902
+ "default": "cover",
903
+ "x-ui": {
904
+ "label": {
905
+ "en": "Fit",
906
+ "es": "Ajuste"
907
+ },
908
+ "labels": {
909
+ "cover": {
910
+ "en": "Fill (crop)",
911
+ "es": "Llenar (recorta)"
912
+ },
913
+ "contain": {
914
+ "en": "Whole picture",
915
+ "es": "Imagen entera"
916
+ }
917
+ }
918
+ },
919
+ "type": "string",
920
+ "enum": [
921
+ "cover",
922
+ "contain"
923
+ ]
924
+ },
925
+ "keep": {
926
+ "title": "Keep in view",
927
+ "description": "What filling crops last: the sky or the ground.",
928
+ "default": "center",
929
+ "x-ui": {
930
+ "label": {
931
+ "en": "Keep in view",
932
+ "es": "Mantener a la vista"
933
+ },
934
+ "help": {
935
+ "en": "What filling crops last: the sky or the ground.",
936
+ "es": "Lo último que recorta al llenar: el cielo o el suelo."
937
+ },
938
+ "advanced": true,
939
+ "labels": {
940
+ "center": {
941
+ "en": "The centre",
942
+ "es": "El centro"
943
+ },
944
+ "top": {
945
+ "en": "The top",
946
+ "es": "La parte de arriba"
947
+ },
948
+ "bottom": {
949
+ "en": "The bottom",
950
+ "es": "La parte de abajo"
951
+ }
952
+ }
953
+ },
954
+ "type": "string",
955
+ "enum": [
956
+ "center",
957
+ "top",
958
+ "bottom"
959
+ ]
960
+ },
961
+ "dim": {
962
+ "title": "Darken",
963
+ "description": "Keeps a bright picture from outshining everything else.",
964
+ "default": 0,
965
+ "x-ui": {
966
+ "label": {
967
+ "en": "Darken",
968
+ "es": "Oscurecer"
969
+ },
970
+ "help": {
971
+ "en": "Keeps a bright picture from outshining everything else.",
972
+ "es": "Para que una imagen clara no deslumbre al resto."
973
+ },
974
+ "advanced": true,
975
+ "unit": "%",
976
+ "step": 5,
977
+ "slider": true
978
+ },
979
+ "type": "integer",
980
+ "minimum": 0,
981
+ "maximum": 90
982
+ }
983
+ }
984
+ },
985
+ "screenshot": "docs/camera.png",
986
+ "animated": false,
987
+ "urgent": true
988
+ },
989
+ {
990
+ "type": "homeassistant/energy",
991
+ "name": {
992
+ "en": "Energy flow",
993
+ "es": "Flujo de energía"
994
+ },
995
+ "description": {
996
+ "en": "Where the power comes from and goes, now: the grid, the solar panels and the battery around the house, a line for every flow (thicker the more it carries) and today's kWh from the Energy dashboard. A grid sensor is enough to start.",
997
+ "es": "De dónde viene la energía y adónde va, ahora: la red, las placas y la batería alrededor de la casa, una línea por cada flujo (más gruesa cuanto más lleva) y los kWh de hoy del panel de Energía. Basta un sensor de la red para empezar."
998
+ },
999
+ "icon": "zap",
1000
+ "category": "info",
1001
+ "tags": [
1002
+ "home assistant",
1003
+ "energy",
1004
+ "solar",
1005
+ "battery"
1006
+ ],
1007
+ "size": {
1008
+ "min": {
1009
+ "w": 220,
1010
+ "h": 140
1011
+ },
1012
+ "preferred": {
1013
+ "w": 420,
1014
+ "h": 300
1015
+ }
1016
+ },
1017
+ "chrome": "card",
1018
+ "sources": [
1019
+ "homeassistant/states"
1020
+ ],
1021
+ "options": {
1022
+ "default": {
1023
+ "grid": "",
1024
+ "gridExportPositive": false,
1025
+ "solar": "",
1026
+ "battery": "",
1027
+ "batteryChargePositive": false,
1028
+ "batteryLevel": "",
1029
+ "showToday": true,
1030
+ "moving": true
1031
+ },
1032
+ "x-ui": {},
1033
+ "type": "object",
1034
+ "properties": {
1035
+ "grid": {
1036
+ "title": "Grid power",
1037
+ "description": "W or kW, positive while buying. Empty = the one in the Energy dashboard.",
1038
+ "default": "",
1039
+ "x-ui": {
1040
+ "label": {
1041
+ "en": "Grid power",
1042
+ "es": "Potencia de la red"
1043
+ },
1044
+ "help": {
1045
+ "en": "W or kW, positive while buying. Empty = the one in the Energy dashboard.",
1046
+ "es": "W o kW, positiva al comprar. Vacío = la del panel de Energía."
1047
+ },
1048
+ "placeholder": "sensor.grid_power",
1049
+ "choices": {
1050
+ "source": "homeassistant/states",
1051
+ "list": "power"
1052
+ }
1053
+ },
1054
+ "type": "string"
1055
+ },
1056
+ "gridExportPositive": {
1057
+ "title": "The grid sensor is positive while selling",
1058
+ "default": false,
1059
+ "x-ui": {
1060
+ "label": {
1061
+ "en": "The grid sensor is positive while selling",
1062
+ "es": "El sensor de la red es positivo al vender"
1063
+ }
1064
+ },
1065
+ "type": "boolean"
1066
+ },
1067
+ "solar": {
1068
+ "title": "Solar power",
1069
+ "description": "Empty = the one in the Energy dashboard, or none.",
1070
+ "default": "",
1071
+ "x-ui": {
1072
+ "label": {
1073
+ "en": "Solar power",
1074
+ "es": "Potencia solar"
1075
+ },
1076
+ "help": {
1077
+ "en": "Empty = the one in the Energy dashboard, or none.",
1078
+ "es": "Vacío = la del panel de Energía, o ninguna."
1079
+ },
1080
+ "placeholder": "sensor.solar_power",
1081
+ "choices": {
1082
+ "source": "homeassistant/states",
1083
+ "list": "power"
1084
+ }
1085
+ },
1086
+ "type": "string"
1087
+ },
1088
+ "battery": {
1089
+ "title": "Battery power",
1090
+ "description": "Positive while discharging. Empty = the one in the Energy dashboard, or none.",
1091
+ "default": "",
1092
+ "x-ui": {
1093
+ "label": {
1094
+ "en": "Battery power",
1095
+ "es": "Potencia de la batería"
1096
+ },
1097
+ "help": {
1098
+ "en": "Positive while discharging. Empty = the one in the Energy dashboard, or none.",
1099
+ "es": "Positiva al descargar. Vacío = la del panel de Energía, o ninguna."
1100
+ },
1101
+ "placeholder": "sensor.battery_power",
1102
+ "choices": {
1103
+ "source": "homeassistant/states",
1104
+ "list": "power"
1105
+ }
1106
+ },
1107
+ "type": "string"
1108
+ },
1109
+ "batteryChargePositive": {
1110
+ "title": "The battery sensor is positive while charging",
1111
+ "default": false,
1112
+ "x-ui": {
1113
+ "label": {
1114
+ "en": "The battery sensor is positive while charging",
1115
+ "es": "El sensor de la batería es positivo al cargar"
1116
+ }
1117
+ },
1118
+ "type": "boolean"
1119
+ },
1120
+ "batteryLevel": {
1121
+ "title": "Battery level",
1122
+ "description": "Its %, shown in the battery.",
1123
+ "default": "",
1124
+ "x-ui": {
1125
+ "label": {
1126
+ "en": "Battery level",
1127
+ "es": "Nivel de la batería"
1128
+ },
1129
+ "help": {
1130
+ "en": "Its %, shown in the battery.",
1131
+ "es": "Su %, que se ve en la batería."
1132
+ },
1133
+ "placeholder": "sensor.battery_state_of_charge",
1134
+ "choices": {
1135
+ "source": "homeassistant/states",
1136
+ "list": "entities"
1137
+ }
1138
+ },
1139
+ "type": "string"
1140
+ },
1141
+ "showToday": {
1142
+ "title": "Today's energy",
1143
+ "description": "From the Energy dashboard, under each part.",
1144
+ "default": true,
1145
+ "x-ui": {
1146
+ "label": {
1147
+ "en": "Today's energy",
1148
+ "es": "La energía de hoy"
1149
+ },
1150
+ "help": {
1151
+ "en": "From the Energy dashboard, under each part.",
1152
+ "es": "Del panel de Energía, bajo cada parte."
1153
+ }
1154
+ },
1155
+ "type": "boolean"
1156
+ },
1157
+ "moving": {
1158
+ "title": "Moving dots",
1159
+ "description": "Repaints the tile every second.",
1160
+ "default": true,
1161
+ "x-ui": {
1162
+ "label": {
1163
+ "en": "Moving dots",
1164
+ "es": "Puntos en movimiento"
1165
+ },
1166
+ "help": {
1167
+ "en": "Repaints the tile every second.",
1168
+ "es": "Vuelve a pintar la tesela cada segundo."
1169
+ }
1170
+ },
1171
+ "type": "boolean"
1172
+ }
1173
+ }
1174
+ },
1175
+ "screenshot": "docs/energy.png",
1176
+ "animated": false,
1177
+ "urgent": false
1178
+ },
1179
+ {
1180
+ "type": "homeassistant/media",
1181
+ "name": {
1182
+ "en": "Now playing",
1183
+ "es": "Lo que suena"
1184
+ },
1185
+ "description": {
1186
+ "en": "What a Home Assistant media player is playing (the TV, Spotify on a speaker, a Chromecast, Sonos…): cover, title, artist, the app and how far it has got. Of several, the one playing. Hides itself while nothing plays.",
1187
+ "es": "Lo que reproduce un media player de Home Assistant (la tele, Spotify en un altavoz, un Chromecast, Sonos…): carátula, título, artista, la app y por dónde va. De varios, el que suena. Se oculta mientras no suena nada."
1188
+ },
1189
+ "icon": "music",
1190
+ "category": "media",
1191
+ "tags": [
1192
+ "home assistant",
1193
+ "music",
1194
+ "tv",
1195
+ "spotify"
1196
+ ],
1197
+ "size": {
1198
+ "min": {
1199
+ "w": 200,
1200
+ "h": 70
1201
+ },
1202
+ "preferred": {
1203
+ "w": 460,
1204
+ "h": 160
1205
+ }
1206
+ },
1207
+ "chrome": "card",
1208
+ "sources": [
1209
+ "homeassistant/states"
1210
+ ],
1211
+ "options": {
1212
+ "default": {
1213
+ "entity": "",
1214
+ "showCover": true,
1215
+ "showProgress": true
1216
+ },
1217
+ "x-ui": {},
1218
+ "type": "object",
1219
+ "properties": {
1220
+ "entity": {
1221
+ "title": "Player",
1222
+ "description": "One, or several with patterns (media_player.*, !media_player.kitchen): the one playing is shown. Empty = all.",
1223
+ "default": "",
1224
+ "x-ui": {
1225
+ "label": {
1226
+ "en": "Player",
1227
+ "es": "Reproductor"
1228
+ },
1229
+ "help": {
1230
+ "en": "One, or several with patterns (media_player.*, !media_player.kitchen): the one playing is shown. Empty = all.",
1231
+ "es": "Uno, o varios con patrones (media_player.*, !media_player.cocina): se ve el que suena. Vacío = todos."
1232
+ },
1233
+ "placeholder": "media_player.living_room",
1234
+ "choices": {
1235
+ "source": "homeassistant/states",
1236
+ "list": "players"
1237
+ }
1238
+ },
1239
+ "type": "string"
1240
+ },
1241
+ "showCover": {
1242
+ "title": "Show the cover",
1243
+ "default": true,
1244
+ "x-ui": {
1245
+ "label": {
1246
+ "en": "Show the cover",
1247
+ "es": "Mostrar la carátula"
1248
+ }
1249
+ },
1250
+ "type": "boolean"
1251
+ },
1252
+ "showProgress": {
1253
+ "title": "Show how far it has got",
1254
+ "default": true,
1255
+ "x-ui": {
1256
+ "label": {
1257
+ "en": "Show how far it has got",
1258
+ "es": "Mostrar por dónde va"
1259
+ }
1260
+ },
1261
+ "type": "boolean"
1262
+ }
1263
+ }
1264
+ },
1265
+ "screenshot": "docs/media.png",
1266
+ "animated": false,
1267
+ "urgent": false
1268
+ },
1269
+ {
1270
+ "type": "homeassistant/people",
1271
+ "name": {
1272
+ "en": "Who is home",
1273
+ "es": "Quién está en casa"
1274
+ },
1275
+ "description": {
1276
+ "en": "The people Home Assistant knows, with their photo: at home, away or in a zone of yours (Work, School), and since when.",
1277
+ "es": "Las personas que conoce Home Assistant, con su foto: en casa, fuera o en una de tus zonas (Trabajo, Colegio), y desde cuándo."
1278
+ },
1279
+ "icon": "users",
1280
+ "category": "info",
1281
+ "tags": [
1282
+ "home assistant",
1283
+ "presence",
1284
+ "family"
1285
+ ],
1286
+ "size": {
1287
+ "min": {
1288
+ "w": 140,
1289
+ "h": 80
1290
+ },
1291
+ "preferred": {
1292
+ "w": 420,
1293
+ "h": 160
1294
+ }
1295
+ },
1296
+ "chrome": "card",
1297
+ "sources": [
1298
+ "homeassistant/states"
1299
+ ],
1300
+ "options": {
1301
+ "default": {
1302
+ "people": [],
1303
+ "showSince": true,
1304
+ "homeFirst": false
1305
+ },
1306
+ "x-ui": {},
1307
+ "type": "object",
1308
+ "properties": {
1309
+ "people": {
1310
+ "title": "People",
1311
+ "description": "In this order. Empty = everyone.",
1312
+ "default": [],
1313
+ "x-ui": {
1314
+ "label": {
1315
+ "en": "People",
1316
+ "es": "Personas"
1317
+ },
1318
+ "help": {
1319
+ "en": "In this order. Empty = everyone.",
1320
+ "es": "En este orden. Vacío = todas."
1321
+ },
1322
+ "widget": "filter",
1323
+ "choices": {
1324
+ "source": "homeassistant/states",
1325
+ "list": "people"
1326
+ }
1327
+ },
1328
+ "type": "array",
1329
+ "items": {
1330
+ "default": "",
1331
+ "x-ui": {
1332
+ "placeholder": "name, group/*, !old-*",
1333
+ "choices": {
1334
+ "source": "homeassistant/states",
1335
+ "list": "people"
1336
+ }
1337
+ },
1338
+ "type": "string"
1339
+ },
1340
+ "x-filter": true
1341
+ },
1342
+ "showSince": {
1343
+ "title": "Since when",
1344
+ "default": true,
1345
+ "x-ui": {
1346
+ "label": {
1347
+ "en": "Since when",
1348
+ "es": "Desde cuándo"
1349
+ }
1350
+ },
1351
+ "type": "boolean"
1352
+ },
1353
+ "homeFirst": {
1354
+ "title": "Who is home first",
1355
+ "default": false,
1356
+ "x-ui": {
1357
+ "label": {
1358
+ "en": "Who is home first",
1359
+ "es": "Primero quien está en casa"
1360
+ }
1361
+ },
1362
+ "type": "boolean"
1363
+ }
1364
+ }
1365
+ },
1366
+ "screenshot": "docs/people.png",
1367
+ "animated": false,
1368
+ "urgent": false
734
1369
  }
735
1370
  ],
736
1371
  "sources": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kiosko-plugin-homeassistant",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "Home Assistant on the panel, live over its WebSocket API: any entity in big with its history, lists of entities, and what needs you at home (doors left open, low batteries, leaks, the alarm).",
5
5
  "type": "module",
6
6
  "license": "MIT",