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

Smart home solution based on Remme protocol #1

Open
dmytrostriletskyi opened this issue Jan 24, 2019 · 44 comments
Open

Smart home solution based on Remme protocol #1

dmytrostriletskyi opened this issue Jan 24, 2019 · 44 comments

Comments

@dmytrostriletskyi
Copy link
Contributor

dmytrostriletskyi commented Jan 24, 2019

Motivation

The main purpose of the issue is to integrate Remme protocol to the smart home industry. These intentions could improve cybersecurity layer of Internet of things as well as provide more powerful and diverse functionality at the expense of native integration with other Remme solutions.

Idea

As an owner of the smart home, you want to open an entrance door with one button on your key fob or application on mobile device. Before you are able to use this feature, you should create an account using a special software product. Then register your door and key fob to make authorization between these entities possible.

After you press the open door button on key fob, a door checks if a key fob relates to the same account, then if an account is not blocked, then all validations are passed, you expect the door is opened.

Actually, you could extend the solution to communication between any types of devices:

  • garage door,
  • digital cameras,
  • healthcare devices, etc.

Guide-level explanation

You open special software to:

  • register an account on the blockchain,
  • create private and public key for your door,
  • create private and public key for your key fob,
  • store both public keys as related to the account on the blockchain.

When key fob sends the request to open a door, it sends:

  • account key fob relates to,
  • public key,
  • signature of the data (i.e. account address) to proof the ownership of private key.

When the door receives a request, it checks:

  • an account key fob relates to, door relates too (through public keys of the door and key fob),
  • door's public key is not revoked,
  • key fob public key is not revoked,
  • key fob signature.

Technical notes

We understand there are no a lot of engineers which are too familiar with IoT, a lot of cool software engineers haven't experience with physical devices. So there is a brief overview of possible solutions to participate in the challenge:

  • use your mobile devices as a key fob — create an application if you a mobile developer,
  • develop website as door, the site that will show the status (opened/closed) of the door.

How to turn in your stuff

If you want to participate in the challenge, leave the comment below, please. Do not hesitate to ask questions and or request more details about the issue.

Then you have done some stuff and you are ready to show it to use please do your best with:

  • provide codebase of your craft,
  • provide documentation for your project with the following sections: getting started, troubleshooting, API, etc.,
  • provide a link to the ready-to-use application or website,
  • if possible record the video to show the result.

The result also expected to be published below in the comments.

References

@dmytrostriletskyi dmytrostriletskyi changed the title Smart-house solution based on Remme protocol Smart home solution based on Remme protocol Jan 28, 2019
@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 3.542 ETH (489.98 USD @ $138.33/ETH) attached to it as part of the Remme fund.

@remmetechadmin
Copy link
Member

@SparrowTom, hey! Thank you for the application. How much time do you need to perform it?

Here it is a short comment about possible architecture from our tech team that may be useful for you and anybody who consider participating in this bounty contest:
Scheme:
https://drive.google.com/file/d/1CniEdLljberJvuHkdRHaBJClbOcBtXbi/view?usp=sharing

  1. The door will open if the public key of the door and keys belong to the same owner (Remme account).
  2. Registration of the public key of the door and the digital key may have the same flow (shown in the picture)

@SparrowTom
Copy link

SparrowTom commented Mar 5, 2019

@fedotovcorp I would say one weekend should suffice, but just to be on the safe side I would say - could be ready in two weeks from now.

@remmetechadmin
Copy link
Member

@SparrowTom, ok, we approved your application. Waiting on your results. Could you film some video in addition to code to make it more visible and clear?

@SparrowTom
Copy link

@fedotovcorp Gotcha, working on it - already got a Remme node running locally. I can try to make a short demo video, but I need to deal with code and documentation first.

@gitcoinbot
Copy link

@SparrowTom Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@SparrowTom
Copy link

@gitcoinbot Yes, dear automated robot overlord - I am. Please do excuse my "3 days of inactivity" seeing as I was approved to start working about ten hours ago, thank you very much.

@remmetechadmin
Copy link
Member

@SparrowTom, hey, how is it going? Do you need any help from us? You can use our Gitter chat to discuss any questions you have https://gitter.im/REMME-Tech

@gitcoinbot
Copy link

@SparrowTom Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

1 similar comment
@gitcoinbot
Copy link

@SparrowTom Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@SparrowTom
Copy link

SparrowTom commented Mar 12, 2019

@fedotovcorp Finished with the "IOT part" (i.e. key talking to fob, using IR remote to open 'door', posting and retrieving keys from Remme node), what is left to implement is adding ability to revoke keys, actual GUI for managing doors/key and modifications to current setup so that it is more "portable" (i.e. I will see about stuffing what I can into docker containers).

@remmetechadmin
Copy link
Member

