37 Commits

Author SHA1 Message Date
223ebff543 Prepare for tagging a new version v1.2.0 2021-10-13 13:59:34 -05:00
15f8c57cea Drop support for nodejs 10.x, add 16.x
10.x is EOL and 16.x is current. 10.x doesn't like eslint 8.0.
2021-10-13 13:55:41 -05:00
3136d217d8 Update eslint version 2021-10-13 13:53:10 -05:00
229c69e203 Satisfy linter 2021-10-13 13:51:31 -05:00
641bd83207 Show different colors based on filled value
This shows green until the bar is at 50%, yellow until 33%, and red
below that.

This also fixes the bar to show white when "colored" is disabled in the
config.
2021-10-13 13:49:34 -05:00
e9fbd20f46 Subtract one from the returned pHTank value
When I checked this yesterday, my IntelliChem was set to 5/6, but the
module was showing 100%. So maybe the API returns it on a 1-7 scale
instead of a 0-6 scale or something? I don't know. Let's try this.
2021-10-13 13:47:59 -05:00
a85d5767b0 Bump ansi-regex from 5.0.0 to 5.0.1 (#1)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-10 20:47:26 -05:00
162a2cc733 Update control font scale to match latest MMM 2021-10-10 12:33:57 -05:00
fdae6d29e9 Add support for showing pH tank level
This is on by default.
2021-10-10 12:29:45 -05:00
90a8526394 Update dependencies 2021-05-11 11:05:15 -05:00
34f6beeec7 Update package data 2020-08-23 19:56:57 -05:00
a24b03d299 Linter fixes 2020-08-23 19:51:39 -05:00
c5f71f6976 Add linter to github workflow 2020-08-21 17:38:19 -05:00
2a84b7f4fd Add fixes for linters, add github workflows
This runs eslint --fix as well as manually fixing things that the automatic fixer couldn't handle.
2020-08-21 14:58:11 -05:00
cca1e1bee9 My how time flies...corrected version dates 2020-04-08 21:49:42 -05:00
b69e557e33 Fixed heat mode display to read the correct pool equipment property v1.1.2 2020-04-08 21:42:49 -05:00
48426cbc3b Added ability to specify mode used to enable the heater v1.1.1 2020-04-07 13:03:22 -05:00
14b7fdfc9c Preparing for release v1.1.0 2020-04-01 22:20:00 -05:00
9216e33b06 Added package-lock.json 2020-04-01 22:16:27 -05:00
c6992818cf We now require at least v1.3 of node-screenlogic for setpoint support
Minor versions of node-screenlogic will not break backward compatibility, so we will allow the most recent 1.x.y version to be used.
2020-04-01 09:15:02 -05:00
55fd79ca89 Alphabetized config properties now that we have a lot of them 2020-03-31 22:23:02 -05:00
5e35e1e58b Added server support for issuing light commands 2020-03-31 22:10:10 -05:00
d1d2117549 Added support for setting the heat setpoint
I'd ultimately like to get this to a nicer UI, but I need some more time to get that work done and/or to find somebody who knows what they're doing better than I do.
2020-03-31 21:53:58 -05:00
b07a1c67b6 Hooked up heat mode/state
Hooked up most of the server-side support for heat setpoint

I decided to continue using the `controls` array and differentiate with a new `type` property. This allows much simpler sorting of controls than trying to figure out a good layout for a mix of circuits, heat modes, and heat points.

Heat point UI is going to require a bit more thinking than the simple toggles of circuit and heat modes, but I wanted to get the current progress committed. I'm also not terribly happy with the terminology I've gone with here, so I expect to iterate on that.
2020-03-30 21:48:12 -05:00
994fc68251 Disabled controls now have a transparent background
This allows the gray background to be an "in progress" state and stand out separately from on or off.
2020-03-30 21:43:19 -05:00
4774117bb5 Hide cursor and outline when clicking buttons
This is made to be used with touch screens, so no mouse cursor is necessary and we don't need the button focus staying highlighted since they're just toggle switches.
2020-03-29 11:59:09 -05:00
1e62ea4954 Added buttons for controlling pool equipment
This can be used with a touch screen, for example. I've also stubbed in functionality for controlling lights, heaters, and heat setpoints, but no actual UI exists for anything other than turning circuits on and off for now. That stuff is coming soon.
2020-03-29 11:33:33 -05:00
524373aa66 Moved changelog to its own file 2020-03-28 16:47:14 -05:00
1b2f8709dd Bumped version for release 2018-04-24 00:06:12 -05:00
2e6b795497 Allow newer node-screenlogic 2018-04-24 00:04:32 -05:00
4da0b4fa18 Added configurable update interval
Bumped to 1.0.2
2018-04-16 19:37:33 -05:00
f197fc110f Updated readme with tested server versions 2018-04-09 23:29:39 -05:00
96837ece6b Added freeze mode indicator
Bumped to v1.0.1
2018-04-07 14:05:47 -05:00
3ca0142460 Cleaned up extraneous <tr>s 2018-04-05 21:23:10 -05:00
0e58a37d39 Removed artifact of earlier dev 2018-04-01 23:55:32 -05:00
b2cdfa75d4 Fixed readme
Forgot to update this from the template I started with.
2018-03-31 18:27:51 -05:00
20bd06016b Initial commit 2018-03-31 16:28:13 -05:00