petos / fveread Goto Github PK
View Code? Open in Web Editor NEWPhotoVoltaics checker and tuning of electricity consumption
License: GNU General Public License v2.0
PhotoVoltaics checker and tuning of electricity consumption
License: GNU General Public License v2.0
Allow FVErc file to be in HOME/.FVErc or /etc/FVErc or passed via --FVErc param
FVEonOff returns "Vacation is not ON nor OFF. Perhaps not up-to-date FVErc?"
Let the FVEsetRelay check, if it received commands from server. And if no command received in confugured time, expect server is down and turn all relays OFF.
At 23:59 create a static copy of the page and store on FTP to have it accessible.
When we are not able to receive $TEMPERATURE
for any reason (fvetempsenson is down or not able to return value), the system should failover to DIRECTTEMP=OFF
function getTemperature() { TEMPERATURE=$(ssh fvetempersensor "sudo ~/FVEgetTemp") verbPrint "Temperature on thermal devices is $TEMPERATURE" echo "$TIMEDATE_YYYYMMDDHHmm $TEMPERATURE" >> $TEMPERATUREFILE }
this should fail when server is not accessible
Enable to get target temp per device from HomeAssistant
HA is called several times thru the run of the script. Unify to call it once only
Also calling of variables is not consistent.
When datafile is corrupted, need tool to discover at least, if not fix...
if error appears, the timestamp is not print, hence no chance to understand/catch it
Add web services handler to start/stop some devices manually, eventually also to be able to notify system about having oven on, washing machine, etc.
Information about the low-tarifs is located in separate file. Move it to the ~/.FVErc.
Mark as bug&&enhancement.
In some cases the api.json got 2 updates for one devices causing api.json to be malformed.
From overview page there is not any way to get to history pages. This should be follow-up for issue #14 .
FVEonOff has option --raw, that will do nothing. It should be removed.
parse error: Expected value before ',' at line 13, column 22
missing in json:
"today": 0,
"totalProduction": ,
"todayProduction": ,
"todayProductionLastReset": ""
}
$ ./FVEonOff --help
./FVEonOff: line 139: printHelp: command not found
$ ./FVEonOff -h
./FVEonOff: line 139: printHelp: command not found
This should be at every script
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.