diff --git a/core/site.go b/core/site.go index 9b7ba509b..35fae45e8 100644 --- a/core/site.go +++ b/core/site.go @@ -459,6 +459,10 @@ func (site *Site) Prepare(uiChan chan<- util.Param, pushChan chan<- push.Event) }(id) lp.Prepare(lpUIChan, lpPushChan, site.lpUpdateChan) + + // add loadpoint number + num := id + 1 + lp.publish("loadpoint", &num) } }