Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 16:49
    rstrouse commented #442
  • 16:44
    Tegguy closed #443
  • 16:44
    Tegguy commented #443
  • 16:42
    rstrouse commented #443
  • 16:37
    Tegguy commented #443
  • 16:28
    rstrouse commented #443
  • May 15 06:04

    tagyoureit on master

    Bug fixes for manual priority; … (compare)

  • May 15 01:23
    Tegguy commented #443
  • May 15 01:16
    tagyoureit commented #443
  • May 14 23:02
    mhmatttu closed #397
  • May 14 23:02
    mhmatttu commented #397
  • May 14 23:02
    mhmatttu commented #399
  • May 14 23:02
    mhmatttu closed #399
  • May 14 21:41
    Tegguy opened #443
  • May 14 17:48

    tagyoureit on master

    new influx property (compare)

  • May 14 16:29
    dependabot[bot] edited #430
  • May 14 16:28
    dependabot[bot] edited #400
  • May 14 16:28
    dependabot[bot] edited #430
  • May 14 16:28
    dependabot[bot] synchronize #430
  • May 14 16:28

    dependabot[bot] on npm_and_yarn

    Bump async from 2.6.3 to 2.6.4 … (compare)

n0xd
@n0xd
I have had no luck with the pi initializing the pump. Is there a command I can send with my notebook out at the pump just to see if it's working. Then I can go from there.
n0xd
@n0xd
Capture.JPG
Can someone look at this and see if I'm ok so far. I still can't talk to the pump. I did reverse the wires.
rstrouse
@rstrouse
Actually there is but lets see what traffic you have going so far. Open an issue on the main page then lets do a capture replay and upload it. Let's see what njspc is sending out and if there is any response from items on the bus. Also, if you go to the address http://192.168.1.70:5150/messageManager.html you can watch the messages in real time. Click the icon on the upper far right hand corner of the message list and it will start showing all the messages on the RS485 bus.
From the messageManager you will be able to send a message to the pump to see if it gives a response.
n0xd
@n0xd
Thanks. what would be a good message to send? I may have problems with the comm on the pump. Not sure at this point.
n0xd
@n0xd
16,2,80,17,10,0,125,16,3 something like this?
rstrouse
@rstrouse
No that is a chlorinator message to set the output to 10%. A pump message to ask for its status would look more like this.
255, 0, 255,165, 0, 96, 16, 7, 0,1, 28 where the 96 represents a pump that has address 1 and an action of 7 get status.
3 replies
If you open an issue I will walk you through sending this message and watching the reply.
n0xd
@n0xd
1.jpg
n0xd
@n0xd
Not sure how to open a issue. I did know that was a chlorinator message but I didn't know the first cmd to check comm. To be honest I only started playing with the pi a week or so ago. And not the best with Linux but I keep trying. There is a lot of stuff going on here. Till I get that first reply from the pump I'm in limbo.
1 reply
MaxVonEvil
@MaxVonEvil
Hi all and happy new year in advance. Quick question; does anyone know of development being done with Home Assistant / MQTT integration for the 6.0 version of njsPC? I know of https://github.com/crsherman/nodejs-poolController-mqtt however that seems only to work with v5.
3 replies
MaxVonEvil
@MaxVonEvil
image.png
Hi again, so I enabled MQTT in the config.json and was expecting a root topic to appear in MQTT Explorer after restarting njsPC. I've verified that both Mosquitto and njsPC are running. Currently mosquitto is enabled for anonymous access. Not seeing any indications of MQTT postings in the poolcontroller console log (should I?) Any tips on how to troubleshoot this?
image.png
This is all she wrote. As you can see I've got an Ozwdaemon already talking to the MQTT broker
rstrouse
@rstrouse
You won't see any indications in the poolController console unless you have the logging level set to silly. To be sure you are running next. Is that correct?
MaxVonEvil
@MaxVonEvil
@rstrouse - not entirely sure I understood your question? running next?, btw I think I spoke too soon about not seeing anything on the pool controller side. It looks like it's trying to post something to the MQTT broker:
image.png
I'll have to check the Mosquitto logs and see what's going on there, brb
rstrouse
@rstrouse
There are two repos. One is the active development repo which we call next and the other is one that contains only fully baked code in master. The messages you are seeing is the rest service being called to toggle the state of circuit 7 and 8 from an external app on 192.168.0.19.
MaxVonEvil
@MaxVonEvil
Thanks for clarifying both items. It looks like I'm running the master repo, not next. That said, the default config.json of the master repo contained the mqtt section already, i.e. one could presume it was part of that build. Am I to understand I need to be running the next build for MQTT to work?
38 replies
rstrouse
@rstrouse
Yes that is correct.
rchalloner
@rchalloner
Question regarding Hubitat/ST integration--I noticed that the Pentair interface to poolController updates data about every second. The Hubitat hub can get bogged down with too many automation routines and data traffic. Is the integration pumping data as fast to the Hubitat or Smartthings hub and can the refresh rate be slowed on the poolController side? Things like temperature and chemical readings do not need to be updated but once a minute or so.
23 replies
Brad Sileo
@bsileo
I am sure I missed it here at some point - what is the right way to fix this warning"lat:undefined lon:undefined Not enough information to calculate Heliotrope."
3 replies
Graham Knights
@baudfather
Curious: is it possible to show the njspc version number in the webclient UI? Either bottom of page or when you click the hamburger icon. One of my winter projects is migrating to a SSD on my RPi for long term reliability, but don't remember what the last version I installed was. :)
tagyoureit
@tagyoureit
If you are on the next build and hover over the text in the upper right next to the hamburger menu it will tell you that. (I can't remember which version I added that in, specifically.). If you don't have the text, it will be the 6.0.0 release.
2021-01-08_08-41-21.png
iotarho
@iotarho

I've got everything 90% working in Home Assistant: MQTT messages controlling "on/off" switches are working great and updating perfectly.

However the pool heater control doesn't seem to be working for me. I tried posting to the Home Assistant forums with no luck yet, so thought I might ask if anyone here has any insight. Here's the snippet of code, which shows up great in Home Assistant, but toggling the heat mode from "off" to "heat" has no effect, and I don't see anything messages show up in MQTT Explorer when I toggle.

Any hints or suggestions on what I might look at?

climate:
platform: mqtt
name: "Pool Heat"
min_temp: 40
max_temp: 104
modes:
"off"
"heat"
current_temperature_topic: easytouch2-8/state/temps/bodies/1/pool/temp
value_template: "{{ value_json.temp }}"
mode_state_topic: easytouch2-8/state/temps/bodies/1/pool/heatMode
mode_state_template: "{{ value_json['heatMode']['val'] }}"

13 replies
Exit2Studios
@Exit2Studios
I've got a standalone pump, and I have everything installed and seemingly working on the pi. On some occasions, when I cut and resume power to the Intelliflow, I get "display" on the display, which disables local control and means the pi is connected. However, this doesn't happen often and I can't for the life of me figure out the chain of events to get this working reliably. Otherwise, njspc can not connect. I've tried npm start& before/after/during power ups, I've tried disconnecting at the pi. Any ideas where I'm going wrong?
6 replies
2delarosa
@2delarosa
Has anyone tried remotely installing the nodejs-poolcontroller-webClient using VNC Connect? I lost the VNC connection in the middle of the npm install process. The WebClient is on port 8080 and the default values for httpPort is 5800, VNC well-known port are 5900, and the VNC linux server port is 5999. I really don't see there would be an issue but the raspberry pi is no longer listening for VNC connections. I'm working remotely so I can't do anything until I get on site. Wondering if anyone else experienced something similar.
5 replies
William Sutton
@zombielinux
has any work been done to integrate a TCP RS485 adapter, as opposed to a directly connected USB-RS485 adapter?
I've got some example code of my ethernet-rs485 adapter interacting with my ic-40. I wrote it in javascript if anyone is interested.
9 replies
2delarosa
@2delarosa
image.png
image.png
I installed PM2, added the ecosystem.config.js, and started it. Apologize for the multiple screenshots. Anyways, the virtual controller is up but the pump is now missing. What can I do to recover?
18 replies
image.png
image.png
2delarosa
@2delarosa

I had nodejs-poolController and nodejs-poolController-WebClient running based on the wiki. It was slow starting up so I tried tagyoureit suggestions but now I can't get any nodejs apps running. In the wiki, the NODE_ENV variable is null but tagyoureit had it set to production. I tried both ways without success.

`module.exports = {
apps: [
{
"name": "poolController",
"script": "dist/app.js",
"args": [
],
"cwd": "/home/openhabian/nodejs-poolController",
"autorestart": false,
"restart_delay": 10000,
"env": {
"NODE_ENV": ""
},
"watch": true,
"ignore_watch": ["data", "config.json", "node_modules", "logs", "dist", "replay", ".cache"],
"listen_timeout": 60000

     },
     {
         "name": "poolController-webClient",
         "script": "dist/Server.js",
         "args": [
         ],
         "cwd": "/home/openhabian/nodejs-poolController-webClient",
         "autorestart": false,
         "restart_delay": 10000,
         "env": {
             "NODE_ENV": ""
         },
         "watch": true,
         "ignore_watch": ["node_modules", "config.json", "src", "dist", ".cache"]
     }
 ],

deploy : {
production : {
user : 'SSH_USERNAME',
host : 'SSH_HOSTMACHINE',
ref : 'origin/master',
repo : 'GIT_REPOSITORY',
path : 'DESTINATION_PATH',
'pre-deploy-local': '',
'post-deploy' : 'npm install && pm2 reload ecosystem.config.js --env production',
'pre-setup': ''
}
}
};`

7 replies
William Sutton
@zombielinux
I think I found part of my issue. Does nodejs-poolController require a centralized controller? Or can I just stick random devices on the RS485 bus and it'll handle them without a controller?
45 replies
Exit2Studios
@Exit2Studios
I have finally got 6.1.1 installed and working with my standalone VSF pump. I don't understand how to add "speeds" to the pump, as I can't add features and circuit groups don't appear to work in standalone mode either. I have mqtt setup...how can I set the speed via mqtt? I'm using Home Assistant and Node Red as my automations. @kkzonie
11 replies
William Sutton
@zombielinux
how tricky would it be to utilize the temperature sensor within a chlorinator? I think the relevant code is almost already written in case22 of ChlorinatorStateMessage.ts
44 replies
hmmm looks like its going out at BodyTempState instead.
William Sutton
@zombielinux
but such an item doesn't show up in my influx.
2delarosa
@2delarosa
I've been getting the following errors on the webClient
2|poolController-webClient | Browserslist: caniuse-lite is outdated. Please run:
2|poolController-webClient | npx browserslist@latest --update-db
I've gone into the folder and ran npm start
2delarosa
@2delarosa
and I discover that I can crash my raspberrypi when I open the webclient
12 replies
2delarosa
@2delarosa
So I'm looking to integrate nodejs-poolcontroller to my Openhab. I got the mqtt configured and I can see the topics when I scan. Where is the mqtt commands for setting configuration? I haven't found the page yet.
5 replies
2delarosa
@2delarosa
Also, I tried using the restful APIs but I'm connecting connection refused. I tried http and https. You mentioned there's a bug with https and the curl using http and port number to 4200 did work running it from the rPi
23 replies