Package Exports
- pimatic-coc
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pimatic-coc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
pimatic-coc
This is a pimatic plugin which allows you to connect a busware COC module to the pimatic home automation framework.
##Installation To enable the COC plugin add this section to your config.json file.
...
{
"plugin": "coc"
}
...The COCSwitch device supports the COC generic commands for on and off. You can use it for all supported protocols.
The COCSwitchFS20 device is a specialized version which controls FS20 devices. It creates the needs on/off command internally.
This is an example for the devices section in the config.json file.
...
"devices": [
{
"class": "COCSwitch",
"id": "socket2",
"name": "Socket 2",
"commandOn": "F1234A811",
"commandOff": "F1234A810"
},
{
"class": "COCSwitchFS20",
"id": "socketF1",
"name": "Socket FS20",
"houseid": "1234",
"deviceid": "A8"
}
],
If you are owner of a busware CUL and want to get it running with pimatic, please contact me. This plugin should work with the CUL with minimal changes, but I have no device for testing.