mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
health service and panel
This commit is contained in:
@@ -11,6 +11,7 @@ const { getState: getHomeAssistantState, homeAssistantEvents } = require('./home
|
||||
const { getNickname, nicknameEvents } = require('./nicknameService');
|
||||
const { getReplayState, replayEvents } = require('./replayService');
|
||||
const { getReplaySources } = require('./replaySourceService');
|
||||
const { getHealthSnapshot } = require('./healthService');
|
||||
const { loadConfig } = require('../helpers/configLoader');
|
||||
|
||||
const discordInvite = loadConfig().discord?.invite || null;
|
||||
@@ -51,6 +52,7 @@ function buildSession(socket) {
|
||||
homeAssistant: getHomeAssistantState(),
|
||||
replay: getReplayState(),
|
||||
replaySources: getReplaySources(),
|
||||
health: getHealthSnapshot(),
|
||||
users,
|
||||
discord: {
|
||||
invite: discordInvite,
|
||||
|
||||
Reference in New Issue
Block a user