Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 01:21
    tagyoureit commented #325
  • Jun 17 23:51
    emlowe commented #325
  • Jun 16 21:17
    rstrouse commented #325
  • Jun 16 20:17
    emlowe commented #325
  • Jun 16 15:47
    tagyoureit commented #320
  • Jun 16 15:38
    tagyoureit closed #320
  • Jun 16 15:38
    tagyoureit commented #320
  • Jun 16 15:02
    tagyoureit closed #313
  • Jun 16 12:55
    Exit2Studios commented #313
  • Jun 16 12:55
    Exit2Studios commented #313
  • Jun 16 04:48
    bobhavlin commented #320
  • Jun 16 04:22
    tagyoureit closed #276
  • Jun 16 04:19
    tagyoureit closed #299
  • Jun 16 04:19
    tagyoureit closed #274
  • Jun 16 04:19
    tagyoureit commented #274
  • Jun 16 04:18
    tagyoureit commented #294
  • Jun 16 04:12
    tagyoureit commented #313
  • Jun 16 04:11
    tagyoureit commented #320
  • Jun 16 04:05

    tagyoureit on ResponseRefactor

    More error control for net conn… (compare)

  • Jun 16 02:24
    rstrouse commented #325
DrJeff
@DrJeff
When I set the pump in the config (GUI) settings my controller loses track of time it just stops updating and no pump or ic60 control.
18 replies
DrJeff
@DrJeff
I was using both but stopped the webclient to use dashpanel.
woobins
@woobins
How do I use pm2 to send the npm run start:cached command instead of just start? I'm on a rpi zero so it takes forever to start if it has to build first.
editing the args in ecosystem.config.js doesn't seem to do it
1 reply
DrJeff
@DrJeff
can the Intelliflo VS virtual controller be feed the GPM from external flow sensor into MQTT just for display like in homebridge?
virtual-controller/state/pumps/1/intelliflovs/flow
{
  "flow": 60

}
2delarosa
@2delarosa
I'm trying to upgrade to the latest version but it says I have unmerged files
openhabian@casajuarez:~/nodejs-poolController $ git pull
error: Pulling is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.
openhabian@casajuarez:~/nodejs-poolController $ git branch --list
  list
  master
* next
22 replies
Which branch should I point to?
2delarosa
@2delarosa
image.png
Here is image of some of the git pull output. I definitely did not modify those files
2delarosa
@2delarosa
@rstrouse, I'm getting a blank white page when I launch the webpage. I made sure to enter the IP address where the application lives since it will be accessed remotely. I launched another browser and it pops up but with the old view. I don't know if I have the right version
> nodejs-poolcontroller-dashpanel@0.0.1 start /home/openhabian/nodejs-poolController-dashPanel
> npm run build && node dist/app.js


> nodejs-poolcontroller-dashpanel@0.0.1 build /home/openhabian/nodejs-poolController-dashPanel
> tsc

info: Server is now listening on 192.168.100.39:5150
image.png
Here's an image from a chrome browser
2delarosa
@2delarosa
image.png
and here's a snapshot from a Brave browser
rstrouse
@rstrouse
Click on the home icon on the upper right and what do you see?
2delarosa
@2delarosa
So on the brave, I ended up turning on the shields (sounds like the wrong thing to do) and the GUI was refreshed. I turned it back off and it still worked. However, is that the latest version
rstrouse
@rstrouse
That is the latest version. I have no experience with that browser.
2delarosa
@2delarosa
So to create a virtual pump do I still need to use the webclient or can I use the dashpanel? Also, where can I load messages between the controller and the RS485 interface
rstrouse
@rstrouse
I believe it auto-detects pumps on the but. To see messages http://192.168.100.39:5150/messageManager.html. Once you load it up there are buttons on the listing to activate them and filters under the hamburger menu.
2delarosa
@2delarosa
Thanks. So how does one set the date on top of the application. It keeps showing 1/21/2021
Also, I still showing stack trace errors when I try to save a feature.
ApiError: Invalid feature id: -1
    at FeatureCommands.setFeatureAsync (/home/openhabian/nodejs-poolController/controller/boards/SystemBoard.ts:2038:87)
    at /home/openhabian/nodejs-poolController/web/services/config/Config.ts:356:56
    at Layer.handle [as handle_request] (/home/openhabian/nodejs-poolController/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/openhabian/nodejs-poolController/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/home/openhabian/nodejs-poolController/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/home/openhabian/nodejs-poolController/node_modules/express/lib/router/layer.js:95:5)
    at /home/openhabian/nodejs-poolController/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/home/openhabian/nodejs-poolController/node_modules/express/lib/router/index.js:335:12)
    at next (/home/openhabian/nodejs-poolController/node_modules/express/lib/router/index.js:275:10)
    at /home/openhabian/nodejs-poolController/web/Server.ts:336:21
    at Layer.handle [as handle_request] (/home/openhabian/nodejs-poolController/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/openhabian/nodejs-poolController/node_modules/express/lib/router/index.js:317:13)
    at /home/openhabian/nodejs-poolController/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/home/openhabian/nodejs-poolController/node_modules/express/lib/router/index.js:335:12)
    at next (/home/openhabian/nodejs-poolController/node_modules/express/lib/router/index.js:275:10)
    at /home/openhabian/nodejs-poolController/node_modules/body-parser/lib/read.js:130:5
