Hi again, I really hope someone would take a look and let me know why the configruation is not working for me.
For a start, I have confirmed that if I start a mosquitto_sub in a putty window, I am able to receive the payload that is manually sent from hassio so that is telling me that mosquitto is setting up properly.
But the IP150 panel is just not sending the information to hassio.
this is what I have configured.
In Configuration.yaml
mqtt:
broker: core-mosquitto
port: 1883
username: mqttbroker
password: j4222949
sensor:
- platform: mqtt
state_topic: "paradox/alarm/state/1"
name: "Alarm State"
- platform: mqtt
state_topic: "paradox/zone/state/1"
name: "Zone 1"
- platform: mqtt
state_topic: "paradox/zone/state/2"
name: "Zone 2"
- platform: mqtt
state_topic: "paradox/zone/state/3"
name: "Zone 3"
- platform: mqtt
state_topic: "paradox/zone/state/4"
name: "Zone 4"
- platform: mqtt
state_topic: "paradox/zone/state/5"
name: "Zone 5"
- platform: mqtt
state_topic: "paradox/zone/state/6"
name: "Zone 6"
- platform: mqtt
state_topic: "paradox/zone/state/7"
name: "Zone 7"
- platform: mqtt
state_topic: "paradox/zone/state/8"
name: "Zone 8"
And in config of Paradox IP150 MQTT Adapter
{
"IP150_ADDRESS": "http://192.168.1.8",
"PANEL_CODE": "4204",
"PANEL_PASSWORD": "j4222949",
"MQTT_ADDRESS": "mqtt://core-mosquitto",
"MQTT_USERNAME": "mqttbroker",
"MQTT_PASSWORD": "j4222949",
"ALARM_PUBLISH_TOPIC": "paradox/alarm/state",
"ALARM_SUBSCRIBE_TOPIC": "paradox/alarm/cmnd",
"ZONE_PUBLISH_TOPIC": "paradox/zone/state",
"CTRL_PUBLISH_TOPIC": "paradox/ctrl/state",
"CTRL_SUBSCRIBE_TOPIC": "paradox/ctrl/cmnd"
}
And in /addons folder of hassio, config.json is as follows:
{
"name": "Paradox IP150 MQTT Adapter",
"version": "0.2",
"slug": "paradox_ip150_mqtt",
"description": "Expose an MQTT interface for the Paradox IP150 web interface",
"url": "https://github.com/alfredopironti/Paradox_IP150",
"startup": "services",
"boot": "auto",
"options": {
"IP150_ADDRESS" : "http://192.168.1.8",
"PANEL_CODE" : "4204",
"PANEL_PASSWORD" : "j4222949",
"MQTT_ADDRESS" : "mqtt://core-mosquitto",
"MQTT_USERNAME" : "mqttbroker",
"MQTT_PASSWORD" : "j4222949",
"ALARM_PUBLISH_TOPIC" : "paradox/alarm/state",
"ALARM_SUBSCRIBE_TOPIC" : "paradox/alarm/cmnd",
"ZONE_PUBLISH_TOPIC" : "paradox/zone/state",
"CTRL_PUBLISH_TOPIC" : "paradox/ctrl/state",
"CTRL_SUBSCRIBE_TOPIC" : "paradox/ctrl/cmnd"
},
"schema": {
"IP150_ADDRESS" : "url",
"PANEL_CODE" : "str",
"PANEL_PASSWORD" : "str",
"MQTT_ADDRESS" : "url",
"MQTT_USERNAME" : "str",
"MQTT_PASSWORD" : "str",
"ALARM_PUBLISH_TOPIC" : "str",
"ALARM_SUBSCRIBE_TOPIC" : "str",
"ZONE_PUBLISH_TOPIC" : "str",
"CTRL_PUBLISH_TOPIC" : "str",
"CTRL_SUBSCRIBE_TOPIC" : "str"
}
}
And lastly options.json also in /addons folder is:
{
"IP150_ADDRESS" : "http://192.168.1.8",
"PANEL_CODE" : "4204",
"PANEL_PASSWORD" : "j4222949",
"MQTT_ADDRESS" : "mqtt://core-mosquitto",
"MQTT_USERNAME" : "mqttbroker",
"MQTT_PASSWORD" : "j4222949",
"ALARM_PUBLISH_TOPIC" : "paradox/alarm/state",
"ALARM_SUBSCRIBE_TOPIC" : "paradox/alarm/cmnd",
"CTRL_PUBLISH_TOPIC" : "paradox/ctrl/state",
"CTRL_SUBSCRIBE_TOPIC" : "paradox/ctrl/cmnd"
}
I have all the sensor bubbles on Hassio shown (i.e. alarm state, zone1 to zone 8) but none are changing states when the PIR is activated, etc.
What have I done wrong? This is driving me crazy because I think I have done exactly what the addon says.
Thanks a bunch.