openevse_wifi_gui's People
Forkers
suriv jeremypoulter lordgenry wt takkaria hmarikbel jketcham ev-charge-points samigroup stef-sijben rahedges roberttco ceesb arjanmels ashokrevanna p07r0457 notima engee974 sorphin matth-x vincenzotirelli-snap wjhrdy sdcsolutions kipk ruimarinho mauriciolopes2008 njbubo mainmind83 bachen64 hgmendesopenevse_wifi_gui's Issues
NodeJs upgrade?
Hi @jeremypoulter,
Nice work, I've just tired to test. I ran sudo npm install
then npm run build
, I get the following error. Do I need to upgrade nodejs? I'm curently running V8.10.0?
glyn@glyn-desktop:~/Documents/openevse_wifi_gui$ npm run build
> [email protected] build /home/glyn/Documents/openevse_wifi_gui
> webpack
/home/glyn/Documents/openevse_wifi_gui/node_modules/webpack-cli/bin/cli.js:235
throw err;
^
Error: Cannot find module 'uglifyjs-webpack-plugin'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (/home/glyn/Documents/openevse_wifi_gui/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at Object.<anonymous> (/home/glyn/Documents/openevse_wifi_gui/webpack.config.js:3:24)
at Module._compile (/home/glyn/Documents/openevse_wifi_gui/node_modules/v8-compile-cache/v8-compile-cache.js:178:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (/home/glyn/Documents/openevse_wifi_gui/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at WEBPACK_OPTIONS (/home/glyn/Documents/openevse_wifi_gui/node_modules/webpack-cli/bin/convert-argv.js:115:13)
at requireConfig (/home/glyn/Documents/openevse_wifi_gui/node_modules/webpack-cli/bin/convert-argv.js:117:6)
at /home/glyn/Documents/openevse_wifi_gui/node_modules/webpack-cli/bin/convert-argv.js:124:17
at Array.forEach (<anonymous>)
at module.exports (/home/glyn/Documents/openevse_wifi_gui/node_modules/webpack-cli/bin/convert-argv.js:122:15)
at yargs.parse (/home/glyn/Documents/openevse_wifi_gui/node_modules/webpack-cli/bin/cli.js:232:39)
at Object.parse (/home/glyn/Documents/openevse_wifi_gui/node_modules/webpack-cli/node_modules/yargs/yargs.js:567:18)
at /home/glyn/Documents/openevse_wifi_gui/node_modules/webpack-cli/bin/cli.js:210:8
at Object.<anonymous> (/home/glyn/Documents/openevse_wifi_gui/node_modules/webpack-cli/bin/cli.js:500:3)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/glyn/Documents/openevse_wifi_gui/node_modules/webpack/bin/webpack.js:155:2)
at Module._compile (module.js:652:30)
npm ERR! Linux 4.15.0-43-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "build"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: `webpack`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script 'webpack'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the openevse_wifi_gui package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webpack
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs openevse_wifi_gui
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls openevse_wifi_gui
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/glyn/Documents/openevse_wifi_gui/npm-debug.log
glyn@glyn-desktop:~/Documents/openevse_wifi_gui$ nodejs --version
v8.10.0
Automatic time requires manual update?
Looking at
openevse_wifi_gui/src/view_models/TimeViewModel.js
Lines 107 to 111 in 200ec89
setTime()
function to be called via the UI's Update
button to trigger the $S1
message.
I'm a bit confused by this behaviour if what I described is correct. I thought Automatic meant OpenEVSE would updates its RTC automatically via something like (S)NTP.
Could you please clarify this behaviour?
Update OpenEVSE lib
It should be possible to use OpenEVSE/node_openevse in place of the included version. This will help with maintenance.
Enable Source Maps
Will help with debugging browser side code. Probably dependant on #8
Charging mode (Eco/Normal) setup UI
A number of users have reported that the UI for setting up the charging mode is no intuitive. We currently have two input fields, one for solar PV gen, the other for Grid. Only one of these fields should be used.
It would be more intuitive to have a rapid button or dropdown box to select either 'Solar PV Gen' or 'Grid'.
Make `master` the default branch
@chris1howell can you make the default branch master
(v4)?
Convert JS files to propper modules
The merging of the JS files is a bit of a hack based on the way it used to work. Should convert to proper JS modules so webpack works as originally intended.
WiFi standalone does not work on ESP8266 using shared GUI
After merging OpenEVSE/ESP8266_WiFi_v2.x#208 I noticed that the WiFi standalone mode does not seem to work on ESP8266. After loading the WiFi portal page on first power up and clicking on "WiFi Standalone Mode" the portal page just reloads as opposed to loading home.htm
.#
I've taken a look at the source and this button is just a simple direct link to home.htm
, any idea what's going on?
https://github.com/OpenEVSE/openevse_wifi_gui/blob/master/src/wifi_portal.htm#L64
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.