jcallaghan / home-assistant-config

My Home Assistant configuration & documentation.
https://www.jcallaghan.com/
MIT License
173 stars 8 forks source link

Automatic detect when the bedding has been washed 🧺⏳🔔 #206

Open jcallaghan opened 3 years ago

jcallaghan commented 3 years ago

I track a number of household chores with the help of input_datetime helpers and an automation than naggsreminds me when the chore is due.

An example of such a chore is bedding however I've added some intelligence leverage the powerful insights I have from my Smart Home. For example, I get reminders after every second stay that my daughter's bedding needs to be washed and changed after every guest has visited and every week for my own.

While I quite happily take advantage of an actionable alert when my washing machine is used where I can say if the bedding in one of these examples has been washed I'd really like to automate that final piece. My good friend @adonno pointed me towards Magic Cards some time ago and he has recently revisited Magic Cards. This got me thinking about how I could use RFID tags on the bedding and detect when they have been washed.

So my plan is to build an ESPHome based RFID reader (with strong/long-range) that can be placed on the washing machine and detect when I wash bedding. The same could be achieved for other items such as towels but let's just have some fun with bedding for now.

Assume a reader is placed near the door the range would need to be between 40-50cm.

adonno commented 3 years ago

You have to ensure that the tags are compatible with the reader

There are several reader on different frequencies the tags MUST be on that same one

Maybe for ease of use ensure the reader is also compatible with esphome. And you don’t need magic cards for this solution since magic cards is mainly focused for audio

jcallaghan commented 3 years ago

Research

Amazon.co.uk
Plastic PVC Card Tray For Canon Printers-J Type-PIXMA MX922, MG7720,MG5400, MG5420, MG5422, MG5430, MG5450, MG5460, MG5470, MG5480, iP7200, MG7120, iP7230
Plastic PVC Card Tray For Canon Printers-J Type-PIXMA MX922, MG7720,MG5400, MG5420, MG5422, MG5430, MG5450, MG5460, MG5470, MG5480, iP7200, MG7120, iP7230
Amazon.co.uk
Inkjet Printable PVC ID Cards Compatible with Epson and Canon Inkjet Printers, 100PCS CR80 30 MIL Thick Waterproof Material, Both Side can be Printing by TimesKey
Inkjet Printable PVC ID Cards Compatible with Epson and Canon Inkjet Printers, 100PCS CR80 30 MIL Thick Waterproof Material, Both Side can be Printing by TimesKey
Amazon.co.uk
Jietong 860~960mhz Long RANGE washable laundry tag clothing rfid tag uhf rfid tag JT-7015
Jietong 860~960mhz Long RANGE washable laundry tag clothing rfid tag uhf rfid tag JT-7015
Amazon.co.uk
7 X NFC Tags | NXP Chip NTAG213 | 144 Bytes Memory | mixed colours| Hang Round | round coloured Hnagtags | High Scan Strength | Waterproof
7 X NFC Tags | NXP Chip NTAG213 | 144 Bytes Memory | mixed colours| Hang Round | round coloured Hnagtags | High Scan Strength | Waterproof
Amazon.co.uk
RFID Launtry tag,UHF Clothes Tag Long Reading Distance high temperature resistant soft Nylon -5pcs
RFID Launtry tag,UHF Clothes Tag Long Reading Distance high temperature resistant soft Nylon -5pcs
Amazon.co.uk
UHF RFID Laundry button garment application heat-resistant PPS Tag (pack of 5)
UHF RFID Laundry button garment application heat-resistant PPS Tag (pack of 5)
Amazon.co.uk
Long range uhf rfid reader for vehicle/parking application 5 meters read range
Long range uhf rfid reader for vehicle/parking application 5 meters read range
jcallaghan commented 3 years ago

You have to ensure that the tags are compatible with the reader

There are several reader on different frequencies the tags MUST be on that same one

Thanks. I had this same problem a few years ago when I built a device for a farmer to scan and read the tags off his livestock. The tags placed onto animals ears in the UK are typically non-standard and I had to import a reader from Australia for the project. I must get round to publishing that project. It made the farmer much more efficient when performing the annual disclosure report he legally had to produce and was a lot of fun to build.

jcallaghan commented 3 years ago

https://www.youtube.com/watch?v=pPmQoIU-86o

YouTube
Washable Laundry RFID Tag Manufacturer, Soft and Waterproof Laundry Tag
Product Link: http://www.morerfid.com/rfid-tags/rfid-laundry-tags/ RFID laundry tags include RFID silicone flexible laundry tags and RFID disc tags. They are...
jcallaghan commented 3 years ago

Related: #143 #145 #171

jcallaghan commented 3 years ago

https://www.amazon.co.uk/frequency860-960Mhz-reading-application-inventory-management/dp/B075WY8DSR

Amazon.co.uk
UHF Reader/Writer with 860-960mhz Frequecy and Complie with The Standard of EPC C1G2 ISO 18000-6C Support Keyboard Emulation Output Support Read Write UHF Tags Like Alien 9662 (1pcs UHF reader writer)
UHF Reader/Writer with 860-960mhz Frequecy and Complie with The Standard of EPC C1G2 ISO 18000-6C Support Keyboard Emulation Output Support Read Write UHF Tags Like Alien 9662 (1pcs UHF reader writer)
jcallaghan commented 3 years ago

https://www.instructables.com/id/Use-Arduino-and-RS232-Shield-to-interface-Integrat/

Instructables
Use Arduino and RS232 Shield to Interface Integrated UHF RFID Reader LSID-0702
Use Arduino and RS232 Shield to Interface Integrated UHF RFID Reader LSID-0702: Long Range UHF RFID reader (1-6M) (ISO18000-6C EPC G2) integrates the reader with the antenna. After first powered on, the reader will buzz once to indicate that it starts to work.  When there is tag approaching the reader, it will buzz to indicat...
jcallaghan commented 3 years ago

Looking for ~1-meter range so should look for RFID at 13.56Mhz or UHF 860Mhz and passive tags (especially the higher frequency ones).

I used to design RFID readers for a living and made one with a 1.5 meter range using a 60cm diameter coil operating on a passive tag.

Yes definately, have a look at the EM4095 chip which is pretty easy to use, I created my own system with this chip and an Arduino. Also there is the U2270B from Atmel. Both are low cost, and work with 125Khz tags http://www.apdanglia.org.uk/shoppingcart2.html#EM4095-IC

https://forum.arduino.cc/index.php?topic=16702.0

RFID question - 1m range and collision control
RFID question - 1m range and collision control
jcallaghan commented 3 years ago

https://www.rfidtagworld.com/

XMINNOV | Anti-Counterfeiting | Tamper Proof | RFID Tag NFC Tag Manufacturer Factory
We are leading RFID Tag nfc label manufacturer focusing on security tamper proof anti counterfeiting market especially rfid vehicle tag,NFC Sticker,RFID Label,Windshield label,Sticker Label Best Suppliers security tag design customized label Vehicle tag solution provider labels tampering label rfid Seal Tag Security Protector Locker Antenna Inlay Label Tag Sticker hologram VOID ITS EVI transportation document on metal tag,RFID Windshield Tag