Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is lat / long suppose to be entered? #245

Closed
miamijerry opened this issue Nov 2, 2020 · 13 comments
Closed

Where is lat / long suppose to be entered? #245

miamijerry opened this issue Nov 2, 2020 · 13 comments

Comments

@miamijerry
Copy link

miamijerry commented Nov 2, 2020

Seeing this flooding poolController terminal;

[11/2/2020, 10:19:21 AM] warn: dt:Mon Nov 02 2020 09:59:20 GMT-0500 (Eastern Standard Time) lat:undefined lon:undefined Not enough information to calculate Heliotrope.

Entering address did not resolve...

@tagyoureit
Copy link
Owner

It's not by address, it's latitude and longitude. Address is just for the "pool owner" information but sunrise/sunset are calculated locally via lat/long so we don't need to make any calls out to the internet to interpolate the address.

@miamijerry
Copy link
Author

The question is "Where do I enter Lat / Long ??"

@rstrouse
Copy link
Collaborator

rstrouse commented Nov 2, 2020

Close njspc then edit the poolConfig.json file in the data directory. You want to enter the latitude and longitude in the pool.location node. Then restart njspc.

    "options": {
      "clockMode": 12,
      "clockSource": "internet",
      "units": 0,
      "adjustDST": true,
      "pumpDelay": false,
      "cooldownDelay": false,
      "manualPriority": false,
      "manualHeat": false
    },
    "alias": "Pool",
    "owner": {
      "name": "Mr. President",
      "phone": "5555555555",
      "phone2": "",
      "email": "",
      "email2": "mail2@home.com"
    },
    "location": {
      "zip": "20500",
      "latitude": 38.89,
      "address": "1600 Pennsylvania Avenue NW",
      "longitude": -77.036,
      "timeZone": 131,
      "country": "United States",
      "city": "Washington",
      "state": "DC"
    }

In the future I will add this to dashPanel so you can add it from there.

@tagyoureit
Copy link
Owner

How did you enter the address? The lat/long is right below that.

2020-11-02_08-09-35

2020-11-02_08-09-56

@tagyoureit
Copy link
Owner

This also works in Dashpanel now.

2021-01-07_20-28-19

@miamijerry
Copy link
Author

Thank you

@gambler2841
Copy link

gambler2841 commented May 11, 2021

I apologize in advance, I'm not extremely experienced with Linux or the Raspberry Pi. I'm encountering a problem with connecting to the pool controller. I am getting hung up on the following:

Capture

Prior to this I was getting the lat/long error, and after adding per the instructions above, now it is just stuck.

Any help is greatly appreciated!

@davthomaspilot
Copy link

I just installed the latest Pool Control Dashboard. I don't see the lat and lon entry boxes in the Personal Information dialog:

pool

and I'm getting the warning:

Jun 01 10:18:20 alexa-2 node[2281]: [6/1/2021, 10:18:20 AM] warn: dt:Tue Jun 01 2021 10:18:17 GMT-0400 (Eastern Daylight Time) lat:undefined lon:undefined Not enough information to c

@tagyoureit
Copy link
Owner

It looks like you are on an old version of dashPanel. Please run git pull and npm i assuming you have already done a git clone https://github.com/rstrouse/nodejs-poolController-dashPanel.git to initially load the app.
If you haven't updated the original app you should also update njsPC app itself.

@tagyoureit
Copy link
Owner

Oh, and if you did pull the latest dashPanel make sure you do a hard refresh (Ctrl-F5) and that will load the latest versions of the files.

@davthomaspilot
Copy link

davthomaspilot commented Jun 2, 2021 via email

@davthomaspilot
Copy link

davthomaspilot commented Jun 2, 2021 via email

@davthomaspilot
Copy link

doing a git pull resolved the issue. I didn't do the hard refresh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants