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

Feature Request: MQTT Integration #76

Open
mkelley88 opened this issue Jul 9, 2020 · 0 comments
Open

Feature Request: MQTT Integration #76

mkelley88 opened this issue Jul 9, 2020 · 0 comments

Comments

@mkelley88
Copy link

mkelley88 commented Jul 9, 2020

I, like many others, have a home automation setup that already includes an MQTT broker. I use that together with Home Assistant for the ultimate flexibility. I love the idea behind this project and I see the requirement for a Raspberry Pi and a USB RFID reader as rather limiting. It would be great if Magic-Cards could subscribe to an MQTT topic and grab unique values from there. This opens up a world of possibilities. It would be cheap and more power efficient to use something like an ESP8266 and an RFID reader. I would suggest that when grabbing data from the MQTT topic, it should be formatted in JSON. Another benefit is that Magic-Cards could be installed in Home Assistant via docker and could rely solely on MQTT for RFID input from as many readers as you'd like. This way, you could have one reader in the living room that would play only on the device in that room. Then a different reader for other rooms like the den, bedroom, patio, etc.

  1. Scan RFID Card
  2. Send the unique id of the RFID card and perhaps the name of the card reader to the MQTT broker.
    Something like: { "Reader ID" : "Living Room", "RFID Card Number" : "0123456789ABCDEF" }
    that is sent to the topic "livingroom/rfid-reader"
  3. Magic-Cards will see a new message on the MQTT topic and use the information to do it's thing 👍
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant