Closed jb123567 closed 2 years ago
sia documentation sia source (message by IssueLinks)
Hey there @eavanvalkenburg, mind taking a look at this issue as it has been labeled with an integration (sia
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
@jb123567 the integration will turn entities to unavailable based on the setting for the ping interval, so if that is not set to the same value as in your alarmsystem then that will cause weird behaviour, there were no changes in 8.6, so shouldn't have anything to do with that. Please let me know if you still have this after fiddling with the settings of your alarm a bit.
Both Ajax and Intergration are set to 1 minute. It seems looking at the logs the alarm is sending the data every 10 seconds, which I guess is what is probably causing the issue?? Ajax update maybe?
Does Ajax show that it is connected to the Monitoring Station?
No, showing as disconnected.
No matter how much I play around with different settings, still showing as unavailable.
What is strange is Home assistant is clearly receiving the data.
2021-08-12 15:45:44 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: 03650039"SIA-DCS"9667L0#AAA[#AAA|Nri0/RP0000]_14:46:31,08-12-2021 2021-08-12 15:45:44 DEBUG (MainThread) [pysiaalarm.event] Content matches: {'account': 'AAA', 'ti': None, 'id': None, 'ri': '0', 'code': 'RP', 'message': '0000', 'xdata': None, 'timestamp': '14:46:31,08-12-2021'}
Here is the full section from the logs, I have ticked ignore timestamps.
2021-08-12 15:49:44 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: 9ED60039"SIA-DCS"9671L0#AAA[#AAA|Nri0/RP0000]_14:50:31,08-12-2021 2021-08-12 15:49:44 DEBUG (MainThread) [pysiaalarm.event] Content matches: {'account': 'AAA', 'ti': None, 'id': None, 'ri': '0', 'code': 'RP', 'message': '0000', 'xdata': None, 'timestamp': '14:50:31,08-12-2021'} 2021-08-12 15:49:44 WARNING (MainThread) [pysiaalarm.base_server] Event timestamp is no longer valid: 2021-08-12 14:50:31+00:00 2021-08-12 15:49:44 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: 8C970025"SIA-DCS"9671L0#AAA[#AAA|Nri0/RP0000] 2021-08-12 15:49:44 DEBUG (MainThread) [pysiaalarm.event] Content matches: {'account': 'AAA', 'ti': None, 'id': None, 'ri': '0', 'code': 'RP', 'message': '0000', 'xdata': None, 'timestamp': ''}
if the ignore timestamp is mentioned you shouldn't see this line: Event timestamp is no longer valid: 2021-08-12 14:50:31+00:00 2021-08-12 15:49:44 DEBUG (MainThread)
please check!
Hi @eavanvalkenburg , I am also having issues with Ajax showing entity not available. I had made no changes to the working config before it stopped working, and have tried reinstalling but no luck. The logs are showing the same message every 10 seconds:
2021-09-09 16:52:13 WARNING (MainThread) [pysiaalarm.base_server] Unknown or non-existing account (00082E2E) was used by the event: Content: None, Zone (ri): None, Code: None, Message: , Account: 00082E2E, Receiver: None, Line: L0, Timestamp: None, Length: 007A, Sequence: 7541, CRC: A9DD, Calc CRC: A9DD, Encrypted Content: 8863C5239EB117CA688E23317813F4DD1F50EE765B5DA54B3361E4D316661BB13768793B1CA98C08EC6517CD822C81DD, Full Message: "*SIA-DCS"7541L0#00082E2E[8863C5239EB117CA688E23317813F4DD1F50EE765B5DA54B3361E4D316661BB13768793B1CA98C08EC6517CD822C81DD.
The account is the same as what is showing in Ajax, the ping is 1 minute on both sides, and Ajax is showing the monitoring station is not connected. Pretty much at a loss to know where to go with this. Appreciate a clue of what to do next, and thank you.
and you are sure that the account in the config is the exact same (including those 0's) in both your config and ajax? you don't need to pad the account if that is what you did!
and you are sure that the account in the config is the exact same (including those 0's) in both your config and ajax? you don't need to pad the account if that is what you did!
Hi @eavanvalkenburg , I've only just had chance to look at this again. I started from the beginning and deleted the configuration, restarted HA. Then using Samba, I edited the HA config .storage files 'registry' and 'restore' files to remove any references to entities and devices, also deleted the log and database files to ensure a clean start. Restarted HA again and re-installed the official SIA configuration. I noted your point about not padding the account but sadly I am still getting the same 'unknown or non-existing account' message and not picking up the entities.
Should I try the HACS version which I used previously to see if that might work?
Thanks for you assistance, appreciated.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
Ajax alarm was working with SIA intergration prior to upgrade to 2021.8.6, now reporting as unavailable.
What is version of Home Assistant Core has the issue?
8.6
What was the last working version of Home Assistant Core?
8.5
What type of installation are you running?
Home Assistant OS
Integration causing the issue
SIA Alarm
Link to integration documentation on our website
https://www.home-assistant.io/integrations/sia/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response