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

Can't turn buttons off in config.js #163

Open
SethL opened this issue Apr 4, 2022 · 6 comments
Open

Can't turn buttons off in config.js #163

SethL opened this issue Apr 4, 2022 · 6 comments

Comments

@SethL
Copy link

SethL commented Apr 4, 2022

I commented out the buttons I don't want to see (I don't have a heater or a spa) but they keep showing up on the webui. Am I doing something wrong?

var devices = [
    "Filter_Pump",
    //"Spa_Mode",
    "Aux_1",
    //"Aux_2",
    //"Aux_3",

// "Aux_4",
// "Aux_5",
// "Aux_6",
// "Aux_7",
// "Aux_B1",
// "Aux_B2",
// "Aux_B3",
// "Aux_B4",
// "Aux_B5",
// "Aux_B6",
// "Aux_B7",
// "Aux_B8",
//"Pool_Heater",
//"Spa_Heater",
"SWG",
//"SWG/Percent",
"SWG/PPM",
//"SWG/Boost",
"Temperature/Air",
"Temperature/Pool",
//"Temperature/Spa",
"Pool_Water",
// "Spa_Water",
"Freeze_Protect",
"CHEM/pH",
"CHEM/ORP"
//"Solar_Heater",

image

@sfeakes
Copy link
Owner

sfeakes commented Apr 4, 2022

Aqualinkd tells the browser to cache heavily, so your browser probably hasn’t requested the new config. Clear the cache / try a different browser.

@SethL
Copy link
Author

SethL commented Apr 4, 2022

I just tried on my mobile browser, I haven't ever visited the site before on this device.
Screenshot_20220404-133116_Samsung Internet

@sfeakes
Copy link
Owner

sfeakes commented Apr 4, 2022

You edited the file in /var/www/AqualinkD/……. And not the file from where you download the github repo? (/home/……) usually.

I just noticed in the wiki I referenced <install_dir>, I should probably be specific that <install_dir> is /var/www/aqualinkd by default.

@SethL
Copy link
Author

SethL commented Apr 4, 2022

yeah I was in the wrong place :-) Everything looks good now. I love this setup thank you very much!
question: can I have VSP on a button by itself? I have turned my pump off twice because I forgot to tap and hold :-(

@sfeakes
Copy link
Owner

sfeakes commented Apr 5, 2022

Interesting observation. VSP support has not always been their, so many are used to the tap being on/off and were pleased to finally get VSP, so making it like the other buttons where long press gives options and tap for on/off was natural. But that may not be true for new users. There isn’t a clean way to do what you want, but I think if you have a circuit empty you don’t use, you could assign the VSP to that button and not the actual pump circuit, but you would need to also turn it on and off for the UI to work and give you the RPM/GPM options. So kinda hack. I’ll need some more time to think that one through and see if I can come up with a better way.

@SethL
Copy link
Author

SethL commented Apr 5, 2022

honestly what would help the most would be to have the option to longpress to turn items on/off. I turned off the pump and the SWG 3 times yesterday lol. Im not sure how that factors in with the variable options but it would be nice to have the options.

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

2 participants