How can I experience WebXR in IOS?

Apple鈥檚 iOS Safari browser聽lacks WebXR support. Even though Apple has been highly investing in augmented and virtual reality since the introduction of its ARKit API. The only way to experience WebXR at the moment. On iOS, WebXR experiences requires users to download an app which is similar to a browser, is called "WebXR Viewer" from... Continue Reading →

7 years at 3XM Group and my participation at Mixed Reality Dev Days 2022 in Redmond, USA.

Today I celebrate 7 years of working at 3XM Group. A company in which I had the opportunity to go through several roles, today fulfilling one of the ones I like the most, Innovation Evangelist. What better day than today to thank you for the opportunity to let me participate in events and continue learning... Continue Reading →

My participation at Microsoft Build 2022

Buenos Aires, Argentina. Last May 24th Hilton Puerto Madero hosted Microsoft Build 2022, one of the key events in the technology industry. Microsoft Build this year was an in-person and virtual experience at the same time, with different host countries around the world, such as Germany, Argentina, France, Japan and the United Kingdom. Throughout the... Continue Reading →

Can software help my company jump into the Metaverse?

First of all is important to understand what are we talking about when we talk about "The Metaverse". The metaverse is a virtual world聽that incorporates various technologies, including virtual reality (VR), artificial intelligence (AI), augmented reality (AR) and聽cryptocurrencies, to allow users to dive into聽(through VR) an imaginative or bring an immersive experience into their world... Continue Reading →

Holograms through a WebBrowser? Yes… WebXR

What is WebXR? WebXR is a specification developed by the World Wide Web Consortium, (W3C). WebXR, therefore, is nothing more than a set of rules agreed upon by industry. Not to be confused with the WebXR specification, the WebXR API is an聽implementation聽of the WebXR feature聽set. The WebXR API serves as an interface between XR Web... Continue Reading →

#AzureIoT 鈥 Read and Write 馃摑 Twin Properties for an 鈽侊笍 Azure IoT Edge Module

El Bruno

Hi !

In my previous post I wrote about the libraries that we will use to access to Twin Properties in an Azure IoT Edge Module. Let鈥檚 go for it.

Configuration

We will use 3 main settings to read and write Twin information

# connect using IoTHub connection string and device id with the module identity name
IOTHUB_CONNECTION_STRING = "IoT Hub Connection String"
DEVICE_ID = 'Device Id'
MODULE_ID = 'Module Id'

Read Twin Properties

Let鈥檚 read twin properties with a couple of lines

# read twin
iothub_registry_manager = IoTHubRegistryManager(IOTHUB_CONNECTION_STRING)
module_twin = iothub_registry_manager.get_module_twin(DEVICE_ID, MODULE_ID)
twin_properties = "{0}".format(module_twin.properties) 
print ( twin_properties )

Update Twin Properties

And, if we need to update this, similar code.

iothub_registry_manager = IoTHubRegistryManager(IOTHUB_CONNECTION_STRING) module_twin = iothub_registry_manager.get_module_twin(DEVICE_ID, MODULE_ID) twin_original = "{0}".format(module_twin.properties) # Update twin twin_patch = Twin() twin_patch.properties = TwinProperties(desired={"doorState": 0, "doorStateSource": "python test app"}) updated_module_twin = iothub_registry_manager.update_module_twin(DEVICE_ID, MODULE_ID, twin_patch, module_twin.etag) # display changes twin_updated = "{0}".format(updated_module_twin .properties) print鈥

View original post 62 more words

Blog at WordPress.com.

Up ↑

Create your website with WordPress.com
Get started