tagyoureit / nodejs-poolController-webClient

Web app for nodejs-poolController 6.0 and above.
GNU Affero General Public License v3.0
9 stars 4 forks source link

web client shows Status: Off when pump is running #10

Closed dkossman closed 3 years ago

dkossman commented 4 years ago

njspc next branch, latest. homebridge beta@latest web client: latest nodejs 10.21.0 npm 6.14.6 pi model B2

equipment: Intelliflo VST model 011055 4 features configured. Feature 1 is 750 RPM and is ON

njspc log when web client starts:
info: New socket client connected 16i-91q8h4mFeA1BAAAF -- 10.0.1.43
10.0.1.43 GET /app/config/log {}
10.0.1.43 GET /config/options/heaters {}
10.0.1.43 GET /state/temps {}
10.0.1.43 GET /config/equipment {}
10.0.1.43 GET /state/pumps {}
10.0.1.43 GET /state/circuits {}
10.0.1.43 GET /config/circuit/functions {}
10.0.1.43 GET /state/virtualCircuits {}
10.0.1.43 GET /state/all {}
10.0.1.43 GET /config/all {}
10.0.1.43 GET /config/options/lightGroups {}
10.0.1.43 GET /state/lightGroups {}
10.0.1.43 GET /extended/chemControllers {}
10.0.1.43 GET /extended/features {}
10.0.1.43 GET /state/circuitGroups {}
10.0.1.43 GET /config/circuit/functions {}
10.0.1.43 GET /extended/chlorinators {}
10.0.1.43 GET /extended/features {}
10.0.1.43 GET /state/circuitGroups {}
10.0.1.43 GET /config/equipment {}
10.0.1.43 GET /extended/features {}
10.0.1.43 GET /state/circuitGroups {}
10.0.1.43 GET /extended/features {}
10.0.1.43 GET /state/circuitGroups {}
10.0.1.43 GET /config/equipment {}
10.0.1.43 GET /config/equipment {}
10.0.1.43 GET /config/equipment {}
10.0.1.43 GET /config/equipment {}

output of http://ospi.local:4200/state/pumps:

[
   {
      "id":1,
      "type":{
         "val":128,
         "name":"vs",
         "desc":"Intelliflo VS",
         "maxPrimingTime":6,
         "minSpeed":450,
         "maxSpeed":3450,
         "speedStepSize":10,
         "maxCircuits":8,
         "hasAddress":true
      },
      "status":{
         "name":"off",
         "desc":"Off",
         "val":0
      },
      "targetSpeed":750,
      "virtualControllerStatus":{
         "val":1,
         "name":"running",
         "desc":"Running"
      },
      "command":10,
      "mode":9,
      "driveState":1,
      "watts":81,
      "rpm":1120,
      "flow":55,
      "ppc":44,
      "name":"Intelliflo VS",
      "time":624,
      "equipmentType":"pump",
      "minSpeed":450,
      "maxSpeed":3450,
      "speedStepSize":10,
      "circuits":[
         {
            "id":1,
            "circuit":{
               "id":7,
               "isOn":true,
               "name":"Pump 750 RPM",
               "type":{
                  "val":0,
                  "name":"generic",
                  "desc":"Generic"
               },
               "showInFeatures":true,
               "equipmentType":"feature"
            },
            "units":{
               "val":0,
               "name":"rpm",
               "desc":"RPM"
            },
            "speed":750
         },
         {
            "id":2,
            "circuit":{
               "id":8,
               "isOn":false,
               "name":"Pump 1500 RPM",
               "type":{
                  "val":0,
                  "name":"generic",
                  "desc":"Generic"
               },
               "showInFeatures":true,
               "equipmentType":"feature"
            },
            "units":{
               "val":0,
               "name":"rpm",
               "desc":"RPM"
            },
            "speed":1500
         },
         {
            "id":3,
            "circuit":{
               "id":9,
               "isOn":false,
               "name":"Pump 2500 RPM",
               "type":{
                  "val":0,
                  "name":"generic",
                  "desc":"Generic"
               },
               "showInFeatures":true,
               "equipmentType":"feature"
            },
            "units":{
               "val":0,
               "name":"rpm",
               "desc":"RPM"
            },
            "speed":2500
         },
         {
            "id":4,
            "circuit":{
               "id":10,
               "isOn":false,
               "name":"Pump 3000 RPM",
               "type":{
                  "val":0,
                  "name":"generic",
                  "desc":"Generic"
               },
               "showInFeatures":true,
               "equipmentType":"feature"
            },
            "units":{
               "val":0,
               "name":"rpm",
               "desc":"RPM"
            },
            "speed":3000
         },
         {
            "id":5,
            "circuit":{
               "equipmentType":"circuit",
               "id":0,
               "name":"Not Used",
               "speed":0
            },
            "units":{
               "val":0,
               "name":"rpm",
               "desc":"RPM"
            }
         },
         {
            "id":6,
            "circuit":{
               "equipmentType":"circuit",
               "id":0,
               "name":"Not Used",
               "speed":0
            },
            "units":{
               "val":0,
               "name":"rpm",
               "desc":"RPM"
            }
         },
         {
            "id":7,
            "circuit":{
               "equipmentType":"circuit",
               "id":0,
               "name":"Not Used",
               "speed":0
            },
            "units":{
               "val":0,
               "name":"rpm",
               "desc":"RPM"
            }
         },
         {
            "id":8,
            "circuit":{
               "equipmentType":"circuit",
               "id":0,
               "name":"Not Used",
               "speed":0
            },
            "units":{
               "val":0,
               "name":"rpm",
               "desc":"RPM"
            }
         }
      ]
   }
]

see screenshot of web client attached. Note Status: Off even though pump is running at 750 RPM Let me know if i can provide any additional info.

Screen Shot 2020-07-18 at Jul 18, 2020  9 24 57 AM
tagyoureit commented 4 years ago

Same as your other issue; can you attach a packet capture? If the same issue can be seen in one set than I can work with that.

dkossman commented 4 years ago

packet capture attached. Pump was off, then used homebridge plugin to set it to 2500 RPM, then off again. pump is an Intelliflo VST model 011055

replay.zip

using next branch from yesterday, and latest web client.

burninmoney commented 3 years ago

same issue here, however, when I attempt to collect logs as shown in wiki instructions, the replay.zip has CRC errors and is not valid. Tried IE and Firefox. Attaching anyway. v6.1.0. just pulled current master branch of both controller and webClient today.

replay(1).zip Capture1 capture2

tagyoureit commented 3 years ago

I have deprecated this project in favor of dashPanel. Rstrouse and I have been doing a ton of work and this project has fallen behind and it isn't worth the effort to keep two similar projects maintained. If anything from this project is missing please request it in the other repo.