Comments (10)
Excellent proposal, forces me to think about a solution that is independent of the link layer modbus/http/mqtt.... its on the list!
EDIT: I also see an overlap with OCPP
from smartevse-3.5.
OCPP, absolutely, would be cool if SmartEVSE was allowed to backoffices so you could put SmartEVSE's into a roaming network. But I doubt this is feasible without (costly?) certifications etc.
On the other hand being able to do it on-device, without some external management system would also make sense.
from smartevse-3.5.
My first gut feeling goes for your "bonus feature", import from .csv or .txt file.
That way users still have the choice to have differing RFID lists per EVSE, or syncing them by uploading the same file to all EVSE's.
from smartevse-3.5.
Jup and then, NVS or Spiffs :-).
from smartevse-3.5.
Just thinking out loud here, but if the slave would just send the RFID of the card over modbus to the Master, then the Master can decide if it's allowed to charge or not.
from smartevse-3.5.
True, but:
1 losing flexibility to differ authorisations per EVSE (do we need that, or are they all one-rfid-card-should-authorize-all-EVSEs users?
2 losing compatibility with older SmartEVSEs due to protocol change
from smartevse-3.5.
Regarding the RFID card learning. Would also be handy to put it in card learn mode without the need to go to the electrical board and then go into the menu. In a lot of cases there's quite some distance between the RFID reader and the modules. So would be handy to just switch on the learning mode on my phone in the webinterface or HA and learn new tags.
sending "3" to the RFID mqtt topic isn't working, but I guess that the information is one way and it doesn't read any values being sent to that topic. Right?
from smartevse-3.5.
@dingo35 @mstegen I used setmode as an inspiration for setrfid
Seems like it's working. Is it acceptable to do it this way over http post?
if(request->hasParam("setrfid")) {
String setrfid = request->getParam("setrfid")->value();
// RFID Reader (0:Disabled / 1:Enabled / 2:Enable One / 3:Learn / 4:Delete / 5:Delete All)
switch(setrfid.toInt()) {
case 0: // Disabled
RFIDReader = 0;
setAccess(1);
#if MQTT
// Update MQTT faster
lastMqttUpdate = 10;
#endif
break;
case 1:
RFIDReader = 1;
break;
case 2:
RFIDReader = 2;
break;
case 3:
RFIDReader = 3;
break;
case 4:
RFIDReader = 4;
break;
case 5:
RFIDReader = 5;
DeleteAllRFID();
break;
default:
setrfid = "Value not allowed!";
}
doc["evse"]["setrfid"] = RFIDReader;
}
from smartevse-3.5.
I would prefer the "bonus" option, uploading .csv or .txt file.
It gives much more flexibility, and doesnt expand our API with a seldomly used option; it also would have to be synced with the MQTT API.
from smartevse-3.5.
Done with e6efc51
from smartevse-3.5.
Related Issues (20)
- Crashing modules, I think due to wifi ssid and pass with spaces in it HOT 8
- MAINSMET setting disappeared with RC2 when setting up from device HOT 3
- Allow MIN_CURRENT down to 2A HOT 6
- Cycling trough power share nodes triggers reboot HOT 3
- Solar Mode - stopping timer resets on API meter update HOT 4
- Solar Stop Timer never kicks in and resets itself every 20 seconds when solar generation remains too low HOT 3
- Rework Set_Nr_of_Phases_Charging() ? HOT 3
- Feature Request: Show or download logs HOT 10
- Change Actuator and Switch Behaviour with delayed charging set. HOT 17
- Missing MaxSumMains from HA integration
- strange "chargedEnergy" glitch HOT 7
- Trying to compile current version on W10 / VS Code HOT 7
- CP duty cycle calibration/offset HOT 2
- Not able to set charging status with post request when starting time is set HOT 2
- v3.6.0-RC1 MQTT is not connecting when entering a host name. HOT 3
- Configure Sensorbox as an EVMeter HOT 2
- V3.6.0-RC1 Constant MQTT updates / cycling through State and Error HOT 3
- Socket lock in API HOT 4
- Voltage and Power measurements missing HOT 10
- 3.6.0-RC2 / MQTT not reconnecting when AP/Router is down voor 2-3min on power outage HOT 15
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.
from smartevse-3.5.