Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 20:48
    tagyoureit commented #357
  • 20:01
    rstrouse commented #357
  • 18:21
    mguinness commented #357
  • 15:07
    ccutrer opened #623
  • 00:29

    rstrouse on master

    Added system messages icon to t… (compare)

  • 00:03
    rstrouse commented #357
  • Oct 04 04:09
    rstrouse commented #357
  • Oct 04 03:01
    mguinness commented #357
  • Oct 04 02:39
    rstrouse commented #357
  • Oct 04 01:49
    mguinness commented #357
  • Oct 04 00:41
    rstrouse commented #357
  • Oct 03 23:20
    mguinness commented #357
  • Oct 03 22:36
    rstrouse reopened #357
  • Oct 03 22:36
    rstrouse commented #357
  • Oct 03 21:40
    mguinness commented #357
  • Oct 03 19:54
    rstrouse commented #357
  • Oct 03 04:45
    mguinness commented #357
  • Sep 25 05:13
    tagyoureit commented #618
  • Sep 25 04:51
    ccutrer commented #618
  • Sep 25 04:41
    tagyoureit commented #618
ckurlinski
@ckurlinski
Dear Sirs, anyone figure out how to sync the Indoor and Outdoor units from NJSP?
The reason I ask, does NJSP send to commands to the Outdoor Unit or the Indoor Unit.
In the past, when I have setup the Indoor Unit: Programming the system, to make the changes permanent , I would need to send to Outdoor Unit, and then the (2) Images are in sync.
How does that work when there are essentially (2) indoor units?
I send changes to Outdoor, but does the Pentair Indoor Override them?
Or is this an artifact of the system I'm working on?
Thanks
4 replies
ckurlinski
@ckurlinski
Lol, understood
ckurlinski
@ckurlinski
Brilliant, thank you. I understand now.
So that explains why I find it easier to work with the programming with the ICP off the bus and then sync it to the OCP
kurtifier
@kurtifier
When I run npm start. I get this. error: Serial port /dev/ttyUSB1 recovering from lost connection but then it says info: Serial port: /dev/ttyUSB1 request to open succeeded without error. If possible, can I have some help with this issue?
2 replies
ckurlinski
@ckurlinski
debug: Packet not processed: 255,0,255,165,1,19,16,110,2,0,0,1,57
debug: Packet not processed: 255,0,255,165,1,18,16,110,2,0,0,1,56
Sully
@rerouted
I made the leap from 5.3 to 6.x. Why does my web-client not give me the option to alter my schedules? I have seen others post screenshots with an edit link in this section.
web-client schedules
4 replies
ckurlinski
@ckurlinski
Just a heads up, I am in the process of ordering a IntelliCenter Update kit for my current system, (1) Main Personality Board, and (2) Expansion Kits.
Should I close the outstanding Issue on github?
Also, anyone know what the new power supply requirements are for the new stuff?
The upgrade power supplies are not in stock, so I was wondering what the new stuff needs.
Thanks
13 replies
Russell Morris
@arrmo
OK, thought it was just me - but this has happened 3 times now, so I'm not sure I am losing it after all ... LOL! Really hadn't seen this before, but have now that I'm on the next branch. Thoughts? Do you want me to open an Issue for it, to track it? Thanks! Oh, and to some recent comments ... always select Outdoor, correct?
IMG_0743.jpeg
19 replies
ckurlinski
@ckurlinski
Outdoor, correct.
Russell Morris
@arrmo
Thanks!
ckurlinski
@ckurlinski
I know
ckurlinski
@ckurlinski
IMG_7187.jpeg
IMG_7186.jpeg
Anyone seen or have experience with these pumps.
14 replies
Branded AO Smith, but they are made by someone else
ckurlinski
@ckurlinski
IMG_7212.jpeg
32 replies
Got the IntelliCenter and the (2) expansion modules, going to start the install on Monday
ckurlinski
@ckurlinski
IMG_7229.jpeg
IMG_7234.jpeg
IMG_7231.jpeg
IMG_7233.jpeg
DrJeff
@DrJeff
Anyone know how to send commands to the Mqtt client to control pump? I can see it but not sure how to control via MQTT
10 replies
MaxVonEvil
@MaxVonEvil
Hi all, I've got the pool controller package installed and running in one directory /home/pi/controller and the web clieent in another /home/pi/webclient. I'm trying to get the two started with PM2 which I've got installed. Saw How to get PM2 installed and running poolController on RPi or Linux further back.
Runnng the following from /home/pi/controller to start the pool controller: pm2 start dist/app.js --name "Ctl" --watch to start the pool controller. It does start as an app inside pm2 but I get no logs with pm2 monit, which is telling me it's constantly restarting? Not sure I'm I'm using pm2 right? I'm launching the webclient from its own folder with pm2 start dist/Server.js --name "Web" --watch -- my goal is to get PM2 to launch them both using the json file config option, but can't seem to get it working by hand. It should be mentioned that regular 'npm start' for both controller and web client in each it's own SSH session works nicely. Any help would be appreciated
DrJeff
@DrJeff
@MaxVonEvil are you running them as root or user
pm2 start /home/pi/controller/dist/app.js /home/pi/controller/config.json --name CTL
You need to declare the Config path
tagyoureit
@tagyoureit
In 5.x you needed to specify the config.json. That isn't needed in 6.x. More likely is that the watch is the problem. We write to the config.json, logs directory, and data directory. Try to start the pm2 process without the watch and see if it succeeds. If it does, than exclude the files/directories that get written to as it will trigger a restart.
DrJeff
@DrJeff
oops!
tagyoureit
@tagyoureit
@MaxVonEvil There is also a wiki page for PM2, but lots of ppl seem to have issue with the template. You can use it as a guide, however.
DrJeff
@DrJeff
@MaxVonEvil ^ Yup I tried with the watch and it fails, without it's all good
MaxVonEvil
@MaxVonEvil
@Dr Jeff / , runing them as regular pi user (non sudo). You're right about the --watch, I read up on it and that makes perfect sense. I think in the interim I figured out how to circumvent the config path bit. I created a pm2 apps.json file like this:
{
"apps": [
{
"name": "PoolController",
"script": "./dist/app.js",
"instances": 1,
"cwd": "/home/pi/controller"
},
{
"name": "PoolWebClient",
"script": "./dist/Server.js",
"instances": 1,
"cwd": "/home/pi/webclient"
}
]
}
It seems to do what I want. My only concern is that the webclient instance does not seem to be providing any logs
tagyoureit
@tagyoureit
pm2 monit is a bit funky. If you just try pm2 logs web it should show you the last 15 lines and give you the location of the full logs... eg:
pi@poolcontroller:~ $ pm2 logs 2
[TAILING] Tailing last 15 lines for [2] process (change the value with --lines option)
/home/pi/.pm2/logs/poolController-webClient-error.log last 15 lines:
/home/pi/.pm2/logs/poolController-webClient-out.log last 15 lines:
2|poolCont | GET /app.747e1315.css
...
2020-12-14_23-01-55.png
Or, if you use the monitor, you should be able to see logs if you load up the browser. There isn't anything really to log unless you make an actual connection to it.
MaxVonEvil
@MaxVonEvil
@tagyoureit - Schweet, that did the trick! About the json example in the PM2 wiki, you're right, it was a bit much. I created mine from this example instead: https://futurestud.io/tutorials/pm2-use-npm-to-start-your-app
tagyoureit
@tagyoureit
:+1:
MaxVonEvil
@MaxVonEvil
8|PoolWebC | "USN": "uuid:x.x.x.x::urn:schemas-upnp-org:device:PoolController:1",
8|PoolWebC | "CACHE-CONTROL": "max-age=1800",
8|PoolWebC | "DATE": "Tue, 15 Dec 2020 06:50:54 GMT",
8|PoolWebC | "SERVER": "node.js/12.20.0 UPnP/1.1 node-ssdp/4.0.0",
8|PoolWebC | "EXT": "",
8|PoolWebC | "LOCATION": "http://192.168.0.19:4200/device"
8|PoolWebC | }
8|PoolWebC | {
8|PoolWebC | "address": "x.x.x.x",
8|PoolWebC | "family": "IPv4",
8|PoolWebC | "port": 1900,
8|PoolWebC | "size": 334
8|PoolWebC | }
8|PoolWebC | IN SEARCH --- http://x.x.x:4200
8|PoolWebC | ✨ Built in 22.23s.
tagyoureit
@tagyoureit
Oh, you'll want to set the environment variable for production with webclient. That will avoid compiling the code every single time. The command from package.json is env NODE_ENV=production node dist/Server.js. That will save about 22s on your startup time, not to mention CPU overhead.
MaxVonEvil
@MaxVonEvil
Thanks! I'll try adding that to the apps.json file
MaxVonEvil
@MaxVonEvil
image.png
@tagyoureit, btw not sure if this is within your code or it's @bsileo hubitat driver: I only have a Intelliflo VS pump and the Rpi. I do not own a chlorinator or any of the other pentair stuff. Still when I add the pool controller to Hubitat it adds a few other items as shown above
Specifically, I get two temperature sensors (air and solar) which returns no values, i.e. I'd like to get rid of them, however I'm not sure if they're coming from the HE driver or it's the poolcontroller telling the HE driver they exist?
(it should be said that all the RPM switches are deliberate. Those were 'Features' which I created in the PoolController web interface.
tagyoureit
@tagyoureit
Does the webclient match what you see in hubitat? You can also look in the ./data/pool*.json files.