edgexfoundry/device-virtual-go

Device-virtual experiences issues with autoevent error

dipshirajput opened this issue · 5 comments

Hi @cloudxxx8 ,
I am facing the following error with device-virtual,
**level=ERROR ts=2022-03-02T08:35:27.452252599Z app=device-virtual source=executor.go:54 msg="AutoEvent - error occurs when reading resource Virtual_DeviceValue_UINT64_R: deviceResource Virtual_DeviceValue_UINT64_R not found"**

Please let me know for any suggestions. Thanks in advance.

It means your Device Profile doesn't contain Virtual_DeviceValue_UINT64_R.
Could you please attach the device profile your are using?

@cloudxxx8 I have these device profiles inside device-virtual,

dipshi@dell-Inspiron-3501:~/EDGEX-new/edgexfoundry_2/device-virtual/cmd/res/profiles$ ls
device.virtual.binary.yaml  device.virtual.bool.yaml  device.virtual.float.yaml  device.virtual.int.yaml

device.virtual.int.txt
The profile of device.virtual.int.yaml file looks something like this.
@cloudxxx8

there is no Virtual_DeviceValue_UINT64_R device resource in your device profile
you can only set AutoEvent for the device resource you defined

close this issue due to no activity