Suppose Smart lock (SL) has an Internet connection.
- How can SL send message to Smart Contract when User close SL?
- How to protect from reply attack? Is there any gas effective way to check SL identity?
Update: I think I will create new Ethereum Account controlled only by smart lock. So SL will be able to send Transactions to Smart Contract. Is it OK?
If OK, how can low power mobile IoT device send Transactions? Do I need some third party solution?