项目作者: mjcumming

项目描述 :
Homie v3 for Honeywell Thermostats
高级语言: Python
项目地址: git://github.com/mjcumming/Somecomfort-Homie.git
创建时间: 2019-04-22T00:38:55Z
项目社区:https://github.com/mjcumming/Somecomfort-Homie

开源协议:MIT License

下载


Somecomfort Homie

Homie 4 implementation of Honeywell Total Connect Comfort for North American models

Uses the somecomfort library (https://github.com/kk7ds/somecomfort)

Install on Raspberry Pi

  1. pip3 install Somecomfort-Homie-4

To start as a service on raspbian

Create somecomfort_homie.yml in /etc

‘’’
sudo nano /etc/somecomfort_homie.yml
‘’’

Use the following settings:

  1. somecomfort:
  2. username:
  3. password:
  4. mqtt:
  5. MQTT_BROKER: Broker
  6. MQTT_PORT: 1883
  7. MQTT_USERNAME: null
  8. MQTT_PASSWORD: null

Create somecomfort-homie.service in /etc/systemd/system

‘’’
sudo nano /etc/systemd/system/somecomfort-homie.service
‘’’

  1. [Unit]
  2. Description=Somecomfort Homie
  3. After=multi-user.target
  4. [Service]
  5. User=pi
  6. Type=simple
  7. ExecStart=/usr/bin/python3 /usr/local/bin/somecomfort_homie_start.py
  8. Restart=on-abort
  9. [Install]
  10. WantedBy=multi-user.target

Copy somecomfort_homie_start.py to /usr/local/bin/