Commit graph

49 commits

Author SHA1 Message Date
andig
3de1f3d072 Add templates api 2020-07-29 13:45:30 +02:00
andig
df8d0455f7 Append unique tag to script name to ensure updates are picked up 2020-07-28 22:18:26 +02:00
andig
614182309f Improve variable and tag naming 2020-07-28 17:33:32 +02:00
Andreas Linde
05264dd43a
Renamed files 2020-07-28 16:52:12 +02:00
Andreas Linde
edd833db82
Dev mode does not need make assets any more
- Only when using the buildflag `-tags dev` local file
- files are loaded directly from the file system instead of the compiled binary
- had to move `//go:generate esc …` from `server/http.go`to `main.go` as otherwise the stored local paths of the files wouldn’t be correct
- Moved the `liveAssets` constants definition into two separate files, where one is included when building for dev, and one when it isn’t
- move the tempate parsing into the handler in `http.go` as otherwise template changes would not be considered
2020-07-28 15:43:34 +02:00
Andreas Linde
408fa61d07
Fixed configured detection 2020-07-28 12:03:12 +02:00
andig
d58eb15f2d Improve "configured" check for local debugging 2020-07-27 18:15:11 +02:00
andig
eb1f8945eb Fix loadpoints api spelling error 2020-07-26 17:54:04 +02:00
andig
f085514ba7 Remove api PUT method 2020-07-26 17:38:14 +02:00
andig
8345d32218 Fix order of initializing mqtt publisher 2020-07-26 17:37:40 +02:00
andig
c12d52ca82
Add mqtt interface and document REST api (#243) 2020-07-26 13:55:41 +02:00
andig
e948e8b31d Fix battery display and md-up bock display types 2020-07-25 16:45:30 +02:00
andig
a271b55c97 Add intro section if evcc is not configured 2020-07-25 15:48:25 +02:00
andig
880d39e07e Implement per-loadpoint mode and target soc setting (#240) 2020-07-25 14:42:53 +02:00
andig
5242f5c066 Add version checking and show UI hint (#239) 2020-07-22 13:41:59 +02:00
andig
7c864df08a
Introduce log levels per area (#236) 2020-07-20 09:34:47 +02:00
andig
fda956759a
Tweak UI styling (#229)
* Tweak margins
* Increase density in responsive mode
2020-07-19 20:55:40 +02:00
andig
eb66f6d911
Refactor charge current calculation (#223) 2020-07-19 20:32:50 +02:00
andig
f812ccba34 Show version in ui 2020-07-18 14:00:48 +02:00
andig
0f02f6ff7b Fix invalid charge duration displayed when status changed before charge started 2020-07-16 19:35:04 +02:00
andig
e34167ce7d
Implement multiple loadpoints and new UI (#199)
* Support multiple loadpoints

* Finalize loadpoint site split

* Simplify global voltage

* Fix push template error stopping main process

* Show only last error on retry

* Improve influx v1 compatibility

* Update push templates

* Revert influx v1 user change
2020-07-16 09:34:58 +02:00
andig
64126f1849
Add support for influxdb 2.0 (#48) 2020-07-06 09:49:23 +02:00
andig
0ee51d90fd Don't relay cached errors or warnings 2020-05-20 18:20:27 +02:00
andig
45b3ef33e4
Introduce cache to immediately update UI when socket client connects (#176) 2020-05-20 17:01:54 +02:00
andig
43d10ed856
Don't raise duplicate errors (#166)
* Don't raise duplicate errors

* Trim level and timestamp
2020-05-17 15:11:37 +02:00
andig
03ed14ee76
Upgrade bootstrap to 4.5 (#137) 2020-05-15 21:21:14 +02:00
andig
97ee6898e9
Send log warnings and errors to ui (#128) 2020-05-15 11:21:01 +02:00
andig
f45abfe095
Simplify parameter distribution (#148) 2020-05-14 15:19:50 +02:00
andig
41496e7910
Fix mode button only updated on reload (#129) 2020-05-12 10:52:48 +02:00
andig
e3b8890e1b Remove route logging 2020-05-11 17:38:22 +02:00
andig
3de2d37c74
Fix ui and config not updated (#115) 2020-05-09 12:51:37 +02:00
Andreas Linde
f5f3257efd
Fixed mode setting not updated when reloading UI (#107)
This fixes the current load mode showing up highlighted when opening the UI on another browser(-tab) or device
2020-05-06 19:17:14 +02:00
andig
4c3f8a0c73
Fix UI and icon display (#101) 2020-05-05 16:54:31 +02:00
andig
1729399ef9 Split common utility functions into util package (#64) 2020-04-27 20:05:08 +02:00
andig
53b3caa795 Remove compress handler from websocket 2020-04-18 13:39:53 +02:00
andig
9513e91e78 Cosmetic changes 2020-04-15 13:12:42 +02:00
andig
edf780328a Test nil values 2020-04-15 13:10:39 +02:00
andig
4383431ed2 Fix responsive columns 2020-04-13 22:20:45 +02:00
andig
92c78b3402 Add tests 2020-04-10 18:06:53 +02:00
andig
42859c7da8 Allow writing nil values as series gaps 2020-04-09 13:19:52 +02:00
andig
97a29d31d7 Remove extra link 2020-03-25 09:26:20 +01:00
andig
fb04aa98da Limit influxdb writes to minute resolution and don't write duplicate socCharge values 2020-03-24 12:40:42 +01:00
andig
871768e3b5 Fix api always entering debug mode 2020-03-24 07:26:12 +01:00
andig
9a87f0d059 Remove dependency on debug.js 2020-03-22 15:41:12 +01:00
andig
ecc8b8ee64 Add loadpoint tag 2020-03-22 15:21:46 +01:00
andig
9b6f5aecb4
Add support for writing to InfluxDB (#8) 2020-03-18 16:56:15 +01:00
andig
3aec820d24
Improve favicon appearance on all platforms (#7) 2020-03-18 16:49:11 +01:00
andig
da74ce17fd Refactor to support Wallbe dip 10 enable/disable 2020-03-18 16:16:35 +01:00
andig
3c503b333d Initial commit 2020-03-06 08:24:05 +01:00