39 Commits

Author SHA1 Message Date
b1f9f2965b Now the toggleing is done withing the first python call because it is a async call. 2017-09-04 19:35:58 +02:00
01abf33d78 Now checks python script (forgot to add) 2017-09-04 19:00:55 +02:00
c5ba6b8621 Added a toggle endpoint that checks the db for button state then uses that to set it to the opposite. 2017-09-04 18:54:24 +02:00
bbba4b2792 Removed unused line 2017-06-03 19:33:38 +02:00
d6cc0edb8b Beacuse states are checked before its toggled a new function was made, just to update the GPIO with the fan state last saved in db. 2017-06-03 19:31:27 +02:00
e9cdf593e7 Added python-shell 2017-06-03 19:18:21 +02:00
557aa526d1 Added callback function to first reload function 2017-06-03 19:18:03 +02:00
7558afc444 Changed so that the fanstate is reloaded when application starts 2017-06-03 18:58:55 +02:00
4ca6b8b238 Added an option for reloading the fanstate, this will most often be done at load of application. 2017-06-03 18:58:07 +02:00
Kevin Midboe
cddfbe3dfe Added DS_Store to gitignore. 2017-04-07 11:47:10 +02:00
Kevin Midboe
9302758440 Moved style and js to seperate files. 2017-04-07 11:46:54 +02:00
Kevin Midboe
374cc29adb Updated readme 2017-04-07 11:46:28 +02:00
682642c19e Added check for last input item in fanController main function 2017-02-23 17:47:42 +01:00
64c55a62a3 Addded package.json 2017-02-19 12:04:38 +01:00
0cb52876a1 Changed the fanToggling to only be done by one script, changed server.js to reflect these changes and also needed to do some changes to index.html. These being checking the return text and some linting. 2017-02-19 11:55:48 +01:00
5c4cf195e0 Merge branch 'master' of github.com:KevinMidboe/fanController
Conflicts:
	index.html
	public/index.html
2017-02-19 10:38:05 +01:00
e75971e2dd Big update, adding favicons and minor changes to server and webpage styling 2017-02-19 10:36:35 +01:00
b610df566b Added node_modules 2017-02-19 10:34:28 +01:00
f96ccf480d Added git ignore and removed dtc folder 2017-02-19 10:33:08 +01:00
f984cbc1f3 Moved old server file to own folder 2017-01-30 22:55:19 +01:00
e1fb7759c8 Cleaned up in the files. Removed duplicated web files 2017-01-30 22:53:47 +01:00
113e63797f Moved python files to 'pyscript' folder 2017-01-30 22:53:17 +01:00
345a63ca6b Changed directory for the python scripts 2017-01-30 22:52:40 +01:00
80f30352ae Update README.md 2017-01-30 22:38:06 +01:00
c7661c65fd Update README.md 2017-01-30 22:37:48 +01:00
d2d123953a Update README.md 2017-01-30 22:29:32 +01:00
6dd2e4b3c4 Update README.md 2017-01-30 22:28:42 +01:00
3dc37f923a Update README.md 2017-01-30 22:28:07 +01:00
c91d3bb8a4 Update README.md 2017-01-30 22:27:42 +01:00
7e24f09934 Update README.md 2017-01-30 22:26:15 +01:00
ca1902f683 Update README.md 2017-01-30 22:25:48 +01:00
c371a03894 Update README.md 2017-01-30 19:12:01 +01:00
2b0712364c Minor changes to README 2017-01-30 12:28:51 +01:00
14c0fd958a Create README.md 2017-01-29 18:36:08 +01:00
48f27a27a5 Other misc changes to python scripts and init pushed 2017-01-29 18:36:36 +01:00
d24067b5e0 Added js to get state and dynamically change display state based on response from button press 2017-01-29 18:36:20 +01:00
75454c35cd Changed response to send back state 2017-01-29 18:35:52 +01:00
9691e6c22d Init commit 2017-01-29 17:50:00 +01:00
f0aadd9985 Initial commit 2017-01-29 17:42:09 +01:00