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

How to add the smart home 3D model into Mozilla Hubs and control from a real world sensor? #3

Open
apvenkat opened this issue Nov 6, 2020 · 6 comments
Assignees

Comments

@apvenkat
Copy link

apvenkat commented Nov 6, 2020

Hi Rzr,
Could you please tell more in detail, how did you add the 3D model into Mozilla Hubs and controlling from real world ? Can add into readme section if possible? please advice

@rzr
Copy link
Owner

rzr commented Nov 6, 2020

hi,
I didnt document this yet, because this hack is not using public API,
but I can share some hints using http polling or websockets.

@apvenkat
Copy link
Author

apvenkat commented Nov 7, 2020

That would be great and an example will be helpful for beginners to bring the physical devices inside Mozilla hubs :)

@rzr
Copy link
Owner

rzr commented Nov 7, 2020

Hi,

I attached a couple of pictures at:

https://purl.org/rzr/weboftwins

I'll try to share a short video on how it works with a standard json stream

rzr added a commit that referenced this issue Nov 16, 2020
It can be used to listen to netcat server

Relate-to: #3
Change-Id: Ib42b6883bd512e194395c4d0531ed102b58cb531
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit that referenced this issue Nov 16, 2020
Relate-to: #3
Signed-off-by: Philippe Coval <rzr@users.sf.net>
Change-Id: I9503c46b9aa95b534eb83822e524591fd10ac555
rzr added a commit that referenced this issue Nov 16, 2020
To run applications

Relate-to: #3
Signed-off-by: Philippe Coval <rzr@users.sf.net>
Change-Id: I40d006a00b3793edab4fbe5a8562e8e592466c6c
rzr added a commit that referenced this issue Nov 16, 2020
For NXP freedom-64KF

Relate-to: #3
Signed-off-by: Philippe Coval <rzr@users.sf.net>
Change-Id: I3c3ba26aeaac75e7f79d5a523602f1b1e859aedc
rzr added a commit that referenced this issue Nov 16, 2020
From NXP FRDM-64KF

Relate-to: #3
Signed-off-by: Philippe Coval <rzr@users.sf.net>
Change-Id: I64d7dae74a85b638b796e03f592f941b8ceeba01
@rzr rzr self-assigned this Nov 16, 2020
@rzr
Copy link
Owner

rzr commented Nov 17, 2020

Also check also this video for demo:

https://mastodon.social/@rzr/105225153152922220#weboftwins-osvehicle-2020-rzr

More patches to land at:

apache/nuttx#1988

rzr added a commit to CrossStream/nuttx-apps that referenced this issue Nov 17, 2020
Check readme for usage and demo:

[![weboftwins-osvehicle-2020-rzr](
https://files.mastodon.social/media_attachments/files/105/163/916/892/863/178/original/05468e28b4463f95.png
)](
https://mastodon.social/@rzr/105225153152922220#weboftwins-osvehicle-2020-rzr
"weboftwins-osvehicle-2020-rzr")

Change-Id: I2eac915954ca6cf585f01addb53df581631a7ae6
Bug: apache/nuttx#1999
Relate-to: rzr/aframe-smart-home#3
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx-apps that referenced this issue Nov 17, 2020
Check readme for usage and demo:

[![weboftwins-osvehicle-2020-rzr](
https://files.mastodon.social/media_attachments/files/105/163/916/892/863/178/original/05468e28b4463f95.png
)](
https://mastodon.social/@rzr/105225153152922220#weboftwins-osvehicle-2020-rzr
"weboftwins-osvehicle-2020-rzr")

Change-Id: I2eac915954ca6cf585f01addb53df581631a7ae6
Bug: apache/nuttx#1999
Relate-to: rzr/aframe-smart-home#3
Origin: https://github.com/CrossStream/nuttx-apps/tree/sandbox/rzr/review/master/netutils/netcat
Forwarded: apache#482
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx-apps that referenced this issue Nov 17, 2020
Check readme for usage and demo:

[![weboftwins-osvehicle-2020-rzr](
https://files.mastodon.social/media_attachments/files/105/163/916/892/863/178/original/05468e28b4463f95.png
)](
https://mastodon.social/@rzr/105225153152922220#weboftwins-osvehicle-2020-rzr
"weboftwins-osvehicle-2020-rzr")

