Giter VIP home page Giter VIP logo

solarstatus-garmin's Introduction

SolarStatus-Garmin

A solar status display for the Garmin Epix that can display the status of your PV energy system, home energy storage, etc. This includes a glance that alternates between the following data histograms: PV output, current power consumption, power coming from/to the grid, power coming from/to the battery, and battery state of charge (SOC).

image

image

image

To use, you need to have a REST endpoint somewhere that can provide a JSON structure that fits this example message:

{
	"time": "23:12",
	"date": "17 October 2022",
	"soc": 24,
	"pv": 0,
	"consumption": 0.8,
	"grid": 0,
	"batteryuse": -0.9,
	"soc_histogram": [30, 30, 30, 30, 30, 30, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24],
	"pv_histogram": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
	"consumption_histogram": [1095, 1089, 1099, 1069, 1068, 1073, 1107, 1053, 1123, 1113, 1098, 1096, 1085, 1140, 1065, 1050, 1121, 1131, 1109, 1213, 1315, 1302, 1264, 1297, 1234, 1274, 1254, 1241, 1285, 1236, 1243, 1279, 1253, 1261, 1242, 1267, 1274, 1264, 1220, 1244, 1254, 1242, 1250, 1262, 1266, 1256, 1251, 1209, 1040, 1018, 1015, 1021, 1118, 1282, 1280, 1304, 1270, 1234, 1262, 1242, 1061, 976, 953, 954, 953, 959, 948, 955, 941, 937, 949, 942, 958, 954, 953, 901, 919, 898, 900, 689, 645, 666, 684, 675, 653, 629, 630, 633, 628, 638, 630, 620, 629, 628, 634, 631, 629, 638, 678, 737, 735, 743, 743, 735, 736, 873, 971, 950, 959, 987, 985, 988, 967, 974, 1035, 953, 929, 929, 956, 953, 930, 910, 883, 911, 920, 949, 949, 949, 927, 857],
	"grid_histogram": [3, 0, 6, 4, 0, 4, 18, 5, 27, 0, 0, 7, 8, 32, 28, 12, 18, 21, 12, 69, 6, 0, 3, 25, -0, 9, 18, 19, 24, 24, 13, 17, 5, 3, 19, 8, 0, 0, -7, 34, 7, 20, 0, 20, 1, 19, 7, -11, 5, 0, 0, 9, 53, 15, -2, 14, 127, 55, 136, 78, 48, -3, 9, 22, 8, 23, 7, 11, 17, 4, 23, 4, 8, 4, 4, 0, 13, 0, 7, -8, 0, 21, 21, 12, 4, 3, 9, 11, 11, 13, 8, 4, 22, 0, 8, 0, 8, 4, 32, 0, 0, 0, 7, 14, 16, 51, 7, 0, 16, 10, 5, 10, 4, 14, 33, 7, 3, 10, 17, -1, 5, 0, 0, 6, 0, 30, 21, 20, 17, -3],
	"battuse_histogram": [-1272, -1268, -1275, -1265, -1246, -1244, -1280, -1254, -1278, -1304, -1294, -1276, -1264, -1380, -1212, -1248, -1286, -1307, -1284, -1311, -1522, -1486, -1457, -1468, -1424, -1449, -1448, -1426, -1457, -1414, -1408, -1445, -1428, -1424, -1392, -1444, -1434, -1440, -1420, -1374, -1414, -1401, -1432, -1413, -1456, -1418, -1422, -1397, -1227, -1192, -1179, -1177, -1218, -1455, -1476, -1441, -1270, -1406, -1182, -1476, -1229, -1120, -1086, -1080, -1087, -1086, -1081, -1071, -1072, -1069, -1075, -1084, -1060, -1086, -1079, -1049, -1017, -1022, -995, -726, -605, -603, -604, -599, -591, -584, -559, -562, -550, -572, -584, -574, -565, -570, -569, -571, -571, -574, -582, -678, -653, -652, -653, -638, -648, -815, -1099, -1066, -1075, -1090, -1075, -1103, -1074, -1072, -1069, -1047, -1029, -1030, -1048, -1069, -1047, -1037, -1007, -1033, -1047, -1035, -1041, -1065, -1040, -984]
}

solarstatus-garmin's People

Contributors

dividebysandwich avatar toumal avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.