automaton82 / mqtt-concord4 Goto Github PK
View Code? Open in Web Editor NEWA clone of device-concord4 which was originally for SmartThings via a web-server, this now hosts itself via MQTT and works with Home Assistant.
License: MIT License
A clone of device-concord4 which was originally for SmartThings via a web-server, this now hosts itself via MQTT and works with Home Assistant.
License: MIT License
In my setup, Zone 2 is a motion sensor so I set it up using:
The MQTT broker is sending zone 2 as open or closed though it is a motion sensor. Can you fix this to send inactive/active?
This project has worked great for getting my Concord 4 working with Home Assistant via MQTT. The original project allowed you to send 'keypress' (/concord/keypress/[key]) over the REST API. I was hoping to use that to turn the 'Chime' on and off at certain time of the day. I believe the keypress would be '7 1' from a keypad to do so. Would this be possible to integrate?
I'm seeing frequent instances of the error "MQTT Failed to publish message..." when running the script. It doesn't seem to give me much other info. I've got mosquitto running on the default port (1883) and the config is set to point to 127.0.0.1:1883.
Hi there. First of all, thanks for creating this and keep up the good work. I've just found this on GITHUB and decide to try it. However, while zone 1 to 10 is working, zone 11 to 17 is giving me error upon start up. Any idea what the problem is?
2020-12-18 22:43:54,836 [concord.py:handle_message()] - ERROR - Problem handling command KeyError(11,)
'090301000D000B000025'
2020-12-18 22:43:54,840 [concord.py:handle_message()] - ERROR - Traceback (most recent call last):
File "/home/gyoung/Downloads/MQTT-concord4-master/concord/concord.py", line 487, in handle_message
handler(decoded_command)
File "concordsvr_mqtt.py", line 586, in panelMessageHandler
zone_info['zone_text'] = FRIENDLY_ZONE_NAME_MAP[zk]
KeyError: 11
2020-12-18 22:43:55,345 [concord.py:handle_message()] - ERROR - Problem handling command KeyError(12,)
'090301000D000C000026'
2020-12-18 22:43:55,347 [concord.py:handle_message()] - ERROR - Traceback (most recent call last):
File "/home/gyoung/Downloads/MQTT-concord4-master/concord/concord.py", line 487, in handle_message
handler(decoded_command)
File "concordsvr_mqtt.py", line 586, in panelMessageHandler
zone_info['zone_text'] = FRIENDLY_ZONE_NAME_MAP[zk]
KeyError: 12
2020-12-18 22:43:55,853 [concord.py:handle_message()] - ERROR - Problem handling command KeyError(13,)
'090301000D000D000027'
2020-12-18 22:43:55,855 [concord.py:handle_message()] - ERROR - Traceback (most recent call last):
File "/home/gyoung/Downloads/MQTT-concord4-master/concord/concord.py", line 487, in handle_message
handler(decoded_command)
File "concordsvr_mqtt.py", line 586, in panelMessageHandler
zone_info['zone_text'] = FRIENDLY_ZONE_NAME_MAP[zk]
KeyError: 13
2020-12-18 22:43:56,361 [concord.py:handle_message()] - ERROR - Problem handling command KeyError(14,)
'090301000D000E000028'
2020-12-18 22:43:56,363 [concord.py:handle_message()] - ERROR - Traceback (most recent call last):
File "/home/gyoung/Downloads/MQTT-concord4-master/concord/concord.py", line 487, in handle_message
handler(decoded_command)
File "concordsvr_mqtt.py", line 586, in panelMessageHandler
zone_info['zone_text'] = FRIENDLY_ZONE_NAME_MAP[zk]
KeyError: 14
2020-12-18 22:43:56,869 [concord.py:handle_message()] - ERROR - Problem handling command KeyError(15,)
'090301000A000F010027'
2020-12-18 22:43:56,871 [concord.py:handle_message()] - ERROR - Traceback (most recent call last):
File "/home/gyoung/Downloads/MQTT-concord4-master/concord/concord.py", line 487, in handle_message
handler(decoded_command)
File "concordsvr_mqtt.py", line 586, in panelMessageHandler
zone_info['zone_text'] = FRIENDLY_ZONE_NAME_MAP[zk]
KeyError: 15
2020-12-18 22:43:57,378 [concord.py:handle_message()] - ERROR - Problem handling command KeyError(16,)
'09030100010010020020'
2020-12-18 22:43:57,380 [concord.py:handle_message()] - ERROR - Traceback (most recent call last):
File "/home/gyoung/Downloads/MQTT-concord4-master/concord/concord.py", line 487, in handle_message
handler(decoded_command)
File "concordsvr_mqtt.py", line 586, in panelMessageHandler
zone_info['zone_text'] = FRIENDLY_ZONE_NAME_MAP[zk]
KeyError: 16
2020-12-18 22:43:57,886 [concord.py:handle_message()] - ERROR - Problem handling command KeyError(17,)
'09030100010011020021'
2020-12-18 22:43:57,888 [concord.py:handle_message()] - ERROR - Traceback (most recent call last):
File "/home/gyoung/Downloads/MQTT-concord4-master/concord/concord.py", line 487, in handle_message
handler(decoded_command)
File "concordsvr_mqtt.py", line 586, in panelMessageHandler
zone_info['zone_text'] = FRIENDLY_ZONE_NAME_MAP[zk]
KeyError: 17
Hello!
I've just finished setting up an MQTT server and connecting this concord4 script to it. Seems to be working properly based on there being no errors in the log. I've been looking to try to get it connected with this homebridge MQTT alarm plugin-
https://github.com/nzbullet/homebridge-homeqtt-alarm/blob/master/README.md
But I'm a big confused as to what I should enter into the various topic fields and/or if there are any sensor codes like the guide there mentions. I thought I'd ask and see if you might have any insight into this, or if there's maybe another homebridge plugin that might be more compatible with this MQTT script that could be awesome too!
Can you help me run this with python3.
python3 concordsvr_mqtt.py
File "/var/lib/docker/volumes/mqtt-concord4/concordsvr_mqtt.py", line 103
except Exception, ex:
^
SyntaxError: invalid syntax
The code that was forked from SmartThings also supported the 'Silent' arm and disarm so the keypad would not beep. Is that something that can be done here?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.