Closed finnishcolumbia closed 3 years ago
You need to also copy the .h and .cpp files from directory /src/vistaEcpInterface. That's where the include file is.
Thanks Alain. I see it now.
On Sat., Jun. 19, 2021, 3:08 p.m. Alain Turbide, @.***> wrote:
You need to also copy the .h and .cpp files from directory /src/vistaEcpInterface. That's where the include file is.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Dilbert66/esphome-vistaECP/issues/45#issuecomment-864444180, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZMZRQ3GP6E64FRZK6WN5DTTTMKZANCNFSM467HMY5Q .
FYI, there was a bug in the mqtt exampled that prevented it from compiling. I've uploaded a corrected copy.
Thanks. I'll try it.
On Mon., Jun. 21, 2021, 9:48 p.m. Alain Turbide, @.***> wrote:
FYI, there was a bug in the mqtt exampled that prevented it from compiling. I've uploaded a corrected copy.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Dilbert66/esphome-vistaECP/issues/45#issuecomment-865439692, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZMZRRKGYYE2N6OYP3G62DTT7MUPANCNFSM467HMY5Q .
Hi,
The code compiles and connects to the panel and I get data on the serial monitor.
I am using a free mqtt broker and a push client on my phone.
Messages are appearing on my phone but when I send a Stay command, the panel does not respond.
I see an S on my broker and S appears in the serial monitor but the panel does not arm and I see a long stream of data instead.
I tried changing the keypad address to 17 and 18 (I have two keypads)
Any ideas?
Thanks
On Mon., Jun. 21, 2021, 11:04 p.m. Dale Finney, @.***> wrote:
Thanks. I'll try it.
On Mon., Jun. 21, 2021, 9:48 p.m. Alain Turbide, @.***> wrote:
FYI, there was a bug in the mqtt exampled that prevented it from compiling. I've uploaded a corrected copy.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Dilbert66/esphome-vistaECP/issues/45#issuecomment-865439692, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZMZRRKGYYE2N6OYP3G62DTT7MUPANCNFSM467HMY5Q .
That's my fault. When I made a change with the mqtt handling, I missed adding some cmds. I've pushed a fixed version to master.
As to keypads, make sure the keypad id you use is also enabled in your panel and that this keypad id is NOT the same as an existing keypad.
Hi Alain,
I tried the new code but no luck. I'm sending an "S" to arm the panel. Here is the message that arrives and the response in the serial monitor.
thanks Dale
Prompt1:DISARMED Prompt2: Ready to Arm mqtt_callback - message arrived - topic [vista/Set/Cmd] payload [SisplayLine/2 Ready to Arm Status] CMD: 9E 02 20 F1 F2 00 00 00 00 00 00 00 00 00 CMD: 98 5E 04 20 F1 F0 00 00 00 00 00 00 00 00 CMD: F6 10 00 00 00 00 00 00 00 00 00 00 00 00 CMD: F6 13 00 00 00 00 00 00 00 00 00 00 00 00 CMD: 9E 02 20 80 63 00 00 00 00 00 00 00 00 00 CMD: 98 2E 04 20 80 61 00 00 00 00 00 00 00 00 CMD: F6 14 00 00 00 00 00 00 00 00 00 00 00 00 CMD: F7 00 00 3F 10 08 00 1C 08 02 00 00 2A 2A Prompt1:DISARMED Prompt2: Ready to Arm CMD: F6 10 00 00 00 00 00 00 00 00 00 00 00 00 CMD: F6 13 00 00 00 00 00 00 00 00 00 00 00 00 CMD: 9E 02 20 F1 F2 00 00 00 00 00 00 00 00 00 CMD: 98 2E 04 20 F1 F0 00 00 00 00 00 00 00 00 CMD: F6 10 00 00 00 00 00 00 00 00 00 00 00 00 CMD: 9E 02 20 80 63 00 00 00 00 00 00 00 00 00 CMD: 98 2E 04 20 F1 F0 00 00 00 00 00 00 00 00 CMD: F6 13 00 00 00 00 00 00 00 00 00 00 00 00 CMD: F6 14 00 00 00 00 00 00 00 00 00 00 00 00 CMD: 9E 02 20 F1 F2 00 00 00 00 00 00 00 00 00 CMD: 98 5E 04 20 80 61 00 00 00 00 00 00 00 00 CMD: 9E 02 20 80 63 00 00 00 00 00 00 00 00 00 CMD: 98 2E 04 20 F1 F0 00 00 00 00 00 00 00 00 CMD: F6 10 00 00 00 00 00 00 00 00 00 00 00 00 CMD: 9E 02 20 F1 F2 00 00 00 00 00 00 00 00 00 CMD: 98 2E 04 20 80 61 00 00 00 00 00 00 00 00 CMD: F6 13 00 00 00 00 00 00 00 00 00 00 00 00 CMD: F6 14 00 00 00 00 00 00 00 00 00 00 00 00 CMD: 9E 02 20 80 63 00 00 00 00 00 00 00 00 00 CMD: 98 5E 04 20 F1 F0 00 00 00 00 00 00 00 00 CMD: F6 10 00 00 00 00 00 00 00 00 00 00 00 00 CMD: 9E 02 20 F1 F2 00 00 00 00 00 00 00 00 00 CMD: 98 2E 04 20 80 61 00 00 00 00 00 00 00 00 CMD: F6 13 00 00 00 00 00 00 00 00 00 00 00 00 CMD: 9E 02 20 80 63 00 00 00 00 00 00 00 00 00 CMD: 98 5E 04 20 F1 F0 00 00 00 00 00 00 00 00 CMD: F6 14 00 00 00 00 00 00 00 00 00 00 00 00 CMD: 9E 02 20 F1 F2 00 00 00 00 00 00 00 00 00 CMD: 98 2E 04 20 80 61 00 00 00 00 00 00 00 00 CMD: F6 10 00 00 00 00 00 00 00 00 00 00 00 00 CMD: 9E 02 20 80 63 00 00 00 00 00 00 00 00 00 CMD: 98 2E 04 20 F1 F0 00 00 00 00 00 00 00 00 CMD: F6 13 00 00 00 00 00 00 00 00 00 00 00 00 CMD: 9E 02 20 F1 F2 00 00 00 00 00 00 00 00 00 CMD: 98 2E 04 20 80 61 00 00 00 00 00 00 00 00 CMD: F6 14 00 00 00 00 00 00 00 00 00 00 00 00 CMD: 9E 02 20 80 63 00 00 00 00 00 00 00 00 00 CMD: 98 2E 04 20 F1 F0 00 00 00 00 00 00 00 00 CMD: F6 10 00 00 00 00 00 00 00 00 00 00 00 00 CMD: 9E 02 20 F1 F2 00 00 00 00 00 00 00 00 00 CMD: 98 2E 04 20 80 61 00 00 00 00 00 00 00 00 CMD: 98 5E 40 25 F1 AF 00 00 00 00 00 00 00 00 EXT: 98 0C F1 00 00 E3 00 00 00 00 00 00 00 00 CMD: 9E 02 20 80 63 00 00 00 00 00 00 00 00 00 CMD: 98 5E 04 20 F1 F0 00 00 00 00 00 00 00 00 CMD: F6 13 00 00 00 00 00 00 00 00 00 00 00 00 CMD: 9E 02 20 F1 F2 00 00 00 00 00 00 00 00 00 CMD: F6 14 00 00 00 00 00 00 00 00 00 00 00 00 CMD: F6 10 00 00 00 00 00 00 00 00 00 00 00 00 CMD: F7 00 00 3F 10 08 00 1C 08 02 00 00 2A 2A Prompt1:DISARMED Prompt2: Ready to Arm CMD: F7 00 00 3F 10 08 00 1C 08 02 00 00 2A 2A Prompt1:DISARMED Prompt2: Ready to Arm CMD: F7 00 00 3F 10 08 00 1C 08 02 00 00 2A 2A Prompt1:DISARMED Prompt2: Ready to Arm
On Wed, Jun 23, 2021 at 11:55 PM Alain Turbide @.***> wrote:
As to keypads, make sure the keypad id you use is also enabled in your panel and that this keypad id is NOT the same as an existing keypad.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Dilbert66/esphome-vistaECP/issues/45#issuecomment-867295034, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZMZRRLO6R2YLVBSQ2DKLTTUKNBLANCNFSM467HMY5Q .
Did you set the accessCode value to a user code that can arm the system? To send single value cmds, the accessCode needs to be set.
Alternatively, you can send direct keypad cmds to the panel using this cmd. For example to arm in stay mode use cmd sequence: !xxxx3 instead of S. xxxx is your user access code. The ! is a flag to indicate a direct key sequence.
Hi Alain,
I was using the wrong optocoupler. Everything is good now.
Thanks very much for your work!
Dale
On Thu., Jun. 24, 2021, 10:06 p.m. Alain Turbide, @.***> wrote:
Did you set the accessCode value to a user code that can arm the system? To send single value cmds, the accessCode needs to be set.
Alternatively, you can send direct keypad cmds to the panel using this cmd. For example to arm in stay mode use cmd sequence: !xxxx3 instead of S. xxxx is your user access code. The ! is a flag to indicate a direct key sequence.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Dilbert66/esphome-vistaECP/issues/45#issuecomment-868107610, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZMZRUZ57J5RQ5B7PD6XITTUPJBHANCNFSM467HMY5Q .
Hi, I tried compiling the ademcoECP.ino sketch but I get a no such file or directory error for "vista.h". I searched the zip file downloaded from your github but I don't see it.