esprfid / esp-rfid

ESP8266 RFID (RC522, PN532, Wiegand, RDM6300) Access Control system featuring WebSocket, JSON, NTP Client, Javascript, SPIFFS
MIT License
1.37k stars 424 forks source link

Configurable virtual outputs #662

Open evazzoler opened 4 weeks ago

evazzoler commented 4 weeks ago

Hi, this is a feature request.

I ask the possibility to add a certain number of virtual outputs (managed as the additional relay output: with conf per user, per time, etc.). A virtual output will trigger an http or https URL call with GET method (optionally POST, too) and with/without basic auth. This will open esprfid to the whole world: security systems (most modern systems are supporting this method for virtual inputs), http remote ralay (for triggering i.e. a remote gate, a light, a home automation action, a scenario, etc.).

It is different than MQTT because relay and security system are currently using URL calls, not MQTT. With URL call they would work out of the box.