dbarentine / udi-totalconnect-poly

UDI Polyglot v2 Node Server for Total Connect 2 security systems
MIT License
1 stars 0 forks source link

TotalConnect Nodeserver for UDI #11

Open PaulStraten opened 3 years ago

PaulStraten commented 3 years ago

I have installed the node server from the Polygot store and it has been integrated into my ISY; however, the ARMED STATUS stays in the status of "18" regardless of the armed state of the security panel.

I have used the proper credentials and I do see where I get a LOGIN NOTIFICATION from TotalConnect every 2 hrs 4 mins?

What is causing the armed status not to update?

dbarentine commented 3 years ago

@PaulStraten In the node server logs you should see something that looks like: [DEBUG] Query zone panel_744923. Are there any errors after that log message?

PaulStraten commented 3 years ago

I did not see that error but there were others - here are the log of last 5,000 lines logfile.docx

PaulStraten commented 3 years ago

And I am new to the nodeserver concept, but I have added the TOTALCONNECT node to the ISY 994 device with no POLISY device slaved to it - does that make a difference?

I have other nodeservers that are working just fine, but didnt know if TOTALCONNECT requires that POLISY device to be in place?

PaulStraten commented 3 years ago

Here are some screenshots TotalConnect Nodeserver in ISY.docx

dbarentine commented 3 years ago

What does one of your zone status look like? Does it have a number as well or does it have actual text?

The node server doesn't require a POLISY to work. Just running Polyglot should be enough. This almost looks like it didn't get the profile uploaded into the ISY. See if the Total Connect Controller has an Update Profile button. If so click it once or twice and then wait a minute and then close/restart your admin console. The other way is to uninstall it and reinstall.

Also I'm guessing you pulled the logs from the main Polyglot logs page. Instead of there click on details of the nodeserver itself and go to the logs tab for it. That will give us more specific logs.

PaulStraten commented 3 years ago

I will re-install it tomorrow and advise.

Thanks for great support!

Thank you, Paul Straten

On Feb 23, 2021, at 10:30 PM, Dane Barentine notifications@github.com wrote:



What does one of your zone status look like? Does it have a number as well or does it have actual text?

The node server doesn't require a POLISY to work. Just running Polyglot should be enough. This almost looks like it didn't get the profile uploaded into the ISY. See if the Total Connect Controller has an Update Profile button. If so click it once or twice and then wait a minute and then close/restart your admin console. The other way is to uninstall it and reinstall.

Also I'm guessing you pulled the logs from the main Polyglot logs page. Instead of there click on details of the nodeserver itself and go to the logs tab for it. That will give us more specific logs.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/dbarentine/udi-totalconnect-poly/issues/11#issuecomment-784750095, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS6YMKASPVXL5SWNVRVSA33TAR6FXANCNFSM4YCX2VYA.

PaulStraten commented 3 years ago

Here is what a zone screenshot looks like. Also, it says “OK” but that door is open, not closed.

[cid:image003.jpg@01D70A88.F1507190]

Thank you, Paul Straten paul@straten.commailto:paul@straten.com