2delarosa
@2delarosa
image.png
Also, the home screen is showing previous configurations. the upper right was the orginal configuration that no longer exists. It got lost when I reloaded configuration under settings. Then the lower box on the left were remnants from configuration after the reload of the configuration. Non of those configurations are reflected in the settings.
2delarosa
@2delarosa
So I launched at the webclient as well and I'm thinking it has to do with the pool controller
2delarosa
@2delarosa
image.png
So it discovers the pump but it errors when I try to configure it.
DrJeff
@DrJeff
@2delarosa
A nice tip i got was to go to the poolcontroller folder and delete the data/ contents poolState.json and the poolConfig.json but if you are worried you better back them up first then restart the poolcontroller and refresh browser if necessary. Now it will build your controller back again I found for setting up my Virtual pump I needed to do it in the webclient everytime I did it in the DashPanel it was getting wacky, I lost the clock and can't remember what else I just do setup via webclient but control via dashpanel or Home Assistant or Homebridge
10 replies
DrJeff
@DrJeff
@tagyoureit How can I send temps, pressure, ph, orp into njspc via mqtt? I am using Virtual Controller for pump and ic60
3 replies
DrJeff
@DrJeff
I’m using virtual controller is that an issue
DrJeff
@DrJeff
Call me crazy but can Virtual Pumps intellifloVS be set to rpm direct from MQTT/API I thought I was doing this but maybe in 5.3 what is the command?
DrJeff
@DrJeff
This seems to be a read only topic virtual-controller/state/pumps/1/intelliflovs/rpm
tagyoureit
@tagyoureit

@DrJeff can't start a thread today for some reason.

It's not available anymore. The supported way is by setting up the pump circuits and assigning those to feature circuits.

1 reply
zbrozek
@zbrozek:matrix.org
[m]
So I seem to have ended up in a "hm I should maybe DIY more pool things" rabbit hole. Hi folks!
zbrozek
@zbrozek:matrix.org
[m]
The thing I'm specifically thinking about is building an alternative to the Pentair SpaCommand remote. Does anyone know if it has specific messages on the RS485 bus?
2 replies
zbrozek
@zbrozek:matrix.org
[m]
I think in an ideal universe I'd build some bespoke hardware that lives spa-side. The comms interface would be something of an open question. I'd be tempted to make the widget utilize 802.3at and have some other widget that lives at the pool pad (also on the Ethernet network) that taps the RS485 bus.
Nominally I'd just buy the SpaCommand, but my Spa was plumbed with an IS4 in mind, and a SpaCommand would live partially below the water line. Plus, I'd like to integrate in some lighting. Something like this maybe: https://www.q-tran.com/products/flex-light-flex-square-pool-spa-dw/
rstrouse
@rstrouse
That is one of the functions of njspc. It will take your socket commands and translate them into the appropriate RS485 commands. Your lighting is simply another AUX circuit.
zbrozek
@zbrozek:matrix.org
[m]
Yeah I was thinking that "other widget" would be the thing running njspc. Probably a raspberry pi. Then the widget I build would use MQTT.
One nice thing about making my widget PoE-enabled and on Ethernet is that I could use PoE for lighting power (not going to need more than ~25 watts) and also expose light control to Home Assistant.
kurtifier
@kurtifier
@tagyoureit I am trying to get the pool controller to auto start on reboot. I looked at the PM2 documentation and followed those steps. I put the correct cwd. When I run pm2 ls is shows that both the pool controller and the webclient are online; however, when I check the dash panel, it never initializes and stays at 0% I then ran npm start to start the pool controller and got this.
pi.PNG
rstrouse
@rstrouse
You have a syntax error in your config.json. If you copy and paste it to jsonlint.com it will show you the error.
kurtifier
@kurtifier
Thank you! I was able to get it to work now! I now have a new issue where on reboot both homebridge and the pool controller startup on reboot but the homebridge starts up before the pool controller can finish compiling. This makes it so that I cannot control my pool via homekit until I reboot homebridge. Is it possible to delay the homebridge startup so the poolcontroller can finish compiling?
DrJeff
@DrJeff
Screen Shot 2021-03-26 at 11.22.40 PM.png

Edit nano /etc/systemd/system/homebridge.serviceand add these lines

TimeoutStartSec=infinity
ExecStartPre=/bin/sleep 30

this will delay the service how ever many seconds you put

But this will delay every reboot of homebridge by the time you put here!!
DrJeff
@DrJeff
Oh and forgot you need to sudo systemctl daemon-reload to reload the service
nicdive
@nicdive
Hello, in release 6 I can’t find the new url command which replace « "pumpCommand/off/pump/1" to OFF
and "pumpCommand/run/pump/1/rpm/1600" to run with any chosen RPM »
My home automation was using this for a long time. Thanks for your help.
Jay Slabotsky
@JSlabotsky_twitter
It doesn't look like that exists in the new API. I'm running a virtual controller for a stand-alone pump and I really miss these simple commands. I can't get MQTT working with Home Assistant to save my life.
2 replies
DrJeff
@DrJeff
Screen Shot 2021-03-28 at 8.40.00 PM.png