Skip to content

Commit

Permalink
fix available flash size
Browse files Browse the repository at this point in the history
  • Loading branch information
omersiar committed Aug 13, 2018
1 parent 5af2e0f commit b6038e9
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Change Log
All notable changes to this project will be documented in this file.

## [Unreleased 0.8.0]
## [Unreleased 0.8.1]
#### Fixed
- [webui] Old available flash space calculation fixed


## [0.8.0]
#### Breaking Changes
- [firmware] Flash partition is changed to 1+3 !!! You need to backup your settings and users before updating to this version
- [firmware] For wiegand readers card id's changed hexadecimal to decimal !!! You need to change hexadecimal values to decimal values on your user backup file
Expand Down
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,23 @@ Access Control system using a cheap MFRC522, PN532 RFID readers or Wiegand RFID
* MQTT enabled
* Bootstrap, jQuery, FooTables for beautiful Web Pages for both Mobile and Desktop Screens
* Thanks to ESPAsyncWebServer Library communication is Asyncronous
### Official Hardware
* Small size form factor, sometimes it is possible to glue it into existing readers.
* Single power source to power 12V/2A powers ESP12 module, RFID Wiegand Reader and magnetic lock for opening doors.
* Exposed programming pins for ESP8266
* Regarding hardware design, you get multiple possible setup options:
* Forward Bell ringing on reader to MCU or pass it out of board
* Track Door Status
* Control reader’s status LED
* Control reader’s status BUZZER sound *
* Power reader, lock and the board through single 12V, 2A PSU
* Optionally power magnetic lock through external AC/DC PSU
* Possible to use any kind and any type of wiegand readers
* Enables you to make IOT Access System with very litle wiring
* Fit in universal enclosures with DIN mount
* Opensource Hardware

Get more information and see accessory options from [Tindie Store](https://www.tindie.com/products/nardev/esp-rfid-relay-board-12v-in-esp8266-board/)

## Getting Started
This project still in its development phase. New features (and also bugs) are introduced often and some functions may become deprecated. Please feel free to comment or give feedback.
Expand Down Expand Up @@ -116,8 +133,8 @@ For Wiegand based readers, you can configure D0 and D1 pins via settings page. B
* Congratulations, everything went well, if you encounter any issue feel free to ask help on GitHub.

### Known Issues
* MQTT functionality is not stable for now.
* See [#99](https://github.com/omersiar/esp-rfid/issues/99).
* You need to properly connect your MFRC522 reader to your ESP or you will get boot loop

* Please also check [GitHub issues](https://github.com/omersiar/esp-rfid/issues).


Expand Down
Binary file modified demo/board.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/websrc/js/esprfid.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var version = "0.8.0";
var version = "0.8.1";

var websock = null;
var wsUri = "ws:https://" + window.location.hostname + "/ws";
Expand Down Expand Up @@ -501,7 +501,7 @@ function listStats() {
document.getElementById("heap").style.width = (ajaxobj.heap * 100) / 40960 + "%";
colorStatusbar(document.getElementById("heap"));
document.getElementById("flash").innerHTML = ajaxobj.availsize + " Bytes";
document.getElementById("flash").style.width = (ajaxobj.availsize * 100) / 2092032 + "%";
document.getElementById("flash").style.width = (ajaxobj.availsize * 100) / 1000000 + "%";
colorStatusbar(document.getElementById("flash"));
document.getElementById("spiffs").innerHTML = ajaxobj.availspiffs + " Bytes";
document.getElementById("spiffs").style.width = (ajaxobj.availspiffs * 100) / ajaxobj.spiffssize + "%";
Expand Down

0 comments on commit b6038e9

Please sign in to comment.