From: Dane Barentine notifications@github.com Sent: Tuesday, February 23, 2021 10:30 PM To: dbarentine/udi-totalconnect-poly udi-totalconnect-poly@noreply.github.com Cc: Paul Straten paul@straten.com; Mention mention@noreply.github.com Subject: Re: [dbarentine/udi-totalconnect-poly] TotalConnect Nodeserver for UDI (#11)

What does one of your zone status look like? Does it have a number as well or does it have actual text?

The node server doesn't require a POLISY to work. Just running Polyglot should be enough. This almost looks like it didn't get the profile uploaded into the ISY. See if the Total Connect Controller has an Update Profile button. If so click it once or twice and then wait a minute and then close/restart your admin console. The other way is to uninstall it and reinstall.

Also I'm guessing you pulled the logs from the main Polyglot logs page. Instead of there click on details of the nodeserver itself and go to the logs tab for it. That will give us more specific logs.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/dbarentine/udi-totalconnect-poly/issues/11#issuecomment-784750095, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS6YMKASPVXL5SWNVRVSA33TAR6FXANCNFSM4YCX2VYA.

PaulStraten commented 3 years ago

Also, [cid:image005.jpg@01D70A89.20F45600]

Thank you, Paul Straten paul@straten.commailto:paul@straten.com

From: Paul Straten Sent: Wednesday, February 24, 2021 8:42 AM To: dbarentine/udi-totalconnect-poly reply@reply.github.com Subject: RE: [dbarentine/udi-totalconnect-poly] TotalConnect Nodeserver for UDI (#11)

Here is what a zone screenshot looks like. Also, it says “OK” but that door is open, not closed.

[cid:image006.jpg@01D70A89.20F45600]

Thank you, Paul Straten paul@straten.commailto:paul@straten.com

From: Dane Barentine notifications@github.com<mailto:notifications@github.com> Sent: Tuesday, February 23, 2021 10:30 PM To: dbarentine/udi-totalconnect-poly udi-totalconnect-poly@noreply.github.com<mailto:udi-totalconnect-poly@noreply.github.com> Cc: Paul Straten paul@straten.com<mailto:paul@straten.com>; Mention mention@noreply.github.com<mailto:mention@noreply.github.com> Subject: Re: [dbarentine/udi-totalconnect-poly] TotalConnect Nodeserver for UDI (#11)

What does one of your zone status look like? Does it have a number as well or does it have actual text?

The node server doesn't require a POLISY to work. Just running Polyglot should be enough. This almost looks like it didn't get the profile uploaded into the ISY. See if the Total Connect Controller has an Update Profile button. If so click it once or twice and then wait a minute and then close/restart your admin console. The other way is to uninstall it and reinstall.

Also I'm guessing you pulled the logs from the main Polyglot logs page. Instead of there click on details of the nodeserver itself and go to the logs tab for it. That will give us more specific logs.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/dbarentine/udi-totalconnect-poly/issues/11#issuecomment-784750095, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS6YMKASPVXL5SWNVRVSA33TAR6FXANCNFSM4YCX2VYA.

PaulStraten commented 3 years ago

And can you give me more specific details about what you are asking in the statement: “Also I'm guessing you pulled the logs from the main Polyglot logs page. Instead of there click on details of the nodeserver itself and go to the logs tab for it. That will give us more specific logs.” I need to understand what you are asking me to send you.

Thank you, Paul Straten paul@straten.commailto:paul@straten.com

From: Dane Barentine notifications@github.com Sent: Tuesday, February 23, 2021 10:30 PM To: dbarentine/udi-totalconnect-poly udi-totalconnect-poly@noreply.github.com Cc: Paul Straten paul@straten.com; Mention mention@noreply.github.com Subject: Re: [dbarentine/udi-totalconnect-poly] TotalConnect Nodeserver for UDI (#11)

What does one of your zone status look like? Does it have a number as well or does it have actual text?

The node server doesn't require a POLISY to work. Just running Polyglot should be enough. This almost looks like it didn't get the profile uploaded into the ISY. See if the Total Connect Controller has an Update Profile button. If so click it once or twice and then wait a minute and then close/restart your admin console. The other way is to uninstall it and reinstall.

Also I'm guessing you pulled the logs from the main Polyglot logs page. Instead of there click on details of the nodeserver itself and go to the logs tab for it. That will give us more specific logs.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/dbarentine/udi-totalconnect-poly/issues/11#issuecomment-784750095, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS6YMKASPVXL5SWNVRVSA33TAR6FXANCNFSM4YCX2VYA.

PaulStraten commented 3 years ago

Okay, I have performed several resets and done everything EXCEPT a re-install.

Notes/questions below before I do the re-install:

  1. That one faulted zone did finally show a fault but it was ~ 5 minutes later after I start/stopped the nodeserver. How much latency is there in a zone's status updates?
  2. Is there an option to produce different codes for the various armed states (NIGHT, STAY, AWAY)? I want the HVAC to go to different temps based upon the specific armed state.
  3. I cannot find any of the TOTALCONNECT nodeservers in ISY under the "Programming" tabs (for control or status conditions) - - where should they reside?
PaulStraten commented 3 years ago

UPDATE:

I deleted then re-installed the nodeserver TOTALCONNECT.

However now I only have 10 zones/nodes downloaded into my ISY nodeserver (the first try I had 15) - - and I have 20 zones in actuality on the security panel itself.

Please help.

PaulStraten commented 3 years ago

A. Is there an option to produce different codes for the various armed states (NIGHT, STAY, AWAY)? I want the HVAC to go to different temps based upon the specific armed state.

B. Zone fault/status take too long to refresh in real time - how do I reduce the time between that sync?

C. The ARMED STATUS stays in "18" and never changes - need help please.

PaulStraten commented 3 years ago

Is there an update to my issue(s).

Can someone tell me if I am connecting to the correct source to post problems and resolve issues since I have not heard back from anyone in 5 days?

PaulStraten commented 3 years ago

Faulted zones do not immediately show faults. Is there a polling setting I should change?

Armed status never changed from an "18" state. How does that indicate the different armed states?

dbarentine commented 3 years ago

@PaulStraten Sorry I totally missed and forgot about this. You are connecting to the right person but I'm the only developer for this project and have a separate full time job. So I'm not always able to keep up with these projects in a timely manor.

Armed status of 18 is wrong and yes it should change. Something is wrong there. I think 18 should be translated to Unknown which is why I had you check the zone to see if the profile had been updated. Even if the panel wasn't updating I would have expected that not to be a number.

I can't see the screenshots (Don't show up in the thread) but if you are seeing a valid status for a zone then it sounds like it's at least partially updating and the profile is in place.

What I'm looking for in terms of the logs is when you are on the dashboard of polyglot click on details for the TotalConnect node server. Then click the Log tab. These logs are specific to the node server rather than the Polyglot ones.

Faulted zone updates will never be real-time. There is no way that I know of currently to have the TC2 API notify us on zone status change. For zones the time between updates is based on the long poll time. The panel is on the short poll time. But people have tried setting them to really short times with mixed success.

PaulStraten commented 3 years ago

Thanks Dane:

I believe I have remedied the issue(s).

A final question however.

What are the most frequently/low polling settings I may use for these to get my zone status, armed status, etc. that I can change the values to without TOTALCONNECT folks throttling me?

@.D71715.50BD3C10] @.D71715.50BD3C10]

Thank you, Paul Straten @.**@.>

From: Dane Barentine @.> Sent: Thursday, March 11, 2021 12:32 AM To: dbarentine/udi-totalconnect-poly @.> Cc: Paul Straten @.>; Mention @.> Subject: Re: [dbarentine/udi-totalconnect-poly] TotalConnect Nodeserver for UDI (#11)

@PaulStratenhttps://github.com/PaulStraten Sorry I totally missed and forgot about this. You are connecting to the right person but I'm the only developer for this project and have a separate full time job. So I'm not always able to keep up with these projects in a timely manor.

Armed status of 18 is wrong and yes it should change. Something is wrong there. I think 18 should be translated to Unknown which is why I had you check the zone to see if the profile had been updated. Even if the panel wasn't updating I would have expected that not to be a number.

I can't see the screenshots (Don't show up in the thread) but if you are seeing a valid status for a zone then it sounds like it's at least partially updating and the profile is in place.

What I'm looking for in terms of the logs is when you are on the dashboard of polyglot click on details for the TotalConnect node server. Then click the Log tab. These logs are specific to the node server rather than the Polyglot ones.

Faulted zone updates will never be real-time. There is no way that I know of currently to have the TC2 API notify us on zone status change. For zones the time between updates is based on the long poll time. The panel is on the short poll time. But people have tried setting them to really short times with mixed success.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/dbarentine/udi-totalconnect-poly/issues/11#issuecomment-796497142, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS6YMKGMRCN6HFD7HIII24TTDBIWVANCNFSM4YCX2VYA.

dbarentine commented 3 years ago

What are the most frequently/low polling settings I may use for these to get my zone status, armed status, etc. that I can change the values to without TOTALCONNECT folks throttling me?

Unknown. The API is undocumented and unsupported to external users. There is no official public API available and everything has been reverse engineered by the community. I've heard other people being able to set them really aggressive (maybe 2-5 seconds) and not having any issues. But a number of weeks ago I think someone tried that and continually had issues. The thing is it did not look like the API was throttling as that would normally be a 429 status code. Instead what they were getting were errors related to the connection between the API and the panel itself. So it could be down to how well your panel connects to the TC2 servers.

Querying too frequently I believe can also cause the ISY to freak out. That would primarily be an issue with the long poll as that queries all the zones. I'm not entirely sure how big of an issue that is since the zone status don't really change that frequently.

Also, be aware that I recently added a configurable delay between zone queries. By default it's set to 1 second (1000 because time is in milliseconds). I think you can set it to zero with no ill effect but if it throws errors than set it to something like 10.

From what I know, 10 seconds with a zero delay would probably be the lowest I would personally ever go. And even that I would probably only do it for the panel so I can get armed status which also report when it's alarming. But that's just a gut feeling on where I think the bottom end is. You might try posting something to https://forum.universal-devices.com/topic/25205-polyglot-honeywell-total-connect-v2-nodeserver and see what other users are doing.

PaulStraten commented 1 year ago

Any idea what is causing errors in attached log?

Thank you,

Paul Straten @.***

From: Dane Barentine @.> Sent: Sunday, March 14, 2021 12:36 AM To: dbarentine/udi-totalconnect-poly @.> Cc: Paul Straten @.>; Mention @.> Subject: Re: [dbarentine/udi-totalconnect-poly] TotalConnect Nodeserver for UDI (#11)

What are the most frequently/low polling settings I may use for these to get my zone status, armed status, etc. that I can change the values to without TOTALCONNECT folks throttling me?

Unknown. The API is undocumented and unsupported to external users. There is no official public API available and everything has been reverse engineered by the community. I've heard other people being able to set them really aggressive (maybe 2-5 seconds) and not having any issues. But a number of weeks ago I think someone tried that and continually had issues. The thing is it did not look like the API was throttling as that would normally be a 429 status code. Instead what they were getting were errors related to the connection between the API and the panel itself. So it could be down to how well your panel connects to the TC2 servers.

Querying too frequently I believe can also cause the ISY to freak out. That would primarily be an issue with the long poll as that queries all the zones. I'm not entirely sure how big of an issue that is since the zone status don't really change that frequently.

Also, be aware that I recently added a configurable delay between zone queries. By default it's set to 1 second (1000 because time is in milliseconds). I think you can set it to zero with no ill effect but if it throws errors than set it to something like 10.

From what I know, 10 seconds with a zero delay would probably be the lowest I would personally ever go. And even that I would probably only do it for the panel so I can get armed status which also report when it's alarming. But that's just a gut feeling on where I think the bottom end is. You might try posting something to https://forum.universal-devices.com/topic/25205-polyglot-honeywell-total-connect-v2-nodeserver and see what other users are doing.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/dbarentine/udi-totalconnect-poly/issues/11#issuecomment-798843495, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS6YMKBT4HQSTY4HN6XFAP3TDRDLFANCNFSM4YCX2VYA.