So i was following your instructions my area a is called House Alarm and was following this convention…is that not right
areas:
# This can either be the area number (A = 1, B = 2, etc.) or the name of the area lowercased and with
# spaces replaced by underscores (e.g. Summer House = summer_house)
house:
mapping:
# Required: mapping of Texecom arm types (full_arm, part_arm_1, part_arm_2, part_arm_3) to Home Assistant arm types (armed_away, armed_home, armed_night)
# Omit any which are not relevant
That did it! I had uninstalled and reinstalled 3 times since your update this evening but removing the repository and re-adding it before installing a fourth time did the trick.
It also enabled debug messages for the first time.
Thank you for the addon, it fills a big gap for me and you have made it very easy to use.
Where does alarm_control_panel.mqtt_alarm come from? Is that one you’ve created yourself?
There should be no need to create a manual alarm. If you want a keypad for the alarm you just need to pass the additional options in the add-on config, e.g.
Whilst I haven’t got my panel firmware upgraded yet to install the smartcom, I am eternally grateful for folks such as yourself doing this development for ‘tinkerers’ such as myself. I’m fully aware i’m on the bleeding edge of my technical knowledge so am relying on those with more. This will suddenly open up a window into the the whole state of my house from the sensors already installed! It’s motivated me to get cracking and get the hardware sorted.
Right I see the logic now…had a real battle with mqtt discovery as well…but its all a learning curve…Thank you ever so much for your help…got there in the end…
You need a thankyou page to buy you a beer or a coffee !!
@dchesterton
This is awesome! It’s made everything I’ve wrote obsolete. It’s great that it’s possible to do so without needing dedicated hardware to read the serial data. Thanks.
@dchesterton is there anyway to implement the code in the texecom2mqtt configuration so that !secret works. I am having a problem with hiding sensitive data for the following fields. Or is there a better way to do it ?
I did try that combination but this is the log code in texecom2mqtt
2020-09-15 13:16:49 - INFO: Connected to alarm, sleeping for 0.5 seconds…
2020-09-15 13:16:50 - INFO: Connection ready
2020-09-15 13:16:52 - ERROR: Unhandled rejection - Error: Could not fetch serial number
and now I have this error trying to restart the add on. I have rebooted HA and still the same.
## Failed to start addon
403 Client Error: Forbidden ("endpoint with name addon_c15a2434_texecom2mqtt already exists in network hassio")
I have tried to uninstall TEXECOM2MQTT and reinstall it but I still have the same error.
update I have restarted the OS and it appears to be a bug in docker. As that has reset it…So no sure what flipped it over the edge, it must have been something to do with me changing the variables to get !secret working and it didn’t like it
I’ve just had my panel updated (Elite 24 firmware 5.02.01, Smartcom v02.02.02 in COM1 and COM2, ComIP in COM3) and interestingly I’m facing the exact same issues as you’ve been having!
Running in a standalone container results in the same error you got originally:
INFO: Logging in
DEBUG: Executing command 1
ERROR: Unhandled rejection: RangeError [ERR_INVALID_OPT_VALUE]: The value "NaN" is invalid for option "size"
This is rather annoying as everything “seems” to be set up as per the instructions on the docker hub page:
IP and port are correct
Com3 (the ComIP) is set as a COMIP Module
UDL password checked and double checked
encryption disabled (I think, as it’s set as * * * A on the keypad)
ARC 1 set to TexecomConnect with:
Config1 configured to Connect Via IP
Config2 configured to use both Com2 (The Smartcom for app connectivity) and Com3 (the ComIP for home assistant connectivity)
The only other thing I can think of is an issue with my config.yml:
Attempting to install the container from home assistant results in the same error that you have when installing:
20-09-17 14:25:32 INFO (SyncWorker_3) > [supervisor.docker.interface] Pull image dchesterton/texecom2mqtt tag latest.
20-09-17 14:25:34 ERROR (SyncWorker_3) [supervisor.docker.interface] Can't install dchesterton/texecom2mqtt:latest -> 404 Client Error: Not Found ("no such image: dchesterton/texecom2mqtt:latest: No such image: dchesterton/texecom2mqtt:latest").
20-09-17 14:25:34 INFO (SyncWorker_3) [supervisor.docker.interface] This error is often caused by not having enough disk space available. Available space in /data is: 49.3 GiB
For this, I’m wondering if you (like me) are using the arm64 image of HASSIO? Looking at the Arch section of the texecom2mqtt-hassio config, this can be either amd64 or armv7. My guess here is that the arm64 HASSIO is identifying at armv8 and therefore not finding the image.
@dchesterton, do you have any further insight to these?
I have a Premiere Elite 48 and have just bought and installed a Smartcom, which was easy, and then installed the Add-On version of the code. No issues. Remarkably easy.
Did amend the device class in the config as initially it didn’t identify the class of my zones correctly. I.e. my “Porch PIR” wasn’t automatically identified as a motion sensor. I updated the add-on config and rebooted HA, and all was well.