You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am planning to add new plugin southbound driver and would like to ask few things. For the given protocol I have in mind. I wrote protocol driver in Python. I am afraid I cannot use Python code to write Neuron plugins, C-Lang is prefered, right?
In contrast to Modbus RTU my protocol has a command to read resource description (unit, variable type [char, INT16, float, bit, address, variable muliplication factor...]) by name.
Can something like this also be implemented with Neuron during start, is there a dedicated lifecylcle state for that kind of probing of datapoints ?
It seems to, the template feature should cover that in any means, right?
----My current workflow------
This is my current workflow for automatic resource probing.
At the moment the user provides a datapoint of interst JSON file with resource names (see JSON code example below). This way user don't have to mess with variable types and address.
All resources names are looked up during software start and if a resource exisits, the resource description [address, var. type,...] is read out and stored in a "detailed_template.json" file.
Afterwards all discovered resources are read out continously by using using all details in the "detailed_template.json"
I assume that this function can be automated with Neuron Southbound driver, right? { "ver": "1.1", "discovered": 0, "active": true, "name": "Device Name", "version_str": "1234", "asset": [ { "dp": "TEMP1", //data point "opt": "RL", "desc": "" }, { "dp": "VOLTAGE1", //data point "opt": "RL", "desc": "" },
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am planning to add new plugin southbound driver and would like to ask few things. For the given protocol I have in mind. I wrote protocol driver in Python. I am afraid I cannot use Python code to write Neuron plugins, C-Lang is prefered, right?
In contrast to Modbus RTU my protocol has a command to read resource description (unit, variable type [char, INT16, float, bit, address, variable muliplication factor...]) by name.
Can something like this also be implemented with Neuron during start, is there a dedicated lifecylcle state for that kind of probing of datapoints ?
It seems to, the template feature should cover that in any means, right?
----My current workflow------
This is my current workflow for automatic resource probing.
I assume that this function can be automated with Neuron Southbound driver, right?
{ "ver": "1.1", "discovered": 0, "active": true, "name": "Device Name", "version_str": "1234", "asset": [ { "dp": "TEMP1", //data point "opt": "RL", "desc": "" }, { "dp": "VOLTAGE1", //data point "opt": "RL", "desc": "" },
Beta Was this translation helpful? Give feedback.
All reactions