Replies: 16 comments 56 replies
-
I just need to make a small change in the code to filter the display and status according to the partition flag. I was not doing this. Good suggestion. I'll have a new version on the "dev" branch later today. Now, what will happen is that when you switch partition on the keypad it will only display the zone and status data related to that partition. |
Beta Was this translation helpful? Give feedback.
-
ok, pushed updated version to dev and master. Only file changed was vistaalarm.h
|
Beta Was this translation helpful? Give feedback.
-
Hold off on updating to this version. I have to make other changes to support this correctly. Edit: Never mind, You can update to master and it will work as described above. I will see if I can add multi partition support for HA so that all partition statuses will be available. |
Beta Was this translation helpful? Give feedback.
-
I'm testing your code on Vista 50P and it seems to work. But full support for multiple partitions is very necessary. |
Beta Was this translation helpful? Give feedback.
-
I've pushed an update to the "dev" branch for multi partition support. Have a look at the multi-partition yaml file for an example setup. Modify to your environment. The important part is to first program new keypad entries in your panel for each partition to use in the config. |
Beta Was this translation helpful? Give feedback.
-
Everything works for me on Vista P50 except for displaying the state of the zones. At the same time, they are displayed on the virtual keyboard display. Could this be because I'm using multiple partitions? |
Beta Was this translation helpful? Give feedback.
-
I don't see an issue in my testing here. Zones will only show on the display assigned to the partition. Can you post your yaml config so we can see what the issue is. Just remove any sensitive areas you don't want others to view. The yaml was changed for multi partitions. Just to clarify though, you can have separate virtual keyboard displays for each partition, independent of each other and each will only display the associated partition messages for it. |
Beta Was this translation helpful? Give feedback.
-
Everything is clear with the virtual keyboard, everything is fine there. Thank you! |
Beta Was this translation helpful? Give feedback.
-
Ok, I see the issue. You have not customized the esphome yaml to your own needs for the zone definititions. ie. the z1, z2, egs. You need to modify those to your own zones and assign them names to suit their location. What is in that yaml is only an example. You'll need to add or remove any zxx id that is not used by your system. You will need to change this in two places. The Case statement and the text_sensors block. |
Beta Was this translation helpful? Give feedback.
-
Here is a piece from my log (version master). It can be seen that zone 8 is not ready. This is shown by the virtual keyboard, but not by the zone sensor. Incomprehensible words in the log - this is how words in non-English are transmitted. Also, the virtual keyboard in the latest version of the wizard tries to display the general status of all partitions (a list of partitions with an indication of the status). Although Vista is configured to show the first partition. Also, if the zone is not ready for a short time, then it does not get into the log and, accordingly, is not displayed anywhere. [18:01:27][D][text_sensor:067]: 'vistaalarm System Status': Sending state 'disarmed' [18:01:30][D][text_sensor:067]: 'vistaalarm System Status': Sending state 'unavailable' [18:01:36][I][CMD:439]: F7 02 00 00 00 85 80 00 08 02 00 01 43 [18:01:37][D][text_sensor:067]: 'vistaalarm Lrr Msg': Sending state '' [18:01:39][D][text_sensor:067]: 'vistaalarm System Status': Sending state 'disarmed' [18:01:42][D][text_sensor:067]: 'vistaalarm System Status': Sending state 'unavailable' [18:01:44][D][text_sensor:067]: 'vistaalarm Dining room window': Sending state 'C' [18:01:48][D][text_sensor:067]: 'vistaalarm Lrr Msg': Sending state '' |
Beta Was this translation helpful? Give feedback.
-
In Vista, one real keyboard (Alpha Keypad) is registered at address 1 and configured for "partition 9". That is, to show the statuses of all partitions and work with any selected one. Also in Vista, a keyboard with address 17 for the virtual keyboard (esp) is also registered and configured to display partition 1. There are two partitions in total. Zone 8 belongs to partition 1. "You would also need to arm the partitions and idenfity the associated f7 to see what flags get set." This can only be done later. Now the baby is sleeping. [18:01:27][D][text_sensor:067]: 'vistaalarm System Status': Sending state 'disarmed' [18:01:30][D][text_sensor:067]: 'vistaalarm System Status': Sending state 'unavailable' [18:01:36][I][CMD:439]: F7 02 00 00 00 85 80 00 08 02 00 01 43 [18:01:37][D][text_sensor:067]: 'vistaalarm Lrr Msg': Sending state '' [18:01:39][D][text_sensor:067]: 'vistaalarm System Status': Sending state 'disarmed' [18:01:42][D][text_sensor:067]: 'vistaalarm System Status': Sending state 'unavailable' [18:01:44][D][text_sensor:067]: 'vistaalarm Dining room window': Sending state 'C' |
Beta Was this translation helpful? Give feedback.
-
Ok, i see data address to 17,1 and also address 0. Do you have a keypad addressed to zero? |
Beta Was this translation helpful? Give feedback.
-
Yes. I have keypads at 1 (real) and 17 (virtual) addresses. Keypad 0 is factory set in the system (not changeable). Physically, the keypad is not connected to address 0. |
Beta Was this translation helpful? Give feedback.
-
After the last update of the master version, my virtual keyboard stopped showing messages of only partition 1, but shows everything in a row. I will try the translation. I just don't quite understand what to put in there. The virtual keyboard does not correctly display words in the Vista language. I'll try first the phrases that the real keyboard writes. |
Beta Was this translation helpful? Give feedback.
-
Zones fault:
There is a larger log in the file. |
Beta Was this translation helpful? Give feedback.
-
Thank you. In principle, everything is so excellent. |
Beta Was this translation helpful? Give feedback.
-
First of all, let me say I am a newbie hobbyist and not a developer, but I was able to set up a Raspberry PI running Home Assistant with ESPHome by following all of the good info found here. I built and configured an ESP32 circuit using the provided schematics and got vistaECP set up with everything working good in HA including the custom alarm keypad. Kudos to @Dilbert66 and all who have developed this! I think this is very cool!
My only problem is that I have two partitions on my Vista 20P panel (one for my house and one for my detached garage) so the vistaalarm sensors such as System Status, Line 1, Line 2, etc. continually toggle between the status of Partition 1 and Partition 2.
My question is: Does this support multiple partitions at this time? I wasn't sure if there's a way to mask the serial data from the panel for each partition or a way to set it up to use the partitions separately and even have two virtual keypads, one for each partition, similar to my physical equipment?
I appreciate any help, info, or examples or if this is currently not possible, any consideration of adding the capability in the future. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions