Commit graph

13 commits

Author SHA1 Message Date
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
f085514ba7 Remove api PUT method 2020-07-26 17:38:14 +02:00
andig
c12d52ca82
Add mqtt interface and document REST api (#243) 2020-07-26 13:55:41 +02:00
andig
880d39e07e Implement per-loadpoint mode and target soc setting (#240) 2020-07-25 14:42:53 +02:00
andig
f812ccba34 Show version in ui 2020-07-18 14:00:48 +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
45b3ef33e4
Introduce cache to immediately update UI when socket client connects (#176) 2020-05-20 17:01:54 +02:00
andig
e3b8890e1b Remove route logging 2020-05-11 17:38:22 +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
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