openHAB_CANopen_Binding | CANopen Binding for openHAB
kandi X-RAY | openHAB_CANopen_Binding Summary
kandi X-RAY | openHAB_CANopen_Binding Summary
openHAB_CANopen_Binding is a Java library. openHAB_CANopen_Binding has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub.
CANopen Binding for openHAB
CANopen Binding for openHAB
Support
Quality
Security
License
Reuse
Support
openHAB_CANopen_Binding has a low active ecosystem.
It has 4 star(s) with 2 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
openHAB_CANopen_Binding has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of openHAB_CANopen_Binding is current.
Quality
openHAB_CANopen_Binding has 0 bugs and 0 code smells.
Security
openHAB_CANopen_Binding has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
openHAB_CANopen_Binding code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
openHAB_CANopen_Binding does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
openHAB_CANopen_Binding releases are not available. You will need to build from source code and install.
Build file is available. You can build the component from source.
Installation instructions, examples and code snippets are available.
It has 1983 lines of code, 140 functions and 16 files.
It has high code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed openHAB_CANopen_Binding and discovered the below as its top functions. This is intended to give you an instant insight into openHAB_CANopen_Binding implemented functionality, and help decide if they suit your requirements.
- Process a message
- Convert SDO data to State
- Returns the number of bytes required to transmit the response data
- Handles incoming SDO response
- Called when we receive an update message
- Checks to see if it is ECHO
- Send data
- Activates the component
- Called when the configuration changes
- Execute the device manager
- Returns the connection for the given interface id
- Opens the connection to the CAN interface
- Sets SDP upload request
- Abort transfer
- Send SDO download request
- Overrides the default binding configuration
- Validate the item type
- Parse an integer property value
- Returns a string representation of this message
- Update the configuration
- Handle a command
- Closes the reader
Get all kandi verified functions for this library.
openHAB_CANopen_Binding Key Features
No Key Features are available at this moment for openHAB_CANopen_Binding.
openHAB_CANopen_Binding Examples and Code Snippets
No Code Snippets are available at this moment for openHAB_CANopen_Binding.
Community Discussions
No Community Discussions are available at this moment for openHAB_CANopen_Binding.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install openHAB_CANopen_Binding
To test the binding you have to clone this repository, import the project into an eclipse setup of openHAB and make some configurations:. That's it for now. any questions, comments or help is welcome.
Add the line canopen:refresh=60000 to openhab/distribution/openhabhome/configurations/openhab.cfg. Otherwise the binding will not start!!!
Add -Dsocketcan.testmode=true to the "VM arguments" in the "Arguments" tab of eclips' "Run Configurations" of openHAB. This way you will get a fake socketcan interface that sends a series of test messages and replies to SDO messages.
Alternativly, don't set that argument, start a virtual can device like explained in the Wiki (you will probably have to run all the commands with sudo), and send a message using cansend.
In order to map the message to an item, add this line to the openhab/distribution/openhabhome/configurations/items/demo.items file: Number CANopenTestHumi "test of humidity [%.1f %%]" <temperature> {canopen="if:vcan0,type:real32,txpdo:0x297,txofs:4"} or Number CANopenTestTemp "test of temperature [%.1f °C]" <temperature> {canopen="if:vcan0,type:real32,txpdo:0x297,txofs:0"}. See example for other possible configurations in the .items file in testconfig folder.
Now you could add this line to openhab/distribution/openhabhome/configurations/sitemaps/demo.sitemap: Text item=CANopenTestTemp valuecolor=[>25="orange",>15="green",>5="orange",<=5="blue"] just below the line Frame label="Weather" { to view the contents of the new CANopen message item
Finally, you could connet your CANFestivino device to a USB-to-CAN adapter like the USBtin and log some real data.
Add the line canopen:refresh=60000 to openhab/distribution/openhabhome/configurations/openhab.cfg. Otherwise the binding will not start!!!
Add -Dsocketcan.testmode=true to the "VM arguments" in the "Arguments" tab of eclips' "Run Configurations" of openHAB. This way you will get a fake socketcan interface that sends a series of test messages and replies to SDO messages.
Alternativly, don't set that argument, start a virtual can device like explained in the Wiki (you will probably have to run all the commands with sudo), and send a message using cansend.
In order to map the message to an item, add this line to the openhab/distribution/openhabhome/configurations/items/demo.items file: Number CANopenTestHumi "test of humidity [%.1f %%]" <temperature> {canopen="if:vcan0,type:real32,txpdo:0x297,txofs:4"} or Number CANopenTestTemp "test of temperature [%.1f °C]" <temperature> {canopen="if:vcan0,type:real32,txpdo:0x297,txofs:0"}. See example for other possible configurations in the .items file in testconfig folder.
Now you could add this line to openhab/distribution/openhabhome/configurations/sitemaps/demo.sitemap: Text item=CANopenTestTemp valuecolor=[>25="orange",>15="green",>5="orange",<=5="blue"] just below the line Frame label="Weather" { to view the contents of the new CANopen message item
Finally, you could connet your CANFestivino device to a USB-to-CAN adapter like the USBtin and log some real data.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page