Introduce energy monitoring based on RFID user cards #9
Labels
APIv1
API v1 devices and functions
APIv2
API v2 devices and functions
enhancement
New feature or request
On APIv1 - RFID cards are single variables in the response to "status" query
rca
rna
eca
rcr
rnm
ecr
rcd
rne
ecd
rc4
rn4
ec4
rc5
rn5
ec5
rc6
rn6
ec6
rc7
rn7
ec7
rc8
rn8
ec8
rc9
rn9
ec9
rc1
rn1
ec1
For example first card would have:
rca
: "1" - card index of the paired RFID card or emptyrna
: "Tapio" - name given, max 10 charseca
: "5835" - energy counter (= 583.5 kWh)On APIv2 - RFID cards are in a JSON-array in response to "/api/status?filter=cards,trx" query
trx
cards
-array - ten groups ofname
- name given, max 10 charsenergy
- energy counter in Wh (583524 = 583.524 kWh)cardId
-true
orfalse
if a RFID card is paired to the slot or notThe text was updated successfully, but these errors were encountered: