Closed uriel-kluk closed 1 year ago
Thanks for filing this feedback @uriel-kluk , I'll review this with the dev team in our next engineering sync next week and update the thread accordingly.
@uriel-kluk Can you clarify what the benefit of this change would be? Are you simplify looking to reduce changes in the config?
With the existing approach, the PnP declaration needs to know apriori the registers it needs to read. Stroy: As a system integrator, I want to deploy the Modbus module and select the register map, without having to recompile and without having to publish specialized PnP models that are dependant on the current device that I connect downstream.
On Wed, Oct 14, 2020 at 1:27 PM Ugan Sivagnanenthirarajah < notifications@github.com> wrote:
@uriel-kluk https://github.com/uriel-kluk Can you clarify what the benefit of this change would be? Are you simplify looking to reduce changes in the config?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Azure/iot-plug-and-play-bridge/issues/39#issuecomment-708581365, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ2NCA76CFV2SJMQIPCLFOLSKXUQVANCNFSM4SIALCEA .
-- *Uri Kluk*, CTO
An IoT Solutions Innovator
p: 317.661.4800 w: mesh-systems.com https://www.linkedin.com/company/mesh-systems-llc
Hi @uriel-kluk, I'm currently in discussions with others in the IoT Plug and Play platform team on whether this is a supported scenario, and how best to accommodate this ask. Typically today, device makers do need a priori knowledge to create a IoT Plug and Play model. In the case of scenarios like this we are working on providing updated guidance to partners. I'll update this thread as soon as I can share more.
Thank you for your interest in the IoT Plug and Play bridge, unfortunately due to new innovations in Azure IoT and changes in product strategy we have come to the decision to deprecate the IoT Plug and Play bridge. Thank you to the community for your support on this journey. The repo is planned to be archived as a read-only repository on November 30th 2023. Thank you to everyone who contributed bug fixes and new adapters for connecting devices with IoT Plug and Play. You can find the latest IoT innovations at https://techcommunity.microsoft.com/t5/internet-of-things-blog/bg-p/IoTBlog. Please note that any use of archived repositories introduces more risks from a security standpoint and should be done with caution.
@usivagna, @rido-min Make the Modbus Properties a Map to setup the configuration
and make the Telemetry to use the "Key" as the filed name
{"VoltAN":123.2}
Note: VoltAN is the name of the field and it is dynamically plugged into the telemetry. IoT Central will need some flag to understand that this field comes from the configuration, maybe something like this:
{"DKey":"VoltAN", "DValue":123.2}
and the tool understands that it needs to flatten the JSON.Here is the DTDLv2 model that describes the properties