Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.1 pull branch #1

Closed
wants to merge 21 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update README.md
  • Loading branch information
marelab committed May 19, 2019
commit a9394e24ef47bccd93211f42b3fec2e3542e24c7
39 changes: 27 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,38 +38,53 @@ For the MQTT communication some additional TOPICs have been internaly added. The
The message format is JSON it has to include the IP of the device & the command for a message recv by the ESP-RFID firmware. These messages can be received:

### getuser
Sends all useres back over the <TOPIC>/accesslist
```
Sends all useres back over the (TOPIC)/accesslist
Json Command Format:
{cmd:'opendoor',doorip:'(The ESP-RFID IP of the door to open as String)'}
```
{
cmd :'getuser',
doorip :'(The ESP-RFID IP of the door to open as String)'
}
```

### listusr
Sends all useres back over <TOPIC>/send
```
Sends all useres back over (TOPIC)/send
Json Command Format:
{cmd:'opendoor',doorip:'(The ESP-RFID IP of the door to open as String)'}
```
{
cmd:'listusr',
doorip:'(The ESP-RFID IP of the door to open as String)'
}
```

### opendoor
Opens the Door / Magnetic Lock
```
Json Command Format:
{cmd:'opendoor',doorip:'(The ESP-RFID IP of the door to open as String)'}
```
{
cmd:'opendoor',
doorip:'(The ESP-RFID IP of the door to open as String)'
}
```

### deletusers
Delete all users. It deletes all User SPIF files.
```
Json Command Format:
{cmd:'opendoor',doorip:'(The ESP-RFID IP of the door to open as String)'}
```
{
cmd:'deletusers',
doorip:'(The ESP-RFID IP of the door to open as String)'
}
```

### adduser
Adds a User as SPIF File to the device. That can be shown/edit over the WebGUI
```
Json Command Format:
{cmd:'opendoor',doorip:'(The ESP-RFID IP of the door to open as String)'}
```
{
cmd:'adduser',
doorip:'(The ESP-RFID IP of the door to open as String)'
}
```


Expand Down