Change-Id: I2eac915954ca6cf585f01addb53df581631a7ae6
Bug: apache/nuttx#1999
Relate-to: rzr/aframe-smart-home#3
Origin: https://github.com/CrossStream/nuttx-apps/tree/sandbox/rzr/review/master/netutils/netcat
Forwarded: apache#482
Signed-off-by: Philippe Coval <rzr@users.sf.net>
xiaoxiang781216 pushed a commit to apache/nuttx-apps that referenced this issue Nov 17, 2020
Check readme for usage and demo:

[![weboftwins-osvehicle-2020-rzr](
https://files.mastodon.social/media_attachments/files/105/163/916/892/863/178/original/05468e28b4463f95.png
)](
https://mastodon.social/@rzr/105225153152922220#weboftwins-osvehicle-2020-rzr
"weboftwins-osvehicle-2020-rzr")

Change-Id: I2eac915954ca6cf585f01addb53df581631a7ae6
Bug: apache/nuttx#1999
Relate-to: rzr/aframe-smart-home#3
Origin: https://github.com/CrossStream/nuttx-apps/tree/sandbox/rzr/review/master/netutils/netcat
Forwarded: #482
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx-apps that referenced this issue Nov 17, 2020
Change-Id: Iab80381e4f451ac186515cd5593434d80e4c7421
Relate-to: rzr/aframe-smart-home#3
Signed-off-by: Philippe Coval <rzr@users.sf.net>
xiaoxiang781216 pushed a commit to apache/nuttx-apps that referenced this issue Nov 18, 2020
Change-Id: Iab80381e4f451ac186515cd5593434d80e4c7421
Relate-to: rzr/aframe-smart-home#3
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx-apps that referenced this issue Nov 18, 2020
Change-Id: I2eac915954ca6cf585f01addb53df581631a7ae6
Bug: apache/nuttx#1999
Relate-to: rzr/aframe-smart-home#3
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx-apps that referenced this issue Nov 18, 2020
Change-Id: Iab80381e4f451ac186515cd5593434d80e4c7421
Relate-to: rzr/aframe-smart-home#3
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx that referenced this issue Nov 18, 2020
Change-Id: I98e72d341f46c2e03efdb6cc93124a2f49613f19
Relate-to: apache#1988
Relate-to: apache/nuttx-apps#482
Relate-to: rzr/aframe-smart-home#3
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx that referenced this issue Nov 18, 2020
Change-Id: I98e72d341f46c2e03efdb6cc93124a2f49613f19
Relate-to: apache#1988
Relate-to: apache/nuttx-apps#482
Relate-to: rzr/aframe-smart-home#3
Forwarded: apache#2333
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx that referenced this issue Nov 18, 2020
Change-Id: Ie40df592529c3adfa478a71f9ff5315cb8b0c3d6
Relate-to: apache#1988
Relate-to: apache/nuttx-apps#482
Relate-to: rzr/aframe-smart-home#3
Forwarded: apache#2333
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx that referenced this issue Nov 18, 2020
Change-Id: I98e72d341f46c2e03efdb6cc93124a2f49613f19
Relate-to: apache#1988
Relate-to: apache/nuttx-apps#482
Relate-to: rzr/aframe-smart-home#3
Forwarded: apache#2333
Signed-off-by: Philippe Coval <rzr@users.sf.net>
acassis pushed a commit to apache/nuttx that referenced this issue Nov 18, 2020
Change-Id: Ie40df592529c3adfa478a71f9ff5315cb8b0c3d6
Relate-to: #1988
Relate-to: apache/nuttx-apps#482
Relate-to: rzr/aframe-smart-home#3
Forwarded: #2333
Signed-off-by: Philippe Coval <rzr@users.sf.net>
acassis pushed a commit to apache/nuttx that referenced this issue Nov 18, 2020
Change-Id: I98e72d341f46c2e03efdb6cc93124a2f49613f19
Relate-to: #1988
Relate-to: apache/nuttx-apps#482
Relate-to: rzr/aframe-smart-home#3
Forwarded: #2333
Signed-off-by: Philippe Coval <rzr@users.sf.net>
@rzr
Copy link
Owner

rzr commented Dec 2, 2020

I shared some hints at:
https://cryptpad.fr/pad/#/2/pad/edit/ArJHPoJKz9v67ZtXGVlNYbh1/
this will need to be verified and completed to be used as a README file for extra/hubs folder

@rzr
Copy link
Owner

rzr commented Jan 20, 2021

note this work using this extension:

https://github.com/april/laboratory

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

2 participants