ParadoxAlarmInterface / hassio-repository

HASS.IO repository
Eclipse Public License 2.0
12 stars 17 forks source link

Add the rest of PAI configs to addon schema #13

Closed clau-bucur closed 3 years ago

clau-bucur commented 3 years ago

Added the rest of the PAI configs to addon schema. Should help with the remaining issues on https://github.com/ParadoxAlarmInterface/pai/issues/199

yozik04 commented 3 years ago

Is this ready for merging?

clau-bucur commented 3 years ago

Tested locally and ready for merge.

clau-bucur commented 3 years ago

@yozik04 here's the generated options.json file as per your request:

{
  "LOGGING_LEVEL_CONSOLE": 20,
  "LOGGING_LEVEL_FILE": 40,
  "CONNECTION_TYPE": "IP",
  "SERIAL_PORT": "/dev/ttyUSB0",
  "SERIAL_BAUD": 9600,
  "IP_CONNECTION_HOST": "xxx",
  "IP_CONNECTION_PORT": 10000,
  "IP_CONNECTION_PASSWORD": "xxx",
  "KEEP_ALIVE_INTERVAL": 10,
  "LIMITS": {
    "zone": "auto",
    "user": "1-2",
    "door": "",
    "pgm": "1-5",
    "partition": "auto",
    "module": "1-2",
    "repeater": "",
    "keypad": "1-2",
    "key-switch": "1-3"
  },
  "SYNC_TIME": true,
  "SYNC_TIME_MIN_DRIFT": 60,
  "PASSWORD": "0000",
  "MQTT_ENABLE": true,
  "MQTT_HOST": "core-mosquitto",
  "MQTT_PORT": 1883,
  "MQTT_KEEPALIVE": 60,
  "MQTT_USERNAME": "xxx",
  "MQTT_PASSWORD": "xxx",
  "MQTT_HOMEASSISTANT_AUTODISCOVERY_ENABLE": true,
  "COMMAND_ALIAS": {        
    "arm": "partition all arm",
    "disarm": "partition all disarm"
  },                        
  "MQTT_COMMAND_ALIAS": {   
    "armed_home": "arm_stay",
    "armed_night": "arm_sleep",
    "armed_away": "arm",    
    "disarmed": "disarm"    
  },                        
  "HOMEASSISTANT_NOTIFICATIONS_EVENT_FILTERS": [
    "live,alarm,-restore",  
    "live,trouble,-clock",  
    "live,tamper"           
  ],                        
  "PUSHBULLET_CONTACTS": [],
  "PUSHBULLET_EVENT_FILTERS": [
    "live,alarm,-restore",  
    "live,trouble,-clock",  
    "live,tamper"           
  ],                        
  "PUSHOVER_EVENT_FILTERS": [
    "live,alarm,-restore",  
    "live,trouble,-clock",  
    "live,tamper"           
  ],                        
  "SIGNAL_CONTACTS": [],    
  "SIGNAL_EVENT_FILTERS": [ 
    "live,alarm,-restore",  
    "live,trouble,-clock",  
    "live,tamper"           
  ],                        
  "GSM_CONTACTS": [],       
  "GSM_EVENT_FILTERS": [    
    "live,alarm,-restore",  
    "live,trouble,-clock",  
    "live,tamper"           
  ],                        
  "IP_INTERFACE_ENABLE": false,
  "IP_INTERFACE_PASSWORD": "paradox",
  "DUMMY_EVENT_FILTERS": [],
  "MQTT_PUBLISH_COMMAND_STATUS": true,
  "MQTT_PUBLISH_RAW_EVENTS": false
}
yozik04 commented 3 years ago

Thank you @clau-bucur That is a great help!

clau-bucur commented 3 years ago

Glad I could help this awesome project!

kobusdbr commented 3 years ago

Apologies for the dumb question but what do I do with this options.json file?

yozik04 commented 3 years ago

@kobusdbr It is not for you =) It is for me...

kobusdbr commented 3 years ago

@kobusdbr It is not for you =) It is for me...

ok thank you. just making sure I am following this correctly and not missing anything because mine is not working. Will there be another update?