Skip to content

Commit

Permalink
update new DeviceControllerQuery
Browse files Browse the repository at this point in the history
Signed-off-by: ygelfand <[email protected]>
  • Loading branch information
ygelfand committed Mar 22, 2024
1 parent 775e45b commit 1bc0e19
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion internal/powerwall/queries/device_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package queries

var DeviceControllerQuery = &SignedQuery{
Name: "DeviceControllerQuery",
Signature: "MIGGAkEUsZelf621utFyGqi9asUYmDC2EkKitHBPshR2ZLfOGgz+0lYBDH8q9uXbZ18vYAsWlV9xYxMk0455vn7dQTESeAJBcAdftB9dxD7y7gWlVsF/KgjHDqZdH4Ki60l+2s8R3gYbcc/JtM38HvVzupWNI28hzXrr5XqW9eEMta5y+8svFx8=",
Signature: "MIGHAkFhIAr/5yFIg+wd+3vw2IPPY0YTWwejvUUPtLBEe2PK5CRAPyZ1dCJDf1bksH9IzXyvOT0X3SvWoiRPgeiJcJzzfgJCAV+y+y1eFCSX44chSQfxjpcmjQNx56nP0XznyvLSVthDHslSljC89yA9srmaDtvUcs/mZRYLIbD+UQFoxEoAO6uf",
Query: ` query DeviceControllerQuery {
control {
systemStatus {
Expand Down Expand Up @@ -37,6 +37,12 @@ var DeviceControllerQuery = &SignedQuery{
}
system {
time
supportMode {
remoteService {
isEnabled
expiryTime
}
}
sitemanagerStatus {
isRunning
}
Expand Down Expand Up @@ -67,6 +73,7 @@ var DeviceControllerQuery = &SignedQuery{
status
errors
macAddress
hostname
isWired
modbusPort
modbusId
Expand Down Expand Up @@ -157,6 +164,10 @@ var DeviceControllerQuery = &SignedQuery{
PVS_StringD_Connected
PVS_SelfTestState
}
PVS_Logging {
PVS_numStringsLockoutBits
PVS_sbsComplete
}
alerts {
isComplete
isMIA
Expand Down

0 comments on commit 1bc0e19

Please sign in to comment.