# pynhc2
License: MIT
## Usage
### Create a NHC2 object
```
NHC2(address, username, password, port, ca_path, switches_as_lights)
```
* __address__ - IP or host of the connected controller
* __username__ - The UUID of the profile
* __password__ - The password
* __port__ - (optional) The MQTT port. Default = 8883
* __ca_path__ - (optional) Path of the CA file. Default = included CA file.
* __switches_as_lights__ - (optional) socket and switched-generic show up as lights.
example:
```
coco = NHC2('192.168.1.2', 'abcdefgh-ijkl-mnop-qrst-uvwxyz012345', 'secret_password')
```
### What is supported?
light, socket, switched-generic, dimmer
### What now?
TODO - write doc.
TODO - refactor into logical groups that match niko documentation (NHC Relay Action, NHC Dimmer Action, etc)
## What can you do to help?
* Contribute to this project with constructive issues, suggestions, PRs, etc.
* Help me in any way to get support for more entities (eg heating)
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
最新资源
- springboot145基于java的在线问卷调查系统的设计与实现.zip
- 步进电机位置闭环控制仿真 simulink 电机本体模块化搭建
- springboot147校园失物招领系统.zip
- springboot150基于springboot的贸易行业crm系统.zip
- springboot148江理工文档管理系统的设计与实现.zip
- springboot149智慧图书管理系统设计与实现.zip
- springboot152基于springboot的的学生干部管理系统.zip
- springboot151基于web的人力资源管理系统的设计与实现.zip
- springboot153相亲网站.zip
- springboot154基于Spring Boot智能无人仓库管理.zip
- springboot155基于JAVA语言的在线考试与学习交流网页平台.zip
- springboot156基于SpringBoot+Vue的常规应急物资管理系统.zip
- springboot157基于springboot的线上辅导班系统的开发与设计.zip
- springboot158基于springboot的医院资源管理系统.zip
- springboot159基于springboot框架开发的景区民宿预约系统的设计与实现.zip
- HTML5实现的手机验证抽奖领券效果源码.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