evcc-io/cmd
Andreas Linde f552fd61b8
Fix EEBUS setup timing issue (#5527)
The EBBUS server should not be started in a go-routine. If avahi connection takes too long, it can happen that devices are registered and thus searched for, before mDNS setup is complete.

This change results in a slower startup, roughly 1s, as checking if avahi is available is now blocking.

I’ll check if I can change the setup code to be non blocking and device registrations not to cause issues when the mDNS server is not ready. See https://github.com/enbility/eebus-go/issues/44
2022-12-21 14:14:25 +01:00
..
configure chore: cleanup 2022-12-11 17:21:42 +01:00
ocpp Ocpp: better test command 2022-10-15 12:36:20 +02:00
shutdown Re-apply fixed "Refactor application shutdown (#4757)" 2022-10-09 11:23:47 +02:00
soc Use api.ErrTimeout only for retryable device communication 2022-06-05 16:02:18 +02:00
tools Improve generating decorators (#1648) 2021-09-26 19:37:00 +02:00
charger.go Cli: hide diagnose output behind --diagnose switch (#4845) 2022-10-16 19:12:37 +02:00
charger_ramp.go Add per area log levels at command line (#4813) 2022-10-14 17:51:53 +02:00
config.go chore: improve package naming 2022-12-09 10:22:39 +01:00
configure.go Add sunspec command for dumping model contents (#4883) 2022-10-23 13:44:11 +02:00
demo.go Javascript: fix a race condition during parallel setup (#5310) 2022-12-04 19:08:30 +01:00
demo.yaml Introduce vehicle icons (#5200) 2022-11-30 19:08:03 +01:00
detect.go chore: coding style 2022-03-05 18:16:46 +01:00
discuss.go Add per area log levels at command line (#4813) 2022-10-14 17:51:53 +02:00
discuss.tpl Add discuss command (#4659) 2022-09-30 21:57:22 +02:00
dump.go Add per area log levels at command line (#4813) 2022-10-14 17:51:53 +02:00
dump.tpl Add dump --cfg command and cleanup flags (#4668) 2022-10-01 21:25:02 +02:00
dumper.go Vehicle: let capacity accept float values (#4875) 2022-10-19 18:02:55 +02:00
eebus.go Migrate EEBUS to enbility/eebus-go (#5391) 2022-12-10 21:40:20 +01:00
flags.go Print sqlite database on startup 2022-12-11 11:28:08 +01:00
gokrazy.go Require Go 1.18 and use generics (#2116) 2022-04-02 12:47:26 +02:00
health.go Add per area log levels at command line (#4813) 2022-10-14 17:51:53 +02:00
helper.go Javascript: fix a race condition during parallel setup (#5310) 2022-12-04 19:08:30 +01:00
meter.go Add per area log levels at command line (#4813) 2022-10-14 17:51:53 +02:00
root.go Fix database not found 2022-12-12 17:00:05 +01:00
root_test.go Remove url, uri, host, broker, id from redaction (#4869) 2022-10-19 09:28:59 +02:00
setup.go Fix EEBUS setup timing issue (#5527) 2022-12-21 14:14:25 +01:00
setup_test.go Upgrade spf13/viper (#2754) 2022-03-02 13:01:20 +01:00
sunspec.go Add sunspec command for dumping model contents (#4883) 2022-10-23 13:44:11 +02:00
token.go Add per area log levels at command line (#4813) 2022-10-14 17:51:53 +02:00
token_tesla.go Use OIDC config for retrieving user information (#3006) 2022-03-26 10:52:06 +01:00
token_tronity.go chore: don't initialise zero-valued structs 2022-08-18 18:33:25 +02:00
vehicle.go Cli: hide diagnose output behind --diagnose switch (#4845) 2022-10-16 19:12:37 +02:00