RFID with 7 segment display and a tasmota
Moderators: grovkillen, Stuntteam, TD-er
RFID with 7 segment display and a tasmota
hi,
please correct me if i posted in the wrong section. i am basically trying to setup an rfid reader (PN532) with a nodemcu and also a 7 segment display (MAX7219). i know how to get the details from the rfid reader through mqtt. but for the 7 segment display, i need it to give me the state of a tasmota sonsoff sv.
is there anyway that i can have the 7 segment display receive mqtt state.
thank you
please correct me if i posted in the wrong section. i am basically trying to setup an rfid reader (PN532) with a nodemcu and also a 7 segment display (MAX7219). i know how to get the details from the rfid reader through mqtt. but for the 7 segment display, i need it to give me the state of a tasmota sonsoff sv.
is there anyway that i can have the 7 segment display receive mqtt state.
thank you
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: RFID with 7 segment display and a tasmota
If you can send MQTT from the Tasmota you must send the message as a float value (not in a JSON format). You can capture the value with MQTT import or in a event using rules.
But first you need to make sure you can send MQTT from the Tasmota unit.
But first you need to make sure you can send MQTT from the Tasmota unit.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: RFID with 7 segment display and a tasmota
i think it is sending it in a float value. it is connected to my home assistant. do u have any idea how to setup the rules.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: RFID with 7 segment display and a tasmota
If it's sending a float it's easiest to use MQTT import. You need to tell the MQTT import on what topic it should listen to. Use MQTT Snooper or similar app on your phone to see what topic Tasmota is publishing to. Once you got the MQTT import working you can use the wiki page on rules. Please get back here if you get stuck.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: RFID with 7 segment display and a tasmota
i just checked it does not give a float value. is there another way.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: RFID with 7 segment display and a tasmota
At this point no. You need to get it as a float or integer. JSON parsing is not working for rules. Can't Tasmota publish custom topics?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: RFID with 7 segment display and a tasmota
i dont think so. mostly i think i will have to try automation with mqtt.publish in home assistant and then use that value as input for esp easy mqtt import. even if i am successful in gettin a float value i.e. 1 for on and 0 for off, can u tell me how do i setup the rule in esp easy
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: RFID with 7 segment display and a tasmota
Sure I can help you with that but please look at the wiki first and try on your own.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Who is online
Users browsing this forum: No registered users and 23 guests