@SparrowTom, thanks! Keep going at the same pace. I suppose on the next week you can submit PR that we can review it and give you feedback?

@gitcoinbot
Copy link

@SparrowTom Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

1 similar comment
@gitcoinbot
Copy link

@SparrowTom Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@SparrowTom
Copy link

@fedotovcorp @gitcoinbot By all means, working on it as we speak. I will let you know once it is finished. Just need to test it and make sure I secured everything properly, and I should be able to spin the instances up.

@gitcoinbot
Copy link

@SparrowTom Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

3 similar comments
@gitcoinbot
Copy link

@SparrowTom Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@gitcoinbot
Copy link

@SparrowTom Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@gitcoinbot
Copy link

@SparrowTom Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@remmetechadmin
Copy link
Member

@SparrowTom, how are you? We are ready to review your work.

@remmetechadmin
Copy link
Member

@SparrowTom, hey, there is too little time left in this bounty program. Do you have any work to review?

@gitcoinbot
Copy link

@SparrowTom Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

1 similar comment
@gitcoinbot
Copy link

@SparrowTom Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@remmetechadmin
Copy link
Member

@SparrowTom, today is the last day of that bounty. Hope you will provide any PR for us today.

@surajk-m
Copy link

surajk-m commented Mar 28, 2019

Hey @fedotovcorp @remmetechadmin @SparrowTom @dmytrostriletskyi, I am interested in building such model using remme protocol, if you can extend the date for this bounty.

@remmetechadmin
Copy link
Member

@s5k0651, nice to see your interest to our bounty! How much time do you need to accomplish the task? Can you share with us your vision of realization?

@remmetechadmin
Copy link
Member

@s5k0651, @SparrowTom, we have extended bounty for an additional two weeks. Hope it would be enough for you both!

@surajk-m
Copy link

surajk-m commented Mar 30, 2019

@remmetechadmin, thanks for extending the date for this bounty. Though this will be my first project on PKI and IOT, i will try my best to complete within 2 weeks, I've ordered asus tinkerboard RK3288 as [KeyFob]. As i've never worked with Remme protocol, so i will need few days to understand it, I am excited to build this project as i have a subject in my current semester which deals completely with Public Key Management and Information and Cyber Security.

@gitcoinbot
Copy link

@SparrowTom Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

1 similar comment
@gitcoinbot
Copy link

@SparrowTom Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@remmetechadmin
Copy link
Member

@s5k0651, do you have any questions about Remme or you can already apply on our bounty?

@surajk-m
Copy link

surajk-m commented Apr 2, 2019

@remmetechadmin, I can apply for this bounty as @SparrowTom is not responding to any of these messages? Currently i am reading more about the existing protocols and flaws in the I.O.T industry.

@remmetechadmin
Copy link
Member

@s5k0651, yes, you can.

@gitcoinbot
Copy link

@SparrowTom Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

1 similar comment
@gitcoinbot
Copy link

@SparrowTom Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Workers have applied to start work.

These users each claimed they can complete the work by 1 week, 2 days from now.
Please review their action plans below:

1) s5k0651 has applied to start work (Funders only: approve worker | reject worker).

I will get help from docs.remme.io/remme-core/docs/user-guide as it is well documented. I already have asus tinkerboard which will act as a keyfob, actually i am planning to extend the solution to communicate between various sensors connected to the breadboard like temperature & humidity, heartbeat etc .

Learn more on the Gitcoin Issue Details page.

1 similar comment
@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Workers have applied to start work.

These users each claimed they can complete the work by 1 week, 2 days from now.
Please review their action plans below:

1) s5k0651 has applied to start work (Funders only: approve worker | reject worker).

I will get help from docs.remme.io/remme-core/docs/user-guide as it is well documented. I already have asus tinkerboard which will act as a keyfob, actually i am planning to extend the solution to communicate between various sensors connected to the breadboard like temperature & humidity, heartbeat etc .

Learn more on the Gitcoin Issue Details page.

@gitcoinbot
Copy link

@s5k0651 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@remmetechadmin
Copy link
Member

@s5k0651, hi! How are you? When you will be ready to present the first results? Have any questions yet?

@surajk-m
Copy link

surajk-m commented Apr 8, 2019

@remmetechadmin, I need few more days as it is my first project on hyper-ledger sawtooth. I am working on the front-end (client app) to submit batches of transactions. Till now I've installed remme node on aws and learning hyperledger sawtooth to complete the project.

@remmetechadmin
Copy link
Member

@s5k0651, just wanted to remind you that two days left till the end of this campaign.

@gitcoinbot
Copy link

@s5k0651 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@s5k0651 due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Cancelled


The funding of 3.542 ETH (948.99 USD @ $267.92/ETH) attached to this issue has been cancelled by the bounty submitter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants