Ceci est une ancienne révision du document !


Le Web libre au dela du web: XR & WoT

Programme:

  • 14h presentation : XR? IoT? XR + IoT libre ? Comment realiser notre 1ere experimentation.
  • 15h-18h atelier/hack session

Session de bidouillage improvisée (hackathon moins le coté bling ou compétition) pour interagir en 3D avec des données physiques, le tout avec du 100% libre.

DEMO

PRATIQUE

Venez avec vos idees mais aussi ordinateurs (on va coder !) et votre materiel VR/AR/IoT si vous en avez.

Atelier avec Fabien Benetou, dev FLOSS (expert en 3D/XR/WebVR/WebAR) et contributeur Mozilla https://fosdem.org/2019/schedule/speaker/fabien_benetou_@utopiah/

La partie IoT, votre serviteur pourra rapidement expliquer les webthings de mozilla, cf la video https://mastodon.social/@rzr/101540062001986709

Lieu:

pbs.twimg.com_media_dyp_nrzwkaeapkg.jpg

pbs.twimg.com_media_dye-ubdx0aepd7h.jpg

Si certains veulent prendre de l'avance sur la technique, on est dispo online sur:

Pour les détails pratiques et notes, trackez cette page wiki et notes sur le pad:

Contacts:

DEFIT

En entrëe:

* Browser Web avec support AFrame via Exokit * Devices Connectés interoperable via API REST (en direct, ou via gateway)

Resultat:

* https://twitter.com/RzrFreeFr/status/1094343459723534336

TODO

RESOURCES

NOTES

VRAC

 https://api.qr-code-generator.com/v1/create?access-token=EBephxedmZHs9OWzR2Kbv-125ifulLI1LemyW4NO2hwWifAzpHadEVcOq-OkFtNz&frame_name=no-frame&frame_color=%23000000&foreground_color=%23000000&marker_left_template=version1&marker_right_template=version1&marker_bottom_template=version1&qr_code_text=http%3A%2F%2Fgulliver-webxr-iot.glitch.me%2Frefreshing.html&frame_text=Scan%20me&frame_icon_name=mobile&image_format=PNG&image_width=300&download=
 
 
 
 

fetch('http://gateway.local:8080/things', {

headers: {
  Accept: 'application/json',
  Authorization: 'Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjlkMTcyMWFhLWNiOGUtNGIwMi04MTQyLWMyMTBlMjkyNzk3NSJ9.eyJjbGllbnRfaWQiOiJsb2NhbC10b2tlbiIsInJvbGUiOiJhY2Nlc3NfdG9rZW4iLCJzY29wZSI6Ii90aGluZ3MvdmlydHVhbC10aGluZ3MtMjpyZWFkd3JpdGUgL3RoaW5ncy9odHRwLS0tbG9jYWxob3N0LTU4ODg4LTpyZWFkd3JpdGUiLCJpYXQiOjE1NDk3MjE4NTMsImlzcyI6Ik5vdCBzZXQuIn0.oUIJZzKhPpUfbjkes0KsseHQzzmPufnUcgIOYj-jsnUxdcqty3CSFeUcuH94LlTNl-NVxlJnnePhWYszLOppPA'
}

}).then(res ⇒ {

return res.json();

}).then(things ⇒ {

console.log(things);

});

url='http://gateway.local:8080/things/http---localhost-58888-/properties/Color'

url=http://gateway.local:8080/things/http---localhost-8888-/properties/GreenLED

curl -H “Authorization: Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjE1NzJkNjgzLTA5ODQtNDVhYy05NU4NCJ9.eyJjbGllbnRfaWQiOiJsb2NhbC10b2tlbiIsInJvbGUiOiJhY2Nlc3NfdG9rZW4iLCJzY29wZSI6Ii90aGluZ3M6cmVhZHdyaXRlIiwiaWF0IjoxNTQ5NzIyNDI5LCJpc3MiOiJOb3Qgc2V0LiJ9.WxHbYjWfAiK0PTWo47m1oeNZkDIlWi2swvpXq1y_6iM-uMt0fesix057OLg2byKC322dItyV1wxSdEJGMWYkWg” -H “Accept: application/json” -H “Content-type: application/json” –insecure -X PUT -d '{ “GreenLED”: true }' $url

curl -H “Authorization: Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjE1NzJkNjgzLTA5ODQtNDVhYy05NU4NCJ9.eyJjbGllbnRfaWQiOiJsb2NhbC10b2tlbiIsInJvbGUiOiJhY2Nlc3NfdG9rZW4iLCJzY29wZSI6Ii90aGluZ3M6cmVhZHdyaXRlIiwiaWF0IjoxNTQ5NzIyNDI5LCJpc3MiOiJOb3Qgc2V0LiJ9.WxHbYjWfAiK0PTWo47m1oeNZkDIlWi2swvpXq1y_6iM-uMt0fesix057OLg2byKC322dItyV1wxSdEJGMWYkWg” -H “Accept: application/json” -H “Content-type: application/json” –insecure -X PUT -d '{ “GreenLED”: true }' 'http://gateway.local:8080/things/http---localhost-8888-/properties/RedLED'

token='Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImI4MzlmMTBlLWY4NWMtNGY5Ni05MWI1LTkwZDZiYmU5ZThiMiJ9.eyJjbGllbnRfaWQiOiJsb2NhbC10b2tlbiIsInJvbGUiOiJhY2Nlc3NfdG9rZW4iLCJzY29wZSI6Ii90aGluZ3M6cmVhZHdyaXRlIiwiaWF0IjoxNTQ5NzI0NTE0LCJpc3MiOiJOb3Qgc2V0LiJ9.sgA06Hys2eXpOJMx-tpZLe5cdbYO-RfwgWkHzbQFMktwyjaTMrekPGJ-d7iXikngAi8_v2-bOWfLlFyA8rZdoQ'

curl -H “Authorization: $token” -H “Accept: application/json” -H “Content-Type: application/json” –insecure 'http://gateway.local:8080/things/http---localhost-8888-/properties/RedLED'

  https://annuel.framapad.org/p/lewebaudeladuweb
  http://gateway.local:8080/things  # login=gulliver@localhost # pass=gulliver
  curl -X PUT --data '{"RedLED":true}'  -H "Authorization: $token" -H "Accept: application/json" -H "Content-Type: application/json" --insecure  'http://gateway.local:8080/things/http---localhost-8888-/properties/RedLED'
  curl "http://gateway.local:8080/things/http---localhost-8888-/properties/RedLED"
  1. X PUT -H “User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0” -H “Accept: */*” -H “Accept-Language: en-US,en;q=0.5” –compressed -H “Referer: http://gulliver-webxr-iot.glitch.me/leds.html” -H “content-type: application/json” -H “authorization: Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImI4MzlmMTBlLWY4NWMtNGY5Ni05MWI1LTkwZDZiYmU5ZThiMiJ9.eyJjbGllbnRfaWQiOiJsb2NhbC10b2tlbiIsInJvbGUiOiJhY2Nlc3NfdG9rZW4iLCJzY29wZSI6Ii90aGluZ3M6cmVhZHdyaXRlIiwiaWF0IjoxNTQ5NzI0NTE0LCJpc3MiOiJOb3Qgc2V0LiJ9.sgA06Hys2eXpOJMx-tpZLe5cdbYO-RfwgWkHzbQFMktwyjaTMrekPGJ-d7iXikngAi8_v2-bOWfLlFyA8rZdoQ” -H “Origin: http://gulliver-webxr-iot.glitch.me” -H “DNT: 1” -H “Connection: keep-alive” -H “Pragma: no-cache” -H “Cache-Control: no-cache” –data ”{”“RedLED””:true}”
  curl "http://gateway.local:8080/things/http---localhost-8888-/properties/RedLED" -X PUT -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0" -H "Accept: */*" -H "Accept-Language: en-US,en;q=0.5" --compressed -H "Referer: http://gulliver-webxr-iot.glitch.me/leds.html" -H "content-type: application/json" -H "authorization: Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImI4MzlmMTBlLWY4NWMtNGY5Ni05MWI1LTkwZDZiYmU5ZThiMiJ9.eyJjbGllbnRfaWQiOiJsb2NhbC10b2tlbiIsInJvbGUiOiJhY2Nlc3NfdG9rZW4iLCJzY29wZSI6Ii90aGluZ3M6cmVhZHdyaXRlIiwiaWF0IjoxNTQ5NzI0NTE0LCJpc3MiOiJOb3Qgc2V0LiJ9.sgA06Hys2eXpOJMx-tpZLe5cdbYO-RfwgWkHzbQFMktwyjaTMrekPGJ-d7iXikngAi8_v2-bOWfLlFyA8rZdoQ" -H "Origin: http://gulliver-webxr-iot.glitch.me" -H "DNT: 1" -H "Connection: keep-alive" -H "Pragma: no-cache" -H "Cache-Control: no-cache" --data "{""RedLED"":true}"

http://gulliver-webxr-iot.glitch.me/leds.html

 
calendrier/2019/02/09.1549792071.txt.gz · Dernière modification: Le 10/02/2019 à 10:47 par rzr     Haut de page
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki Design by Chirripó