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
When re-naming a node (screenshot); the node's inputs are not adjusted to use the new node name. The old node is then re-created when the next input data is received.
Node field above is the device.nodeid field in MySQL Name field above is the device.name field in MySQL
MySQL data structure: device.nodeid == input.nodeid
As inputs is a Module in https://github.com/emoncms/emoncms it would be better to use the input controller to achieve this without having to change the input Module directly.
The text was updated successfully, but these errors were encountered:
I will make a forum post and/or pull request about this as soon as possible. Our current protocol driver integration contains this change for quite a while now, hence any work regarding this from anybody else would be doubled effort. I wanted to conclude these changes as a whole package that can be tested as a whole with some documentation but I will hurry up now^^
As inputs is a Module in https://github.com/emoncms/emoncms it would be better to use the input controller to achieve this without having to change the input Module directly.
while I completely agree, the whole template structure heavily depends on the Input/Feed classes and never uses the controller for any of the input or feed creation. This should be a separate issue 😄
When re-naming a node (screenshot); the node's inputs are not adjusted to use the new node name. The old node is then re-created when the next input data is received.
Node field above is the
device.nodeid
field in MySQLName field above is the
device.name
field in MySQLMySQL data structure:
device.nodeid
==input.nodeid
Would be good to add the check for node inputs and editing their
input.nodeid
property in the following lines: https://github.com/emoncms/device/blob/master/device_model.php#L435As
inputs
is a Module in https://github.com/emoncms/emoncms it would be better to use the input controller to achieve this without having to change the input Module directly.The text was updated successfully, but these errors were encountered: