We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
environment: kubectl get nodes NAME STATUS ROLES AGE VERSION edge-node-1 Ready agent,edge 7d1h v1.19.3-kubeedge-v1.5.0 edge-node-2 Ready agent,edge 5d5h v1.19.3-kubeedge-v1.5.0 k8s-master Ready control-plane,master 7d2h v1.20.0 node-2 Ready 6d v1.20.0 raspberrypi Ready agent,edge 46h v1.19.3-kubeedge-v1.5.0
kubectl version Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.0", GitCommit:"af46c47ce925f4c4ad5cc8d1fca46c7b77d13b38", GitTreeState:"clean", BuildDate:"2020-12-08T17:59:43Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.0", GitCommit:"af46c47ce925f4c4ad5cc8d1fca46c7b77d13b38", GitTreeState:"clean", BuildDate:"2020-12-08T17:51:19Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
docker version Client: Docker Engine - Community Version: 20.10.0 API version: 1.41 Go version: go1.13.15 Git commit: 7287ab3 Built: Tue Dec 8 18:54:00 2020 OS/Arch: linux/amd64 Context: default Experimental: true
Server: Docker Engine - Community Engine: Version: 20.10.0
Question 1: The data format of modbus go read data and print is as follows: I0127 08:10:48.180520 1 client.go:150] Get result: [0 44] https://github.com/beyondyinjl2/bug-images/blob/main/modbus/1611738342465.jpg https://github.com/beyondyinjl2/bug-images/blob/main/modbus/1611737588077.jpg Do you take the second place of the data? vim pkg/modbus/device/twindata.go td.Results[1] https://github.com/beyondyinjl2/bug-images/blob/main/modbus/1611738635412.jpg
Question 2: twins reported data does not change? There is data in mqtt as shown in the figure: https://github.com/beyondyinjl2/bug-images/blob/main/modbus/1611737459271.jpg https://github.com/beyondyinjl2/bug-images/blob/main/modbus/1611737509080.jpg
twins reported data does not change as shown in the figure: kubectl get device modbustcp-device -oyaml -w https://github.com/beyondyinjl2/bug-images/blob/main/modbus/1611737626760.jpg
The text was updated successfully, but these errors were encountered:
Could you help to collect the logs of edgecore, cloudcore and the modbus containers?
Sorry, something went wrong.
No branches or pull requests
environment:
kubectl get nodes
NAME STATUS ROLES AGE VERSION
edge-node-1 Ready agent,edge 7d1h v1.19.3-kubeedge-v1.5.0
edge-node-2 Ready agent,edge 5d5h v1.19.3-kubeedge-v1.5.0
k8s-master Ready control-plane,master 7d2h v1.20.0
node-2 Ready 6d v1.20.0
raspberrypi Ready agent,edge 46h v1.19.3-kubeedge-v1.5.0
kubectl version
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.0", GitCommit:"af46c47ce925f4c4ad5cc8d1fca46c7b77d13b38", GitTreeState:"clean", BuildDate:"2020-12-08T17:59:43Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.0", GitCommit:"af46c47ce925f4c4ad5cc8d1fca46c7b77d13b38", GitTreeState:"clean", BuildDate:"2020-12-08T17:51:19Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
docker version
Client: Docker Engine - Community
Version: 20.10.0
API version: 1.41
Go version: go1.13.15
Git commit: 7287ab3
Built: Tue Dec 8 18:54:00 2020
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.0
Question 1:
The data format of modbus go read data and print is as follows:
I0127 08:10:48.180520 1 client.go:150] Get result: [0 44]
https://github.com/beyondyinjl2/bug-images/blob/main/modbus/1611738342465.jpg
https://github.com/beyondyinjl2/bug-images/blob/main/modbus/1611737588077.jpg
Do you take the second place of the data?
vim pkg/modbus/device/twindata.go
td.Results[1]
https://github.com/beyondyinjl2/bug-images/blob/main/modbus/1611738635412.jpg
Question 2:
twins reported data does not change?
There is data in mqtt as shown in the figure:
https://github.com/beyondyinjl2/bug-images/blob/main/modbus/1611737459271.jpg
https://github.com/beyondyinjl2/bug-images/blob/main/modbus/1611737509080.jpg
twins reported data does not change as shown in the figure:
kubectl get device modbustcp-device -oyaml -w
https://github.com/beyondyinjl2/bug-images/blob/main/modbus/1611737626760.jpg
The text was updated successfully, but these errors were encountered: