Skip to content
This repository was archived by the owner on Sep 15, 2024. It is now read-only.

Commit 1c25f63

Browse files
committed
cluster network field in info data
1 parent 82539f3 commit 1c25f63

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

src/models/controller-info.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
import { RoomWeather } from './room-weather';
1+
import { RoomWeather, Network } from './';
22

33
export interface ControllerInfo {
44
version: string;
5-
wifirssi: string;
6-
wifiquality: number;
7-
wifissid: string;
8-
ip: string;
95
chipID: string;
106
lux: number;
7+
network: Network;
118
roomWeather: RoomWeather;
129
}

src/models/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ export * from './controller-info';
22
export * from './controller-settings';
33
export * from './draw-text-data';
44
export * from './last-updated';
5+
export * from './network';
56
export * from './position';
67
export * from './room-weather';

src/models/network.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export interface Network {
2+
wifirssi: string;
3+
wifiquality: number;
4+
wifissid: string;
5+
ip: string;
6+
}

0 commit comments

Comments
 (0)